Browse Source

修改地图样式

master
邓宏 2 years ago
parent
commit
cdfdc9747c
  1. 2
      pages/massif/mana/index.vue
  2. 24
      pages/massif/mana/recovery.vue

2
pages/massif/mana/index.vue

@ -74,7 +74,7 @@ export default {
new plus.maps.Point(116.395502,39.923082),
])
polygon.setLineWidth(2)
polygon.setStorkeColor("#10C176")
polygon.setStrokeColor("#10C176")
polygon.setFillColor("#10C176")
polygon.setFillOpacity(0.3)
maps.addOverlay(polygon)

24
pages/massif/mana/recovery.vue

@ -76,19 +76,21 @@
<text class="plant-youbian" :class="{noDate:!searchVal.endTime}" @click="dateType='endTime';show=true">{{searchVal.endTime||"请选择结束时间"}}</text>
</view>
<view class="card" v-for="(v,k) in list" :key="k">
<u-image width="90rpx" height="90rpx" radius="6rpx" mode="aspectFill" :src="`${host}/${v.images}`"/>
<view class="detail">
<view class="name">
<text>{{v.plantName}}</text>
<text data-unit="kg">{{v.harvestNum}}</text></view>
<view class="info">
<text>负责人{{v.principal}}</text>
<text>采收时间{{v.harvestTime}}</text>
<scroll-view scroll-y @scrollotower="search">
<view class="card" v-for="(v,k) in list" :key="k">
<u-image width="90rpx" height="90rpx" radius="6rpx" mode="aspectFill" :src="`${host}/${v.images}`"/>
<view class="detail">
<view class="name">
<text>{{v.plantName}}</text>
<text data-unit="kg">{{v.harvestNum}}</text></view>
<view class="info">
<text>负责人{{v.principal}}</text>
<text>采收时间{{v.harvestTime}}</text>
</view>
</view>
</view>
</view>
<u-empty v-if="list.length==0" icon="http://cdn.uviewui.com/uview/empty/data.png"/>
<u-empty v-if="list.length==0" icon="http://cdn.uviewui.com/uview/empty/data.png"/>
</scroll-view>
<u-datetime-picker
:show="show"

Loading…
Cancel
Save