index.wxml
8.47 KB
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!--pages/me/index.wxml-->
<view class="meHeader flex-ll" style="padding-top: {{headertop+44}}px;height: {{48*ratio}}rpx;padding-bottom: {{headertop-20>0 ? 150 : 130}}rpx;">
<view class="avatar">
<image src="{{headimgurl?headimgurl:'https://nosqn.colorcun.com/defaultAvatar.png'}}" mode="" />
</view>
<view>
<view class="name">{{nickname?nickname:'微信用户'}}</view>
</view>
</view>
<nav backgroundColor="rgba(0,0,0,0)" color="#ffffff">周到安排</nav>
<layout>
<view class="pages">
<view style="margin-top:-{{224+(headertop-20)*ratio+(headertop-20>0 ? 16 : 0)}}rpx;"></view>
<view class="block-rev money flex-lr">
<navigator url="/pages/me/follow" class="money-item">
<view class="flex-vc">
<view class="money-value">{{collection||0}}</view>
<view class="money-title">我的收藏</view>
</view>
</navigator>
<!-- <navigator url="/pack-activity/pages/money" class="money-item">
<view class="flex-vc">
<view class="money-value">¥{{user.balance.price||0}}</view>
<view class="money-title">余额</view>
</view>
</navigator>
<navigator url="/pack-activity/pack/pack" class="money-item">
<view class="flex-vc">
<view class="money-value">{{user.card}}</view>
<view class="money-title">红包</view>
</view>
</navigator> -->
<navigator url="./coupon_news" class="money-item">
<view class="flex-vc">
<view class="money-value">{{customer_activity}}</view>
<view class="money-title">卡券</view>
</view>
</navigator>
<navigator url="/pages/me/consumeAmount?type=1" class="money-item">
<view class="flex-vc">
<view class="money-value">¥{{price?price:'0.00'}}</view>
<view class="money-title">消费金</view>
</view>
</navigator>
<navigator url="/pages/me/consumeAmount?type=2" class="money-item">
<view class="flex-vc">
<view class="money-value">¥{{recharge_balance?recharge_balance:'0.00'}}</view>
<view class="money-title">余额</view>
</view>
</navigator>
</view>
<view class="block-rev">
<navigator url="/pages/me/list" open-type="redirect">
<view class="title flex-lr">
<view >我的订单</view>
<view class="more"></view>
</view>
</navigator>
<view class="content flex-ll">
<view class="flex-vc order-item" bindtap="gotoList" data-type="1">
<view class="icon o1"></view>
<view class="text">待确认</view>
<view class="number-notice white-font font24r flex-cc" wx:if="{{user.queren>0}}">{{user.queren}}</view>
</view>
<view class="flex-vc order-item" bindtap="gotoList" data-type="5">
<view class="icon o1"></view>
<view class="text">未赴约</view>
<view class="number-notice white-font font24r flex-cc" wx:if="{{user.fuyue>0}}">{{user.fuyue}}</view>
</view>
<view class="flex-vc order-item" bindtap="gotoList" data-type="6">
<view class="icon o1"></view>
<view class="text">待评价</view>
<view class="number-notice white-font font24r flex-cc" wx:if="{{user.pingjia>0}}">{{user.pingjia}}</view>
</view>
<!-- <view class="flex-vc" bindtap="gotoList" data-type="2">
<view class="icon o2"></view>
<view class="text">预订成功</view>
</view>
<view class="flex-vc" bindtap="gotoList" data-type="3">
<view class="icon o3"></view>
<view class="text">历史订单</view>
</view>
<view class="flex-vc" bindtap="gotoList" data-type="4">
<view class="icon o4"></view>
<view class="text">无效预订</view>
</view> -->
</view>
</view>
<!-- <view class="block-list" style="margin-bottom: 20rpx;" bindtap="gotoList" data-type="7">
<view class="item flex-lr">
<view class="item-name flex-ll">
<view class="taocan"></view>
<view>我的套餐</view>
<view class="notice" wx:if="{{shownotice==true}}"></view>
</view>
<view class="more"></view>
</view>
</view> -->
<view class="block-rev actions">
<view class="title flex-lr">
<view >常用操作</view>
</view>
<view class="view grid col-4">
<view class="view flex justify-center">
<navigator url="/pages/me/concat"
class="view flex flex-direction justify-center align-center">
<view class="icon picon p1"></view>
<view class="text">常用联系人</view>
</navigator>
</view>
<view class="view flex justify-center">
<navigator url="/pages/me/history" class="flex flex-direction justify-center align-center">
<view class="icon picon p4"></view>
<view class="text">浏览记录</view>
</navigator>
</view>
<view class="view flex justify-center" wx:if="{{hasSellerBook}}" bindtap="gotoSellerBook">
<navigator class="flex flex-direction justify-center align-center">
<view class="icon picon p2"></view>
<view class="text">商户模式</view>
</navigator>
</view>
<view class="view flex justify-center" wx:if="{{hasManagerInvitation}}">
<navigator open-type="redirect" class="flex flex-direction justify-center align-center margin-left"
url="/pages/manager-invitation/index" >
<view class="icon picon p3"></view>
<view class="text" style="white-space: nowrap;">客户经理模式</view>
</navigator>
</view>
<view class="view flex justify-center">
<navigator url="/pages/pinglun/mylist?hasStatus={{true}}" class="flex flex-direction justify-center align-center">
<view class="icon picon p5"></view>
<view class="text">我的评价</view>
</navigator>
</view>
</view>
</view>
<view class="block-list">
<button class="button-none"
open-type="contact">
<view class="item flex-lr item-border">
<view class="item-name flex-ll">
<view class="kefu"></view>
<view>联系客服</view>
</view>
<view class="item-info flex-rr">
<view>09:00~21:00</view>
<view class="more"></view>
</view>
</view>
</button>
<!-- <navigator
target="miniProgram"
open-type="navigate"
app-id="wx8abaf00ee8c3202e"
extra-data="{{extraData}}"
version="release">
<view class="item flex-lr">
<view class="item-name flex-ll">
<view class="tuco"></view>
<view>我要吐槽</view>
</view>
<view class="more"></view>
</view>
</navigator> -->
<!--
<navigator
url="/pages/reserve/index_yy" open-type="redirect" hover-class="other-navigator-hover">
<view class="item flex-lr">
<view class="item-name flex-ll">
<view class="tuco"></view>
<view>查找餐厅</view>
</view>
<view class="more"></view>
</view>
</navigator>
-->
</view>
</view>
</layout>
<menu></menu>
<service></service>