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 { ...@@ -458,6 +458,9 @@ export default {
.type-2 { .type-2 {
.swiper-carousel { .swiper-carousel {
height: toRpx(460); height: toRpx(460);
.carousel-block {
border: none;
}
.block-left, .block-left,
.block-right { .block-right {
top: toRpx(68); top: toRpx(68);
......
...@@ -341,6 +341,7 @@ export default { ...@@ -341,6 +341,7 @@ export default {
this.recording = false this.recording = false
this.$refs.home.$refs.leftBox.getMessageInfo() this.$refs.home.$refs.leftBox.getMessageInfo()
if (this.requested) this.$refs.home.updateApp() if (this.requested) this.$refs.home.updateApp()
this.getBoutiquePackageList() //套餐列表
}, },
async start (before = true) { async start (before = true) {
const isPermision = await this.$refs.home.isPermission() const isPermision = await this.$refs.home.isPermission()
...@@ -393,6 +394,7 @@ export default { ...@@ -393,6 +394,7 @@ export default {
this.setReceptionStatus(e); this.setReceptionStatus(e);
this.$store.dispatch("clearHistory") this.$store.dispatch("clearHistory")
this.$store.dispatch('clearReceptionTrack') this.$store.dispatch('clearReceptionTrack')
this.getBoutiquePackageList() //套餐列表
}, 1500); }, 1500);
}, },
/**客户邀约接待 */ /**客户邀约接待 */
...@@ -519,10 +521,13 @@ export default { ...@@ -519,10 +521,13 @@ export default {
font-size: 20rpx; font-size: 20rpx;
left: 32rpx; left: 32rpx;
top: 63rpx; top: 63rpx;
width: 194rpx;
text-align: center;
.num { .num {
color: #333333; color: #333333;
font-size: 32rpx; font-size: 32rpx;
font-weight: 700; font-weight: 700;
justify-content: center;
.unit { .unit {
margin-right: 4rpx; margin-right: 4rpx;
} }
...@@ -536,16 +541,20 @@ export default { ...@@ -536,16 +541,20 @@ export default {
font-size: 36rpx; font-size: 36rpx;
font-weight: 700; font-weight: 700;
justify-content: center; justify-content: center;
} }
.price-3 { .price-3 {
top: 54rpx; top: 54rpx;
left: 456rpx; left: 456rpx;
color: #999999; color: #999999;
font-size: 28rpx; font-size: 28rpx;
width: 296rpx;
text-align: center;
.num { .num {
color: #ff4747; color: #ff4747;
font-size: 44rpx; font-size: 44rpx;
font-weight: 700; font-weight: 700;
justify-content: center;
.unit { .unit {
margin-right: 8rpx; margin-right: 8rpx;
} }
...@@ -553,7 +562,7 @@ export default { ...@@ -553,7 +562,7 @@ export default {
} }
.briefIntroduction { .briefIntroduction {
left: 0; left: 0;
top: 208rpx; top: 212rpx;
color: #666666; color: #666666;
font-size: 24rpx; font-size: 24rpx;
width: 100%; width: 100%;
...@@ -564,7 +573,7 @@ export default { ...@@ -564,7 +573,7 @@ export default {
color: #4673ff; color: #4673ff;
font-size: 26rpx; font-size: 26rpx;
text-align: center; text-align: center;
margin-top: 8rpx; margin-top: 16rpx;
} }
} }
.swiper-zoom { .swiper-zoom {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!