diff --git a/pages/theater/theater.ttml b/pages/theater/theater.ttml
index 5477908..371531a 100644
--- a/pages/theater/theater.ttml
+++ b/pages/theater/theater.ttml
@@ -92,11 +92,14 @@
新剧
-->
-
+
- 火热
+ {{item.fiery}}
+
+ 共 {{item.count}} 集
+
{{item.name}}
diff --git a/pages/theater/theater.ttss b/pages/theater/theater.ttss
index 994ad2b..569f66e 100644
--- a/pages/theater/theater.ttss
+++ b/pages/theater/theater.ttss
@@ -206,6 +206,26 @@ page {
color: #fff;
}
+._mo_one_con_li_it_w_c_total {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ display: flex;
+ justify-content: flex-end;
+ align-items: center;
+ width: 100%;
+ height: 48rpx;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
+ border-radius: 0rpx 0rpx 16rpx 16rpx;
+ padding-right: 20rpx;
+}
+
+._mo_one_con_li_it_w_c_tot_text {
+ line-height: 1;
+ font-size: 20rpx;
+ color: #fff;
+}
+
._mo_one_con_li_it_w_c_ta {
position: absolute;
right: -4rpx;
diff --git a/pages/videoDetail/videoDetail.ts b/pages/videoDetail/videoDetail.ts
index 2ae992b..2724782 100644
--- a/pages/videoDetail/videoDetail.ts
+++ b/pages/videoDetail/videoDetail.ts
@@ -39,19 +39,15 @@ Page({
toOptions: options,
sid: options?.sid || ''
})
+ const params = {
+ ...options
+ }
- this.initFn();
+ this.initFn(params);
this.adInit()
},
onShow() { },
- async initFn() {
-
- const sid = this.data.sid;
- const options = this.data.toOptions;
- const params = {
- ...options,
- sid: sid
- }
+ async initFn(params: any) {
const videoreadRes: any = await httpRequest('/videoread', 'POST', params);
let videoInfo: any = {}
@@ -487,17 +483,27 @@ Page({
},
toPathVideoitself(ev: any) {
const sid = ev.currentTarget.dataset.sid;
+ const params = {
+ sid
+ }
this.setData({
sid: sid,
options: {
sid
}
})
- this.initFn();
+ this.initFn(params);
},
async handelReplace() {
+ const sid = this.data.sid;
+ const options = this.data.toOptions;
+ const params = {
+ ...options,
+ sid: sid
+ }
+
let nextbatchList = [];
- const nextbatchRes: any = await httpRequest('/nextbatch', 'POST');
+ const nextbatchRes: any = await httpRequest('/nextbatch', 'POST', params);
if (nextbatchRes.status == 1 && Array.isArray(nextbatchRes.data)) {
nextbatchList = nextbatchRes.data;
}