You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.7 KiB
Vue

3 days ago
<template>
3 days ago
<view class="" style="height: 100vh;width: 100%;background-color: #f2f2f2;">
<div style="height: 10px;"></div>
<view class="g_mt_10" v-if="agencyInfo.supplierAccount == 1">
3 days ago
<view class="g_p_16 g_bg_f g_radius_8 g_flex_row_between flex_center g_ml_10 g_mr_10" hover-class="thover"
3 days ago
@click="goPage('/root/bind/applyList')">
3 days ago
<view class="g_flex_row_start flex_center">
<img src="https://bocai-cms.oss-cn-beijing.aliyuncs.com/bf586cad-c6f0-4417-86c8-6cf55310ace7_123456.svg" class="g_w_48 g_h_48 g_radius_50" alt="" />
<view class="g_flex_column_between g_ml_10">
2 days ago
<view class="g_fs_16 g_c_0 g_fw_600 g_mb_6">新的代理</view>
2 days ago
<view class="g_c_9">您有新代理加入申请待审批</view>
3 days ago
</view>
</view>
</view>
</view>
3 days ago
<view class="g_w_all" hover-class="none" hover-stop-propagation="false">
<fensiPanel />
3 days ago
</view>
3 days ago
</view>
</template>
<script>
3 days ago
import fensiPanel from './fensi.vue'
3 days ago
/*
*/
export default {
3 days ago
components: {
fensiPanel,
},
3 days ago
data() {
return {
3 days ago
agencyInfo: {}, // 登陆者的代理信息
isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827',
themeColor: getApp().globalData.themeColor,
themeBackgroundColor: getApp().globalData.themeBackgroundColor,
};
3 days ago
},
3 days ago
onShow(){
let that = this;
if (uni.getStorageSync("apply-token")) {
3 days ago
3 days ago
this.G.checkToken().then(() => {
that.agencyInfo = uni.getStorageSync("agencyInfo");
});
}
},
methods:{
goPage($path) {
this.G.isLogin();
if (this.G.isLogin()) {
uni.navigateTo({
url: $path,
3 days ago
});
}
},
3 days ago
}
3 days ago
};
</script>
<style></style>