fix: 🐛 修复部分bug

master
Yer 2023-09-13 15:52:08 +08:00
parent 2d251faff1
commit 4aeaa115dc
2 changed files with 30 additions and 5 deletions

View File

@ -15,7 +15,9 @@
<u-input v-model="form.mobile" type="number" maxlength="11" placeholder="请输入收货人手机号码" /> <u-input v-model="form.mobile" type="number" maxlength="11" placeholder="请输入收货人手机号码" />
</u-form-item> </u-form-item>
<u-form-item label="所在区域" label-width="130" prop="___path"> <u-form-item label="所在区域" label-width="130" prop="___path">
<u-input v-model="form.___path" type="select" @click="showPicker" placeholder="请选择所在地区" /> <div @click="showPicker" >
{{ form.___path || '请选择所在地区' }}
</div>
</u-form-item> </u-form-item>
<u-form-item class="detailAddress" label="详细地址" label-width="130" prop="detail"> <u-form-item class="detailAddress" label="详细地址" label-width="130" prop="detail">
<u-input type="textarea" v-model="form.detail" maxlength="100" height="150" placeholder="街道楼牌号等" /> <u-input type="textarea" v-model="form.detail" maxlength="100" height="150" placeholder="街道楼牌号等" />

View File

@ -22,10 +22,12 @@
<u-form-item label="城市" label-width="150" placeholder="请选择城市" right-icon="arrow-right"> <u-form-item label="城市" label-width="150" placeholder="请选择城市" right-icon="arrow-right">
<div style="width: 100%;" @click="clickRegion">{{ form.___path || '' }}</div> <div style="width: 100%;" @click="clickRegion">{{ form.___path || '' }}</div>
</u-form-item> </u-form-item>
<view class="submit" @click="submit"></view>
<view class="submit" @click="quiteLoginOut">退</view>
</u-form> </u-form>
<div class="bottom">
<view class="submit" @click="submit"></view>
<view class="submit light" @click="quiteLoginOut">退</view>
</div>
<m-city :provinceData="region" headTitle="区域选择" ref="cityPicker" @funcValue="getPickerParentValue" pickerSize="4"></m-city> <m-city :provinceData="region" headTitle="区域选择" ref="cityPicker" @funcValue="getPickerParentValue" pickerSize="4"></m-city>
</view> </view>
</template> </template>
@ -166,7 +168,11 @@ export default {
onLoad() {}, onLoad() {},
}; };
</script> </script>
<style>
page{
background: #fff;
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
.submit { .submit {
height: 90rpx; height: 90rpx;
@ -207,4 +213,21 @@ export default {
.form { .form {
background-color: #ffffff; background-color: #ffffff;
} }
.bottom{
position: fixed;
bottom: 40px;
display: flex;
align-items: center;
width: 100%;
>.submit{
background: $light-color;
color: #fff;
width: 40%;
}
}
.light{
background: rgba($color: $light-color, $alpha: 0.2) !important;
color: $light-color !important;
}
</style> </style>