代码优化
This commit is contained in:
parent
22725b4c2e
commit
8ac4784129
@ -31,7 +31,7 @@
|
|||||||
:show="jurisdiction"
|
:show="jurisdiction"
|
||||||
mode="permission"
|
mode="permission"
|
||||||
:text="emptyText"
|
:text="emptyText"
|
||||||
icon="/static/empty/permission.png"
|
icon="http://cdn.uviewui.com/uview/empty/permission.png"
|
||||||
></u-empty>
|
></u-empty>
|
||||||
<view class="business com special_work" v-if="jurisdiction == false">
|
<view class="business com special_work" v-if="jurisdiction == false">
|
||||||
<view class="title project">
|
<view class="title project">
|
||||||
@ -101,9 +101,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view class="" v-if="jurisdiction == false && isShow == false">
|
<view class="" v-if="jurisdiction == false && isShow == false">
|
||||||
<emptyPage title="暂无信息"></emptyPage>
|
<emptyPage title="暂无信息"></emptyPage>
|
||||||
</view> -->
|
</view>
|
||||||
|
<u-picker :defaultIndex="[0,0]" :show="showPicker" ref="uPicker" :columns="columnData" @confirm="confirm"
|
||||||
|
@cancel="showPicker = false" @change="changeHandler" keyName="name"></u-picker>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -139,9 +142,7 @@ import {
|
|||||||
import {
|
import {
|
||||||
getDiy
|
getDiy
|
||||||
} from '@/api/api.js';
|
} from '@/api/api.js';
|
||||||
// #ifdef APP-PLUS
|
|
||||||
import uniMP from '@/utils/uniMP.js';
|
import uniMP from '@/utils/uniMP.js';
|
||||||
// #endif
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@ -337,7 +338,7 @@ export default {
|
|||||||
uni.setStorageSync('gatherNowMenuList', JSON.stringify(this.nowMenuList));
|
uni.setStorageSync('gatherNowMenuList', JSON.stringify(this.nowMenuList));
|
||||||
},
|
},
|
||||||
getUniMp (appid) {
|
getUniMp (appid) {
|
||||||
console.log('点击小程序');
|
console.log('点击供销平台');
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
uniMP.loadMP(appid);
|
uniMP.loadMP(appid);
|
||||||
return;
|
return;
|
||||||
|
@ -163,9 +163,8 @@
|
|||||||
|
|
||||||
|
|
||||||
this.getCateList()
|
this.getCateList()
|
||||||
this.getArticle()
|
// this.getArticle()
|
||||||
this.getGoods()
|
this.getGoods()
|
||||||
|
|
||||||
this.Area()
|
this.Area()
|
||||||
//this.setPermissions()
|
//this.setPermissions()
|
||||||
|
|
||||||
@ -229,7 +228,10 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
// #endif
|
// #endif
|
||||||
|
beforeDestroy () {
|
||||||
|
// 销毁监听事件
|
||||||
|
this.$bus.$off('value-updated')
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
scrolling() {
|
scrolling() {
|
||||||
@ -725,6 +727,7 @@
|
|||||||
|
|
||||||
/deep/.u-tabs__wrapper__nav__line {
|
/deep/.u-tabs__wrapper__nav__line {
|
||||||
width: 46rpx;
|
width: 46rpx;
|
||||||
|
margin-left: -2rpx;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user