去除省市区

master
lion 8 months ago
parent 93421a2be8
commit b191ac3f80

@ -20,7 +20,7 @@
</u-radio-group>
</u-form-item>
<u-form-item label="地址" prop="address" required>
<view style="display:flex;align-items:center;width:100%;gap:12rpx;">
<!-- <view style="display:flex;align-items:center;width:100%;gap:12rpx;">
<picker :range="provinceList.map(item => item.name)" @change="onProvinceChange">
<view class="picker-input">
{{ form.province || '请选择省' }}
@ -39,7 +39,7 @@
<u-icon name="arrow-down" size="18" color="#999" style="margin-left:8rpx;" />
</view>
</picker>
</view>
</view> -->
<view style="margin-top:16rpx;">
<u-input v-model="form.address" placeholder="请输入详细地址" type="textarea"/>
<view style="color:blue" @click="openMap"></view>
@ -166,7 +166,7 @@
},
onReady() {
this.$refs.uForm1.setRules(this.rules);
this.loadProvinceList();
// this.loadProvinceList();
},
methods: {
async loadProvinceList() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -7,7 +7,6 @@
"u-input": "/uview-ui/components/u-input/u-input",
"u-radio-group": "/uview-ui/components/u-radio-group/u-radio-group",
"u-radio": "/uview-ui/components/u-radio/u-radio",
"u-icon": "/uview-ui/components/u-icon/u-icon",
"u-button": "/uview-ui/components/u-button/u-button"
}
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save