混淆,改动代码

This commit is contained in:
GYJ
2024-12-21 10:38:04 +08:00
parent a7f6209b08
commit f87a4b285e
34 changed files with 780 additions and 782 deletions

View File

@@ -4,20 +4,20 @@
<view class="head">
<scroll-view scroll-x class="bg nav bg-white u-border-bottom">
<view class="flex text-center">
<view class="cu-item flex-sub text-bold" :class="item.name==TabCur?' cur ':'text-black'"
<view class="cu-item flex-sub text-bold" :class="item.name===TabCur?' cur ':'text-black'"
v-for="(item,index) in tabList" :key="index" :data-id="item.name" @tap="tabSelect">
{{item.name}}
<view v-if="item.name==TabCur"
<view v-if="item.name===TabCur"
style="width: 64rpx;height: 8rpx;;background: #5074FF;margin: -20rpx auto;border-radius: 10rpx;">
</view>
</view>
</view>
</scroll-view>
</view>
<view class="headlen">
<view v-if="TabCur == tabList[0].name">
<view class="headLen">
<view v-if="TabCur === tabList[0].name">
<view class="page-box" v-if="latelyCourseList.length && userId">
<view class="order" v-for="(item, index) in latelyCourseList" :key="index"
<view class="orderView" v-for="(item, index) in latelyCourseList" :key="index"
@click="goCourseDet(item)">
<view class="item">
<view class="left">
@@ -71,7 +71,7 @@
</view>
<view v-if="TabCur == tabList[2].name">
<view class="page-box" v-if="collectList.length && userId">
<view class="order" v-for="(item,index) in collectList" :key='index' @click="goCourseDet(item)">
<view class="orderView" v-for="(item,index) in collectList" :key='index' @click="goCourseDet(item)">
<view class="item">
<view class="left">
<image :src="item.titleImg" mode="aspectFill"
@@ -444,7 +444,7 @@
z-index: 999;
}
.headlen {
.headLen {
/* #ifdef H5 */
margin-top: 80rpx;
/* #endif */
@@ -457,7 +457,7 @@
padding-bottom: 100px;
}
.order {
.orderView {
width: 700rpx;
background-color: #ffffff;
margin: 20rpx auto;