修改
This commit is contained in:
parent
6ff9ecb478
commit
3100488aab
@ -24,12 +24,12 @@
|
||||
v-if="item.itemDirectoryWatchStatus=='NOT_WATCHED'">
|
||||
开始播放
|
||||
</view>
|
||||
<view class="play"
|
||||
:style="item.itemDirectoryWatchStatus=='WATCHED'?'background-color: #4271B9;color:#3D7DCA':''"
|
||||
<view class="play" @tap='videoplay(item)'
|
||||
:style="item.itemDirectoryWatchStatus=='WATCHED'?'background-color: #E3EAF5;color:#3D7DCA':''"
|
||||
v-if="item.itemDirectoryWatchStatus=='WATCHED'">
|
||||
继续播放
|
||||
</view>
|
||||
<view class="play"
|
||||
<view class="play" @tap='videoplay(item)'
|
||||
:style="item.itemDirectoryWatchStatus=='FINISHED_READING'?'background-color: #E6E6E6;color:#76777B':''"
|
||||
v-if="item.itemDirectoryWatchStatus=='FINISHED_READING'">
|
||||
已看完
|
||||
@ -79,7 +79,8 @@
|
||||
},
|
||||
//关闭播放弹出框
|
||||
videoshowfalse() {
|
||||
this.videoitem.watchTime = this.formatSeconds(this.videoitem.watchTime)
|
||||
this.videoitem.watchTime = '00:00:01'
|
||||
// this.videoitem.watchTime = this.formatSeconds(this.videoitem.watchTime)
|
||||
insertTrainingItemWatchRecord(this.videoitem).then(res => {
|
||||
this.videoitem.watchTime = 0
|
||||
this.info();
|
||||
@ -106,7 +107,7 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
} else {}
|
||||
}
|
||||
this.videoshow = true
|
||||
},
|
||||
info() {
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<view class="Introduce">
|
||||
{{item.itemDirectoryIntroduce}}
|
||||
</view>
|
||||
<view class="play" v-if="!item.trainingOrderStatus" @tap='videoplay(item)'>
|
||||
<view class="play" v-if="!item.trainingOrderStatus">
|
||||
开始播放
|
||||
</view>
|
||||
<view class="" v-if="item.trainingOrderStatus=='PAY'">
|
||||
@ -107,7 +107,7 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
} else {}
|
||||
}
|
||||
this.videoshow = true
|
||||
},
|
||||
info() {
|
||||
|
||||
@ -160,9 +160,14 @@
|
||||
},
|
||||
//我的学习
|
||||
goOrderlist() {
|
||||
const personRoleLoginFlag = uni.getStorageSync('personRoleLoginFlag');
|
||||
if (personRoleLoginFlag) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/Orderlist/Orderlist'
|
||||
})
|
||||
} else {
|
||||
this.gologin();
|
||||
}
|
||||
},
|
||||
//敬请期待
|
||||
gostudy() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user