|
|
|
|
@ -1,21 +1,21 @@
|
|
|
|
|
<template>
|
|
|
|
|
<view class="p-person-inedx g_w_all g_bg_f_5 g_kuaishou">
|
|
|
|
|
<view :class="isLogin ? 'g_h_36' : 'g_h_10'"></view>
|
|
|
|
|
<view class="m-info g_p_16 g_bg_f g_m_10 g_radius_8 g_position_rela" v-if="isLogin" hover-class="none" style="margin-top: 0">
|
|
|
|
|
<view class="m-info g_p_16 g_bg_f g_m_10 g_radius_8 g_position_rela u-skeleton" v-if="isLogin" hover-class="none" style="margin-top: 0">
|
|
|
|
|
<view class="g_flex_row_start">
|
|
|
|
|
<view class="g_w_71">
|
|
|
|
|
<view class="g_position_abso g_p_4 g_radius_13 g_bg_f" style="top: -20px">
|
|
|
|
|
<view class="g_position_abso g_p_4 g_radius_13 g_bg_f u-skeleton-fillet" style="top: -20px">
|
|
|
|
|
<g-panel-image :radius="13" :size="134" :url="userInfo.avatar" />
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_flex_1 g_ml_11">
|
|
|
|
|
<view class="g_flex_row_between flex_center">
|
|
|
|
|
<view class="g_flex_row_start flex_center" style="line-height: 22px">
|
|
|
|
|
<view class="g_flex_none g_ell_1 g_fs_20 g_fw_bold g_c_3" style="max-width: 240rpx">
|
|
|
|
|
<view class="g_flex_none g_ell_1 g_fs_20 g_fw_bold g_c_3 u-skeleton-fillet" style="max-width: 240rpx">
|
|
|
|
|
{{ userInfo.name ? userInfo.name : "-" }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_flex_row_start flex_center g_fs_14 g_border_d g_radius_4 g_c_8 g_p_4" hover-class="thover" @click="goPage('/root/person/info?active=0')">
|
|
|
|
|
<view class="g_flex_row_start flex_center g_fs_14 g_border_d g_radius_4 g_c_8 g_p_4 u-skeleton-fillet" hover-class="thover" @click="goPage('/root/person/info?active=0')">
|
|
|
|
|
<i class="iconfont icon-edit g_fs_12 g_mr_4"></i>
|
|
|
|
|
编辑资料
|
|
|
|
|
</view>
|
|
|
|
|
@ -32,12 +32,12 @@
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-else @click="goPage" class="g_text_c g_pt_24 g_pb_24 g_c_f g_radius_8 g_bg_main g_ml_10 g_mr_10">
|
|
|
|
|
<view v-else @click="goPage" class="g_text_c g_pt_24 g_pb_24 g_c_f g_radius_8 g_bg_main g_ml_10 g_mr_10 u-skeleton">
|
|
|
|
|
<view class="g_mb_12">
|
|
|
|
|
<image class="g_w_64 g_h_64 g_radius_50" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/defaultAva.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""> </image>
|
|
|
|
|
<image class="g_w_64 g_h_64 g_radius_50 u-skeleton-fillet" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/defaultAva.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""> </image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_fs_18 g_fw_600 g_mb_4"> 登录/注册 </view>
|
|
|
|
|
<view class="g_fs_14"> 劳务上下游收发单工具 </view>
|
|
|
|
|
<view class="g_fs_18 g_fw_600 g_mb_4 g_ml_12 g_mr_12 u-skeleton-fillet"> 登录/注册 </view>
|
|
|
|
|
<view class="g_fs_14 g_ml_12 g_mr_12 u-skeleton-fillet"> 劳务上下游收发单工具 </view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_mt_10" 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')">
|
|
|
|
|
@ -104,6 +104,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_mt_10">
|
|
|
|
|
<g-panel-form-item
|
|
|
|
|
:loading="loading"
|
|
|
|
|
:list="[
|
|
|
|
|
{
|
|
|
|
|
icon: 'icon-setting',
|
|
|
|
|
@ -145,6 +146,7 @@
|
|
|
|
|
</scroll-view>
|
|
|
|
|
</u-popup>
|
|
|
|
|
<g-tabbar class="tabbar"></g-tabbar>
|
|
|
|
|
<u-skeleton :loading="loading" :animation="true" bgColor="#fff"></u-skeleton>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
@ -174,6 +176,7 @@ export default {
|
|
|
|
|
waitNus: 0,
|
|
|
|
|
agencyInfo: {},
|
|
|
|
|
addMemberShow: false,
|
|
|
|
|
loading: true, // 骨架屏的显示处理
|
|
|
|
|
scrollTop: 0,
|
|
|
|
|
defaultTop: 0,
|
|
|
|
|
pageSpeed: -1,
|
|
|
|
|
@ -350,6 +353,7 @@ export default {
|
|
|
|
|
// if (uni.getStorageSync("apply-userinfo").agencyStatus == 1) {
|
|
|
|
|
this.getCompanyInfo();
|
|
|
|
|
}
|
|
|
|
|
that.loading = false;
|
|
|
|
|
});
|
|
|
|
|
that.G.watchUserPage("pages/person/index");
|
|
|
|
|
// that.userInfo = uni.getStorageSync("apply-userinfo");
|
|
|
|
|
@ -363,6 +367,7 @@ export default {
|
|
|
|
|
that.userInfo.agencyName = "";
|
|
|
|
|
that.userInfo.teamType = 0;
|
|
|
|
|
that.speed = 0;
|
|
|
|
|
that.loading = false;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onTabItemTap(e) {
|
|
|
|
|
|