diff --git a/pages/selfService/updateAdress/addAdress.vue b/pages/selfService/updateAdress/addAdress.vue index 4a9bc85..c15dcc1 100644 --- a/pages/selfService/updateAdress/addAdress.vue +++ b/pages/selfService/updateAdress/addAdress.vue @@ -4,52 +4,62 @@ - + - - + + - - - + + - - - + + - - - {{address}} - 请选择收货地址 + + + {{ address }} + 请选择收货地址 @@ -57,106 +67,81 @@ - - - + + - - {{'历史地址'}} + + {{ '历史地址' }} - -
- + +
+
{{ item.recName }} {{ item.recPhone }} {{ item.recArea }}
-
- - + + - - - + + - - - {{'确定'}} - - - - - - - - - {{'提交成功'}} - - - - {{'我们将在24小时内完成业务受理!具体进度将会以通知形式发送给您,请注意查收!'}} - - - - - {{'确定'}} - - - + + {{ + '确定' + }} @@ -261,7 +246,7 @@ export default { }, methods: { groupChange(value) { - this.addressList.forEach((ele) => { + this.addressList.forEach(ele => { if (value == ele.pkId) { this.$set(this.addressForm, 'newRecName', ele.recName) this.$set(this.addressForm, 'newRecPhone', ele.recPhone) @@ -290,13 +275,13 @@ export default { tranType: this.addressForm.tranType, orderItemsParams: this.addressForm.orderItemsParams, } - sel.queryAdressPostage(postageData).then((res) => { + sel.queryAdressPostage(postageData).then(res => { this.$set(this.addressForm, 'newPostage', res.data.postage) this.$forceUpdate() }) }, getAddressList() { - sel.addressList({}).then((res) => { + sel.addressList({}).then(res => { this.addressList = res.data }) }, @@ -304,17 +289,20 @@ export default { this.address = name }, submit() { - this.$refs.uForm.validate().then((res) => { - sel.saveSelfAddress(this.addressForm).then((res) => { + this.$refs.uForm.validate().then(res => { + sel.saveSelfAddress(this.addressForm).then(res => { if (res.code == '200') { - // uni.showToast({ - // title: res.msg, - // icon: 'none', - // success() { + uni.showToast({ + title: '修改成功', + icon: 'none', + success() { + setTimeout(() => { + uni.navigateBack() + }, 600) + }, + }) - // } - // }) - this.successShow = true + // this.successShow = true } }) }) @@ -438,7 +426,7 @@ export default { font-size: 28rpx; font-family: Source Han Sans CN; font-weight: 400; - color: #005BAC; + color: #005bac; } } @@ -482,7 +470,7 @@ page { } .btn { - background-color: #005BAC; + background-color: #005bac; border: none; height: 92rpx; line-height: 92rpx; @@ -528,7 +516,7 @@ page { } .poupBtn { - background: #005BAC; + background: #005bac; border-radius: 39rpx; padding: 26rpx 0; display: flex; @@ -543,4 +531,4 @@ page { ::v-deep .thePopup .u-popup__content { background-color: rgba(0, 0, 0, 0); } - \ No newline at end of file + diff --git a/pages/selfService/updateAdress/updateAdress.vue b/pages/selfService/updateAdress/updateAdress.vue index cb3019c..db4eb46 100644 --- a/pages/selfService/updateAdress/updateAdress.vue +++ b/pages/selfService/updateAdress/updateAdress.vue @@ -1,360 +1,369 @@ \ No newline at end of file + .line_title { + font-size: 24rpx; + font-family: Source Han Sans CN; + font-weight: 400; + color: #999999; + margin: 18rpx 0; + } + } +} +