修改
This commit is contained in:
parent
cb66e5125f
commit
8f41e051cd
@ -47,8 +47,9 @@ Page({
|
|||||||
},
|
},
|
||||||
toPathVideo(ev: any) {
|
toPathVideo(ev: any) {
|
||||||
const sid = ev.currentTarget.dataset.sid;
|
const sid = ev.currentTarget.dataset.sid;
|
||||||
|
const chapterid = ev.currentTarget.dataset.chapterid;
|
||||||
tt.navigateTo({
|
tt.navigateTo({
|
||||||
url: `/pages/videoDetail/videoDetail?sid=${sid}`,
|
url: `/pages/videoDetail/videoDetail?sid=${sid}&id=${chapterid || ''}`,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
toPathRechargeRecord() {
|
toPathRechargeRecord() {
|
||||||
|
@ -109,8 +109,7 @@
|
|||||||
<view class="_my_ste_4_history">
|
<view class="_my_ste_4_history">
|
||||||
<scroll-view class="_my_ste_4_scr_H" scroll-x="true" style="width: 100%">
|
<scroll-view class="_my_ste_4_scr_H" scroll-x="true" style="width: 100%">
|
||||||
<block tt:for="{{historyList}}">
|
<block tt:for="{{historyList}}">
|
||||||
<view class="_my_ste_4_scr_H_item" tt:key="{{item.sid}}" data-sid="{{item.sid}}"
|
<view class="_my_ste_4_scr_H_item" tt:key="{{item.sid}}" data-sid="{{item.sid}}" data-chapterid="{{item.chapterid}}" bindtap="toPathVideo">
|
||||||
bindtap="toPathVideo">
|
|
||||||
<view class="_my_ste_4_scr_H_i_cover">
|
<view class="_my_ste_4_scr_H_i_cover">
|
||||||
<image src="{{item.cover}}" class="__m_c_iiii" mode="aspectFill"></image>
|
<image src="{{item.cover}}" class="__m_c_iiii" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user