更新了部分功能

This commit is contained in:
weipengfei 2023-09-05 10:04:46 +08:00
parent 96bfa9cb23
commit 8fd43a90f5
4 changed files with 10 additions and 6 deletions

View File

@ -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

View File

@ -35,7 +35,7 @@
:show="jurisdiction"
mode="permission"
:text="emptyText"
icon="http://cdn.uviewui.com/uview/empty/permission.png"
icon="/static/empty/permission.png"
></u-empty>
<view class="business com special_work" v-if="jurisdiction == false">
<view class="title project">
@ -105,9 +105,9 @@
</view>
</view>
<view class="" v-if="jurisdiction == false && isShow == false">
<!-- <view class="" v-if="jurisdiction == false && isShow == false">
<emptyPage title="暂无信息"></emptyPage>
</view>
</view> -->
</view>
</template>
@ -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;

View File

@ -281,7 +281,7 @@
</view>
</template>
</m-tabbar> -->
<view class="" v-if='jurisdiction==false&&isShow==false'>
<view class="" style="padding-top: 1px;" v-if='jurisdiction==false&&isShow==false'>
<emptyPage title="暂无信息"></emptyPage>
</view>

BIN
static/empty/permission.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB