|
@@ -1,25 +1,169 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="mine">
|
3
|
|
- <div class=""></div>
|
|
3
|
+ <div class="left">
|
|
4
|
+ <div class="user-info">
|
|
5
|
+ <div class="user-img"><img :src="userInfo.image"
|
|
6
|
+ alt=""></div>
|
|
7
|
+ <div class="user-span">
|
|
8
|
+ <div class="name">昵称:<span>{{userInfo.name}}</span></div>
|
|
9
|
+ <div class="sex">性别:<span>{{userInfo.sex}}</span></div>
|
|
10
|
+ <div class="age">肤龄:<span>{{userInfo.age}}</span></div>
|
|
11
|
+ <div class="skin-type">肤质:<span>{{userInfo.skinType}}</span></div>
|
|
12
|
+ </div>
|
|
13
|
+ </div>
|
|
14
|
+ <div class="user-record">
|
|
15
|
+ <div class="fraction">
|
|
16
|
+ <div class="title">肌肤得分</div>
|
|
17
|
+ <div class="num">37分</div>
|
|
18
|
+ </div>
|
|
19
|
+ <div class="status">
|
|
20
|
+ <div class="title">皮肤状态</div>
|
|
21
|
+ <div class="tips">肤质一般</div>
|
|
22
|
+ </div>
|
|
23
|
+ <div class="times">
|
|
24
|
+ <div class="title">上传检测时间</div>
|
|
25
|
+ <div class="ts">2022.04.18 16:04</div>
|
|
26
|
+ </div>
|
|
27
|
+ </div>
|
|
28
|
+ <div class="summary">
|
|
29
|
+ <div class="left-title">皮肤总结</div>
|
|
30
|
+ <div class="summary-list">
|
|
31
|
+ <div class="summary-info">
|
|
32
|
+ <div class="result">
|
|
33
|
+ <div class="result-left">
|
|
34
|
+ <div class="title">RGB毛孔:</div>
|
|
35
|
+ <div class="tips">粗大毛孔个数144</div>
|
|
36
|
+ </div>
|
|
37
|
+ <div class="right">
|
|
38
|
+ <span>粗大毛孔个数:144个</span><br>
|
|
39
|
+ <span>中等毛孔个数:409个</span><br>
|
|
40
|
+ <span>细小毛孔个数:299个</span>
|
|
41
|
+ </div>
|
|
42
|
+ </div>
|
|
43
|
+ <div class="bottom-tips">
|
|
44
|
+ <span>皮肤状态一般,污物阻塞导致,油脂分泌旺盛,皮肤状态一般,污物阻塞导致,油脂分泌旺盛</span>
|
|
45
|
+ </div>
|
|
46
|
+ </div>
|
|
47
|
+ </div>
|
|
48
|
+ </div>
|
|
49
|
+ </div>
|
|
50
|
+ <div class="right">
|
|
51
|
+ <div class="lable">
|
|
52
|
+ <div class="lable-title">
|
|
53
|
+ 面诊标签
|
|
54
|
+ </div>
|
|
55
|
+ <div class="lable-list">
|
|
56
|
+ <div v-for="(item,index) in lableList"
|
|
57
|
+ :key="index"
|
|
58
|
+ :class="['lable-info', item.disabled?'active':'']">
|
|
59
|
+ {{item.text}}
|
|
60
|
+ </div>
|
|
61
|
+ <div class="add-lable">
|
|
62
|
+ +
|
|
63
|
+ </div>
|
|
64
|
+ </div>
|
|
65
|
+ <div class="lable-title">
|
|
66
|
+ 备注
|
|
67
|
+ </div>
|
|
68
|
+ <div class="remarks">
|
|
69
|
+ <el-input type="textarea"
|
|
70
|
+ autosize
|
|
71
|
+ resize="none"
|
|
72
|
+ placeholder="多行输入"
|
|
73
|
+ v-model="remarks">
|
|
74
|
+ </el-input>
|
|
75
|
+ </div>
|
|
76
|
+ </div>
|
|
77
|
+ <div class="programme">
|
|
78
|
+ <div class="tab">
|
|
79
|
+ <div class="tab-title">执行方案</div>
|
|
80
|
+ <div class="add">新增</div>
|
|
81
|
+ </div>
|
|
82
|
+ <div class="programme-list">
|
|
83
|
+ <div class="programme-info">
|
|
84
|
+ <div class="programme-left"></div>
|
|
85
|
+ <div class="programme-right"></div>
|
|
86
|
+ </div>
|
|
87
|
+ </div>
|
|
88
|
+ </div>
|
|
89
|
+ </div>
|
4
|
90
|
</div>
|
5
|
91
|
</template>
|
6
|
92
|
|
7
|
93
|
<script>
|
|
94
|
+import { mapActions } from 'vuex'
|
8
|
95
|
export default {
|
9
|
96
|
components: {},
|
10
|
|
- data() {
|
11
|
|
- return {};
|
|
97
|
+ data () {
|
|
98
|
+ return {
|
|
99
|
+ userInfo: {
|
|
100
|
+ image: "https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/home/make.png",
|
|
101
|
+ name: '张三',
|
|
102
|
+ sex: '女',
|
|
103
|
+ age: '23',
|
|
104
|
+ skinType: '中性皮肤'
|
|
105
|
+ },
|
|
106
|
+ lableList: [
|
|
107
|
+ {
|
|
108
|
+ text: '对话框的',
|
|
109
|
+ disabled: false
|
|
110
|
+ },
|
|
111
|
+ {
|
|
112
|
+ text: '对话框的',
|
|
113
|
+ disabled: true
|
|
114
|
+ },
|
|
115
|
+ {
|
|
116
|
+ text: '对话框的',
|
|
117
|
+ disabled: false
|
|
118
|
+ },
|
|
119
|
+ {
|
|
120
|
+ text: '对话框的',
|
|
121
|
+ disabled: false
|
|
122
|
+ },
|
|
123
|
+ {
|
|
124
|
+ text: '对话框的',
|
|
125
|
+ disabled: false
|
|
126
|
+ },
|
|
127
|
+ {
|
|
128
|
+ text: '对话框的',
|
|
129
|
+ disabled: false
|
|
130
|
+ },
|
|
131
|
+ {
|
|
132
|
+ text: '对话框的',
|
|
133
|
+ disabled: false
|
|
134
|
+ },
|
|
135
|
+ {
|
|
136
|
+ text: '对话框的',
|
|
137
|
+ disabled: false
|
|
138
|
+ },
|
|
139
|
+ {
|
|
140
|
+ text: '对话框的',
|
|
141
|
+ disabled: false
|
|
142
|
+ },
|
|
143
|
+ {
|
|
144
|
+ text: '对话框的',
|
|
145
|
+ disabled: false
|
|
146
|
+ },
|
|
147
|
+ ],
|
|
148
|
+ remarks: '',
|
|
149
|
+
|
|
150
|
+ };
|
|
151
|
+ },
|
|
152
|
+ computed: {
|
|
153
|
+
|
12
|
154
|
},
|
13
|
|
- computed: {},
|
14
|
155
|
watch: {},
|
15
|
156
|
|
16
|
|
- methods: {},
|
|
157
|
+ methods: {
|
|
158
|
+ },
|
|
159
|
+
|
|
160
|
+ created () {
|
|
161
|
+
|
17
|
162
|
|
18
|
|
- created() {
|
19
|
163
|
|
20
|
164
|
},
|
21
|
165
|
|
22
|
|
- mounted() {
|
|
166
|
+ mounted () {
|
23
|
167
|
|
24
|
168
|
},
|
25
|
169
|
}
|
|
@@ -27,5 +171,236 @@ export default {
|
27
|
171
|
</script>
|
28
|
172
|
|
29
|
173
|
<style lang='less' scoped>
|
|
174
|
+.mine {
|
|
175
|
+ height: 100%;
|
|
176
|
+ display: flex;
|
|
177
|
+ .left {
|
|
178
|
+ width: 318px;
|
|
179
|
+ padding: 12px 12px 0 12px;
|
|
180
|
+ background: #ffffff;
|
|
181
|
+ box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
|
|
182
|
+ border-radius: 8px;
|
|
183
|
+ font-size: 13px;
|
|
184
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
185
|
+ font-weight: 400;
|
|
186
|
+ color: #999999;
|
|
187
|
+ line-height: 18px;
|
|
188
|
+ height: 100%;
|
|
189
|
+ .user-info {
|
|
190
|
+ display: flex;
|
|
191
|
+ align-items: center;
|
|
192
|
+ .user-img {
|
|
193
|
+ width: 96px;
|
|
194
|
+ img {
|
|
195
|
+ width: 100%;
|
|
196
|
+ display: block;
|
|
197
|
+ }
|
|
198
|
+ }
|
|
199
|
+ .user-span {
|
|
200
|
+ margin-left: 12px;
|
30
|
201
|
|
|
202
|
+ span {
|
|
203
|
+ color: #333333;
|
|
204
|
+ }
|
|
205
|
+ }
|
|
206
|
+ }
|
|
207
|
+ .user-record {
|
|
208
|
+ margin-top: 16px;
|
|
209
|
+ display: flex;
|
|
210
|
+ justify-content: space-between;
|
|
211
|
+ .num {
|
|
212
|
+ font-size: 18px;
|
|
213
|
+ font-family: OPPOSans-B, OPPOSans;
|
|
214
|
+ font-weight: normal;
|
|
215
|
+ color: #333333;
|
|
216
|
+ line-height: 29px;
|
|
217
|
+ }
|
|
218
|
+ .tips {
|
|
219
|
+ font-size: 13px;
|
|
220
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
221
|
+ font-weight: 400;
|
|
222
|
+ color: #333333;
|
|
223
|
+ line-height: 30px;
|
|
224
|
+ }
|
|
225
|
+ .ts {
|
|
226
|
+ font-size: 13px;
|
|
227
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
228
|
+ font-weight: 400;
|
|
229
|
+ color: #333333;
|
|
230
|
+ line-height: 30px;
|
|
231
|
+ }
|
|
232
|
+ }
|
|
233
|
+ .summary {
|
|
234
|
+ .left-title {
|
|
235
|
+ margin-top: 10px;
|
|
236
|
+ font-size: 14px;
|
|
237
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
238
|
+ font-weight: 500;
|
|
239
|
+ color: #333333;
|
|
240
|
+ line-height: 20px;
|
|
241
|
+ }
|
|
242
|
+ .summary-list {
|
|
243
|
+ margin-top: 10px;
|
|
244
|
+ height: 280px;
|
|
245
|
+ overflow: scroll;
|
|
246
|
+ .summary-info {
|
|
247
|
+ border-radius: 4px;
|
|
248
|
+ margin-bottom: 20px;
|
|
249
|
+ border: 1px solid #f5f5f5;
|
|
250
|
+ .result {
|
|
251
|
+ padding: 10px;
|
|
252
|
+ display: flex;
|
|
253
|
+ justify-content: space-between;
|
|
254
|
+ align-content: center;
|
|
255
|
+ .result-left {
|
|
256
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
257
|
+ font-weight: 400;
|
|
258
|
+ .title {
|
|
259
|
+ font-size: 14px;
|
|
260
|
+
|
|
261
|
+ color: #666666;
|
|
262
|
+ line-height: 20px;
|
|
263
|
+ }
|
|
264
|
+ .tips {
|
|
265
|
+ font-size: 18px;
|
|
266
|
+ color: #fa7d22;
|
|
267
|
+ line-height: 25px;
|
|
268
|
+ }
|
|
269
|
+ }
|
|
270
|
+ .right {
|
|
271
|
+ font-size: 12px;
|
|
272
|
+ transform: scale(0.83);
|
|
273
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
274
|
+ font-weight: 400;
|
|
275
|
+ color: #666666;
|
|
276
|
+ line-height: 16px;
|
|
277
|
+ }
|
|
278
|
+ }
|
|
279
|
+ .bottom-tips {
|
|
280
|
+ padding: 6px 10px;
|
|
281
|
+ font-size: 10px;
|
|
282
|
+ font-family: PingFang-SC-Regular, PingFang-SC;
|
|
283
|
+ font-weight: 400;
|
|
284
|
+ color: #333333;
|
|
285
|
+ line-height: 14px;
|
|
286
|
+ background: #f5f5f5;
|
|
287
|
+ border-radius: 4px;
|
|
288
|
+ span {
|
|
289
|
+ display: block;
|
|
290
|
+ zoom: 0.83;
|
|
291
|
+ }
|
|
292
|
+ }
|
|
293
|
+ }
|
|
294
|
+ }
|
|
295
|
+ }
|
|
296
|
+ }
|
|
297
|
+ .right {
|
|
298
|
+ margin-left: 18px;
|
|
299
|
+ flex: 1;
|
|
300
|
+ .lable {
|
|
301
|
+ width: 100%;
|
|
302
|
+ height: 230px;
|
|
303
|
+ overflow: scroll;
|
|
304
|
+ padding: 12px;
|
|
305
|
+ background: #ffffff;
|
|
306
|
+ box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
|
|
307
|
+ border-radius: 8px;
|
|
308
|
+ .lable-title {
|
|
309
|
+ font-size: 14px;
|
|
310
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
311
|
+ font-weight: 500;
|
|
312
|
+ color: #333333;
|
|
313
|
+ line-height: 20px;
|
|
314
|
+ margin-bottom: 14px;
|
|
315
|
+ }
|
|
316
|
+ .lable-list {
|
|
317
|
+ width: 100%;
|
|
318
|
+ min-height: 105rpx;
|
|
319
|
+ .lable-info {
|
|
320
|
+ display: inline-block;
|
|
321
|
+ padding: 0 12px;
|
|
322
|
+ margin-left: 10px;
|
|
323
|
+ height: 24px;
|
|
324
|
+ line-height: 24px;
|
|
325
|
+ border-radius: 2px;
|
|
326
|
+ border: 1px solid #d6d6d6;
|
|
327
|
+ margin-bottom: 10px;
|
|
328
|
+ }
|
|
329
|
+ .add-lable {
|
|
330
|
+ display: inline-block;
|
|
331
|
+ width: 27px;
|
|
332
|
+ height: 24px;
|
|
333
|
+ line-height: 24px;
|
|
334
|
+ font-size: 12px;
|
|
335
|
+ font-family: PingFang-SC-Regular, PingFang-SC;
|
|
336
|
+ font-weight: 400;
|
|
337
|
+ color: #333333;
|
|
338
|
+ text-align: center;
|
|
339
|
+ margin-left: 10px;
|
|
340
|
+ border-radius: 2px;
|
|
341
|
+ border: 1px solid #d6d6d6;
|
|
342
|
+ }
|
|
343
|
+ .active {
|
|
344
|
+ background: url(https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/%E9%80%89%E4%B8%AD2%402x.png)
|
|
345
|
+ no-repeat;
|
|
346
|
+ background-size: 100% 100%;
|
|
347
|
+ border: 0px solid #d6d6d6;
|
|
348
|
+ }
|
|
349
|
+ }
|
|
350
|
+ .remarks {
|
|
351
|
+ /deep/ .el-textarea__inner:focus {
|
|
352
|
+ border-color: #fa852f;
|
|
353
|
+ }
|
|
354
|
+ }
|
|
355
|
+ }
|
|
356
|
+ .programme {
|
|
357
|
+ margin-top: 18px;
|
|
358
|
+ width: 100%;
|
|
359
|
+ height: 208px;
|
|
360
|
+ background: #ffffff;
|
|
361
|
+ box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
|
|
362
|
+ border-radius: 8px;
|
|
363
|
+ .tab {
|
|
364
|
+ display: flex;
|
|
365
|
+ align-items: center;
|
|
366
|
+ justify-content: space-between;
|
|
367
|
+ padding: 14px 12px 0 12px;
|
|
368
|
+ .tab-title {
|
|
369
|
+ font-size: 14px;
|
|
370
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
371
|
+ font-weight: 500;
|
|
372
|
+ color: #333333;
|
|
373
|
+ line-height: 20px;
|
|
374
|
+ }
|
|
375
|
+ .add {
|
|
376
|
+ width: 60px;
|
|
377
|
+ height: 28px;
|
|
378
|
+ line-height: 28px;
|
|
379
|
+ background: #fa7d22;
|
|
380
|
+ border-radius: 8px;
|
|
381
|
+ font-size: 14px;
|
|
382
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
383
|
+ font-weight: 500;
|
|
384
|
+ color: #ffffff;
|
|
385
|
+ text-align: center;
|
|
386
|
+ }
|
|
387
|
+ }
|
|
388
|
+ .programme-list {
|
|
389
|
+ margin-top: 10px;
|
|
390
|
+ .programme-info {
|
|
391
|
+ padding: 8px 10px;
|
|
392
|
+ margin-bottom: 10px;
|
|
393
|
+ display: flex;
|
|
394
|
+ align-items: center;
|
|
395
|
+ .programme-left {
|
|
396
|
+ flex: 1;
|
|
397
|
+ }
|
|
398
|
+ .programme-right {
|
|
399
|
+ flex: 1;
|
|
400
|
+ }
|
|
401
|
+ }
|
|
402
|
+ }
|
|
403
|
+ }
|
|
404
|
+ }
|
|
405
|
+}
|
31
|
406
|
</style>
|