|
@@ -41,8 +41,11 @@
|
|
|
<view class="box-border-box plr-24">
|
|
<view class="box-border-box plr-24">
|
|
|
<view class="nav-list flex-wrap-wrap box-border-box mb-22">
|
|
<view class="nav-list flex-wrap-wrap box-border-box mb-22">
|
|
|
<view class="nav-list-item" v-for="(item,i) in navList" :key="i" @click="toUrl(item.type)">
|
|
<view class="nav-list-item" v-for="(item,i) in navList" :key="i" @click="toUrl(item.type)">
|
|
|
- <image :src="item.img" mode="scaleToFill"></image>
|
|
|
|
|
- <view class="fs-26 fc-3 text-align-center">{{item.name}}</view>
|
|
|
|
|
|
|
+ <view class="" v-if="(appletAudit != 1 && item.type != 11) && (appletAudit != 1 && item.type != 10) && (appletAudit != 1 && item.type != 9) && (appletAudit != 1 && item.type != 8)">
|
|
|
|
|
+ <image :src="item.img" mode="scaleToFill"></image>
|
|
|
|
|
+ <view class="fs-26 fc-3 text-align-center">{{item.name}}</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -180,6 +183,7 @@
|
|
|
import {
|
|
import {
|
|
|
getNotice,
|
|
getNotice,
|
|
|
getBanner,
|
|
getBanner,
|
|
|
|
|
+ commonApplet
|
|
|
} from '@/api/common.js';
|
|
} from '@/api/common.js';
|
|
|
import {
|
|
import {
|
|
|
getSeckillGoods
|
|
getSeckillGoods
|
|
@@ -240,14 +244,17 @@
|
|
|
{
|
|
{
|
|
|
name: "租凭",
|
|
name: "租凭",
|
|
|
img: require('@/static/img/index/index-zp.png'),
|
|
img: require('@/static/img/index/index-zp.png'),
|
|
|
|
|
+ type: 9
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "二手市场",
|
|
name: "二手市场",
|
|
|
img: require('@/static/img/index/index-esss.png'),
|
|
img: require('@/static/img/index/index-esss.png'),
|
|
|
|
|
+ type: 10
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "回收",
|
|
name: "回收",
|
|
|
img: require('@/static/img/index/index-hs.png'),
|
|
img: require('@/static/img/index/index-hs.png'),
|
|
|
|
|
+ type: 11
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "实习岗位",
|
|
name: "实习岗位",
|
|
@@ -278,6 +285,7 @@
|
|
|
selectedBorder: '1px rgba(0,0,0,0) solid'
|
|
selectedBorder: '1px rgba(0,0,0,0) solid'
|
|
|
},
|
|
},
|
|
|
current: 0,
|
|
current: 0,
|
|
|
|
|
+ appletAudit: ''
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -363,6 +371,13 @@
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ commonApplet() {
|
|
|
|
|
+ commonApplet().then((res) => {
|
|
|
|
|
+ if (res.code == 1) {
|
|
|
|
|
+ this.appletAudit = res.data
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
getHeight() {
|
|
getHeight() {
|
|
|
// 创建选择器对象
|
|
// 创建选择器对象
|
|
|
const query = uni.createSelectorQuery().in(this);
|
|
const query = uni.createSelectorQuery().in(this);
|