|
@@ -260,9 +260,9 @@
|
|
|
urlNo:1,
|
|
urlNo:1,
|
|
|
shortUrlList:[],
|
|
shortUrlList:[],
|
|
|
unReadMsgNum:0, //未读消息数
|
|
unReadMsgNum:0, //未读消息数
|
|
|
- currentDate: '', // 当前日期信息 如:12月26号 周五
|
|
|
|
|
- showBoughtTooltip: false, // 是否显示买花记录提示
|
|
|
|
|
- };
|
|
|
|
|
|
|
+ currentDate: '', // 当前日期信息 如:12月26号 周五
|
|
|
|
|
+ showBoughtTooltip: false, // 是否显示买花记录提示
|
|
|
|
|
+ };
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters({ loginInfo: "getLoginInfo",dictInfo:"getDictionariesInfo",myShopInfo:"getMyShopInfo" })
|
|
...mapGetters({ loginInfo: "getLoginInfo",dictInfo:"getDictionariesInfo",myShopInfo:"getMyShopInfo" })
|
|
@@ -285,20 +285,21 @@
|
|
|
})
|
|
})
|
|
|
this.updateCurrentDate()
|
|
this.updateCurrentDate()
|
|
|
},
|
|
},
|
|
|
- onShow () {
|
|
|
|
|
- this.unReadMsgNum = 0; // 重置未读消息数
|
|
|
|
|
|
|
+ onShow () {
|
|
|
|
|
+ this.unReadMsgNum = 0; // 重置未读消息数
|
|
|
|
|
+
|
|
|
|
|
+ this.showBoughtTooltip = !uni.getStorageSync('boughtTooltipClosed');
|
|
|
|
|
|
|
|
- this.showBoughtTooltip = !uni.getStorageSync('boughtTooltipClosed');
|
|
|
|
|
|
|
+ this.init();
|
|
|
|
|
|
|
|
- this.init();
|
|
|
|
|
-
|
|
|
|
|
// 判断是否登录
|
|
// 判断是否登录
|
|
|
if(!this.$util.isEmpty(this.loginInfo.admin) && this.loginInfo.admin.currentShopId > 0){
|
|
if(!this.$util.isEmpty(this.loginInfo.admin) && this.loginInfo.admin.currentShopId > 0){
|
|
|
this.handleLoginStyle()
|
|
this.handleLoginStyle()
|
|
|
// this.getUnReadMsgCount()
|
|
// this.getUnReadMsgCount()
|
|
|
this.showShopName()
|
|
this.showShopName()
|
|
|
}
|
|
}
|
|
|
- },
|
|
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
onShareAppMessage(res) {
|
|
onShareAppMessage(res) {
|
|
|
return { title: "花掌柜,花店管家婆", desc: "", imageUrl: "", path: "admin/home/mall" }
|
|
return { title: "花掌柜,花店管家婆", desc: "", imageUrl: "", path: "admin/home/mall" }
|
|
|
},
|
|
},
|