diff --git a/App.vue b/App.vue index 088d48f..e0645a9 100644 --- a/App.vue +++ b/App.vue @@ -10,7 +10,7 @@ // +---------------------------------------------------------------------- // #ifdef APP-PLUS let jpushModule = uni.requireNativePlugin("JG-JPush"); - const mp = uni.requireNativePlugin('uniMP'); + const mp = uni.requireNativePlugin('uniMP'); // #endif import { checkLogin @@ -77,6 +77,7 @@ this.globalData.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px'; this.globalData.uid = this.$store.state.app.uid; + // #ifdef APP-PLUS //监听uni小程序发送的事件 mp.onUniMPEventReceive(ret=>{ console.log('小程序事件: ', ret); @@ -86,6 +87,7 @@ }); } }); + // #endif let that = this; // #ifdef MP diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index 8b22336..32db7d6 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -35,7 +35,7 @@ :show="jurisdiction" mode="permission" :text="emptyText" - icon="http://cdn.uviewui.com/uview/empty/permission.png" + icon="/static/empty/permission.png" > @@ -105,9 +105,9 @@ - + @@ -143,7 +143,9 @@ import { import { getDiy } from '@/api/api.js'; +// #ifdef APP-PLUS import uniMP from '@/utils/uniMP.js'; +// #endif export default { components: { @@ -339,7 +341,7 @@ export default { uni.setStorageSync('gatherNowMenuList', JSON.stringify(this.nowMenuList)); }, getUniMp (appid) { - console.log('点击供销平台'); + console.log('点击小程序'); // #ifdef APP-PLUS uniMP.loadMP(appid); return; diff --git a/pages/moreProject/moreProject.vue b/pages/moreProject/moreProject.vue index 666b762..ef93489 100644 --- a/pages/moreProject/moreProject.vue +++ b/pages/moreProject/moreProject.vue @@ -281,7 +281,7 @@ --> - + diff --git a/static/empty/permission.png b/static/empty/permission.png new file mode 100644 index 0000000..8142421 Binary files /dev/null and b/static/empty/permission.png differ