|
|
|
@ -12,12 +12,17 @@
|
|
|
|
<view class="">
|
|
|
|
<view class="">
|
|
|
|
<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"
|
|
|
|
<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="goPaga('/root/bind/applyList')" style="padding: 12px 16px;">
|
|
|
|
@click="goPaga('/root/bind/applyList')" style="padding: 12px 16px;">
|
|
|
|
<view class="g_flex_row_start flex_center">
|
|
|
|
<view class="g_flex_row_start flex_center" style="width: 100%">
|
|
|
|
<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="" />
|
|
|
|
<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 g_flex_none" alt="" />
|
|
|
|
<view class="g_flex_column_between g_ml_10">
|
|
|
|
<view class="g_flex_column_between g_ml_10 g_flex_1 g_mr_10">
|
|
|
|
<view class="g_fs_17 g_c_0 g_mb_6">新的代理</view>
|
|
|
|
<view class="g_fs_17 g_c_0 g_mb_6">新的代理</view>
|
|
|
|
<view class="g_c_9">您有新代理加入申请待审批</view>
|
|
|
|
<view class="g_c_9">您有新代理加入申请待审批</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<div v-if="waitNum_downs > 0" class="g_flex_column_center g_flex_none">
|
|
|
|
|
|
|
|
<div style="background-color: #ff4d4f; color: #fff; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;">
|
|
|
|
|
|
|
|
{{ waitNum_downs }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -217,7 +222,6 @@ export default {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.getapplyList();
|
|
|
|
this.getapplyList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
that.getPoint();
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onReachBottom() {
|
|
|
|
onReachBottom() {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
@ -255,25 +259,13 @@ export default {
|
|
|
|
this.getapplyList();
|
|
|
|
this.getapplyList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getPoint() {
|
|
|
|
getWaitNum() {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
that.G.Get(
|
|
|
|
that.G.Get(
|
|
|
|
that.api.bind_getWaitNum + "/2",
|
|
|
|
that.api.bind_getWaitNum + "/2",
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: 2,
|
|
|
|
type: 2,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
(res) => {
|
|
|
|
|
|
|
|
that.tabInfo.list[1].cate_count = res.unread;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
getWaitNum() {
|
|
|
|
|
|
|
|
let that = this;
|
|
|
|
|
|
|
|
that.G.Get(
|
|
|
|
|
|
|
|
that.api.bind_getWaitNum + "/" + (that.tabInfo.active + 1),
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
type: Number(that.tabInfo.active) + 1,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
(res) => {
|
|
|
|
(res) => {
|
|
|
|
that.waitNum_downs = res.total;
|
|
|
|
that.waitNum_downs = res.total;
|
|
|
|
that.waitNum_ups = res.unread;
|
|
|
|
that.waitNum_ups = res.unread;
|
|
|
|
|