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