bug
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="grid">
|
||||
<div class="grid" v-if="pageShow">
|
||||
<div class="gird-wrapper">
|
||||
<div class="gird-item">
|
||||
<h2>一级网格</h2>
|
||||
@@ -76,11 +76,13 @@
|
||||
topGrid: [],
|
||||
secondaryGrid: [],
|
||||
tertiaryGrid: [],
|
||||
tertiaryInfo: {}
|
||||
tertiaryInfo: {},
|
||||
pageShow: false
|
||||
}
|
||||
},
|
||||
|
||||
onLoad () {
|
||||
this.$loading()
|
||||
this.getInfo()
|
||||
},
|
||||
|
||||
@@ -117,6 +119,10 @@
|
||||
this.tertiaryGrid.push(...e.girdList)
|
||||
})
|
||||
}
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.pageShow = true
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@
|
||||
margin-bottom: 30px;
|
||||
|
||||
&:active {
|
||||
background: #eee;
|
||||
// background: #eee;
|
||||
}
|
||||
.title{
|
||||
margin-bottom: 38px;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div class="border">
|
||||
<span class="label">店名</span>
|
||||
<span class="value">
|
||||
<input type="text" placeholder="请输入" v-model="form.businessName" maxlength="10">
|
||||
<input type="text" placeholder="请输入" v-model="form.businessName" maxlength="20">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-area">
|
||||
<textarea placeholder="请输入" v-model="form.businessAddress"></textarea>
|
||||
<textarea placeholder="请输入" v-model="form.businessAddress" maxlength="50"></textarea>
|
||||
</div>
|
||||
<div class="item">
|
||||
<span class="tips">*</span>
|
||||
@@ -41,7 +41,7 @@
|
||||
<div class="border">
|
||||
<span class="label">身份证号</span>
|
||||
<span class="value">
|
||||
<input type="text" placeholder="请输入" v-model="form.cardId">
|
||||
<input type="text" placeholder="请输入" v-model="form.cardId" maxlength="18">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -95,15 +95,16 @@
|
||||
computed: {...mapState(['user'])},
|
||||
|
||||
onLoad (query) {
|
||||
this.id = query.id
|
||||
this.getInfo()
|
||||
if (query) {
|
||||
this.id = query.id
|
||||
this.getInfo()
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
chooseLocation () {
|
||||
uni.chooseLocation({
|
||||
success: res => {
|
||||
this.form.businessAddress = res.name
|
||||
this.form.lat = res.latitude
|
||||
this.form.lng = res.longitude
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user