5d251bf3
李宇
最新
|
1
2
|
<template>
<div class="welcome-container">
|
7200c7ad
“wangming”
feat: enhance wel...
|
3
4
5
6
7
8
9
10
11
12
|
<div class="welcome-bg" />
<!-- 顶部大标题区:铺满宽度 -->
<section class="welcome-hero">
<div class="hero-inner">
<div class="hero-icon-wrap">
<i class="el-icon-office-building hero-icon" />
</div>
<h1 class="hero-title">欢迎使用绿纤美业ERP系统</h1>
<p class="hero-subtitle">Welcome to Lvqian Beauty ERP System</p>
|
5d251bf3
李宇
最新
|
13
|
</div>
|
7200c7ad
“wangming”
feat: enhance wel...
|
14
|
</section>
|
891ea9b6
“wangming”
refactor: update ...
|
15
|
|
7200c7ad
“wangming”
feat: enhance wel...
|
16
17
18
19
20
21
22
|
<!-- 快捷入口:全宽网格,多列 -->
<section class="welcome-actions">
<div class="actions-inner">
<div v-for="(item, index) in featureList" :key="index" class="action-card" @click="handleFeatureClick(item)">
<i :class="item.icon" class="action-icon" />
<span class="action-label">{{ item.label }}</span>
</div>
|
5d251bf3
李宇
最新
|
23
|
</div>
|
7200c7ad
“wangming”
feat: enhance wel...
|
24
25
26
27
28
29
|
</section>
<!-- 页脚 -->
<footer class="welcome-footer">
<p>如有问题,请联系系统管理员</p>
</footer>
|
5d251bf3
李宇
最新
|
30
31
32
33
34
35
36
|
</div>
</template>
<script>
export default {
name: 'Welcome',
data() {
|
7200c7ad
“wangming”
feat: enhance wel...
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
return {
featureList: [
{ label: '美业仪表板', icon: 'el-icon-data-line', path: '/statisticsList/form9' },
{ label: '开单管理', icon: 'el-icon-document-add', path: '/lqKdKdjlb' },
{ label: '消耗管理', icon: 'el-icon-s-operation', path: '/lqXhHyhk' },
{ label: '会员管理', icon: 'el-icon-user', path: '/lqKhxx' },
{ label: '门店管理', icon: 'el-icon-office-building', path: '/lqMdxx' },
],
}
},
methods: {
handleFeatureClick(item) {
if (item.path && this.$router) {
this.$router.push(item.path).catch(() => { })
}
},
},
|
5d251bf3
李宇
最新
|
54
55
56
57
58
|
}
</script>
<style lang="scss" scoped>
.welcome-container {
|
7200c7ad
“wangming”
feat: enhance wel...
|
59
|
min-height: 100%;
|
5d251bf3
李宇
最新
|
60
|
overflow: hidden;
|
7200c7ad
“wangming”
feat: enhance wel...
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
position: relative;
display: flex;
flex-direction: column;
padding: 0;
box-sizing: border-box;
}
.welcome-bg {
position: absolute;
inset: 0;
background: linear-gradient(180deg, #e8f4ff 0%, #f5f9ff 28%, #fff 55%, #f8fafc 100%);
pointer-events: none;
}
/* 顶部大标题区:全宽、留白充足 */
.welcome-hero {
position: relative;
flex: 0 0 auto;
padding: 64px 24px 48px;
text-align: center;
|
5d251bf3
李宇
最新
|
81
82
|
}
|
7200c7ad
“wangming”
feat: enhance wel...
|
83
84
85
86
87
88
89
90
91
92
93
|
.hero-inner {
max-width: 1200px;
margin: 0 auto;
}
.hero-icon-wrap {
width: 88px;
height: 88px;
margin: 0 auto 24px;
border-radius: 20px;
background: linear-gradient(135deg, #409eff 0%, #66b1ff 100%);
|
5d251bf3
李宇
最新
|
94
|
display: flex;
|
5d251bf3
李宇
最新
|
95
96
|
align-items: center;
justify-content: center;
|
7200c7ad
“wangming”
feat: enhance wel...
|
97
|
box-shadow: 0 12px 32px rgba(64, 158, 255, 0.35);
|
5d251bf3
李宇
最新
|
98
99
|
}
|
7200c7ad
“wangming”
feat: enhance wel...
|
100
101
102
103
104
105
106
107
108
|
.hero-icon {
font-size: 44px;
color: #fff;
}
.hero-title {
font-size: 36px;
font-weight: 600;
margin: 0 0 12px 0;
|
5d251bf3
李宇
最新
|
109
|
color: #303133;
|
7200c7ad
“wangming”
feat: enhance wel...
|
110
111
112
|
letter-spacing: 0.5px;
line-height: 1.3;
}
|
891ea9b6
“wangming”
refactor: update ...
|
113
|
|
7200c7ad
“wangming”
feat: enhance wel...
|
114
115
116
117
118
119
|
.hero-subtitle {
font-size: 16px;
margin: 0;
color: #909399;
font-weight: 400;
}
|
891ea9b6
“wangming”
refactor: update ...
|
120
|
|
7200c7ad
“wangming”
feat: enhance wel...
|
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
|
/* 快捷入口:全宽网格,多列卡片 */
.welcome-actions {
position: relative;
flex: 1 1 auto;
padding: 0 24px 48px;
display: flex;
align-items: flex-start;
justify-content: center;
}
.actions-inner {
width: 100%;
max-width: 960px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 16px;
}
.action-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100px;
padding: 24px 20px;
border-radius: 12px;
background: #fff;
border: 1px solid #ebeef5;
color: #606266;
font-size: 15px;
cursor: pointer;
transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
&:hover {
background: #ecf5ff;
color: #409eff;
border-color: #d9ecff;
box-shadow: 0 4px 20px rgba(64, 158, 255, 0.15);
|
5d251bf3
李宇
最新
|
160
161
162
|
}
}
|
7200c7ad
“wangming”
feat: enhance wel...
|
163
164
165
166
167
168
169
170
171
172
173
174
|
.action-icon {
font-size: 28px;
color: #409eff;
margin-bottom: 12px;
}
.action-label {
font-weight: 500;
text-align: center;
}
/* 页脚 */
|
5d251bf3
李宇
最新
|
175
|
.welcome-footer {
|
7200c7ad
“wangming”
feat: enhance wel...
|
176
177
|
position: relative;
flex: 0 0 auto;
|
5d251bf3
李宇
最新
|
178
|
text-align: center;
|
7200c7ad
“wangming”
feat: enhance wel...
|
179
180
181
182
183
184
185
|
padding: 24px 20px;
p {
margin: 0;
color: #909399;
font-size: 13px;
}
|
5d251bf3
李宇
最新
|
186
187
188
|
}
@media (max-width: 768px) {
|
7200c7ad
“wangming”
feat: enhance wel...
|
189
190
191
|
.welcome-hero {
padding: 48px 16px 32px;
}
|
891ea9b6
“wangming”
refactor: update ...
|
192
|
|
7200c7ad
“wangming”
feat: enhance wel...
|
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
|
.hero-icon-wrap {
width: 72px;
height: 72px;
margin-bottom: 20px;
}
.hero-icon {
font-size: 36px;
}
.hero-title {
font-size: 26px;
}
.hero-subtitle {
font-size: 14px;
}
.welcome-actions {
padding: 0 16px 32px;
}
.actions-inner {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
max-width: 400px;
margin: 0 auto;
}
.action-card {
min-height: 88px;
padding: 20px 16px;
font-size: 14px;
}
.action-icon {
font-size: 24px;
margin-bottom: 8px;
|
5d251bf3
李宇
最新
|
231
232
233
|
}
}
</style>
|