fix: 🐛 修改商家端楼层装修bug

master
Yer 2023-12-22 14:31:39 +08:00
parent 286295393d
commit 5136f8b3dd
1 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,7 @@
<img :src="item.img" width="210" height="210" :alt="item.name"> <img :src="item.img" width="210" height="210" :alt="item.name">
<p>{{item.name}}</p> <p>{{item.name}}</p>
<p> <p>
<span>{{item.price | unitPrice('¥')}}</span> <span>{{item.price | unitPrice('¥')}}</span>
<!-- <span>{{item.price | unitPrice('¥')}}</span> --> <!-- <span>{{item.price | unitPrice('¥')}}</span> -->
</p> </p>
<div class="setup-box"> <div class="setup-box">
@ -100,10 +100,10 @@ export default {
}, },
handleSelectGoods(item) { // handleSelectGoods(item) { //
if(item) this.selected = item; if(item) this.selected = item;
this.$refs.liliDialog.open('goods', 'single') this.$refs.liliDialog.flag = true;
setTimeout(() => { this.$refs.liliDialog.goodsFlag = true;
this.$refs.liliDialog.goodsData = [this.selected] this.$refs.liliDialog.singleGoods();
}, 500);
}, },
// //
selectedGoodsData(val){ selectedGoodsData(val){
@ -175,16 +175,16 @@ export default {
cursor: pointer; cursor: pointer;
} }
border-right: 1px solid #eee; border-right: 1px solid #eee;
} }
li:last-of-type{ li:last-of-type{
border: none; border: none;
} }
.curr{ .curr{
p:nth-child(1){ p:nth-child(1){
background-color: $theme_color; background-color: $theme_color;
color: #fff; color: #fff;
} }
p:nth-child(2){ p:nth-child(2){
@ -223,4 +223,4 @@ export default {
} }
} }
} }
</style> </style>