Commit 5a0b338c authored by 罗超's avatar 罗超

1

parent f2ec7078
......@@ -76,7 +76,12 @@
<picker :mode ="item1.mode" class="subpicker" :range="item1.array" @change="changPicker($event,item1.field,item1.mode,item1.array)">
<input class="subInput" disabled type="text" :placeholder="item1.placehloder" v-model="data[item1.field]" />
</picker>
<u-icon style="flex-grow: 4;" name="arrow-right"></u-icon>
<!-- <u-icon style="flex-grow: 4;" name="arrow-right"></u-icon> -->
</view>
<view class="subpicker" v-if="item1.subType==3" @click="showabc">
<!-- @click="addressShow = true" -->
<Text :style="{'color':address!=''? '#303133':'#9D9C9B'}">{{address!=''? address :'请选择'}}</Text>
<pickerAddress v-model="addressShow" @confirm="addresspick" />
</view>
</view>
......@@ -96,6 +101,8 @@
</template>
<script>
import pickerAddress from '../address/liudx-pickerAddress/index.vue'
import AddressParse from '../address/zh-address-parse.min.js'
export default{
data(){
return{
......@@ -188,7 +195,7 @@
name:"籍贯",
field:"nativePlace",
placehloder:"请选择籍贯",
subType:2,
subType:3,
array:[],
mode:"region"
},{
......@@ -329,7 +336,9 @@
img6:false,
img7:false,
img8:false,
}
},
addressShow:false,
address:''
}
},
methods:{
......@@ -343,6 +352,12 @@
this.data.addCode=JSON.parse(JSON.stringify(arg.detail.code))
this.$forceUpdate()
}
},
addresspick(obj) {
console.log(obj)
},
chooseImg(index,key) {
let that = this
......@@ -537,6 +552,11 @@
}
);
},
showabc(){
this.addressShow = true
console.log(1111,this.addressShow)
},
//获取个人资料
getInfo(){
this.request2(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment