纸通宝SAAS仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

80 lines
3.8 KiB

<wxs module="formate" src="../../formate.wxs"></wxs>
<cu-custom bgColor="bg-white" isBack="{{false}}">
<view slot="content" style="color:black;font-size:18px">我的</view>
</cu-custom>
<scroll-view scroll-y style="height:{{height}}rpx;">
<van-cell center is-link clickable="{{false}}" border="{{false}}" wx:if="{{userInfo}}" bind:click="toUserInfo">
<view class="flex" slot="title" style="align-items: center">
<van-image use-loading-slot width="120rpx" height="120rpx" lazy-load round src="{{avatarUrl}}">
<image class="image-load" slot="loading" src="/assets/image/ygImg.png"></image>
</van-image>
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start">
<view class="flex flex-center">
<text class="text-lg" style="white-space: nowrap">{{userName || ''}}</text>
<text class="text-lg" style="white-space: nowrap">({{ isAdmin ? '管理员' : '员工' }})</text>
<view class="flex flex-center" style="font-size:12px;margin-left:18rpx">
<text class="{{userInfo.isAuth == 1 ? 'text-blue' : 'text-gray'}}">{{userInfo.isAuth == 1 ? '已认证' : '未实名认证'}}</text>
<text class="text-yellow" style="font-size:14px;padding:4px;" wx:if="{{userInfo.isAuth != 1 && userInfo.userType == 1}}">去认证</text>
</view>
</view>
<view class="flex flex-center" style="font-size:12px">
<text class="text-black" style="font-size:14px">{{userInfo.mobile || ''}}</text>
</view>
</view>
</view>
</van-cell>
<view class="bg-white" style="margin-top: 24rpx">
<view class="flex" style="padding: 24rpx 32rpx;border-bottom:2rpx solid #f3f3f3">
<text class="text-sg">企业管理</text>
</view>
<van-grid column-num="4" border="{{fasle}}">
<van-grid-item text="员工管理" url="/pages/home/employee/index" wx:if="{{isAdmin}}">
<van-icon slot="icon" name="manager-o" size="60rpx" />
</van-grid-item>
<van-grid-item text="客户管理" url="/pages/home/customer-list/index">
<van-icon slot="icon" name="user-circle-o" size="60rpx" />
</van-grid-item>
<van-grid-item text="品类管理" url="/pages/setting/paper-list/index">
<van-icon slot="icon" name="records" size="60rpx" />
</van-grid-item>
<van-grid-item text="智能绑卡" url="/pages/message/card-list/index">
<van-icon slot="icon" name="idcard" size="60rpx" />
</van-grid-item>
</van-grid>
</view>
<view class="bg-white" style="margin-top: 24rpx">
<view class="flex" style="padding: 24rpx 32rpx;border-bottom:2rpx solid #f3f3f3">
<text class="text-sg">企业信息</text>
</view>
<van-grid column-num="4" border="{{fasle}}">
<van-grid-item text="银行卡" url="/pages/settlement/bank-list/index" wx:if="{{isAdmin}}">
<van-icon slot="icon" name="credit-pay" size="60rpx" />
</van-grid-item>
<van-grid-item text="出货渠道" url="/pages/home/factory-list/index">
<van-icon slot="icon" name="newspaper-o" size="60rpx" />
</van-grid-item>
<van-grid-item text="二维码名片" url="/pages/home/qrcode/index">
<van-icon slot="icon" name="qr" size="60rpx" />
</van-grid-item>
</van-grid>
</view>
<!-- <van-cell-group>
<van-cell is-link clickable url="/pages/setting/password/index">
<view class="flex" slot="title" style="align-items: center">
<text class="cuIcon-lock text-black" style="font-size:36rpx"></text>
<text class="text-sg" style="margin-left:12rpx">修改密码</text>
</view>
</van-cell>
<van-cell is-link clickable url="/pages/setting/mobile/index">
<view class="flex" slot="title" style="align-items: center">
<text class="cuIcon-mobile text-black" style="font-size:36rpx"></text>
<text class="text-sg" style="margin-left:12rpx">修改手机号码</text>
</view>
</van-cell>
</van-cell-group> -->
<view style="height:16rpx"></view>
</scroll-view>