1.首页课程栏目选完之后再回来被重置的问题

This commit is contained in:
liuyuan
2025-01-23 14:09:03 +08:00
parent c043408e68
commit b24119a549
8 changed files with 995 additions and 555 deletions

View File

@@ -10,9 +10,7 @@
-->
</z-nav-bar>
<view class="contentBox commonPageContentBox" :style="`margin-top: ${
(40 + statusBarHeight) * 2
}rpx;height: calc(100% - ${(50 + statusBarHeight) * 2}rpx) !important;`">
<view class="contentBox commonPageContentBox">
<view class="flash_sale_content">
<scroll-view scroll-y="true" class="scroll-Y" style="">
<view class="scroll-view-item flash_sale_content_item color_shandow" v-for="(v, i) in dataList"
@@ -263,8 +261,6 @@
},
background: "rgb(255 255 255 / 85%)",
buttonbg: "linear-gradient(to right, #3F7FC9 0%,#D3EEFC 100%) ",
// titleBackground:
// "linear-gradient(130deg, rgb(153, 202, 192) 0%, rgb(192, 223, 207) 50%)",
color: "linear-gradient(130deg,rgb(45, 56, 244) 0%, #72AD92 100%)",
list: res.list[i],
quanyi: this.superQuanyi,
@@ -278,11 +274,7 @@
list: res.list[i],
background: "#c3e7f7c7",
buttonbg: "rgba(255, 255, 255, 0.85)",
// titleBackground:
// "linear-gradient(130deg, #E4F3E9 0%,#D6E7EF 100%) ",
color: "linear-gradient(130deg,#1ECEDE 0%, #72AD92 100%)",
quanyi: this.sociologyQuanyi,
});
}
@@ -628,7 +620,7 @@
// console.log(res, '脉穴分类获取成功')
// if (res.code == 0 && res.list.length > 0) {
// this.oneCateList = res.list
this.getTowCateList(this.oneCateList[0].type);
// this.getTowCateList(this.oneCateList[0].type);
// } else {
// this.oneCateList = []
// }