提交 | 用户 | age
|
67dc7b
|
1 |
<!--index.wxml--> |
S |
2 |
<view class="user-container"> |
|
3 |
<view class="user-view flex"> |
|
4 |
<navigator url="../balance/balance" class="balance-navigator"> |
|
5 |
<van-row class="van-row"> |
282d69
|
6 |
<van-col span="6"> |
8724a4
|
7 |
<view class=""> |
282d69
|
8 |
<van-image round width="120rpx" height="120rpx" class="van-image" |
S |
9 |
src="{{loginData.avatarUrl}}"/> |
701f60
|
10 |
</view> |
67dc7b
|
11 |
</van-col> |
8724a4
|
12 |
<van-col span="7" class="line-height-20"> |
282d69
|
13 |
<view class="">{{loginData.nickName||'用户名'}}</view> |
8724a4
|
14 |
<view class="margin-top-5" wx:if="{{loginData.isExpired}}"> |
f9ad6c
|
15 |
<van-tag round plain size="medium" type="primary" class="clear-van-tag" color="#ff751c">普通用户</van-tag> |
S |
16 |
<!-- <my-check-register url="../verificationIntroduction/verificationIntroduction">--> |
|
17 |
<!-- <view class="account-verification font-size-12 inline-block">账号认证</view>--> |
|
18 |
<!-- </my-check-register>--> |
282d69
|
19 |
</view> |
8724a4
|
20 |
<view class="margin-top-5" wx:else> |
f9ad6c
|
21 |
<van-tag round size="medium" type="warning">认证用户</van-tag> |
282d69
|
22 |
|
S |
23 |
</view> |
|
24 |
</van-col> |
8724a4
|
25 |
<van-col span="11" class="line-height-20"> |
f9ad6c
|
26 |
<view class="font-size-12">余额 |
67dc7b
|
27 |
<text class="iconfont icon-biaotou-daoxu"></text> |
S |
28 |
</view> |
8724a4
|
29 |
<view class="theme-font-color margin-top-5">¥<text class="amount">{{balance||0}}</text> |
67dc7b
|
30 |
</view> |
S |
31 |
</van-col> |
|
32 |
</van-row> |
|
33 |
</navigator> |
8724a4
|
34 |
<navigator url="../feedbackList/feedbackList" class="absolute feedback font-size-13 {{myFeedbackUnreadTimes>0?'padding-right-10':''}}"> |
f9ad6c
|
35 |
<text class="iconfont icon-dengpao"></text> 意见反馈 |
8724a4
|
36 |
<text wx:if="{{myFeedbackUnreadTimes>0}}" class="my-badge">{{myFeedbackUnreadTimes||0}}</text> |
f9ad6c
|
37 |
</navigator> |
67dc7b
|
38 |
|
S |
39 |
</view> |
|
40 |
</view> |
f9ad6c
|
41 |
<navigator url="{{loginData.isExpired?'../verificationIntroduction/verificationIntroduction':'../verificationAccount/verificationAccount'}}" class="index-padding"> |
8724a4
|
42 |
<van-cell class="my-cell-padding bg-cell" title-width="{{loginData.isExpired?'420rpx':'540rpx'}}" > |
f9ad6c
|
43 |
<view slot="title"> |
S |
44 |
<view class="van-cell-text font-size-13"> |
8724a4
|
45 |
<text class="iconfont icon-huangguan white-color"></text> |
S |
46 |
<text class="margin-lr-10" wx:if="{{loginData.isExpired}}">账号认证</text> |
|
47 |
<block wx:else> |
|
48 |
<text class="margin-lr-10">有效期 {{loginData.effectiveStartDate|| '0000-00-00'}}</text> |
|
49 |
<text class="" wx:if="{{loginData.expiryDays<0}}">剩余 {{-loginData.expiryDays|| 0}} 天</text> |
|
50 |
<text class="" wx:else>已过期 {{loginData.expiryDays|| 0}} 天</text> |
|
51 |
</block> |
f9ad6c
|
52 |
</view> |
S |
53 |
</view> |
|
54 |
<view class="text-color"> |
8724a4
|
55 |
{{loginData.isExpired?'享受多项权利 >':'立即续费'}} |
S |
56 |
|
f9ad6c
|
57 |
</view> |
S |
58 |
</van-cell> |
|
59 |
</navigator> |
3dd7c0
|
60 |
<!--<open-data type="userAvatarUrl"></open-data>--> |
f9ad6c
|
61 |
<my-card-container show-shadow="{{false}}"> |
67dc7b
|
62 |
<view class="index-menu"> |
S |
63 |
<van-row class="van-row"> |
|
64 |
<van-col span="6"> |
701f60
|
65 |
<navigator url="../myOrder/myOrder" class="flex-col flex-center"> |
f9ad6c
|
66 |
<text class="nav-num">{{orderCount||0}}</text> |
c09e73
|
67 |
<text class="nav-title font-size-12">我的订单</text> |
67dc7b
|
68 |
</navigator> |
S |
69 |
</van-col> |
|
70 |
<van-col span="6"> |
701f60
|
71 |
<navigator url="../myFootprint/myFootprint" class="flex-col flex-center"> |
f9ad6c
|
72 |
<text class="nav-num">{{myVisiteTraceCount||0}}</text> |
c09e73
|
73 |
<text class="nav-title font-size-12">我的足迹</text> |
67dc7b
|
74 |
</navigator> |
S |
75 |
</van-col> |
|
76 |
<van-col span="6"> |
701f60
|
77 |
<navigator url="../customerTrajectory/customerTrajectory" class="flex-col flex-center"> |
f9ad6c
|
78 |
<text class="nav-num">{{myPanicBuyingTraceCount||0}}</text> |
c09e73
|
79 |
<text class="nav-title font-size-12">客户轨迹</text> |
67dc7b
|
80 |
</navigator> |
f9ad6c
|
81 |
</van-col> |
S |
82 |
<van-col span="6"> |
|
83 |
<view bind:tap="scanQrCode" url="../scanCode/scanCode" class="flex-col flex-center border-left"> |
|
84 |
<icon class="iconfont icon-saomiao"></icon> |
|
85 |
<text class="nav-title font-size-12">核销活动</text> |
|
86 |
<!-- <text class="nav-num">{{heXiaoCount}}</text>--> |
|
87 |
</view> |
67dc7b
|
88 |
</van-col> |
S |
89 |
</van-row> |
|
90 |
</view> |
|
91 |
</my-card-container> |
f9ad6c
|
92 |
<my-card-container show-shadow="{{false}}"> |
S |
93 |
<view class=""> |
|
94 |
<view class="relative text-center padding-tb"> |
|
95 |
我发起的活动 |
|
96 |
<my-check-register url="../promotionsManageList/promotionsManageList"> |
|
97 |
<text class="absolute more theme-font-color font-size-13">更多 > ></text> |
|
98 |
</my-check-register> |
282d69
|
99 |
</view> |
S |
100 |
|
f9ad6c
|
101 |
<view class="has-footer index-cell"> |
8724a4
|
102 |
<van-cell-group wx:if="{{promotionsList.length>0}}" border="{{false}}"> |
f9ad6c
|
103 |
<my-entry-cell wx:for="{{promotionsList}}" wx:key="key" list-item="{{item}}" title-width="600rpx" from="promotionsManage"> |
S |
104 |
<view class="right-view text-center flex-col flex-center"> |
|
105 |
<navigator url="../promotionsManage/promotionsManage?doccode={{item.doccode}}&formId={{item.formId}}"> |
|
106 |
<text class="iconfont icon-shezhi-xianxing font-size-24"></text> |
|
107 |
</navigator> |
|
108 |
</view> |
|
109 |
</my-entry-cell> |
|
110 |
<van-divider contentPosition="center">没有更多了</van-divider> |
|
111 |
</van-cell-group> |
|
112 |
<my-empty wx:if="{{promotionsList.length<1}}"></my-empty> |
282d69
|
113 |
</view> |
S |
114 |
|
f9ad6c
|
115 |
</view> |
67dc7b
|
116 |
</my-card-container> |
f9ad6c
|
117 |
|
S |
118 |
<view class="fixed-footer fixed-footer-button flex-row space-around"> |
|
119 |
<my-check-register mode="{{1}}" bind:isSignUp="showPromotionLayer"> |
|
120 |
<van-button class="theme-button btn-padding" type="warning">发起活动</van-button> |
282d69
|
121 |
</my-check-register> |
f9ad6c
|
122 |
<my-check-register url="../liveRoomManageList/liveRoomManageList"> |
S |
123 |
<van-button class="theme-button btn-padding" type="warning">我要直播</van-button> |
|
124 |
</my-check-register> |
|
125 |
</view> |
|
126 |
|
|
127 |
<van-action-sheet |
|
128 |
show="{{ isShowDialog }}" |
|
129 |
close-on-click-overlay="{{true}}" |
|
130 |
bind:click-overlay="closeDialog"> |
|
131 |
<view class="padding has-footer"> |
|
132 |
<view class="flex-row space-around padding-top-10"> |
|
133 |
<navigator url="../flashSaleCreate/flashSaleCreate" class="flex-col flex-center"> |
|
134 |
<image class="icon-img" mode="widthFix" src="/assets/images/miao-sha.png"></image> |
|
135 |
<text>秒杀活动</text> |
|
136 |
</navigator> |
|
137 |
<navigator url="../groupBuyingCreate/groupBuyingCreate" class="flex-col flex-center"> |
|
138 |
<image class="icon-img" mode="widthFix" src="/assets/images/pin-tuan.png"></image> |
|
139 |
<text>拼团活动</text> |
|
140 |
</navigator> |
|
141 |
<navigator url="../signUpCreate/signUpCreate" class="flex-col flex-center"> |
|
142 |
<image class="icon-img" mode="widthFix" src="/assets/images/yao-yue.png"></image> |
|
143 |
<text>邀约报名</text> |
|
144 |
</navigator> |
|
145 |
</view> |
|
146 |
</view> |
|
147 |
</van-action-sheet> |