6.9/优化

This commit is contained in:
THK3121 2023-06-09 17:04:25 +08:00
parent 015a3c6f33
commit 4ab82767f2
2 changed files with 81 additions and 59 deletions

View File

@ -1503,7 +1503,7 @@
.store-item { .store-item {
margin: 20rpx auto; margin: 20rpx auto;
// padding: 40rpx 20rpx; // padding: 40rpx 20rpx;
background-color: #fff; // background-color: #fff;
.head { .head {
display: flex; display: flex;
@ -1533,7 +1533,7 @@
width: 80px; width: 80px;
height: 180rpx; height: 180rpx;
background-size: cover; background-size: cover;
margin: 10px 0 0 10px; margin: 10px 0 10px 10px;
border-radius: 10px; border-radius: 10px;
} }
@ -1541,7 +1541,7 @@
margin: 10px 0 0 15px; margin: 10px 0 0 15px;
.text { .text {
margin-top: 10rpx; margin: 12.5rpx 0px;
display: flex; display: flex;
span { span {
@ -1560,8 +1560,14 @@
} }
p { p {
font-size: 24px; font-size: 31rpx;
font-weight: 700; font-weight: 700;
width: 160px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
-o-text-overflow: ellipsis;
margin-bottom: 30rpx;
} }
@ -1570,13 +1576,14 @@
} }
.conent_l_bom { .conent_l_bom {
padding-top: 10px; margin-top: 40rpx;
.text { .text {
display: flex; display: flex;
p { p {
width: 190px; width: 190px;
margin: 10rpx 0 10px 0; margin: 10rpx 0 10Rpx 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@ -1595,6 +1602,7 @@
} }
.head_conent_r { .head_conent_r {
height: 200px;
width: 30%; width: 30%;
.miniban { .miniban {
@ -1719,11 +1727,13 @@
} }
} }
} }
.guanbi { .guanbi {
width: 20px; width: 20px;
height: 20px; height: 20px;
margin: 30px auto; margin: 30px auto;
} }
.pop { .pop {
z-index: 1; z-index: 1;
} }

View File

@ -188,7 +188,8 @@ export default {
volume: '', // volume: '', //
extension_one: '', // extension_one: '', //
extension_two: '' // extension_two: '' //
} },
a:{}
}; };
}, },
onLoad(opt) { onLoad(opt) {
@ -207,6 +208,15 @@ export default {
} }
}, },
deep: true deep: true
},
batchData:{
handler(val){
console.log(val);
// this.multiSpecificationList
// setStorage('attrValue', this.multiSpecificationList);
},
deep:true,
} }
}, },
methods: { methods: {
@ -230,9 +240,11 @@ export default {
}); });
}, },
clk(index) { clk(index) {
setStorage('attrValue', this.multiSpecificationList);
let avatar = this.$refs.avatar; let avatar = this.$refs.avatar;
this.index = index; this.index = index;
avatar.fChooseImg(1,{selWidth: '350upx', selHeight: '350upx', inner: true}); avatar.fChooseImg(1,{selWidth: '350upx', selHeight: '350upx', inner: true});
}, },
doUpload(rsp) { doUpload(rsp) {
console.log(rsp); console.log(rsp);