wode-guanyu-hongxing.vue
6.97 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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<template>
<view class="level-page">
<!-- 导航栏 -->
<uni-nav-bar title="关于我们" left-icon="left" @click-left="goBack" :fixed="true" :status-bar="true" />
<!-- 用户信息 / 品牌标识 -->
<view class="user-info">
<view class="brand-info">
<text class="brand-slogan">科学训练,重塑自我</text>
</view>
</view>
<!-- 介绍区域 -->
<view class="about-section">
<view class="about-card">
<view class="about-title">品牌理念</view>
<view class="about-content">
红星健身致力于为每一位健身爱好者提供<span
class="highlight">科学、高效、个性化</span>的训练解决方案。我们相信,健身不仅是改变体型的手段,更是一种积极向上的生活方式。无论你是健身新手还是资深训练者,红星健身都将陪伴你完成每一次突破,见证你的每一点进步。
</view>
</view>
<view class="about-card">
<view class="about-title">核心功能</view>
<view class="feature-list">
<view class="feature-item" v-for="(item, index) in features" :key="index">
<view class="feature-num">{{ index + 1 }}</view>
<view class="feature-text">
<view class="feature-name">{{ item.name }}</view>
<view class="feature-desc">{{ item.desc }}</view>
</view>
</view>
</view>
</view>
<!-- <view class="about-card">
<view class="about-title">联系我们</view>
<view class="contact-list">
<view class="contact-item">
<view class="contact-label">微信公众号</view>
<view class="contact-value">红星健身</view>
</view>
<view class="contact-item">
<view class="contact-label">客服邮箱</view>
<view class="contact-value">support@hongxingfitness.com</view>
</view>
<view class="contact-item">
<view class="contact-label">官方网站</view>
<view class="contact-value">www.hongxingfitness.com</view>
</view>
</view>
</view> -->
<view class="about-card">
<view class="about-title">用户协议与隐私</view>
<view class="link-list">
<view class="link-item" @click="openAgreement('service')">
<text>服务协议</text>
<up-icon name="arrow-right" color="#fff" size="20"></up-icon>
</view>
<view class="link-item" @click="openAgreement('privacy')">
<text>隐私政策</text>
<up-icon name="arrow-right" color="#fff" size="20"></up-icon>
</view>
</view>
</view>
</view>
<!-- 版本信息 -->
<view class="version-info">
<text>当前版本 1.0.0</text>
<text class="copyright">Copyright © 2026 红星健身 All Rights Reserved</text>
</view>
</view>
</template>
<script>
export default {
data() {
return {
features: [
{
name: '个性化训练计划',
desc: '根据你的目标和水平,智能生成专属训练方案',
},
{
name: '海量动作库',
desc: '覆盖全身肌群的标准动作示范与详细讲解',
},
{
name: '训练数据追踪',
desc: '记录每一次训练,可视化你的成长轨迹',
},
{
name: '训练日历管理',
desc: '灵活安排训练日程,养成规律健身习惯',
},
],
};
},
methods: {
goBack() {
uni.navigateBack();
},
openAgreement(type) {
const titles = {
service: '服务协议',
privacy: '隐私政策',
};
uni.showToast({ title: titles[type] || '功能开发中', icon: 'none' });
},
},
};
</script>
<style scoped>
.level-page {
position: relative;
width: 100%;
min-height: 100vh;
background-color: #1a1a1a;
color: white;
padding-bottom: 60rpx;
}
/* ========== 品牌标识 ========== */
.user-info {
display: flex;
align-items: center;
gap: 24rpx;
padding: 40rpx 30rpx;
background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
border-bottom: 1rpx solid rgba(255, 255, 255, 0.06);
}
.avatar {
width: 100rpx;
height: 100rpx;
border-radius: 50%;
object-fit: cover;
border: 3rpx solid rgba(255, 107, 0, 0.4);
}
.brand-info {
display: flex;
flex-direction: column;
gap: 6rpx;
}
.username {
font-size: 36rpx;
font-weight: bold;
color: #fff;
}
.brand-slogan {
font-size: 24rpx;
color: rgba(255, 255, 255, 0.5);
letter-spacing: 2rpx;
}
/* ========== 关于我们内容区 ========== */
.about-section {
padding: 24rpx 24rpx 0;
}
.about-card {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 16rpx;
padding: 28rpx 24rpx;
margin-bottom: 20rpx;
border: 1rpx solid rgba(255, 255, 255, 0.08);
}
.about-title {
font-size: 30rpx;
font-weight: bold;
margin-bottom: 20rpx;
padding-left: 14rpx;
border-left: 5rpx solid #ff6b00;
color: #fff;
}
.about-content {
font-size: 26rpx;
color: rgba(255, 255, 255, 0.75);
line-height: 1.8;
text-align: justify;
}
.highlight {
color: #ff6b00;
font-weight: bold;
}
/* ========== 核心功能列表 ========== */
.feature-list {
display: flex;
flex-direction: column;
gap: 16rpx;
}
.feature-item {
display: flex;
align-items: flex-start;
gap: 20rpx;
padding: 14rpx 0;
}
.feature-num {
width: 48rpx;
height: 48rpx;
background: linear-gradient(135deg, rgba(255, 107, 0, 0.25), rgba(255, 107, 0, 0.08));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 22rpx;
font-weight: bold;
color: #ff6b00;
flex-shrink: 0;
}
.feature-text {
flex: 1;
}
.feature-name {
font-size: 28rpx;
font-weight: bold;
color: #fff;
margin-bottom: 4rpx;
}
.feature-desc {
font-size: 24rpx;
color: rgba(255, 255, 255, 0.5);
line-height: 1.5;
}
/* ========== 联系我们 ========== */
.contact-list {
display: flex;
flex-direction: column;
gap: 14rpx;
}
.contact-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8rpx 0;
}
.contact-label {
font-size: 26rpx;
color: rgba(255, 255, 255, 0.6);
}
.contact-value {
font-size: 26rpx;
color: rgba(255, 255, 255, 0.9);
}
/* ========== 链接列表 ========== */
.link-list {
display: flex;
flex-direction: column;
}
.link-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20rpx 0;
font-size: 28rpx;
color: rgba(255, 255, 255, 0.8);
border-bottom: 1rpx solid rgba(255, 255, 255, 0.06);
}
.link-item:last-child {
border-bottom: none;
}
.link-arrow {
color: rgba(255, 255, 255, 0.3);
font-size: 26rpx;
}
/* ========== 版本信息 ========== */
.version-info {
text-align: center;
padding: 40rpx 0 20rpx;
display: flex;
flex-direction: column;
gap: 8rpx;
font-size: 22rpx;
color: rgba(255, 255, 255, 0.35);
}
.copyright {
font-size: 20rpx;
}
</style>