You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

103 lines
3.8 KiB

<!--pages/look-detail/look-detail.wxml-->
<wxs module="filter">
var setTag = function(state) {
var obj = {}
if(state===1){
obj = {
sname:'ycj',
text:'已成交'
}
}else if(state===2){
obj = {
sname:'wcj',
text:'未成交'
}
}else{
obj = {
sname:'gsz',
text:'公示中'
}
}
return obj
};
module.exports = {setTag:setTag};
</wxs>
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="看地"></mp-navigation-bar>
<view class="main">
<view class="look-top">
<view class="look-search center">
<image class="look-s-icon" src="../../assets/images/search.png"></image>
</view>
<view class="look-top-right flex-center" bindtap="comeBack">
<image class="look-top-tag" src="../../assets/images/s-icon.png"></image>
<text class="look-top-text">土地池</text>
</view>
</view>
<map class="map">
<cover-view slot="callout">
<cover-view marker-id="1"></cover-view>
<cover-view marker-id="2"></cover-view>
</cover-view>
</map>
<view class="gener">
<view class="gener-top">
<view class="gener-tag center {{filter.setTag(2).sname}}">{{filter.setTag(2).text}}</view>
<text class="gener-title">{{myData.landCode}}</text>
</view>
<view class="gener-info">
<view class="gener-item">
<text class="gener-lable">【城 市】</text>
<text class="gener-text">{{myData.city}}</text>
</view>
<view class="gener-item">
<text class="gener-lable">【公告号】</text>
<text class="gener-text">{{myData.annoId}}</text>
</view>
<view class="gener-item">
<text class="gener-lable pl-14">【行政区】</text>
<text class="gener-text">{{myData.canton}}</text>
</view>
<view class="gener-item">
<text class="gener-lable">【大组团】</text>
<text class="gener-text">{{myData.bigGroup}}</text>
</view>
<view class="gener-item">
<text class="gener-lable">【小组团】</text>
<text class="gener-text">{{myData.smallGroup}}</text>
</view>
</view>
</view>
<view class="tab" wx:if="{{state}}">
<view class="tab-item {{item.id===active?'active':''}}" wx:for="{{tabList}}" wx:for-index="i" wx:for-item="item"
wx:key="id" bindtap="tabDowm" data-id="{{item.id}}">
<text class="tab-title">{{item.name}}</text>
<image class="tab-tag" src="../../assets/images/tab-tag.png"></image>
</view>
</view>
<view class="tab" wx:else>
<view class="tab-item {{item.id===active?'active':''}}" wx:for="{{sedTabList}}" wx:for-index="id" wx:for-item="item"
wx:key="id" bindtap="tabDowm" data-id="{{item.id}}">
<text class="tab-title">{{item.name}}</text>
<image class="tab-tag" src="../../assets/images/tab-tag.png"></image>
</view>
</view>
<detail-announcement info="{{myData}}" bind:setMark="setMark" wx:if="{{active===1}}"/>
<detail-clinch info="{{myData}}" wx:if="{{active===2}}"/>
<detail-present info="{{myData}}" presentInfo="{{presentInfo}}" wx:if="{{active===3}}"/>
<detail-basis info="{{basisInfo}}" wx:if="{{active===4}}"/>
<detail-senior info="{{seniorInfo}}" wx:if="{{active===5}}"/>
<view class="btn-box" wx:if="{{active>3}}">
<button class="btn btn-warning">重做</button>
<button class="btn btn-primy">保存</button>
<button class="btn btn-primy">提交</button>
</view>
</view>
<view class="mark" wx:if="{{markShow}}" bindtap="markHide">
<view class="carBtn center" catchtap="setMark" data-id="4">基础测算</view>
<view class="hevyBtn" catchtap="setMark" data-id="5">
<text class="hevy-text">高级测算</text>
<text class="hevy-lable">(无偿移交+自持)</text>
</view>
</view>
</view>