|
@@ -151,16 +151,114 @@
|
151
|
151
|
<div class="choice-icon"><img :src="select"></div>
|
152
|
152
|
</div>
|
153
|
153
|
<div class="bottom">
|
154
|
|
- <div class=""></div>
|
|
154
|
+ <div class="coupon-notes">
|
|
155
|
+ <div class="notes-text min-size">
|
|
156
|
+ <span v-if="!isOver">{{'优惠卷仅限试用项目优惠卷仅限试用项目优惠卷仅限项目优惠卷仅限试用项目优惠卷仅限试用项目优惠卷仅限项目优惠卷仅限试用项目优惠卷仅限试用项目优惠卷仅限项目' |ellipsis(20)}}</span>
|
|
157
|
+ <span v-else>优惠卷仅限试用项目优惠卷仅限试用项目优惠卷仅限项目优惠卷仅限试用项目优惠卷仅限试用项目优惠卷仅限项目优惠卷仅限试用项目优惠卷仅限试用项目优惠卷仅限项目</span>
|
|
158
|
+ </div>
|
|
159
|
+ <div class="notes-icon"
|
|
160
|
+ @click="isOver=!isOver"><img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/coupon/openNotes.png"
|
|
161
|
+ alt=""></div>
|
|
162
|
+ </div>
|
155
|
163
|
</div>
|
156
|
164
|
</div>
|
157
|
165
|
</div>
|
158
|
166
|
</div>
|
159
|
167
|
</mine-pupop>
|
|
168
|
+ <!-- 选择项目 -->
|
|
169
|
+ <mine-pupop :show="isProject">
|
|
170
|
+ <div class="project-block">
|
|
171
|
+ <div class="delete-pupop"
|
|
172
|
+ @click="isProject=false"><img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
|
|
173
|
+ alt=""></div>
|
|
174
|
+ <div class="project-pupop-title">选择项目</div>
|
|
175
|
+ <div class="project-select">
|
|
176
|
+ <el-select v-model="projectInfo"
|
|
177
|
+ placeholder="请选择项目"
|
|
178
|
+ style="width: 295px;"
|
|
179
|
+ size="mini">
|
|
180
|
+ <el-option v-for="item in projectList"
|
|
181
|
+ :key="item.value"
|
|
182
|
+ :label="item.label"
|
|
183
|
+ :value="item.value">
|
|
184
|
+ </el-option>
|
|
185
|
+ </el-select>
|
|
186
|
+ </div>
|
|
187
|
+ <div class="products-select">
|
|
188
|
+ <el-select v-model="productsInfo"
|
|
189
|
+ placeholder="请选择升级产品包"
|
|
190
|
+ style="width: 295px;"
|
|
191
|
+ size="mini">
|
|
192
|
+ <el-option v-for="item in productsList"
|
|
193
|
+ :key="item.value"
|
|
194
|
+ :label="item.label"
|
|
195
|
+ :value="item.value">
|
|
196
|
+ </el-option>
|
|
197
|
+ </el-select>
|
|
198
|
+ </div>
|
|
199
|
+ <div class="products-button">确定</div>
|
|
200
|
+ </div>
|
|
201
|
+ </mine-pupop>
|
|
202
|
+ <!-- 选择时间 -->
|
|
203
|
+ <mine-pupop :show="isTs">
|
|
204
|
+ <div class="ts-block">
|
|
205
|
+ <div class="delete-pupop"
|
|
206
|
+ @click="isTs=false"><img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
|
|
207
|
+ alt=""></div>
|
|
208
|
+ <div class="ts-pupop-title">选择时间</div>
|
|
209
|
+ <div class="ts-content">
|
|
210
|
+ <ul class="ts-table">
|
|
211
|
+ <li v-for="item,index in tsTableList"
|
|
212
|
+ :key="index">
|
|
213
|
+ <div>{{item.text}}</div>
|
|
214
|
+ <div>{{item.ts}}</div>
|
|
215
|
+ </li>
|
|
216
|
+ </ul>
|
|
217
|
+ <ul class="ts-boty">
|
|
218
|
+ <li v-for="item,index in tsBodyList"
|
|
219
|
+ :key="index">
|
|
220
|
+ <div>{{item.ts}}</div>
|
|
221
|
+ </li>
|
|
222
|
+ </ul>
|
|
223
|
+ </div>
|
|
224
|
+ <div class="ts-button">确认</div>
|
|
225
|
+ </div>
|
|
226
|
+ </mine-pupop>
|
|
227
|
+ <!-- 皮肤状态 -->
|
|
228
|
+ <mine-pupop :show="isPore">
|
|
229
|
+ <div class="pore-block">
|
|
230
|
+ <div class="delete-pupop"
|
|
231
|
+ @click="isPore=false"><img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
|
|
232
|
+ alt=""></div>
|
|
233
|
+ <div class="pore-content">
|
|
234
|
+ <ul>
|
|
235
|
+ <li class="pore-info"
|
|
236
|
+ v-for="item,index in poreList"
|
|
237
|
+ :key="index">
|
|
238
|
+ <div class="pore-top">
|
|
239
|
+ <div class="pore-title">
|
|
240
|
+ <div>RGB毛孔:</div>
|
|
241
|
+ <div class="pore-medium">粗大毛孔个数{{item.medium}}</div>
|
|
242
|
+ </div>
|
|
243
|
+ <div class="pore-over">
|
|
244
|
+ <div class="min-size">粗大毛孔个数:{{item.medium}}个</div>
|
|
245
|
+ <div class="min-size">中等毛孔个数:{{item.small}}个</div>
|
|
246
|
+ <div class="min-size">细小毛孔个数:{{item.mini}}个</div>
|
|
247
|
+ </div>
|
|
248
|
+ </div>
|
|
249
|
+ <div class="pore-bottom min-size">
|
|
250
|
+ {{'皮肤状态一般,污物阻塞导致,油脂分泌旺盛,皮肤状态一般,污物阻塞导致,油脂分泌旺盛皮肤状态一般,污物阻塞导致,油脂分泌旺盛,皮肤状态一般,污物阻塞导致,油脂分泌旺盛油脂分泌旺盛油脂分泌旺盛旺…' |ellipsis(85)}}
|
|
251
|
+ </div>
|
|
252
|
+ </li>
|
|
253
|
+ </ul>
|
|
254
|
+ </div>
|
|
255
|
+ </div>
|
|
256
|
+ </mine-pupop>
|
160
|
257
|
</div>
|
161
|
258
|
</template>
|
162
|
259
|
|
163
|
260
|
<script>
|
|
261
|
+import { lstat } from 'fs';
|
164
|
262
|
import minePupop from '../../../components/minePupop/index.vue'
|
165
|
263
|
|
166
|
264
|
export default {
|
|
@@ -263,6 +361,111 @@ export default {
|
263
|
361
|
value: '选项5',
|
264
|
362
|
label: '北京烤鸭'
|
265
|
363
|
}],
|
|
364
|
+ //产品列表
|
|
365
|
+ productsList: [{
|
|
366
|
+ value: '选项1',
|
|
367
|
+ label: '黄金糕'
|
|
368
|
+ }, {
|
|
369
|
+ value: '选项2',
|
|
370
|
+ label: '双皮奶'
|
|
371
|
+ }, {
|
|
372
|
+ value: '选项3',
|
|
373
|
+ label: '蚵仔煎'
|
|
374
|
+ }, {
|
|
375
|
+ value: '选项4',
|
|
376
|
+ label: '龙须面'
|
|
377
|
+ }, {
|
|
378
|
+ value: '选项5',
|
|
379
|
+ label: '北京烤鸭'
|
|
380
|
+ }],
|
|
381
|
+ //时间列表(头部)
|
|
382
|
+ tsTableList: [
|
|
383
|
+ {
|
|
384
|
+ text: '今天',
|
|
385
|
+ ts: '10-27',
|
|
386
|
+ },
|
|
387
|
+ {
|
|
388
|
+ text: '今天',
|
|
389
|
+ ts: '10-27',
|
|
390
|
+ },
|
|
391
|
+ {
|
|
392
|
+ text: '今天',
|
|
393
|
+ ts: '10-27',
|
|
394
|
+ },
|
|
395
|
+ {
|
|
396
|
+ text: '今天',
|
|
397
|
+ ts: '10-27',
|
|
398
|
+ },
|
|
399
|
+ {
|
|
400
|
+ text: '今天',
|
|
401
|
+ ts: '10-27',
|
|
402
|
+ },
|
|
403
|
+ {
|
|
404
|
+ text: '今天',
|
|
405
|
+ ts: '10-27',
|
|
406
|
+ },
|
|
407
|
+ {
|
|
408
|
+ text: '今天',
|
|
409
|
+ ts: '10-27',
|
|
410
|
+ },
|
|
411
|
+ ],
|
|
412
|
+ //时间列表(body)
|
|
413
|
+ tsBodyList: [
|
|
414
|
+ {
|
|
415
|
+ id: 0,
|
|
416
|
+ ts: '10:00'
|
|
417
|
+ },
|
|
418
|
+ {
|
|
419
|
+ id: 0,
|
|
420
|
+ ts: '10:00'
|
|
421
|
+ },
|
|
422
|
+ {
|
|
423
|
+ id: 0,
|
|
424
|
+ ts: '10:00'
|
|
425
|
+ },
|
|
426
|
+ {
|
|
427
|
+ id: 0,
|
|
428
|
+ ts: '10:00'
|
|
429
|
+ },
|
|
430
|
+ {
|
|
431
|
+ id: 0,
|
|
432
|
+ ts: '10:00'
|
|
433
|
+ },
|
|
434
|
+ {
|
|
435
|
+ id: 0,
|
|
436
|
+ ts: '10:00'
|
|
437
|
+ },
|
|
438
|
+ {
|
|
439
|
+ id: 0,
|
|
440
|
+ ts: '10:00'
|
|
441
|
+ },
|
|
442
|
+ {
|
|
443
|
+ id: 0,
|
|
444
|
+ ts: '10:00'
|
|
445
|
+ },
|
|
446
|
+ {
|
|
447
|
+ id: 0,
|
|
448
|
+ ts: '10:00'
|
|
449
|
+ },
|
|
450
|
+ ],
|
|
451
|
+ //皮肤状态列表
|
|
452
|
+ poreList: [
|
|
453
|
+ {
|
|
454
|
+ medium: 133,
|
|
455
|
+ small: 344,
|
|
456
|
+ mini: 242
|
|
457
|
+ },
|
|
458
|
+ {
|
|
459
|
+ medium: 133,
|
|
460
|
+ small: 344,
|
|
461
|
+ mini: 242
|
|
462
|
+ },
|
|
463
|
+ {
|
|
464
|
+ medium: 133,
|
|
465
|
+ small: 344,
|
|
466
|
+ mini: 242
|
|
467
|
+ }
|
|
468
|
+ ],
|
266
|
469
|
couponList: [
|
267
|
470
|
{
|
268
|
471
|
|
|
@@ -270,10 +473,15 @@ export default {
|
270
|
473
|
],
|
271
|
474
|
timesInfo: '',
|
272
|
475
|
projectInfo: '',
|
|
476
|
+ productsInfo: '',
|
273
|
477
|
weekInfo: '',
|
274
|
478
|
programmeIndex: '',
|
275
|
479
|
remarks: '',
|
276
|
|
- isCoupun: true
|
|
480
|
+ isCoupun: false,//是否展示优惠券弹窗
|
|
481
|
+ isOver: false,//优惠券注释
|
|
482
|
+ isProject: false,//是否展示选择项目弹窗
|
|
483
|
+ isTs: false,//是否展示选择时间弹窗
|
|
484
|
+ isPore: false,//皮肤状态弹窗
|
277
|
485
|
};
|
278
|
486
|
},
|
279
|
487
|
computed: {
|
|
@@ -744,7 +952,7 @@ export default {
|
744
|
952
|
overflow: scroll;
|
745
|
953
|
.coupon-info {
|
746
|
954
|
width: 345px;
|
747
|
|
- padding: 20px 14px 0 14px;
|
|
955
|
+ padding: 20px 14px 10px 14px;
|
748
|
956
|
position: relative;
|
749
|
957
|
background: #fff4e6;
|
750
|
958
|
border-radius: 12px;
|
|
@@ -805,6 +1013,209 @@ export default {
|
805
|
1013
|
}
|
806
|
1014
|
}
|
807
|
1015
|
}
|
|
1016
|
+ .bottom {
|
|
1017
|
+ padding-top: 9px;
|
|
1018
|
+ .coupon-notes {
|
|
1019
|
+ display: flex;
|
|
1020
|
+ justify-content: space-between;
|
|
1021
|
+
|
|
1022
|
+ .notes-text {
|
|
1023
|
+ width: 314px;
|
|
1024
|
+ font-size: 12px;
|
|
1025
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
1026
|
+ font-weight: 400;
|
|
1027
|
+ color: #c38029;
|
|
1028
|
+ line-height: 18px;
|
|
1029
|
+ }
|
|
1030
|
+ .notes-icon {
|
|
1031
|
+ width: 24px;
|
|
1032
|
+ img {
|
|
1033
|
+ width: 100%;
|
|
1034
|
+ }
|
|
1035
|
+ }
|
|
1036
|
+ }
|
|
1037
|
+ }
|
|
1038
|
+ }
|
|
1039
|
+ }
|
|
1040
|
+ }
|
|
1041
|
+ .project-block {
|
|
1042
|
+ width: 540px;
|
|
1043
|
+ height: 400px;
|
|
1044
|
+ background: #ffffff;
|
|
1045
|
+ border-radius: 8px;
|
|
1046
|
+ position: relative;
|
|
1047
|
+ padding: 42px;
|
|
1048
|
+ .delete-pupop {
|
|
1049
|
+ width: 32px;
|
|
1050
|
+ position: absolute;
|
|
1051
|
+ right: 5px;
|
|
1052
|
+ top: 5px;
|
|
1053
|
+ img {
|
|
1054
|
+ width: 100%;
|
|
1055
|
+ }
|
|
1056
|
+ }
|
|
1057
|
+ .project-pupop-title {
|
|
1058
|
+ font-size: 14px;
|
|
1059
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
1060
|
+ font-weight: 500;
|
|
1061
|
+ color: #333333;
|
|
1062
|
+ line-height: 20px;
|
|
1063
|
+ text-align: center;
|
|
1064
|
+ }
|
|
1065
|
+ .project-select {
|
|
1066
|
+ text-align: center;
|
|
1067
|
+ margin-top: 26px;
|
|
1068
|
+ }
|
|
1069
|
+ .products-select {
|
|
1070
|
+ text-align: center;
|
|
1071
|
+ margin-top: 20px;
|
|
1072
|
+ }
|
|
1073
|
+ .products-button {
|
|
1074
|
+ position: absolute;
|
|
1075
|
+ bottom: 42px;
|
|
1076
|
+ left: 50%;
|
|
1077
|
+ transform: translateX(-50%);
|
|
1078
|
+ width: 176px;
|
|
1079
|
+ height: 28px;
|
|
1080
|
+ background: #fa7d22;
|
|
1081
|
+ border-radius: 14px;
|
|
1082
|
+ font-size: 14px;
|
|
1083
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
1084
|
+ font-weight: 500;
|
|
1085
|
+ color: #ffffff;
|
|
1086
|
+ line-height: 28px;
|
|
1087
|
+ text-align: center;
|
|
1088
|
+ }
|
|
1089
|
+ }
|
|
1090
|
+ .ts-block {
|
|
1091
|
+ width: 540px;
|
|
1092
|
+ height: 400px;
|
|
1093
|
+ background: #ffffff;
|
|
1094
|
+ border-radius: 8px;
|
|
1095
|
+ position: relative;
|
|
1096
|
+ padding: 42px 105px;
|
|
1097
|
+ .delete-pupop {
|
|
1098
|
+ width: 32px;
|
|
1099
|
+ position: absolute;
|
|
1100
|
+ right: 5px;
|
|
1101
|
+ top: 5px;
|
|
1102
|
+ img {
|
|
1103
|
+ width: 100%;
|
|
1104
|
+ }
|
|
1105
|
+ }
|
|
1106
|
+ .ts-pupop-title {
|
|
1107
|
+ font-size: 14px;
|
|
1108
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
1109
|
+ font-weight: 500;
|
|
1110
|
+ color: #333333;
|
|
1111
|
+ line-height: 20px;
|
|
1112
|
+ text-align: center;
|
|
1113
|
+ }
|
|
1114
|
+ .ts-content {
|
|
1115
|
+ .ts-table {
|
|
1116
|
+ font-size: 14px;
|
|
1117
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
1118
|
+ font-weight: 500;
|
|
1119
|
+ color: #999999;
|
|
1120
|
+ line-height: 20px;
|
|
1121
|
+ padding: 9px 0;
|
|
1122
|
+ display: flex;
|
|
1123
|
+ justify-content: space-between;
|
|
1124
|
+ li {
|
|
1125
|
+ text-align: center;
|
|
1126
|
+ }
|
|
1127
|
+ }
|
|
1128
|
+ .ts-boty {
|
|
1129
|
+ margin-top: 10px;
|
|
1130
|
+ display: flex;
|
|
1131
|
+ justify-content: space-between;
|
|
1132
|
+ flex-wrap: wrap;
|
|
1133
|
+ li {
|
|
1134
|
+ margin-top: 10px;
|
|
1135
|
+ width: 68px;
|
|
1136
|
+ height: 30px;
|
|
1137
|
+ line-height: 30px;
|
|
1138
|
+ text-align: center;
|
|
1139
|
+ background: #f9f9f9;
|
|
1140
|
+ border-radius: 8px;
|
|
1141
|
+ font-size: 16px;
|
|
1142
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
1143
|
+ font-weight: 400;
|
|
1144
|
+ color: #333333;
|
|
1145
|
+ }
|
|
1146
|
+ }
|
|
1147
|
+ }
|
|
1148
|
+ .ts-button {
|
|
1149
|
+ position: absolute;
|
|
1150
|
+ bottom: 42px;
|
|
1151
|
+ left: 50%;
|
|
1152
|
+ transform: translateX(-50%);
|
|
1153
|
+ width: 176px;
|
|
1154
|
+ height: 28px;
|
|
1155
|
+ background: #fa7d22;
|
|
1156
|
+ border-radius: 14px;
|
|
1157
|
+ font-size: 14px;
|
|
1158
|
+ font-family: PingFangSC-Medium, PingFang SC;
|
|
1159
|
+ font-weight: 500;
|
|
1160
|
+ color: #ffffff;
|
|
1161
|
+ line-height: 28px;
|
|
1162
|
+ text-align: center;
|
|
1163
|
+ }
|
|
1164
|
+ }
|
|
1165
|
+ .pore-block {
|
|
1166
|
+ width: 540px;
|
|
1167
|
+ height: 400px;
|
|
1168
|
+ background: #ffffff;
|
|
1169
|
+ border-radius: 8px;
|
|
1170
|
+ position: relative;
|
|
1171
|
+ padding: 42px;
|
|
1172
|
+ .delete-pupop {
|
|
1173
|
+ width: 32px;
|
|
1174
|
+ position: absolute;
|
|
1175
|
+ right: 5px;
|
|
1176
|
+ top: 5px;
|
|
1177
|
+ img {
|
|
1178
|
+ width: 100%;
|
|
1179
|
+ }
|
|
1180
|
+ }
|
|
1181
|
+ .pore-content {
|
|
1182
|
+ overflow: scroll;
|
|
1183
|
+ height: 310px;
|
|
1184
|
+ .pore-info {
|
|
1185
|
+ margin-top: 10px;
|
|
1186
|
+ border-radius: 4px;
|
|
1187
|
+ border: 1px solid #f5f5f5;
|
|
1188
|
+ .pore-top {
|
|
1189
|
+ display: flex;
|
|
1190
|
+ justify-content: space-between;
|
|
1191
|
+ align-items: center;
|
|
1192
|
+ font-size: 14px;
|
|
1193
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
1194
|
+ font-weight: 400;
|
|
1195
|
+ color: #666666;
|
|
1196
|
+ line-height: 20px;
|
|
1197
|
+ padding: 10px;
|
|
1198
|
+ .pore-title {
|
|
1199
|
+ .pore-medium {
|
|
1200
|
+ font-size: 18px;
|
|
1201
|
+ color: #fa7d22;
|
|
1202
|
+ line-height: 25px;
|
|
1203
|
+ }
|
|
1204
|
+ }
|
|
1205
|
+ .pore-over {
|
|
1206
|
+ font-size: 12px;
|
|
1207
|
+ }
|
|
1208
|
+ }
|
|
1209
|
+ .pore-bottom {
|
|
1210
|
+ padding: 6px 8px;
|
|
1211
|
+ background: #f5f5f5;
|
|
1212
|
+ border-radius: 4px;
|
|
1213
|
+ font-size: 12px;
|
|
1214
|
+ font-family: PingFang-SC-Regular, PingFang-SC;
|
|
1215
|
+ font-weight: 400;
|
|
1216
|
+ color: #333333;
|
|
1217
|
+ line-height: 14px;
|
|
1218
|
+ }
|
808
|
1219
|
}
|
809
|
1220
|
}
|
810
|
1221
|
}
|