Commit 3f7ce677 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 92bbeee8
......@@ -94,10 +94,10 @@
inviteUId: '',
serviceUrl: '',
downUrl: '', //
versionName: 'v 1.0.0',
versionName: '1.0.0',
auth: false, // 三要素实名认证
userInfo: null,
pkgName: 'com.dytest.dytestxunmi'
pkgName: 'com.duben.dyolvedio'
}
};
</script>
......
......@@ -6,7 +6,7 @@
border-radius: 40rpx;border: 2px solid darkgray;" src="@/static/index/ic_quit_white.png" />
</view>
<text class="mt-10" style="font-size: 46rpx;">如何继续看剧?</text>
<text class="m-10">找到“星夜微剧场” 小程序</text>
<text class="m-10">找到“欧拉短剧” 小程序</text>
<image class="mt-30" mode="widthFix" :src="maskImage1"></image>
<image :src="maskImage2" mode="widthFix"></image>
......@@ -288,6 +288,7 @@
typeId: -1,
newRecordBean: null,
showMask: false,
firstEnter: false,
maskImage1: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find1.png',
maskImage2: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find2.png',
boxImgUrl: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png',
......@@ -296,11 +297,7 @@
},
methods: {
loadData(){
setTimeout(() => {
if (this.$refs.paging != null) {
this.$refs.paging.reload();
}
}, 500);
},
showMaskFuc() {
let showFollowMask = uni.getStorageSync('show-follow-mask') || '';
......@@ -367,6 +364,15 @@
if (data.list) {
this.typeId = data.list[0].typeId
this.typesList = data.list
if(!this.firstEnter){
this.firstEnter=true
setTimeout(() => {
if (this.$refs.paging != null) {
this.$refs.paging.reload();
}
}, 500);
}
}
}
});
......
......@@ -6,7 +6,7 @@
border-radius: 40rpx;border: 2px solid darkgray;" src="@/static/index/ic_quit_white.png" />
</view>
<text class="mt-10" style="font-size: 46rpx;">如何继续使用?</text>
<text class="m-10">找到“星夜微剧场”小程序</text>
<text class="m-10">找到“欧拉短剧”小程序</text>
<image class="mt-30" mode="widthFix" :src="maskImage1"></image>
<image :src="maskImage2" mode="widthFix"></image>
......
{
"name" : "短剧",
"appid" : "__UNI__D23E760",
"appid" : "__UNI__076053C",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : 1000,
......@@ -164,7 +164,7 @@
"uniStatistics" : {
"enable" : false
},
"appid" : "ttd50ba3b64a3c2deb01"
"appid" : "ttae10d8ad3126cfa701"
},
"uniStatistics" : {
"enable" : false,
......
......@@ -131,6 +131,7 @@ export default {
Object.assign(header, {
token: uni.getStorageSync('token'),
pkgName: app.globalData.pkgName,
version: app.globalData.versionName,
proChannel:uniChannel
})
......
......@@ -21,7 +21,7 @@
{
"path": "pages/home",
"style": {
"navigationBarTitleText": "星夜微剧场",
"navigationBarTitleText": "欧拉短剧",
"navigationStyle": "default",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
......
......@@ -43,7 +43,7 @@
this.tips1 = options.tips1
this.shareId = options.shareId
this.appName = '星夜微剧场'
this.appName = '欧拉短剧'
},
onShow(options) {
// #ifdef MP-TOUTIAO
......
......@@ -20,9 +20,9 @@
</block>
</view>
<button v-if="signData.list[signData.todayMsgIndexInWeek].rewardMoreType==2" open-type="share"
:class="signBtnStyle" @click="sign">{{signData.buttonText}}</button>
<button v-else :class="signBtnStyle" @click="sign">{{signData.buttonText}}</button>
<view v-if="signData.list[signData.todayMsgIndexInWeek].rewardMoreType==2" open-type="share"
:class="signBtnStyle" @click="sign">{{signData.buttonText}}</view>
<view v-else :class="signBtnStyle" @click="sign">{{signData.buttonText}}</view>
</view>
</view>
......@@ -72,9 +72,10 @@
</block>
</view>
<reward-popup v-if="taskList.length>0" :show="showRewardPopup" :dot="signData.list[signData.todayMsgIndexInWeek].reward"
@rewardClose="rewardClose"></reward-popup>
<signsuc-popup v-if="signList.length>0" :show="showSignPopup" :moreDot="signData.list[signData.todayMsgIndexInWeek].rewardMore"
<reward-popup v-if="taskList.length>0" :show="showRewardPopup"
:dot="signData.list[signData.todayMsgIndexInWeek].reward" @rewardClose="rewardClose"></reward-popup>
<signsuc-popup v-if="signList.length>0" :show="showSignPopup"
:moreDot="signData.list[signData.todayMsgIndexInWeek].rewardMore"
:stype="signData.list[signData.todayMsgIndexInWeek].rewardMoreType"
:dot="signData.list[signData.todayMsgIndexInWeek].reward" @submit="sign"
@signClose="signClose"></signsuc-popup>
......@@ -340,12 +341,12 @@
} else {
// 去完成任务
if (
item.listCode == TaskConstant.seeVedioListPage
item.listCode == TaskConstant.seeVedioListPage ||
item.listCode == TaskConstant.firstToHomePage
) {
this.reportCompleteTask(item.taskId)
navigateTo(`/pages/home`)
redirectTo(`/pages/home`)
} else if (
item.listCode == TaskConstant.firstToHomePage ||
item.listCode == TaskConstant.seeVedio ||
item.listCode == TaskConstant.seeOneNewVedio ||
item.listCode == TaskConstant.compeleOneVedio ||
......
......@@ -285,11 +285,12 @@
let that = this
this.post({
url: '/vTask/common/reportCompleteMsg/beginSeeTime',
data: {},
showLoading: false,
success: ({
data
}) => {}
success: ({
data
}) => {
}
});
},
reportEndSeeTime() {
......@@ -297,11 +298,12 @@
let that = this
this.post({
url: '/vTask/common/reportCompleteMsg/endSeeTime',
data: {},
showLoading: false,
success: ({
data
}) => {}
success: ({
data
}) => {
}
});
},
addRewardPoint(vedioId) {
......@@ -325,11 +327,12 @@
let that = this
this.post({
url: '/vTask/vedioPageClose',
data: {},
showLoading: false,
success: ({
data
}) => {}
success: ({
data
}) => {
}
});
},
unlock(num) {
......
vedio/static/logo-about.png

9.59 KB | W: | H:

vedio/static/logo-about.png

15.7 KB | W: | H:

vedio/static/logo-about.png
vedio/static/logo-about.png
vedio/static/logo-about.png
vedio/static/logo-about.png
  • 2-up
  • Swipe
  • Onion skin
export const EXPRESS_ID = '97g4dcm1eowaczy4oq'
export const REWARD_ID = 'biya5ozaevghqmpkg8'
\ No newline at end of file
export const EXPRESS_ID = 't4f614xju01td525ez'
export const REWARD_ID = '9kpbeoj3tjp5rpgmpe'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment