修改
This commit is contained in:
parent
ec93571fd0
commit
2a2819e1ca
2
app.json
2
app.json
@ -15,7 +15,7 @@
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#080B16",
|
||||
"navigationBarTitleText": "初晴剧场",
|
||||
"navigationBarTitleText": "古言剧场",
|
||||
"navigationBarTextStyle": "white"
|
||||
},
|
||||
"tabBar": {
|
||||
|
@ -5,8 +5,8 @@ Page({
|
||||
moneyLogList: [],
|
||||
moneyFlag: false
|
||||
},
|
||||
onLoad(options) {
|
||||
|
||||
onLoad() {
|
||||
// options
|
||||
},
|
||||
onShow() {
|
||||
httpRequest('/moneylog', 'POST').then((res: any) => {
|
||||
|
@ -3,8 +3,8 @@
|
||||
<view class="_consumption_content">
|
||||
<view class="_consumption_c_list">
|
||||
<block tt:for="{{moneyLogList}}">
|
||||
<view class="_consumption_c_li_item" tt:key="{{item.id}}" data-sid="{{item.articleid}}" data-id="{{item.chapterid}}"
|
||||
catchtap="toPathVideo">
|
||||
<view class="_consumption_c_li_item" tt:key="{{item.id}}" data-sid="{{item.articleid}}"
|
||||
data-id="{{item.chapterid}}" catchtap="toPathVideo">
|
||||
<view class="_consumption_c_li_it_left">
|
||||
<view class="_consumption_c_li_it_le_cover">
|
||||
<image src="{{item.cover}}" class="__cum_img" mode="aspectFill"></image>
|
||||
@ -24,8 +24,8 @@
|
||||
<text
|
||||
class="_consumption_c_li_it_r_t_de_text">话费{{item.price}}K币购买{{item.chaptername}}</text>
|
||||
</view>
|
||||
<view class="_consumption_c_li_it_r_t_btn" data-sid="{{item.articleid}}" data-id="{{item.chapterid}}"
|
||||
catchtap="toPathVideo">
|
||||
<view class="_consumption_c_li_it_r_t_btn" data-sid="{{item.articleid}}"
|
||||
data-id="{{item.chapterid}}" catchtap="toPathVideo">
|
||||
<text class="_consumption_c_li_it_r_t_bt_text">继续观看</text>
|
||||
</view>
|
||||
</view>
|
||||
@ -36,7 +36,7 @@
|
||||
</view>
|
||||
</block>
|
||||
|
||||
<block>
|
||||
<block tt:else>
|
||||
<view class="_consumption_empty">
|
||||
<view class="_consumption_em_img">
|
||||
<image src="/static/cum_empry.png" class="__wa_img_no_radius"></image>
|
||||
|
@ -27,7 +27,7 @@
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="_home_modul_1">
|
||||
<view class="_home_modul_1" tt:if="{{boutique.length}}">
|
||||
<view class="_mo_1_header">
|
||||
<view class="_mo_1_hea_title">最新短剧</view>
|
||||
</view>
|
||||
@ -79,7 +79,7 @@
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
<view class="_home_modul_3">
|
||||
<view class="_home_modul_3" tt:if="{{optimalSelection.length}}">
|
||||
<view class="_mo_3_header">
|
||||
<view class="_mo_3_hea_title">热播短剧</view>
|
||||
</view>
|
||||
@ -111,7 +111,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="_home_modul_4">
|
||||
<view class="_home_modul_4" tt:if="{{classical.length}}">
|
||||
<view class="_mo_4_header">
|
||||
<view class="_mo_4_hea_title">更多热剧</view>
|
||||
</view>
|
||||
@ -137,7 +137,7 @@
|
||||
<view class="_mo_4_con_li_it_wa_in_title">
|
||||
<text class="_mo_4_con_li_it_wa_in_ti_text">{{item.name}}</text>
|
||||
</view>
|
||||
<view class="_mo_4_con_li_it_wa_in_description">
|
||||
<view class="_mo_4_con_li_it_wa_in_description" tt:if="{{item.description}}">
|
||||
<text class="_mo_4_con_li_it_wa_in_des_text">{{item.description}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@ -148,7 +148,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="_home_modul_5">
|
||||
<view class="_home_modul_5" tt:if="{{newModule.length}}">
|
||||
<view class="_mo_5_header">
|
||||
<view class="_mo_5_hea_title">更多好剧</view>
|
||||
</view>
|
||||
@ -177,15 +177,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="_mo_5_con_li_it_ri_button">
|
||||
<block tt:if="{{item.bookcase == 0}}">
|
||||
<view class="_mo_5_con_li_it_ri_btn_warp" catchtap="addkeep" data-sid="{{item.id}}">
|
||||
<text class="_mo_5_con_li_it_ri_btn_wa_text">订阅</text>
|
||||
<view class="_mo_5_con_li_it_ri_btn_wa_icon">
|
||||
<image src="/static/subscribe.png" class="__wa_img"></image>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block tt:else>
|
||||
<block tt:if="{{item.bookcase == 1}}">
|
||||
<view class="_mo_5_con_li_it_ri_btn_wa_no" catchtap="chasingdramadel"
|
||||
data-sid="{{item.id}}">
|
||||
<text class="_mo_5_con_li_it_ri_btn_wa_no_text">已订阅</text>
|
||||
@ -194,6 +186,14 @@
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block tt:else>
|
||||
<view class="_mo_5_con_li_it_ri_btn_warp" catchtap="addkeep" data-sid="{{item.id}}">
|
||||
<text class="_mo_5_con_li_it_ri_btn_wa_text">订阅</text>
|
||||
<view class="_mo_5_con_li_it_ri_btn_wa_icon">
|
||||
<image src="/static/subscribe.png" class="__wa_img"></image>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -73,6 +73,11 @@
|
||||
<text class="_pay_b_to_u_b_it_con_pr_symbol">¥</text>
|
||||
<text class="_pay_b_to_u_b_it_con_pr_num">{{item.price}}</text>
|
||||
</view>
|
||||
<!-- tt:if="{{ item.egold || item.giveegold}}" -->
|
||||
<view class="_pay_b_to_u_b_it_con_curr" >
|
||||
<text class="_pay_b_to_u_b_it_con_cur_text" tt:if="{{item.egold}}">{{item.egold}}K币</text>
|
||||
<text class="_pay_b_to_u_b_it_con_cur_text" tt:if="{{item.giveegold}}">+{{item.giveegold}}K币</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -144,6 +149,6 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<customer-service bottom="{{200}}" />
|
||||
|
||||
</view>
|
@ -186,9 +186,15 @@
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 56rpx;
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
|
||||
._pay_b_to_u_b_it_con_da_text {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
line-height: 1;
|
||||
font-size: 28rpx;
|
||||
color: #999999;
|
||||
@ -197,6 +203,7 @@
|
||||
._pay_b_to_u_b_it_con_price {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
line-height: 1
|
||||
@ -218,6 +225,16 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
._pay_b_to_u_b_it_con_curr {
|
||||
display: flex;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
._pay_b_to_u_b_it_con_cur_text {
|
||||
font-size: 22rpx;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
._pay_b_to_u_b_it_content._acv_bg_it {
|
||||
border-color: #5BBE04;
|
||||
background-color: rgba(91, 190, 4, 0.20);
|
||||
@ -239,6 +256,10 @@
|
||||
color: #5BBE04;
|
||||
}
|
||||
|
||||
._acv_bg_it ._pay_b_to_u_b_it_con_cur_text {
|
||||
color: #5BBE04;
|
||||
}
|
||||
|
||||
._pay_b_privilege {
|
||||
width: 100%;
|
||||
padding-left: 32rpx;
|
||||
|
@ -8,8 +8,8 @@ Page({
|
||||
module1: [],
|
||||
module2: []
|
||||
},
|
||||
onLoad(options) {
|
||||
|
||||
onLoad() {
|
||||
// options
|
||||
},
|
||||
onShow() {
|
||||
httpRequest('/top', 'POST').then((res: any) => {
|
||||
@ -33,7 +33,6 @@ Page({
|
||||
handelSortTap(ev: any) {
|
||||
const datasetcCtegoryid = ev.currentTarget.dataset.categoryid;
|
||||
const categoryid = this.data.categoryid;
|
||||
console.log(datasetcCtegoryid, categoryid)
|
||||
if (categoryid != datasetcCtegoryid) {
|
||||
httpRequest('/top', 'POST', { categoryid: datasetcCtegoryid }).then((res: any) => {
|
||||
if (res.status == 1) {
|
||||
|
@ -72,7 +72,7 @@ Page({
|
||||
|
||||
let nextbatchList = [];
|
||||
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;
|
||||
}
|
||||
|
||||
@ -367,7 +367,7 @@ Page({
|
||||
title: `广告加载中...`,
|
||||
});
|
||||
adBanner = tt.createRewardedVideoAd({
|
||||
adUnitId: "82jc4t11786rd3thuq",
|
||||
adUnitId: "wh0y4vcxsbk7ixwktg",
|
||||
});
|
||||
adBanner.show().then((res: any) => {
|
||||
console.log("视频广告展示");
|
||||
@ -465,5 +465,10 @@ Page({
|
||||
this.setData({
|
||||
unlockFlag: false
|
||||
})
|
||||
},
|
||||
showUnlockFlag() {
|
||||
this.setData({
|
||||
unlockFlag: true
|
||||
})
|
||||
}
|
||||
})
|
@ -96,6 +96,11 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="_k_l_unlo_mask" tt:else>
|
||||
<view catchtap="showUnlockFlag" >
|
||||
<text class="_k_ll_show_un_text">点击屏蔽再次解锁</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="_m_v_w_v_operate_l">
|
||||
|
@ -512,3 +512,8 @@ page {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
._k_ll_show_un_text {
|
||||
font-size: 26rpx;
|
||||
color: #fff;
|
||||
}
|
@ -1 +1,18 @@
|
||||
{"setting":{"urlCheck":true,"es6":true,"postcss":true,"minified":true,"newFeature":true,"autoCompile":true,"compileHotReLoad":true,"nativeCompile":true,"useCompilerPlugins":["typescript"]},"appid":"tt216c57d1be50cc7b01","projectname":"初晴剧场","douyinProjectType":"native"}
|
||||
{
|
||||
"setting": {
|
||||
"urlCheck": true,
|
||||
"es6": true,
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"newFeature": true,
|
||||
"autoCompile": true,
|
||||
"compileHotReLoad": true,
|
||||
"nativeCompile": true,
|
||||
"useCompilerPlugins": [
|
||||
"typescript"
|
||||
]
|
||||
},
|
||||
"appid": "tte8719ecc7742e53d01",
|
||||
"projectname": "初晴剧场",
|
||||
"douyinProjectType": "native"
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
// export const basUrl = 'https://dymgjcweb.qinjiu8.com'
|
||||
export const basUrl = 'https://dycqjcweb.jiulingliu.cn'
|
||||
export const basUrl = 'https://dybxjcapi.jiulingliu.cn'
|
@ -21,8 +21,18 @@ export const httpRequest = (url: string, method: any = 'GET', data: any = {}, he
|
||||
...data,
|
||||
},
|
||||
header: header,
|
||||
success: (res) => {
|
||||
resolve(res.data)
|
||||
success: (res: any) => {
|
||||
console.log(res,"pppppppp")
|
||||
if (res.data.status == 1) {
|
||||
resolve(res.data);
|
||||
} else {
|
||||
tt.showToast({
|
||||
title: res.data.msg || '请求失败',
|
||||
icon: 'none'
|
||||
});
|
||||
resolve(res.data);
|
||||
}
|
||||
|
||||
},
|
||||
fail: (err) => {
|
||||
reject(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user