usecenter.wxml
4.9 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
<!-- <view class="setimgtop commonpadding flex">
<view class='setimg'>
<image src="/img/detting.png" mode=""></image>
</view>
</view> -->
<view class="shangheng"></view>
<view class="commonpadding topbu">
<view class="edit" bindtap="ziliao" wx:if="{{token!=''}}">
<image src="/img/edit.png"></image>
</view>
<view class="tiezitopone flex">
<view class="tiezitouhead">
<image src="{{userinfo.avatar==null?'/img/peopleimg.png':userinfo.avatar}}" mode=""></image>
</view>
<view class="zhuyeright" wx:if="{{userinfo.nickname!=null}}">
<view class="tieziname">{{userinfo.nickname}}</view>
<view class="star starone flexone" bindtap="rankstar">
<view class="staritem">
<image src="/img/star.png" wx:if="{{userinfo.level>=1}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<0.5}}"></image>
<image src="/img/huangban.png" wx:if="{{userinfo.level>=0.5&&userinfo.level<1}}"></image>
</view>
<view class="staritem">
<image src="/img/star.png" wx:if="{{userinfo.level>=2}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<1.5}}"></image>
<image src="/img/huangban.png" wx:if="{{userinfo.level>=1.5&&userinfo.level<2}}"></image>
</view>
<view class="staritem">
<image src="/img/star.png" wx:if="{{userinfo.level>=3}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<2.5}}"></image>
<image src="/img/huangban.png" wx:if="{{userinfo.level>=2.5&&userinfo.level<3}}"></image>
</view>
<view class="staritem">
<image src="/img/star.png" wx:if="{{userinfo.level>=4}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<3.5}}"></image>
<image src="/img/huangban.png" wx:if="{{userinfo.level>=3.5&&userinfo.level<4}}"></image>
</view>
<view class="staritem">
<image src="/img/star.png" wx:if="{{userinfo.level>=5}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<4.5}}"></image>
<image src="/img/huangban.png" wx:if="{{userinfo.level>=4.5&&userinfo.level<5}}"></image>
</view>
</view>
</view>
<view class="zhuyeright" wx:else bindtap="userlogin">
<view class="tieziname">微信登录</view>
</view>
</view>
<view class="text" wx:if="{{userinfo.brief!=null}}">{{userinfo.brief}}</view>
</view>
<view class="jumplist commonpadding">
<view class="jumpitem flextwo" bindtap='mycollect' data-id="1">
<view class='jumpleft flexone'>
<view class="jumpimg">
<image src="/img/mycollect.png" mode=""></image>
</view>
<view class="jumpname">我的收藏</view>
</view>
<view class="ordertopright">
<image src="/img/leftrow.png " mode=""></image>
</view>
</view>
<view class="jumpitem flextwo" bindtap="mycollect" data-id="2">
<view class='jumpleft flexone'>
<view class="jumpimg">
<image src="/img/qucanting.png" mode=""></image>
</view>
<view class="jumpname">去过的餐厅</view>
</view>
<view class="ordertopright">
<image src="/img/leftrow.png " mode=""></image>
</view>
</view>
<view class="jumpitem flextwo" bindtap="mycollect" data-id="3">
<view class='jumpleft flexone'>
<view class="jumpimg">
<image src="/img/xiangce.png" mode=""></image>
</view>
<view class="jumpname">我的相册</view>
</view>
<view class="ordertopright">
<image src="/img/leftrow.png " mode=""></image>
</view>
</view>
<view class="jumpitem flextwo" bindtap="mycollect" data-id="4">
<view class='jumpleft flexone'>
<view class="jumpimg">
<image src="/img/pinglun.png" mode=""></image>
</view>
<view class="jumpname">我的评论</view>
</view>
<view class="ordertopright">
<image src="/img/leftrow.png " mode=""></image>
</view>
</view>
<view class="jumpitem flextwo" bindtap="mycollect" data-id="5">
<view class='jumpleft flexone'>
<view class="jumpimg">
<image src="/img/tuijian.png" mode=""></image>
</view>
<view class="jumpname">我的推荐</view>
</view>
<view class="ordertopright">
<image src="/img/leftrow.png " mode=""></image>
</view>
</view>
</view>
<!-- 底部导航 -->
<view class="teacherfooter">
<view class="teacherfootitem" bindtap="footersel" data-id="1">
<view class="teacherfootitemtop">
<image src="{{footersel==1?'/img/indexactive.png':'/img/index.png'}}"></image>
</view>
<view class="teacherfootname {{footersel==1?'selactive':''}}">首页</view>
</view>
<view class="teacherfootitem taste">
<view class="teacherfootitemtop order">
<image src="/img/kefu.png"></image>
</view>
<view class="teacherfootname selactive">美味君</view>
<button open-type="contact" class="connect"></button>
</view>
<view class="teacherfootitem" bindtap="footersel" data-id="2">
<view class="teacherfootitemtop ">
<image src=" {{footersel==2?'/img/personactive.png':'/img/person.png'}}"></image>
</view>
<view class="teacherfootname {{footersel==2?'selactive':''}}">我的</view>
</view>
</view>