|
@@ -29,7 +29,7 @@
|
|
|
</div>
|
|
|
<image src="../../assets/imgs/sign_show.png" class="sign-icon" @click="changeSignPop"> </image>
|
|
|
<sign-page if="{{showSignPop}}"></sign-page>
|
|
|
- <short-page if="{{showShortPop}}"></short-page>
|
|
|
+ <short-page if="{{showShortPop}}" @addshort="shortEnd"></short-page>
|
|
|
<div class="stack-popup" @click="closeWrap" if="showPopup">
|
|
|
<div class="customer-popup">
|
|
|
<text class="title">联系客服</text>
|
|
@@ -91,22 +91,25 @@ export default {
|
|
|
onInit() {
|
|
|
this.$on('dispathEvt', this.changeSignPop);
|
|
|
//今日已签到过不在弹框签到
|
|
|
+ console.log("app backClickCount", this.$app.$def.data.backClickCount);
|
|
|
if (this.$app.$def.data.backClickCount === 0) {
|
|
|
this.showShortPop = true;
|
|
|
}
|
|
|
this.getCoustom();
|
|
|
},
|
|
|
- onShow(){
|
|
|
- it.getShortCut(()=>{
|
|
|
- this.showShortPop = true;
|
|
|
-
|
|
|
+ onShow() {
|
|
|
+ it.getShortCut((value) => {
|
|
|
+ this.showShortPop = !value;
|
|
|
})
|
|
|
},
|
|
|
+ shortEnd(value) {
|
|
|
+ this.showShortPop = !value.detail.installed;
|
|
|
+ },
|
|
|
onBackPress() {
|
|
|
// 退出逻辑
|
|
|
if (this.$app.$def.data.backClickCount === 0) {
|
|
|
this.$app.$def.data.backClickCount++;
|
|
|
- this.$app.$def.createShortcut()
|
|
|
+ this.$app.$def.createShortcut();
|
|
|
return true;
|
|
|
}
|
|
|
},
|