|
|
|
<!--pages/look-detail/look-detail.wxml-->
|
|
|
|
<wxs module="filter">
|
|
|
|
var setTag = function (state) {
|
|
|
|
var obj = {}
|
|
|
|
if (state === 'toBeListed') {
|
|
|
|
obj = {
|
|
|
|
sname: 'dgp',
|
|
|
|
text: '待挂牌'
|
|
|
|
}
|
|
|
|
} else if (state === 'listed') {
|
|
|
|
obj = {
|
|
|
|
sname: 'gpz',
|
|
|
|
text: '挂牌中'
|
|
|
|
}
|
|
|
|
} else if (state === 'passBy') {
|
|
|
|
obj = {
|
|
|
|
sname: 'lp',
|
|
|
|
text: '流拍'
|
|
|
|
}
|
|
|
|
}else {
|
|
|
|
obj = {
|
|
|
|
sname: 'ycj',
|
|
|
|
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" polygons="{{polygons}}" latitude="{{latitude}}" longitude="{{longitude}}">
|
|
|
|
<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(myData.transactionStatus).sname}}">{{filter.setTag(myData.transactionStatus).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.proposedseriaId}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="gener-item">
|
|
|
|
<text class="gener-lable">【状态】</text>
|
|
|
|
<text class="gener-text">{{myData.supplyStatus}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="gener-item">
|
|
|
|
<text class="gener-lable">【预计挂牌时间】</text>
|
|
|
|
<text class="gener-text">{{myData.estimatedListingTime}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="gener-item">
|
|
|
|
<text class="gener-lable">【名称】</text>
|
|
|
|
<text class="gener-text">{{myData.landCode}}</text>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="gener-item">
|
|
|
|
<text class="gener-lable ">【行政区】</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-basis id="basis" orgiData="{{orgiData}}" dataInfo="{{myData}}" info="{{basisInfo}}"
|
|
|
|
wx:if="{{active===4}}" />
|
|
|
|
<detail-senior id="senior" orgiData="{{orgiData}}" dataInfo="{{myData}}" info="{{seniorInfo}}"
|
|
|
|
wx:if="{{active===5}}" />
|
|
|
|
<view class="btn-box" wx:if="{{active>3&&!isDone}}">
|
|
|
|
<button bindtap="clearData" class="btn btn-warning">重做</button>
|
|
|
|
<button bindtap="goCalculate" class="btn btn-primy">测算</button>
|
|
|
|
<button bindtap="save" class="btn btn-primy">保存</button>
|
|
|
|
<button bindtap="submit" 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>
|