Commit f0d80c06 by 李伟康

fix(components): 移除 SwiperComponent 中 carousel-block 的边框样式

fix(pages/boutique): 调整套餐列表获取逻辑与样式细节

在 SwiperComponent.vue 中,为 .carousel-block 添加了 border: none 样式以移除默认边框。
在 pages/boutique/index.vue 中,调整了套餐列表的获取逻辑,确保在特定生命周期和事件回调中正确调用 getBoutiquePackageList 方法。
同时,优化了部分样式布局,包括文字居中、宽度调整及间距微调,提升页面展示效果。
1 parent 887a1cf2
......@@ -458,6 +458,9 @@ export default {
.type-2 {
.swiper-carousel {
height: toRpx(460);
.carousel-block {
border: none;
}
.block-left,
.block-right {
top: toRpx(68);
......
......@@ -341,6 +341,7 @@ export default {
this.recording = false
this.$refs.home.$refs.leftBox.getMessageInfo()
if (this.requested) this.$refs.home.updateApp()
this.getBoutiquePackageList() //套餐列表
},
async start (before = true) {
const isPermision = await this.$refs.home.isPermission()
......@@ -393,6 +394,7 @@ export default {
this.setReceptionStatus(e);
this.$store.dispatch("clearHistory")
this.$store.dispatch('clearReceptionTrack')
this.getBoutiquePackageList() //套餐列表
}, 1500);
},
/**客户邀约接待 */
......@@ -519,10 +521,13 @@ export default {
font-size: 20rpx;
left: 32rpx;
top: 63rpx;
width: 194rpx;
text-align: center;
.num {
color: #333333;
font-size: 32rpx;
font-weight: 700;
justify-content: center;
.unit {
margin-right: 4rpx;
}
......@@ -536,16 +541,20 @@ export default {
font-size: 36rpx;
font-weight: 700;
justify-content: center;
}
.price-3 {
top: 54rpx;
left: 456rpx;
color: #999999;
font-size: 28rpx;
width: 296rpx;
text-align: center;
.num {
color: #ff4747;
font-size: 44rpx;
font-weight: 700;
justify-content: center;
.unit {
margin-right: 8rpx;
}
......@@ -553,7 +562,7 @@ export default {
}
.briefIntroduction {
left: 0;
top: 208rpx;
top: 212rpx;
color: #666666;
font-size: 24rpx;
width: 100%;
......@@ -564,7 +573,7 @@ export default {
color: #4673ff;
font-size: 26rpx;
text-align: center;
margin-top: 8rpx;
margin-top: 16rpx;
}
}
.swiper-zoom {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!