Browse Source

地块基本信息 隐藏经纬度表单

master
邓宏 2 years ago
parent
commit
482c9d83a5
  1. 1
      pages/home/index.vue
  2. 2
      pages/massif/info.vue
  3. 1
      uni_modules/d-form/components/d-form/d-form.vue

1
pages/home/index.vue

@ -232,6 +232,7 @@
<view class="article"> <view class="article">
<text class="plant-bijibenjilutongxunlu" @click="$u.route({url:'pages/massif/myPlant'})"/> <text class="plant-bijibenjilutongxunlu" @click="$u.route({url:'pages/massif/myPlant'})"/>
<u-image <u-image
mode="aspectFill"
v-for="(v,k) in massif.images||[]" :key="k" v-for="(v,k) in massif.images||[]" :key="k"
:title="`${host}/${massif.images[k]}`" :title="`${host}/${massif.images[k]}`"
width="56rpx" width="56rpx"

2
pages/massif/info.vue

@ -38,7 +38,7 @@ import request from '@/common/request'
realityArea:{label:"实际面积",type:'digit'}, realityArea:{label:"实际面积",type:'digit'},
image:{label:"地块图片",type:"upImg",num:3,value:''}, image:{label:"地块图片",type:"upImg",num:3,value:''},
date:{label:"使用日期",type:"dateRange",value:[]}, date:{label:"使用日期",type:"dateRange",value:[]},
longitude:{label:"经/纬度",type:"map",value:[]}, // longitude:{label:"/",type:"map",value:[]},
address:{label:"详细地址",type:"textarea"}, address:{label:"详细地址",type:"textarea"},
}, },
formData:{ formData:{

1
uni_modules/d-form/components/d-form/d-form.vue

@ -632,6 +632,7 @@ import {computeArea} from '@/common/utils'
openMap(){ openMap(){
// uni.navigateTo({url:"/pages/massif/mapEditor"}) // uni.navigateTo({url:"/pages/massif/mapEditor"})
// return;
this.showMap=true this.showMap=true
/* #ifdef APP-PLUS */ /* #ifdef APP-PLUS */

Loading…
Cancel
Save