|
|
|
|
@ -76,7 +76,7 @@
|
|
|
|
|
<top ref="topId"></top>
|
|
|
|
|
|
|
|
|
|
<!-- service 客服-->
|
|
|
|
|
<service ref="serviceId" @goservice="goservice"></service>
|
|
|
|
|
<!-- <service ref="serviceId" @goservice="goservice"></service> -->
|
|
|
|
|
|
|
|
|
|
<u-toast ref="uToast" />
|
|
|
|
|
|
|
|
|
|
@ -85,7 +85,7 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import checkupdate from "@/uni_modules/uni-upgrade-center-app/utils/check-update.js"
|
|
|
|
|
import { myCache,getcartNum,getmessageNum,getRemoteFile,ifnonet } from '../../utils/utils.js';
|
|
|
|
|
import { myCache,logindo,getcartNum,getmessageNum,getRemoteFile,ifnonet } from '../../utils/utils.js';
|
|
|
|
|
import openlogin from "../components/openlogin.vue";
|
|
|
|
|
import top from "../components/top.vue";
|
|
|
|
|
import service from "../components/service.vue";
|
|
|
|
|
@ -223,6 +223,8 @@
|
|
|
|
|
// },2000);
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
//判断登录,跳转去登录
|
|
|
|
|
logindo();
|
|
|
|
|
|
|
|
|
|
this.shopid = myCache('myshopid')?myCache('myshopid'):null;
|
|
|
|
|
this.shop = myCache('myshop')?myCache('myshop'):'';
|
|
|
|
|
@ -316,6 +318,7 @@
|
|
|
|
|
this.$refs.topId.topData(e.scrollTop);
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
getCurrentActivity() {
|
|
|
|
|
// 获取当前Activity(仅App端有效)
|
|
|
|
|
const mainActivity = plus.android.runtimeMainActivity();
|
|
|
|
|
|