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