|
@@ -28,8 +28,8 @@
|
|
|
</div>
|
|
|
</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>
|
|
|
+ <sign-page if="showSignPop"></sign-page>
|
|
|
+ <short-page if="showShortPop" @hasShort="hasShort"></short-page>
|
|
|
<div class="stack-popup" @click="closeWrap" if="showPopup">
|
|
|
<div class="customer-popup">
|
|
|
<text class="title">联系客服</text>
|
|
@@ -90,11 +90,8 @@ export default {
|
|
|
},
|
|
|
onInit() {
|
|
|
this.$on('dispathEvt', this.changeSignPop);
|
|
|
+ this.$on('hasShort',this.changeShortCut);
|
|
|
//今日已签到过不在弹框签到
|
|
|
- console.log("app backClickCount", this.$app.$def.data.backClickCount);
|
|
|
- if (this.$app.$def.data.backClickCount === 0) {
|
|
|
- this.showShortPop = true;
|
|
|
- }
|
|
|
this.getCoustom();
|
|
|
},
|
|
|
onShow() {
|
|
@@ -117,6 +114,9 @@ export default {
|
|
|
onMenuPress() {
|
|
|
this.$app.$def.showMenu();
|
|
|
},
|
|
|
+ changeShortCut(){
|
|
|
+ this.showShortPop=false;
|
|
|
+ },
|
|
|
async getCoustom() {
|
|
|
let res = await getCustomQrcode();
|
|
|
this.cutomerQrcode = res.url;
|