细节优化

This commit is contained in:
summation
2022-01-22 14:08:34 +08:00
parent 1c3d930a35
commit 760fd769c4
8 changed files with 192 additions and 130 deletions

View File

@@ -366,7 +366,7 @@ ul li ol li em strong i {
text-align: center;
color: white;
font-size: 16px;
cursor: pointer;
height: 48px;
border-radius: 30px;

View File

@@ -40,7 +40,7 @@
</div>
</div>
</div>
<div class="rc_contline"></div>
<div class="rc_contline">1</div>
<div class="rc-main" v-for="(item, index) in goldmedal" :key="index">
<div class="rc-usermain">
<div class="rc-image">
@@ -59,7 +59,7 @@
</div>
</div>
</div>
<div class="rc-contline"></div>
<div class="rc_contline"></div>
<div class="rc-main">
<div class="rc-merchandise">
<ul>
@@ -83,7 +83,7 @@
</div>
</div>
<div class="rc-contline"></div>
<div class="rc_contline"></div>
<div class="rc-main">
<div class="rc-foot">
<div class="rc-foo">
@@ -97,7 +97,7 @@
</div>
</div>
</div>
<el-dialog :visible.sync="dialogAdd" class="diallog_width" width="'100%">
<el-dialog :visible.sync="dialogAdd" class="diallog_width" width="'100%" :title="dialogAddTitle">
<div class="tc dl_cont" v-if="dialogAdd">
<myAddress
@isClose="dialogCtrl"
@@ -155,6 +155,7 @@ export default {
data() {
return {
goldmedal: [],
dialogAddTitle:"",
addressstype: null,
orderstatus: "",
userisdelivery: "待收货",
@@ -212,6 +213,7 @@ export default {
this.useraddress = data;
},
editAddress(item) {
this.dialogAddTitle='修改收货地址'
this.editAddressData = {
memberId: item.memberId,
name: item.recipient,
@@ -229,6 +231,7 @@ export default {
this.dialogAdd = true;
},
addAddress() {
this.dialogAddTitle='新增收货地址'
this.editAddressData = {};
this.dialogAdd = true;
},
@@ -349,6 +352,11 @@ export default {
userPayData: JSON.stringify(userPayData),
},
});
}else{
this.$message({
type: "warning",
message: res.msg,
});
}
},
async canceldanhao(orderNumber) {
@@ -360,7 +368,6 @@ export default {
},
mounted() {
this.goldmedal = JSON.parse(this.$route.query.list);
console.log(this.$route);
this.getAddressList();
// this.addressstype = this.$route.query.stype;
// this.orderNumber = this.$route.query.orderNumber;