|
@@ -82,35 +82,55 @@ export default withLayout((props) => {
|
82
|
82
|
<Image mode='heightFix' src={require('@/assets/mine-icon23.png')} onClick={handleRankDate} />
|
83
|
83
|
</view>
|
84
|
84
|
<view className='List flex-h'>
|
85
|
|
- {
|
86
|
|
- rankList.map((item, index) => (
|
87
|
|
- <view className={index === 1 ? 'flex-item active' : 'flex-item'} key={`ListItem-${index}`}>
|
88
|
|
- {
|
89
|
|
- index === 0 &&
|
90
|
|
- <Image mode='heightFix' src={require('@/assets/mine-icon21.png')}></Image>
|
91
|
|
- }
|
92
|
|
- {
|
93
|
|
- index === 1 &&
|
94
|
|
- <Image mode='heightFix' src={require('@/assets/mine-icon20.png')}></Image>
|
95
|
|
- }
|
96
|
|
- {
|
97
|
|
- index === 2 &&
|
98
|
|
- <Image mode='heightFix' src={require('@/assets/mine-icon22.png')}></Image>
|
99
|
|
- }
|
100
|
|
- <view className='Icon'>
|
101
|
|
- <Image mode='aspectFill' src={item.avatarurl || null}></Image>
|
102
|
|
- </view>
|
103
|
|
- <view className='Index'>
|
104
|
|
- <text>{item.name}</text>
|
105
|
|
- <text>{index === 0 ? 2 : index === 1 ? 1 : 3}</text>
|
106
|
|
- </view>
|
107
|
|
- <view className='Num'>
|
108
|
|
- <text></text>
|
109
|
|
- <text>{`到访 ${item.number||0} 人`}</text>
|
110
|
|
- </view>
|
111
|
|
- </view>
|
112
|
|
- ))
|
113
|
|
- }
|
|
85
|
+
|
|
86
|
+ {/* 第二名 */}
|
|
87
|
+ <view className='flex-item'>
|
|
88
|
+ <Image mode='heightFix' src={require('@/assets/mine-icon21.png')}></Image>
|
|
89
|
+ <view className='Icon'>
|
|
90
|
+ <Image mode='aspectFill' src={null}></Image>
|
|
91
|
+ </view>
|
|
92
|
+ <view className='Index'>
|
|
93
|
+ <text>范冰冰</text>
|
|
94
|
+ <text>2</text>
|
|
95
|
+ </view>
|
|
96
|
+ <view className='Num'>
|
|
97
|
+ <text></text>
|
|
98
|
+ <text>到访10人</text>
|
|
99
|
+ </view>
|
|
100
|
+ </view>
|
|
101
|
+
|
|
102
|
+ {/* 第一名 */}
|
|
103
|
+ <view className='flex-item active'>
|
|
104
|
+ <Image mode='heightFix' src={require('@/assets/mine-icon20.png')}></Image>
|
|
105
|
+ <view className='Icon'>
|
|
106
|
+ <Image mode='aspectFill' src={null}></Image>
|
|
107
|
+ </view>
|
|
108
|
+ <view className='Index'>
|
|
109
|
+ <text>范冰冰</text>
|
|
110
|
+ <text>1</text>
|
|
111
|
+ </view>
|
|
112
|
+ <view className='Num'>
|
|
113
|
+ <text></text>
|
|
114
|
+ <text>到访10人</text>
|
|
115
|
+ </view>
|
|
116
|
+ </view>
|
|
117
|
+
|
|
118
|
+ {/* 第三名 */}
|
|
119
|
+ <view className='flex-item'>
|
|
120
|
+ <Image mode='heightFix' src={require('@/assets/mine-icon22.png')}></Image>
|
|
121
|
+ <view className='Icon'>
|
|
122
|
+ <Image mode='aspectFill' src={null}></Image>
|
|
123
|
+ </view>
|
|
124
|
+ <view className='Index'>
|
|
125
|
+ <text>范冰冰</text>
|
|
126
|
+ <text>3</text>
|
|
127
|
+ </view>
|
|
128
|
+ <view className='Num'>
|
|
129
|
+ <text></text>
|
|
130
|
+ <text>到访10人</text>
|
|
131
|
+ </view>
|
|
132
|
+ </view>
|
|
133
|
+
|
114
|
134
|
</view>
|
115
|
135
|
</view>
|
116
|
136
|
|