diff --git a/pageE/mine/MineConcerns.vue b/pageE/mine/MineConcerns.vue index fbea87b..49e3172 100644 --- a/pageE/mine/MineConcerns.vue +++ b/pageE/mine/MineConcerns.vue @@ -27,7 +27,7 @@ import storeViwe from './storeConcerns' export default { data() { return { - list: [{ name: "商家" }, { name: "达人" }], + list: [{ name: "店铺" }, { name: "达人" }], daren: [], shangjia:[], height: 0, diff --git a/pageE/more/EditInvoice.vue b/pageE/more/EditInvoice.vue index 0c85ea5..0d64b29 100644 --- a/pageE/more/EditInvoice.vue +++ b/pageE/more/EditInvoice.vue @@ -19,7 +19,7 @@ 手机号 - + 身份证号 @@ -37,7 +37,7 @@ 电话号码 - + 开户银行 @@ -91,6 +91,7 @@ export default { this.action == 1 ? this.invoiceAdd() : this.invoiceEdit(); }, verificationParams() { + const phone = /^0\d{2,3}-?\d{7,8}$/; if(this.type == 1) { if(this.$u.test.isEmpty(this.title)) { this.$u.toast('发票抬头不可为空'); @@ -100,7 +101,7 @@ export default { this.$u.toast('手机号不可为空'); return false; } - if(!this.$u.test.mobile(this.personalPhone)) { + if(!this.$u.test.mobile(this.personalPhone) && !phone.test(this.personalPhone)) { this.$u.toast('请正确填写手机号'); return false; } @@ -129,7 +130,7 @@ export default { this.$u.toast('电话号码不可为空'); return false; } - if(!this.$u.test.mobile(this.companyPhone)) { + if(!this.$u.test.mobile(this.companyPhone) && !phone.test(this.companyPhone)) { this.$u.toast('请正确填写电话号码'); return false; } diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 416000c..0112e63 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -166,7 +166,7 @@ export default { }, { name: 'refund', - title: '售后', + title: '退款售后', img: '/static/image/mine/9.png', link: '/order/Index?current=7', number: '', @@ -437,7 +437,7 @@ export default { > view:nth-child(6){ @include image-size($image-width: 33rpx, $image-height: 35rpx); .order-num { - left: 24rpx; + left: 44rpx; } } }