|
|
|
@ -1,71 +1,122 @@ |
|
|
|
<wxs module="formate" src="../../formate.wxs"></wxs> |
|
|
|
<cu-custom bgColor="bg-white" isBack="{{false}}"> |
|
|
|
<!-- <cu-custom bgColor="bg-white" isBack="{{false}}"> |
|
|
|
<view slot="content" style="color:black;font-size:18px">我的</view> |
|
|
|
</cu-custom> |
|
|
|
</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> |
|
|
|
<image style="width:100rpx;height:32rpx;margin-left:18rpx" src="/assets/home/icon-auth.png" wx:if="{{userInfo.isAuth}}"></image> |
|
|
|
<image style="width:100rpx;height:32rpx;margin-left:18rpx" src="/assets/home/icon-unauth.png" wx:else></image> |
|
|
|
<view style="height: 337rpx;background-image: linear-gradient(124deg, rgba(0, 122, 255, 0.67) 0%, rgba(13, 100, 227, 0.95) 100%);position: relative;"> |
|
|
|
<view style="width: 750rpx; height: 128rpx;position: absolute;padding: 32rpx;"></view> |
|
|
|
<image style="height: 32rpx;width: 100%;position: absolute;bottom: 0rpx;" src="/assets/image/bg-vip.png"></image> |
|
|
|
<view style="position: absolute;top:{{CustomBar - 20}}px;width:750rpx"> |
|
|
|
<van-cell center is-link clickable="{{false}}" border="{{false}}" custom-style="background-color:transparent" |
|
|
|
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> |
|
|
|
<image style="width:100rpx;height:32rpx;margin-left:18rpx" src="/assets/home/icon-auth.png" wx:if="{{userInfo.isAuth}}"></image> |
|
|
|
<image style="width:100rpx;height:32rpx;margin-left:18rpx" src="/assets/home/icon-unauth.png" wx:else> |
|
|
|
</image> |
|
|
|
</view> |
|
|
|
<view class="flex flex-center" style="font-size:12px"> |
|
|
|
<text class="text-black" style="font-size:14px">{{userInfo.mobile || ''}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="flex flex-center" style="font-size:12px"> |
|
|
|
<text class="text-black" style="font-size:14px">{{userInfo.mobile || ''}}</text> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
|
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:12rpx"> |
|
|
|
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx"> |
|
|
|
<view class="flex flex-justify" style="padding: 0rpx 28rpx 8rpx 28rpx"> |
|
|
|
<view class="text-black text-sg text-bold">企业管理</view> |
|
|
|
</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="/assets/home/icon-employe.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="客户管理" url="/pages/home/customer-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-customer.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="品类管理" url="/pages/setting/paper-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-cate.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="智能绑卡" url="/pages/message/card-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-card.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
</van-grid> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
|
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:24rpx"> |
|
|
|
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx"> |
|
|
|
<view class="flex flex-justify" style="padding: 0rpx 28rpx 8rpx 28rpx"> |
|
|
|
<view class="text-black text-sg text-bold">企业管理</view> |
|
|
|
</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="/assets/home/icon-employe.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="客户管理" url="/pages/home/customer-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-customer.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="品类管理" url="/pages/setting/paper-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-cate.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="智能绑卡" url="/pages/message/card-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-card.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
</van-grid> |
|
|
|
</view> |
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:24rpx"> |
|
|
|
<view class="bg-white" style="border-radius: 20rpx;"> |
|
|
|
<view class="flex flex-justify" style="padding: 24rpx 28rpx 8rpx 28rpx"> |
|
|
|
<view class="text-black text-sg text-bold">企业信息</view> |
|
|
|
</view> |
|
|
|
<van-cell is-link clickable url="/pages/settlement/bank-list/index"> |
|
|
|
<view class="flex" slot="title" style="align-items: center"> |
|
|
|
<van-icon name="/assets/home/icon-bank.png" size="24" /> |
|
|
|
<text class="text-sg" style="margin-left:12rpx">银行卡</text> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell is-link clickable url="/pages/home/factory-list/index" custom-class="group-bottom"> |
|
|
|
<view class="flex" slot="title" style="align-items: center"> |
|
|
|
<van-icon name="/assets/home/icon-qd.png" size="24" /> |
|
|
|
<text class="text-sg" style="margin-left:12rpx">出货渠道</text> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- |
|
|
|
|
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:-24rpx"> |
|
|
|
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx"> |
|
|
|
<view class="flex flex-justify" style="padding: 0rpx 28rpx 8rpx 28rpx"> |
|
|
|
<view class="text-black text-sg text-bold">企业管理</view> |
|
|
|
</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="/assets/home/icon-employe.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="客户管理" url="/pages/home/customer-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-customer.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="品类管理" url="/pages/setting/paper-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-cate.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
<van-grid-item text="智能绑卡" url="/pages/message/card-list/index"> |
|
|
|
<van-icon slot="icon" name="/assets/home/icon-card.png" size="76rpx" /> |
|
|
|
</van-grid-item> |
|
|
|
</van-grid> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:24rpx"> |
|
|
|
<view class="bg-white" style="border-radius: 20rpx;"> |
|
|
|
<view class="flex flex-justify" style="padding: 24rpx 28rpx 8rpx 28rpx"> |
|
|
|
<view class="text-black text-sg text-bold">企业信息</view> |
|
|
|
<view style="padding: 0rpx 28rpx;margin-top:24rpx"> |
|
|
|
<view class="bg-white" style="border-radius: 20rpx;"> |
|
|
|
<view class="flex flex-justify" style="padding: 24rpx 28rpx 8rpx 28rpx"> |
|
|
|
<view class="text-black text-sg text-bold">企业信息</view> |
|
|
|
</view> |
|
|
|
<van-cell is-link clickable url="/pages/settlement/bank-list/index"> |
|
|
|
<view class="flex" slot="title" style="align-items: center"> |
|
|
|
<van-icon name="/assets/home/icon-bank.png" size="24" /> |
|
|
|
<text class="text-sg" style="margin-left:12rpx">银行卡</text> |
|
|
|
</view> |
|
|
|
<van-cell is-link clickable url="/pages/settlement/bank-list/index"> |
|
|
|
<view class="flex" slot="title" style="align-items: center"> |
|
|
|
<van-icon name="/assets/home/icon-bank.png" size="24"/> |
|
|
|
<text class="text-sg" style="margin-left:12rpx">银行卡</text> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell is-link clickable url="/pages/home/factory-list/index" custom-class="group-bottom"> |
|
|
|
<view class="flex" slot="title" style="align-items: center"> |
|
|
|
<van-icon name="/assets/home/icon-qd.png" size="24"/> |
|
|
|
<text class="text-sg" style="margin-left:12rpx">出货渠道</text> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell is-link clickable url="/pages/home/factory-list/index" custom-class="group-bottom"> |
|
|
|
<view class="flex" slot="title" style="align-items: center"> |
|
|
|
<van-icon name="/assets/home/icon-qd.png" size="24" /> |
|
|
|
<text class="text-sg" style="margin-left:12rpx">出货渠道</text> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <van-cell-group> |
|
|
|
</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> |
|
|
|
@ -79,6 +130,4 @@ |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
</van-cell-group> --> |
|
|
|
<view style="height:16rpx"></view> |
|
|
|
|
|
|
|
</scroll-view> |
|
|
|
<view style="height:16rpx"></view> |