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.

74 lines
2.9 KiB

<!--pages/look/look.wxml-->
4 years ago
<wxs module="filter">
4 years ago
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
4 years ago
};
4 years ago
module.exports = { setTag: setTag };
4 years ago
</wxs>
<view class="pages">
4 years ago
<mp-navigation-bar ext-class="set-bar" title="看地" back="{{false}}"></mp-navigation-bar>
<view class="main">
4 years ago
<view class="look-top">
<view class="look-search center">
<image class="look-s-icon" src="../../assets/images/search.png"></image>
4 years ago
</view>
4 years ago
<view class="look-top-right flex-center" bindtap="comeList">
4 years ago
<image class="look-top-tag" src="../../assets/images/s-icon.png"></image>
<text class="look-top-text">土地池</text>
4 years ago
</view>
</view>
4 years ago
<map class="map" enable-satellite="{{satellite==1?true:false}}" scale="{{scale}}" markers="{{markers}}"
4 years ago
latitude="{{latitude}}" longitude="{{longitude}}" bindmarkertap="markertap" polygons="{{polygons}}">
4 years ago
<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>
4 years ago
<cover-view class="timer">
{{start}}年 - {{end}}年
</cover-view>
4 years ago
</cover-view>
4 years ago
</cover-view>
4 years ago
<cover-view class="hidden"></cover-view>
4 years ago
</map>
4 years ago
<view class="list-foot">
4 years ago
<view class="list-item" wx:for="{{tabs}}" wx:key="id" data-id="{{item.id}}" bindtap="checkBtn">
4 years ago
<view class="check-box {{item.state?'check-active':''}}">
<image class="check-icon" src="../../assets/images/check.png"></image>
4 years ago
</view>
4 years ago
<view class="item-name">{{item.name}}</view>
4 years ago
</view>
</view>
</view>
4 years ago
</view>