no message

cyl/job_im
jscyl13849007907 3 days ago
parent 6d19de2924
commit c64908ef51

@ -1,52 +1,70 @@
<template> <template>
<view class="g_flex_c" style="height: 100vh;width: 100%;background-color: #f2f2f2;"> <view class="g_flex_column_start" style="height: 100vh;width: 100%;background-color: #f2f2f2;">
下游代理 <view class="g_mt_10 g_flex_none" v-if="agencyInfo.supplierAccount == 1">
<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"
@click="goPage('/root/bind/search?active=1')">
<view class="g_flex_row_start flex_center">
<img src="https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/dailibaoming/fazhandaili0610.svg" class="g_w_48 g_h_48 g_radius_50" alt="" />
<view class="g_flex_column_between g_ml_10">
<view class="g_fs_16 g_c_0 g_fw_600 g_mb_6">发展代理</view>
<view class="g_c_9">邀请更多代理粉丝关注我</view>
</view>
</view>
<view class="g_bg_e7 g_radius_20" hover-class="thover" style="padding: 4px 12px"
:style="{
'backgroundColor':themeBackgroundColor,
'color':themeColor
}"
>去邀请</view>
</view>
</view>
<view class="g_mt_10 g_flex_none" v-if="agencyInfo.supplierAccount == 1">
<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"
@click="goPage('/root/bind/search?active=1')">
<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">
<view class="g_fs_16 g_c_0 g_fw_600 g_mb_6">新的代理申请</view>
<view class="g_c_9">您有8条新代理加入申请待审批</view>
</view>
</view>
</view>
</view>
<view class="g_flex_1 g_w_all g_flex_c" hover-class="none" hover-stop-propagation="false">
<rh-empty text="暂无数据" />
</view>
</view> </view>
</template> </template>
<script> <script>
/* /*
*/ */
export default { export default {
onShareAppMessage() {
return this.G.shareFun();
},
onLoad(options) {
console.log(options);
if (options.type) {
uni.setNavigationBarTitle({
title: options.type,
});
}
},
data() { data() {
return { return {
cdnBaseImg: this.G.store().cdnBaseImg, agencyInfo: {}, //
}; isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827',
}, themeColor: getApp().globalData.themeColor,
props: { themeBackgroundColor: getApp().globalData.themeBackgroundColor,
text: { };
type: String,
default: () => {
return "暂无数据";
},
},
subText: {
type: String,
default: () => {
return "";
},
},
}, },
methods: { onShow(){
goLogin() { let that = this;
let that = this; if (uni.getStorageSync("apply-token")) {
if (that.text == "请登录") { this.G.checkToken().then(() => {
uni.reLaunch({ that.agencyInfo = uni.getStorageSync("agencyInfo");
url: "/root/login/index?path=" + that.G.getPath().path + "&level=" + that.G.getPath().level, });
}
},
methods:{
goPage($path) {
this.G.isLogin();
if (this.G.isLogin()) {
uni.navigateTo({
url: $path,
}); });
} }
}, },
}, }
}; };
</script> </script>

Loading…
Cancel
Save