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