Browse Source

no message

feature/v1.5
xpz2018 4 years ago
parent
commit
3233f96d13
1 changed files with 9 additions and 8 deletions
  1. 17
      pages/home/index/index.wxml

17
pages/home/index/index.wxml

@ -6,29 +6,30 @@
<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="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> <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> <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"
<view style="position: absolute;top:{{CustomBar - 28}}px;width:750rpx">
<van-cell center clickable="{{false}}" border="{{false}}" custom-style="background-color:transparent"
wx:if="{{userInfo}}" bind:click="toUserInfo"> wx:if="{{userInfo}}" bind:click="toUserInfo">
<view class="flex" slot="title" style="align-items: center"> <view class="flex" slot="title" style="align-items: center">
<van-image use-loading-slot width="120rpx" height="120rpx" lazy-load round src="{{avatarUrl}}">
<van-image use-loading-slot width="160rpx" height="160rpx" lazy-load round src="{{avatarUrl}}">
<image class="image-load" slot="loading" src="/assets/image/ygImg.png"></image> <image class="image-load" slot="loading" src="/assets/image/ygImg.png"></image>
</van-image> </van-image>
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start"> <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>
<view class="flex flex-center text-white">
<text class="text-xl text-bold" style="white-space: nowrap">{{userName || ''}}</text>
<text class="text-lg" style="white-space: nowrap">({{ isAdmin ? '管理员' : '员工' }})</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-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 style="width:100rpx;height:32rpx;margin-left:18rpx" src="/assets/home/icon-unauth.png" wx:else>
</image> </image>
</view> </view>
<view class="flex flex-center" style="font-size:12px">
<text class="text-black" style="font-size:14px">{{userInfo.mobile || ''}}</text>
<view class="flex flex-center text-white">
<text class="text-white text-sg" style="font-size:14px">{{userInfo.mobile || ''}}</text>
</view> </view>
</view> </view>
</view> </view>
<van-icon slot="right-icon" name="arrow" color="white" size="44rpx"/>
</van-cell> </van-cell>
<view style="padding: 0rpx 28rpx;margin-top:12rpx">
<view style="padding: 0rpx 28rpx;margin-top:4rpx">
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx"> <view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx">
<view class="flex flex-justify" style="padding: 0rpx 28rpx 8rpx 28rpx"> <view class="flex flex-justify" style="padding: 0rpx 28rpx 8rpx 28rpx">
<view class="text-black text-sg text-bold">企业管理</view> <view class="text-black text-sg text-bold">企业管理</view>

Loading…
Cancel
Save