wode-lianxi-kefu.vue
3.68 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<template>
<view class="level-page">
<!-- 导航栏 -->
<uni-nav-bar title="华创信" left-icon="left" @click-left="goBack" :fixed="true" :status-bar="true" />
<view class="top-right">
<!-- <u-icon name="document" size="24" color="#fff" @click="showRules"></u-icon> -->
<text class="right-text">华创信</text>
</view>
<!-- 用户信息 -->
<view class="user-info">
<image src="https://fitness-hcxtec-bucket.oss-cn-shenzhen.aliyuncs.com/20260316/order-empty_1773628059920.png"
mode="aspectFill" class="avatar"></image>
<text class="username">华创信开发者</text>
</view>
<!-- 更多权益 -->
<view class="more-benefits">
<view class="more-text">华创信开发者</view>
<view class="more-text">系统开发中</view>
<view class="more-text">敬请期待~</view>
</view>
</view>
</template>
<script>
export default {
methods: {
goBack() {
uni.navigateBack();
},
showRules() {
uni.showToast({ title: '查看开发内容', icon: 'success' });
},
},
};
</script>
<style scoped>
.level-page {
position: relative;
width: 100%;
min-height: 100vh;
background-color: #1a1a1a;
color: white;
padding-bottom: 40rpx;
}
.top-right {
position: absolute;
top: 20rpx;
right: 20rpx;
display: flex;
align-items: center;
gap: 10rpx;
color: white;
font-size: 24rpx;
}
.user-info {
display: flex;
align-items: center;
gap: 20rpx;
padding: 20rpx;
margin-top: 20rpx;
}
.avatar {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
object-fit: cover;
}
.username {
font-size: 28rpx;
}
.level-card {
width: 600rpx;
height: 300rpx;
background-color: rgba(173, 216, 230, 0.3);
border-radius: 20rpx;
padding: 30rpx;
margin: 20rpx auto;
position: relative;
overflow: hidden;
}
.level-name {
font-size: 40rpx;
font-weight: bold;
margin-bottom: 10rpx;
}
.level-en {
font-size: 36rpx;
font-weight: bold;
margin-bottom: 20rpx;
}
.require {
font-size: 24rpx;
margin-bottom: 20rpx;
}
.detail {
font-size: 24rpx;
color: #ccc;
}
.progress-bar {
width: 600rpx;
height: 20rpx;
background-color: #333;
border-radius: 10rpx;
margin: 20rpx auto;
position: relative;
overflow: hidden;
}
.progress-track {
width: 100%;
height: 100%;
background-color: #333;
border-radius: 10rpx;
}
.progress-fill {
width: 20%;
height: 100%;
background-color: #007aff;
border-radius: 10rpx;
}
.progress-dot {
position: absolute;
top: 50%;
left: 20%;
transform: translate(-50%, -50%);
width: 12rpx;
height: 12rpx;
background-color: #007aff;
border-radius: 50%;
}
.benefits-section {
margin: 20rpx;
padding: 0 20rpx;
}
.section-title {
font-size: 32rpx;
margin-bottom: 20rpx;
padding-left: 10rpx;
}
.benefit-list {
display: flex;
flex-direction: row;
justify-content: space-between;
gap: 16rpx;
}
.benefit-item {
width: 180rpx;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 12rpx;
padding: 16rpx 12rpx;
text-align: center;
box-sizing: border-box;
}
.icon {
width: 36rpx;
height: 36rpx;
object-fit: cover;
margin-bottom: 8rpx;
}
.benefit-name {
font-size: 22rpx;
margin-bottom: 4rpx;
font-weight: bold;
}
.benefit-desc {
font-size: 18rpx;
color: #ccc;
line-height: 1.4;
}
.time-tag {
font-size: 18rpx;
color: white;
background-color: #ff6b00;
padding: 4rpx 8rpx;
border-radius: 8rpx;
margin-top: 8rpx;
display: inline-block;
}
.more-benefits {
margin: 30rpx 20rpx 0;
padding: 20rpx;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 12rpx;
text-align: center;
}
.more-text {
font-size: 24rpx;
color: #ccc;
margin-bottom: 10rpx;
}
</style>