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.
73 lines
2.8 KiB
73 lines
2.8 KiB
<!--pages/look/look.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="看地" back="{{false}}"></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="comeList"> |
|
<image class="look-top-tag" src="../../assets/images/s-icon.png"></image> |
|
<text class="look-top-text">土地池</text> |
|
</view> |
|
</view> |
|
|
|
<map class="map" enable-satellite="{{satellite==1?true:false}}" scale="{{scale}}" markers="{{markers}}" |
|
latitude="{{latitude}}" longitude="{{longitude}}" bindmarkertap="markertap"> |
|
<cover-view class="map-tab"> |
|
<cover-view data-id="1" class="map-tab-item {{satellite==1?'active':''}}" bindtap="mapTabItem">卫星图</cover-view> |
|
<cover-view data-id="2" class="map-tab-item {{satellite==2?'active':''}}" bindtap="mapTabItem">平面图</cover-view> |
|
</cover-view> |
|
<cover-image data-type="add" bindtap="scaleDown" class="map-scale map-scale-add" |
|
src="../../assets/images/add.png"></cover-image> |
|
<cover-image data-type="reduce" bindtap="scaleDown" class="map-scale map-scale-reduce" |
|
src="../../assets/images/reduce.png"></cover-image> |
|
<cover-image bindtap="scaleBack" class="map-back" src="../../assets/images/myback.png"></cover-image> |
|
<cover-view class="list-head"> |
|
<cover-view class="list-top"> |
|
<cover-view class="list-item" data-id="{{once.id}}" bindtap="checkBtn"> |
|
<cover-view class="check-box {{once.state?'check-active':''}}"> |
|
<cover-image class="check-icon" src="../../assets/images/check.png"></cover-image> |
|
</cover-view> |
|
<cover-view class="item-name">{{once.name}}</cover-view> |
|
</cover-view> |
|
<cover-view class="timer">20XX年 - 20XX年</cover-view> |
|
</cover-view> |
|
</cover-view> |
|
<cover-view class="hidden"></cover-view> |
|
</map> |
|
<view class="list-foot"> |
|
<view class="list-item {{item.id=='008'?'w50':''}} {{item.id=='005'?'pl30':''}}" wx:for="{{tabs}}" wx:key="id" |
|
data-id="{{item.id}}" bindtap="checkBtn"> |
|
<view class="check-box {{item.state?'check-active':''}}"> |
|
<image class="check-icon" src="../../assets/images/check.png"></image> |
|
</view> |
|
<view class="item-name">{{item.name}}</view> |
|
</view> |
|
</view> |
|
</view> |
|
|
|
</view> |