Commit 3f7ce677 authored by mengcuiguang's avatar mengcuiguang

代码优化

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