This commit is contained in:
2025-03-19 10:16:59 +08:00
parent bf3b31327b
commit 06e5a2b48e
442 changed files with 48 additions and 36857 deletions

View File

@@ -6,6 +6,7 @@
:col="col ? col : 1"
style="overflow: hidden; justify-content: space-between"
>
<u-grid-item
:class="`scroll-view-item list_item content_item `"
v-for="(item, index) in dataList"

View File

@@ -166,45 +166,46 @@
<view class="shiting_content">
<view class="catalogueList">
<view class="chapter_content">
<courseDescription
:isCondition="true"
:dataList="slotProps.dataList"
@hancleClick="gotoDetail"
@hancleClick="(data,index)=>gotoDetail(data,index,slotProps)"
label="title"
>
<template slot="labelSlot" slot-scope="slotProps">
<template slot="labelSlot" slot-scope="slotProps1">
<view
:style="`${
slotProps.rowIndex < 3
slotProps1.rowIndex < 3
? 'width:calc(100% - 100rpx);float:left;'
: 'width:100%;'
}`"
>
<text
:class="`${
slotProps.row.viewFlg == 1 ? 'aui-text-success' : ''
slotProps1.row.viewFlg == 1 ? 'aui-text-success' : ''
}`"
>{{ slotProps.row.title }}</text
>{{ slotProps1.row.title }}</text
>
</view>
</template>
<template slot="leftSlot" slot-scope="slotProps"> </template>
<template slot="rightSlot" slot-scope="slotProps">
<template slot="leftSlot" slot-scope="slotProps1"> </template>
<template slot="rightSlot" slot-scope="slotProps1">
<text
class="fdButtonBox aui-text-success"
style="background: none"
v-if="slotProps.row.isAudition == 1"
v-if="slotProps1.row.isAudition == 1"
>试听</text
>
<view class="shitingTag">
<u-icon
v-if="
cateList[0].type != 0 &&
cateList[0].isBuy == 0 &&
slotProps.data.type != 0 &&
slotProps.data.isBuy == 0 &&
userVip == null &&
slotProps.row.isAudition == 0
slotProps1.row.isAudition == 0
"
name="lock"
color="#258feb"
@@ -682,7 +683,11 @@ export default {
this.show = true;
},
//课程详情
async gotoDetail(v, index) {
async gotoDetail(v, index,slotProps) {
console.log('slotProps at line 686:', slotProps)
console.log('currentCateIndex at line 687:', this.currentCateIndex)
this.currentCateIndex=slotProps.index
if (
this.cateList[this.currentCateIndex].isBuy == 1 ||
v.isAudition == 1 ||