This commit is contained in:
GYJ
2024-12-31 14:47:39 +08:00
parent 2aa9070b0e
commit adee64f460
7 changed files with 12 additions and 18 deletions

View File

@@ -2,7 +2,7 @@
<view>
<view class="df" style=" justify-content: space-around;flex-wrap: wrap; margin-top: 10rpx;">
<view style="border-radius:21rpx 21rpx 21rpx 21rpx;width: 33%;text-align: center;margin-top: 20rpx;padding:0 26rpx;"
class="liststyle" v-for="item in $props.list" :key="item" @tap="seVideo(item)">
class="liststyle" v-for="item in $props.list" :key="item.course_id" @tap="seVideo(item)">
<image :src="item.titleImg" style="width: 188rpx;height: 247rpx;border-radius:21rpx 21rpx 21rpx 21rpx"
mode=""></image>
<view style="font-weight: 400;font-size: 25rpx;color: #333333;text-align: left;">

View File

@@ -120,7 +120,7 @@
</view>
<view style="margin-top: 40rpx;">观看历史</view>
<view class="df" style=" justify-content: space-between;margin-top: 28rpx;">
<view style="border-radius:21rpx 21rpx 21rpx 21rpx" v-for="item in list" :key="item"
<view style="border-radius:21rpx 21rpx 21rpx 21rpx" v-for="(item,index) in list" :key="(item,index)"
@tap="seVideo(item)">
<image :src="item.titleImg"
style="width: 188rpx;height: 247rpx;border-radius:21rpx 21rpx 21rpx 21rpx" mode=""></image>
@@ -500,7 +500,7 @@
//查看视频
seVideo(item) {
const time = 100;
// #ifdef H5
console.log(item,'调试1')
if (returnIsSafari()) {
this.pageScrollTo(time)
setTimeout(() => {

View File

@@ -40,7 +40,7 @@
</view>
</view> -->
<view style="margin-top: 100rpx; display: flex;align-items: center; justify-content: space-between;">
<view class="" v-for="item in signInList" :key="item" style="position: relative;"
<view class="" v-for="item in signInList" :key="item.id" style="position: relative;"
:style="filterDate(item)=='已签到'?'color:#EFA765':'color:#999'">
{{filterDate(item)}}
<view