rankpage.wxml
2.6 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
<view class="commonpadding topbu">
<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">
<view class="staritem">
<image src="/img/star.png" wx:if="{{userinfo.level>=1}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<1}}"></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>=2}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<2}}"></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>=3}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<31}}"></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>=4}}"></image>
<image src="/img/huangkong.png" wx:if="{{userinfo.level<4}}"></image>
<image src="/img/huangban.png" wx:if="{{userinfo.level>=4.5&&userinfo.level<5}}"></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<5}}"></image>
<image src="/img/huangban.png" wx:if="{{userinfo.level>=5.5&&userinfo.level<6}}"></image>
</view>
</view>
</view>
<view class="zhuyeright" wx:else bindtap="userlogin">
<view class="tieziname">微信登录</view>
</view>
</view>
<!-- <view class="starlevel flextwo">
<view class="levelstar">
<image src="/img/star.png"></image>
</view>
<view class="startight flexone">
<view class="levelstar">
<image src="/img/star.png"></image>
</view>
<view class="levelstar">
<image src="/img/star.png"></image>
</view>
</view>
</view> -->
<!-- <view class="level">
<view class="neilevel" style="width:{{userinfo.percent}}"></view>
</view> -->
<!-- <view class="startext">{{userinfo.num}}/{{userinfo.max_num}}</view> -->
</view>
<view class="ranktext">
<rich-text nodes="{{content}}"></rich-text>
</view>