diff --git a/pages/pay/pay.ts b/pages/pay/pay.ts index c0fb3e0..4ef6e37 100644 --- a/pages/pay/pay.ts +++ b/pages/pay/pay.ts @@ -84,7 +84,8 @@ Page({ tt.getOrderPayment({ orderId: su.orderId, imId: platform === 'ios' ? iosIm : '', - success: (payRes: any) => { + success: () => { + // payRes: any tt.hideLoading({}); if (platform != 'ios') { tt.showToast({ diff --git a/pages/videoDetail/videoDetail.ts b/pages/videoDetail/videoDetail.ts index 45a784c..2ae992b 100644 --- a/pages/videoDetail/videoDetail.ts +++ b/pages/videoDetail/videoDetail.ts @@ -95,7 +95,7 @@ Page({ const nextId = batchList[current]?.id; const context: any = tt.createVideoContext(`${id}`); const nextContext: any = tt.createVideoContext(`${nextId}`); - const selectionConList = this.data.selectionConList; + // const selectionConList = this.data.selectionConList; // const collectionItem: any = this.data.collectionItem; const sid = this.data.sid; @@ -180,7 +180,7 @@ Page({ }, videoPlayerEnded() { const videoPlayerCurrent = this.data.videoPlayerCurrent; - const batchList = this.data.batchList; + // const batchList = this.data.batchList; // if (videoPlayerCurrent + 1 <= batchList.length) { // const videoreadRes: any = await httpRequest('/videoread', 'POST', params); this.setData({ @@ -366,8 +366,8 @@ Page({ title: `广告加载中...`, icon: 'none', }); - adBanner.show().then((res: any) => { - // console.log("视频广告展示"); + adBanner.show().then(() => { + // res: any console.log("视频广告展示"); }); }, adInit() { @@ -377,7 +377,7 @@ Page({ // this.watchInfo.isvip = 0; if (!isAdBanner) { - const adBanner = tt.createRewardedVideoAd({ + const adBanner: any = tt.createRewardedVideoAd({ adUnitId: "wh0y4vcxsbk7ixwktg", });