Browse Source

越南

yuenan
xubinxcode 3 years ago
parent
commit
edd00cd74d
5 changed files with 11 additions and 11 deletions
  1. +2
    -2
      addons/unishop/uniapp/uni-shop/components/mpvue-citypicker/mpvueCityPicker.vue
  2. +2
    -2
      addons/unishop/uniapp/uni-shop/components/mpvue-picker/mpvuePicker.vue
  3. +1
    -1
      addons/unishop/uniapp/uni-shop/components/share.vue
  4. +3
    -3
      addons/unishop/uniapp/uni-shop/pages/address/addressManage.vue
  5. +3
    -3
      addons/unishop/uniapp/uni-shop/pages/order/createOrder.vue

+ 2
- 2
addons/unishop/uniapp/uni-shop/components/mpvue-citypicker/mpvueCityPicker.vue View File

@@ -3,8 +3,8 @@
<div :class="{'pickerMask':showPicker}" @click="maskClick" catchtouchmove="true"></div>
<div class="mpvue-picker-content " :class="{'mpvue-picker-view-show':showPicker}">
<div class="mpvue-picker__hd" catchtouchmove="true">
<div class="mpvue-picker__action" @click="pickerCancel">取消</div>
<div class="mpvue-picker__action" :style="{color:themeColor}" @click="pickerConfirm">确定</div>
<div class="mpvue-picker__action" @click="pickerCancel">Huỷ</div>
<div class="mpvue-picker__action" :style="{color:themeColor}" @click="pickerConfirm">Xác nhận</div>
</div>
<picker-view indicator-style="height: 40px;" class="mpvue-picker-view" :value="pickerValue" @change="pickerChange">
<block>


+ 2
- 2
addons/unishop/uniapp/uni-shop/components/mpvue-picker/mpvuePicker.vue View File

@@ -3,8 +3,8 @@
<view :class="{'pickerMask':showPicker}" @click="maskClick" catchtouchmove="true"></view>
<view class="mpvue-picker-content " :class="{'mpvue-picker-view-show':showPicker}">
<view class="mpvue-picker__hd" catchtouchmove="true">
<view class="mpvue-picker__action" @click="pickerCancel">取消</view>
<view class="mpvue-picker__action" :style="{color:themeColor}" @click="pickerConfirm">确定</view>
<view class="mpvue-picker__action" @click="pickerCancel">Huỷ</view>
<view class="mpvue-picker__action" :style="{color:themeColor}" @click="pickerConfirm">Xác nhận</view>
</view>
<!-- 单列 -->
<picker-view indicator-style="height: 40px;" class="mpvue-picker-view" :value="pickerValue" @change="pickerChange" v-if="mode==='selector' && pickerValueSingleArray.length > 0">


+ 1
- 1
addons/unishop/uniapp/uni-shop/components/share.vue View File

@@ -25,7 +25,7 @@
</view>
</view>
</scroll-view>
<view class="bottom b-t" @click="toggleMask">取消</view>
<view class="bottom b-t" @click="toggleMask">Huỷ</view>
</view>
</view>
</template>


+ 3
- 3
addons/unishop/uniapp/uni-shop/pages/address/addressManage.vue View File

@@ -116,15 +116,15 @@
//Deep Clone
let data = JSON.parse(JSON.stringify(this.addressData));
if (!data.name) {
this.$api.msg('请填写收货人姓名');
this.$api.msg('Tên người nhận');
return;
}
if (!/(^1[3|4|5|7|8][0-9]{9}$)/.test(data.mobile)) {
this.$api.msg('请输入正确的手机号码');
this.$api.msg('Số điện thoại người nhận');
return;
}
if (!data.address) {
this.$api.msg('请填详细地址信息');
this.$api.msg('Địa chỉ cụ thể');
return;
}
console.log(data.is_default);


+ 3
- 3
addons/unishop/uniapp/uni-shop/pages/order/createOrder.vue View File

@@ -449,15 +449,15 @@
async submit() {
let adres = JSON.parse(JSON.stringify(this.addressData));
if (!adres.name) {
this.$api.msg('请填写收货人姓名');
this.$api.msg('Tên người nhận');
return;
}
if (!/(^0[0-9]{9}$)/.test(adres.mobile)) {
this.$api.msg('请输入正确的手机号码');
this.$api.msg('Số điện thoại người nhận');
return;
}
if (!adres.address || !this.cityLebel) {
this.$api.msg('请填详细地址信息');
this.$api.msg('Địa chỉ cụ thể');
return;
}
// 如果没有地址则提示先加地址


Loading…
Cancel
Save