修改
This commit is contained in:
parent
30bbabbe22
commit
aa3995cbad
@ -92,11 +92,14 @@
|
|||||||
<text class="_mo_one_con_li_it_wa_co_ta_text">新剧</text>
|
<text class="_mo_one_con_li_it_wa_co_ta_text">新剧</text>
|
||||||
</view>
|
</view>
|
||||||
</block> -->
|
</block> -->
|
||||||
<block tt:if="{{index <= 3}}">
|
<block tt:if="{{item.fiery}}">
|
||||||
<view class="_mo_one_con_li_it_w_c_ta bg_color">
|
<view class="_mo_one_con_li_it_w_c_ta bg_color">
|
||||||
<text class="_mo_3_con_li_it_wa_co_ta_text">火热</text>
|
<text class="_mo_3_con_li_it_wa_co_ta_text">{{item.fiery}}</text>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
|
<view class="_mo_one_con_li_it_w_c_total">
|
||||||
|
<text class="_mo_one_con_li_it_w_c_tot_text">共 {{item.count}} 集</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="_mo_one_con_li_it_wa_title">
|
<view class="_mo_one_con_li_it_wa_title">
|
||||||
<text class="_mo_one_con_li_it_wa_ti_text">{{item.name}}</text>
|
<text class="_mo_one_con_li_it_wa_ti_text">{{item.name}}</text>
|
||||||
|
@ -206,6 +206,26 @@ page {
|
|||||||
color: #fff;
|
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 {
|
._mo_one_con_li_it_w_c_ta {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -4rpx;
|
right: -4rpx;
|
||||||
|
@ -39,19 +39,15 @@ Page({
|
|||||||
toOptions: options,
|
toOptions: options,
|
||||||
sid: options?.sid || ''
|
sid: options?.sid || ''
|
||||||
})
|
})
|
||||||
|
const params = {
|
||||||
|
...options
|
||||||
|
}
|
||||||
|
|
||||||
this.initFn();
|
this.initFn(params);
|
||||||
this.adInit()
|
this.adInit()
|
||||||
},
|
},
|
||||||
onShow() { },
|
onShow() { },
|
||||||
async initFn() {
|
async initFn(params: any) {
|
||||||
|
|
||||||
const sid = this.data.sid;
|
|
||||||
const options = this.data.toOptions;
|
|
||||||
const params = {
|
|
||||||
...options,
|
|
||||||
sid: sid
|
|
||||||
}
|
|
||||||
|
|
||||||
const videoreadRes: any = await httpRequest('/videoread', 'POST', params);
|
const videoreadRes: any = await httpRequest('/videoread', 'POST', params);
|
||||||
let videoInfo: any = {}
|
let videoInfo: any = {}
|
||||||
@ -487,17 +483,27 @@ Page({
|
|||||||
},
|
},
|
||||||
toPathVideoitself(ev: any) {
|
toPathVideoitself(ev: any) {
|
||||||
const sid = ev.currentTarget.dataset.sid;
|
const sid = ev.currentTarget.dataset.sid;
|
||||||
|
const params = {
|
||||||
|
sid
|
||||||
|
}
|
||||||
this.setData({
|
this.setData({
|
||||||
sid: sid,
|
sid: sid,
|
||||||
options: {
|
options: {
|
||||||
sid
|
sid
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.initFn();
|
this.initFn(params);
|
||||||
},
|
},
|
||||||
async handelReplace() {
|
async handelReplace() {
|
||||||
|
const sid = this.data.sid;
|
||||||
|
const options = this.data.toOptions;
|
||||||
|
const params = {
|
||||||
|
...options,
|
||||||
|
sid: sid
|
||||||
|
}
|
||||||
|
|
||||||
let nextbatchList = [];
|
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)) {
|
if (nextbatchRes.status == 1 && Array.isArray(nextbatchRes.data)) {
|
||||||
nextbatchList = nextbatchRes.data;
|
nextbatchList = nextbatchRes.data;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user