tplus-member 3.52.1 → 3.53.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/api.js.map +1 -1
  3. package/dist/controllers/FeedbackController.js.map +1 -1
  4. package/dist/controllers/MemberOrderController.js +12 -12
  5. package/dist/controllers/MemberOrderController.js.map +1 -1
  6. package/dist/controllers/OpenCardController.js +7 -7
  7. package/dist/controllers/OpenCardController.js.map +1 -1
  8. package/dist/controllers/defaultConfig.js.map +1 -1
  9. package/dist/dataProvider/member.js +7 -7
  10. package/dist/dataProvider/member.js.map +1 -1
  11. package/dist/dataProvider/openCard.js.map +1 -1
  12. package/dist/domain/member/AuthProcess.js.map +1 -1
  13. package/dist/domain/member/CardCodeChangedProcessor.js +2 -2
  14. package/dist/domain/member/CardCodeChangedProcessor.js.map +1 -1
  15. package/dist/domain/member/CheckCardCodeAndCodeProcessor.js +2 -2
  16. package/dist/domain/member/CheckCardCodeAndCodeProcessor.js.map +1 -1
  17. package/dist/domain/member/CheckMobilephoneFormatProcessor.js +2 -2
  18. package/dist/domain/member/CheckMobilephoneFormatProcessor.js.map +1 -1
  19. package/dist/domain/member/CheckPresentAmountProcessor.js +2 -2
  20. package/dist/domain/member/CheckPresentAmountProcessor.js.map +1 -1
  21. package/dist/domain/member/EffectiveDateChangedProcessor.js +2 -2
  22. package/dist/domain/member/EffectiveDateChangedProcessor.js.map +1 -1
  23. package/dist/domain/member/GetThisPresentAmountProcessor.js +2 -2
  24. package/dist/domain/member/GetThisPresentAmountProcessor.js.map +1 -1
  25. package/dist/domain/member/InitDataProcessor.js +123 -123
  26. package/dist/domain/member/InitDataProcessor.js.map +1 -1
  27. package/dist/domain/member/IsMemberEffectiveProcessor.js +2 -2
  28. package/dist/domain/member/IsMemberEffectiveProcessor.js.map +1 -1
  29. package/dist/domain/member/IsMemberEnableProcessor.js +2 -2
  30. package/dist/domain/member/IsMemberEnableProcessor.js.map +1 -1
  31. package/dist/domain/member/IsMemberExpirationProcessor.js +2 -2
  32. package/dist/domain/member/IsMemberExpirationProcessor.js.map +1 -1
  33. package/dist/domain/member/IsMemberPasswordSameProcessor.js +2 -2
  34. package/dist/domain/member/IsMemberPasswordSameProcessor.js.map +1 -1
  35. package/dist/domain/member/IsMemberStorageForStoreProcessor.js +3 -3
  36. package/dist/domain/member/IsMemberStorageForStoreProcessor.js.map +1 -1
  37. package/dist/domain/member/MemberTypeChangedProcessor.js +4 -4
  38. package/dist/domain/member/MemberTypeChangedProcessor.js.map +1 -1
  39. package/dist/domain/member/MobilephoneChangedProcessor.js +4 -4
  40. package/dist/domain/member/MobilephoneChangedProcessor.js.map +1 -1
  41. package/dist/domain/member/PersonProcesser.js.map +1 -1
  42. package/dist/domain/member/PriuserdefChangedProcessor.js +2 -2
  43. package/dist/domain/member/PriuserdefChangedProcessor.js.map +1 -1
  44. package/dist/domain/operationLog/AddLogProcessor.js +6 -6
  45. package/dist/domain/operationLog/AddLogProcessor.js.map +1 -1
  46. package/dist/domain/operationLog/OperationConfig.js.map +1 -1
  47. package/dist/domain/operationLog/OperationLog.js.map +1 -1
  48. package/dist/index.js.map +1 -1
  49. package/dist/member/MemberCardList.js +2 -2
  50. package/dist/member/MemberCardList.js.map +1 -1
  51. package/dist/member/MemberPhoto.js.map +1 -1
  52. package/dist/member/MemberShow.js.map +1 -1
  53. package/dist/member/ShopMember.js.map +1 -1
  54. package/dist/member/ShopMember.less +654 -654
  55. package/dist/member/ShopMemberStorage.js.map +1 -1
  56. package/dist/member/api.js.map +1 -1
  57. package/dist/member/color.less +31 -31
  58. package/dist/member/index.js +4 -4
  59. package/dist/member/index.js.map +1 -1
  60. package/dist/member/index.less +578 -578
  61. package/dist/member/memberMenu/bindCard/index.js.map +1 -1
  62. package/dist/member/memberMenu/bindCard/style.less +7 -7
  63. package/dist/member/memberMenu/changeMemberCard/index.js.map +1 -1
  64. package/dist/member/memberMenu/changeMemberCard/style.less +42 -42
  65. package/dist/member/memberMenu/index.js.map +1 -1
  66. package/dist/member/memberMenu/modifyPass/index.js.map +1 -1
  67. package/dist/member/memberMenu/modifyPass/store.js.map +1 -1
  68. package/dist/member/memberMenu/modifyPass/style.less +96 -96
  69. package/dist/member/memberMenu/style.less +136 -136
  70. package/dist/member/memberMenuStorage/bindCard/index.js.map +1 -1
  71. package/dist/member/memberMenuStorage/bindCard/style.less +7 -7
  72. package/dist/member/memberMenuStorage/changeMemberCard/index.js.map +1 -1
  73. package/dist/member/memberMenuStorage/changeMemberCard/style.less +42 -42
  74. package/dist/member/memberMenuStorage/index.js.map +1 -1
  75. package/dist/member/memberMenuStorage/modifyPass/index.js.map +1 -1
  76. package/dist/member/memberMenuStorage/modifyPass/store.js.map +1 -1
  77. package/dist/member/memberMenuStorage/modifyPass/style.less +96 -96
  78. package/dist/member/memberMenuStorage/style.less +138 -138
  79. package/dist/member/memberTab/MemberCardInfo.js.map +1 -1
  80. package/dist/member/memberTab/MemberManager.js.map +1 -1
  81. package/dist/member/memberTab/MemberStorage.js +7 -7
  82. package/dist/member/memberTab/MemberStorage.js.map +1 -1
  83. package/dist/member/memberTab/index.js.map +1 -1
  84. package/dist/member/memberTab.js.map +1 -1
  85. package/dist/socket.js +13 -13
  86. package/dist/socket.js.map +1 -1
  87. package/dist/stores/MemberStore.js.map +1 -1
  88. package/dist/stores/index.js.map +1 -1
  89. package/dist/utils.js.map +1 -1
  90. package/dist/viewController/MemberOrderViewController.js.map +1 -1
  91. package/dist/viewDoMain/CheckMemberProcessorBlock.js +2 -2
  92. package/dist/viewDoMain/CheckMemberProcessorBlock.js.map +1 -1
  93. package/dist/viewDoMain/CheckMemberStorageProcessorBlock.js +2 -2
  94. package/dist/viewDoMain/CheckMemberStorageProcessorBlock.js.map +1 -1
  95. package/dist/viewDoMain/CheckSelectMemberProcessorBlock.js +2 -2
  96. package/dist/viewDoMain/CheckSelectMemberProcessorBlock.js.map +1 -1
  97. package/dist/viewDoMain/CheckUpdatePasswordProcessorBlock.js.map +1 -1
  98. package/dist/viewDoMain/MemberDataChangedProcessorBlock.js +2 -2
  99. package/dist/viewDoMain/MemberDataChangedProcessorBlock.js.map +1 -1
  100. package/dist/viewDoMain/MemberDataPreSaveProcessorBlock.js +2 -2
  101. package/dist/viewDoMain/MemberDataPreSaveProcessorBlock.js.map +1 -1
  102. package/dist/viewDoMain/StorageAmountChangedProcessorBlock.js +2 -2
  103. package/dist/viewDoMain/StorageAmountChangedProcessorBlock.js.map +1 -1
  104. package/dist/viewModels/memberVoucher.js +3 -3
  105. package/dist/viewModels/memberVoucher.js.map +1 -1
  106. package/dist/views/MemberOrderView.js +5 -5
  107. package/dist/views/MemberOrderView.js.map +1 -1
  108. package/dist/views/MemberStore.less +143 -143
  109. package/dist/views/MemberStoreNew.less +228 -228
  110. package/dist/views/MemberStoreNewView.js.map +1 -1
  111. package/dist/views/MemberStoreView.js.map +1 -1
  112. package/dist/views/MemberStoreViewContainer.js.map +1 -1
  113. package/dist/views/PresentDetail.less +118 -118
  114. package/dist/views/PresetDetailView.js.map +1 -1
  115. package/dist/views/memberOrder.less +54 -54
  116. package/locales/zh/tplus-portsetting.json +1 -1
  117. package/locales/zh-CN/tplus-portsetting.json +1 -1
  118. package/package.json +6 -6
@@ -1,655 +1,655 @@
1
- @import "~tplus-components/dist/index.less";
2
- @import './color.less';
3
-
4
- @expiration-img : url("@{url-prefix}/expiration-stamp.png");
5
- @empty-data-img : url("@{url-prefix}/empty.png");
6
-
7
- .memberShopContainer{
8
- .empty-data{
9
- text-align: center;
10
- line-height: 28px;
11
- color: #999;
12
- position: absolute;
13
- top: 50%;
14
- width: 100%;
15
- transform: translateY(-50%);
16
- &.empty-data-img{
17
- background-image: @empty-data-img;
18
- width: 162px;
19
- height: 162px;
20
- left: 50%;
21
- background-repeat: no-repeat;
22
- background-position: center;
23
- background-size: cover;
24
- transform: translate(-50%, -50%);
25
- }
26
-
27
- }
28
- .empty-data-img{
29
- width: 162px;
30
- height: 162px;
31
- background-image: @empty-data-img;
32
- left: 50%;
33
- background-repeat: no-repeat;
34
- background-position: center;
35
- background-size: cover;
36
- transform: translate(-50%, -50%);
37
- position: absolute;
38
- top: 50%;
39
- .tip-text {
40
- position: absolute;
41
- color: #666;
42
- text-align: center;
43
- font-size: 14px;
44
- line-height: 20px;
45
- top: 162px;
46
- width: 162px;
47
- }
48
- }
49
- .storage-empty-data-img {
50
- width: 162px;
51
- height: 162px;
52
- background-size: 100%;
53
- }
54
- ._tplus-animation-ease_{
55
- -webkit-transition: all 0.2s ease-in-out;
56
- -o-transition: all 0.2s ease-in-out;
57
- transition: all 0.2s ease-in-out;
58
- };
59
- display: flex;
60
- flex-direction: column;
61
- height: 100%;
62
- padding-right: 0px !important;
63
- padding-left: 24px !important;
64
- .empty-data-tip{
65
- text-align: center;
66
- color: #999;
67
- width: 100%;
68
- &.empty-data-tip-member-card{
69
- margin-top: -12px;
70
- }
71
- td{
72
- color: #999 !important;
73
- text-align: center !important;
74
- }
75
- }
76
- .search-container{
77
- flex: 0 0 65px;
78
- line-height: 65px;
79
- display: flex;
80
- align-items: center;
81
- .temp {
82
- padding-right: 30px;
83
- .tplus-input-clear {
84
- display: none;
85
- }
86
- }
87
- .search-input{
88
- margin-right: -28px;
89
- width: 270px;
90
- input{
91
- padding-left: 0;
92
- }
93
- }
94
- .primary-btn {
95
- margin-left: 50px;
96
- }
97
- .icon {
98
- position: absolute;
99
- left: 250px;
100
- font-size: 20px;
101
- color : @color-g2;
102
- cursor : pointer;
103
- margin-left: 8px;
104
- margin-right: 8px;
105
- }
106
- }
107
- .member-shop-content{
108
- display: flex;
109
- height:calc(~'100% - 128px');
110
- width: 100%;
111
- .member-card-list-side{
112
- flex: 0 0 320px;
113
- padding: 10px 20px;
114
- height: 100%;
115
- overflow: hidden;
116
- box-sizing: border-box;
117
- position: relative;
118
- .swiper-member-container{
119
- overflow: visible;
120
- height: 100%;
121
- width: 100%;
122
- .swiper-scrollbar{
123
- left: 3px;
124
- right: auto;
125
- }
126
- .member-item-slide{
127
- height: 106px;
128
- background-color: #fff;
129
- border-radius: 6px;
130
- display: flex;
131
- padding: 12px 12px 12px 0px;
132
- cursor: pointer;
133
- box-sizing: border-box;
134
- margin-bottom: 20px;
135
- position: relative;
136
-
137
- &.userLogout-stamp{
138
- font-family: "iconfont" !important;
139
- &:after{
140
- content: '\E69b';
141
- width: 40px;
142
- height: 40px;
143
- position: absolute;
144
- right: 20%;
145
- top: 8%;
146
- font-size: 40px;
147
- color: #f37d7c;
148
- }
149
- }
150
- &.expiration-stamp{
151
- &:after{
152
- content: '';
153
- background: @expiration-img;
154
- background-size: contain;
155
- background-repeat: no-repeat;
156
- width: 40px;
157
- height: 40px;
158
- position: absolute;
159
- right: 20%;
160
- top: 20%;
161
- }
162
- }
163
- ._tplus-animation-ease_;
164
- &.slide-selected{
165
- position: relative;
166
- &:before{
167
- content: '';
168
- width: 0;
169
- height: 0;
170
- position: absolute;
171
- right: -10px;
172
- top: 50%;
173
- margin-top: -5px;
174
- }
175
- }
176
- .memberstate-stamp{
177
- position: absolute;
178
- right: 40px;
179
- top: 12px;
180
- i{
181
- color: #FF595E;
182
- font-size: 45px;
183
- padding-right: 10px;
184
- }
185
- }
186
- .card-avatar{
187
- flex: 0 0 88px;
188
- display: flex;
189
- align-items: center;
190
- justify-content: center;
191
- .avatar-box{
192
- width: 56px;
193
- height: 56px;
194
- position: relative;
195
- img{
196
- width: 100%;
197
- height: 100%;
198
- display: block;
199
- border-radius: 50%;
200
- }
201
- .avatar-bage{
202
- background: #FF595E;
203
- border-radius: 6px;
204
- color: #fff;
205
- font-size: 12px;
206
- position: absolute;
207
- bottom: 0px;
208
- left: 50%;
209
- margin-left: -19px;
210
- text-align: center;
211
- height: 12px;
212
- width: 36px;
213
- &.bage-follow{
214
- background: #C8C8CD;
215
- }
216
- .avatar-bage-scale{
217
- transform: scale(0.7, 0.7) translate(0, -4px);
218
- }
219
- }
220
- }
221
- }
222
- .member-level{
223
- position: absolute;
224
- right: 0px;
225
- top: 0px;
226
- height: 20px;
227
- width: 52px;
228
- border-radius: 6px;
229
- &:before{
230
- content: '';
231
- display: block;
232
- width: 62px;
233
- position: absolute;
234
- top: 0px;
235
- right: 0;
236
- border-radius: 0 6px 0px 0px;
237
- }
238
- &:after{
239
- content: '';
240
- display: block;
241
- width: 62px;
242
- position: absolute;
243
- top: 0px;
244
- right: 0;
245
- border-radius: 0 6px 0px 0px;
246
- }
247
- span {
248
- color: #fff;
249
- position: absolute;
250
- top: 0px;
251
- line-height: 20px;
252
- font-size: 12px;
253
- z-index: 9;
254
- width: 100%;
255
- padding-right: 4px;
256
- overflow: hidden;
257
- height: 100%;
258
- }
259
- }
260
- .member-info-container{
261
- flex: 1;
262
- display: flex;
263
- flex-direction: column;
264
- justify-content: space-evenly;
265
- padding: 6px 0 4px 0;
266
- .member-info-name{
267
- font-size: 16px;
268
- color: #333;
269
- overflow: hidden;
270
- text-overflow: ellipsis;
271
- white-space: nowrap;
272
- width: 180px;
273
- }
274
- .member-phone{
275
- font-size: 12px;
276
- color: #000;
277
- margin-top: -4px;
278
- }
279
- .member-money{
280
- color: #000;
281
- display: flex;
282
- justify-content: space-between;
283
- }
284
- .member-tag{
285
- display: flex;
286
- flex-wrap: nowrap;
287
- overflow: hidden;
288
- span{
289
- flex: none;
290
- background: rgba(255,140,37,0.20);
291
- border-radius: 2px;
292
- font-size: 12px;
293
- color: #FF8C25;
294
- text-align: center;
295
- padding: 0px 5px;
296
- margin-right: 5px;
297
- }
298
- }
299
- }
300
- }
301
- .member-card-slide {
302
- display: flex;
303
- align-items: center;
304
- justify-content: center;
305
- background-image: linear-gradient(236deg, #E7C88F 7%, rgba(255,229,180,0.50) 100%);
306
- box-shadow: 0px 2px 11px 0px rgba(206,205,204,1);
307
- &:before {
308
- border-left-color: #E7C88F;
309
- }
310
- .member-card-num {
311
- position: absolute;
312
- top: 13px;
313
- left: 7px;
314
- max-width: 45%;
315
- font-size: 12px;
316
- color: #865002;
317
- letter-spacing: 0;
318
- line-height: 12px;
319
- font-weight: 500;
320
- overflow: hidden;
321
- text-overflow:ellipsis;
322
- white-space: nowrap;
323
- }
324
- .member-card-name {
325
- position: absolute;
326
- top: 13px;
327
- right: 12px;
328
- max-width: 50%;
329
- font-size: 12px;
330
- color: #865002;
331
- letter-spacing: 0;
332
- text-align: right;
333
- line-height: 12px;
334
- font-weight: 500;
335
- overflow: hidden;
336
- text-overflow:ellipsis;
337
- white-space: nowrap;
338
- }
339
- .member-card-balance {
340
- font-size: 24px;
341
- color: #5B210E;
342
- letter-spacing: 0;
343
- line-height: 12px;
344
- font-weight: 500;
345
- margin-top: 20px;
346
- span {
347
- font-size: 12px;
348
- color: #5B210E;
349
- letter-spacing: 0;
350
- text-align: right;
351
- line-height: 12px;
352
- font-weight: 500;
353
- padding-left: 3px;
354
- }
355
- }
356
- }
357
- }
358
- }
359
- .member-content-tab{
360
- flex: 1;
361
- flex-direction: column;
362
- min-width: 200px;
363
- position: relative;
364
- .menu{
365
- display: flex;
366
- align-items: center;
367
- height: 60px;
368
- }
369
- .line{
370
- height: 4px;
371
- width: 100%;
372
- background-color: #F4F4F4;
373
- }
374
- }
375
- }
376
- .member-footer{
377
- padding: 15px;
378
- text-align: right;
379
- button:first-child{
380
- margin-right: 20px;
381
- }
382
- }
383
- .member-selected-icon{
384
- width: 50px;
385
- height: 50px;
386
- overflow: hidden;
387
- position: absolute;
388
- right: 0px;
389
- border-radius: 6px;
390
- bottom: 0px;
391
- .member-selected-icon-arrow{
392
- right: 27px;
393
- position: relative;
394
- bottom: 0px;
395
- width: 0;
396
- height: 0;
397
- .iconfont{
398
- position: absolute;
399
- right: -48px;
400
- top: -29px;
401
- font-size: 18px;
402
- color: #fff;
403
- zoom: 0.5;
404
- }
405
- }
406
- }
407
- }
408
-
409
- .member-table-container {
410
- flex-grow : 1;
411
- display : flex;
412
- flex-direction: column;
413
- .ant-tabs-nav {
414
- flex-grow : 0;
415
- margin-bottom: 0 !important;
416
- height: 43px;
417
-
418
- .ant-tabs-nav-container {
419
- overflow: initial !important;
420
- }
421
- }
422
-
423
- .ant-tabs-content {
424
- flex-grow: 1;
425
- overflow : hidden;
426
- height: 100%;
427
- .ant-tabs-tabpane {
428
- height: 100%;
429
- }
430
- }
431
-
432
- .member-info-table {
433
- width : 100%;
434
- display : flex;
435
- flex-wrap: wrap;
436
-
437
- div {
438
- width : 50%;
439
- height : 50px;
440
- line-height : 50px;
441
- text-align : center;
442
- border-top : none;
443
- border-bottom: 1px solid #E6E6EB;
444
- box-sizing : border-box;
445
-
446
- span {
447
- width : 40%;
448
- float : left;
449
- color : #333;
450
- text-align : left;
451
- word-break : keep-all;
452
- white-space : nowrap;
453
- overflow : hidden;
454
- text-overflow: ellipsis;
455
-
456
- &:first-child {
457
- text-align: right;
458
- color : #666;
459
- }
460
- }
461
- span:last-child {
462
- width: 60%;
463
- }
464
-
465
- &:nth-child(2n-1) {
466
- border-right: 1px solid #E6E6EB;
467
- }
468
- }
469
- }
470
-
471
- .recommend-tab {
472
- padding : 0px 20px;
473
- display : flex;
474
- flex-direction: column;
475
- position : relative;
476
-
477
- .recommend-info {
478
- border-radius : 4px;
479
- display : flex;
480
- flex-wrap : wrap;
481
- justify-content: space-between;
482
- padding : 5px 30px;
483
- margin : 15px 0px;
484
-
485
- span {
486
- line-height: 32px;
487
- margin : 0 10px;
488
- }
489
- }
490
-
491
- .recommend-connent {
492
- overflow: auto;
493
- position: relative;
494
- }
495
-
496
- .detail-content {
497
- margin-bottom: 10px;
498
-
499
- h1 {
500
- padding-left : 10px;
501
- font-size : 12px;
502
- margin-bottom: 10px;
503
- }
504
- }
505
- }
506
-
507
- .recently-tab {
508
- table {
509
- width: 100%;
510
-
511
- thead {
512
- background : #F4F4F4;
513
- border-bottom: 1px solid #E6E6EB;
514
- height : 50px;
515
- line-height : 50px;
516
- display : table;
517
- table-layout : fixed;
518
- width : 100%;
519
-
520
- th {
521
- text-align : left;
522
- padding-left: 20px;
523
-
524
- &.amount-item {
525
- text-align : right;
526
- padding-right: 20px;
527
- }
528
- }
529
- }
530
-
531
- tbody {
532
- display : block;
533
- overflow-y: auto;
534
- overflow-x: hidden;
535
-
536
- .only-one-data,
537
- .data-border {
538
- border-bottom: 1px solid #E6E6EB !important;
539
- }
540
-
541
- tr {
542
- display : table;
543
- table-layout: fixed;
544
- width : 100%;
545
-
546
- td {
547
- position : relative;
548
- font-size : 14px;
549
- color : #333333;
550
- height : 50px;
551
- line-height : 50px;
552
- border-bottom: 1px solid #E6E6EB;
553
- padding-left : 20px;
554
- overflow : hidden;
555
- text-overflow: ellipsis;
556
- white-space : nowrap;
557
-
558
- &:first-child {
559
- border-bottom: none;
560
- }
561
-
562
- &:last-child {
563
- border-right : 1px solid #E6E6EB;
564
- padding-right: 20px;
565
- text-align : right;
566
- }
567
-
568
- &:nth-child(2) {
569
- border-left: 1px solid #E6E6EB;
570
- }
571
- .tag {
572
- position: absolute;
573
- left: 0;
574
- top: 0;
575
- font-size: 12px;
576
- color: #FFFFFF;
577
- letter-spacing: -0.22px;
578
- text-align: center;
579
- background: #FF595E;
580
- height: 18.6px;
581
- line-height: 18.6px;
582
- padding: 0 14.5px 0 4px;
583
- border-bottom-right-radius: 18.6px;
584
- }
585
- }
586
-
587
- &:last-child {
588
- td {
589
- border-bottom: 1px solid #E6E6EB;
590
- }
591
- }
592
- }
593
- }
594
- }
595
- }
596
- .more-button {
597
- .ant-btn {
598
- border: none;
599
- }
600
- }
601
-
602
- .expiration-stamp {
603
- position: relative;
604
- overflow: hidden;
605
-
606
- &:after {
607
- width : 88px;
608
- height : 88px;
609
- content : '';
610
- background : @expiration-img;
611
- background-size : contain;
612
- background-repeat: no-repeat;
613
- opacity : 0;
614
- position : absolute;
615
- padding : .1em .5em;
616
- margin : 0 auto;
617
- top : 60%;
618
- left : 20%;
619
- text-transform : uppercase;
620
- opacity : 0;
621
- transform-origin : 50% 50%;
622
- transform : rotate(-12deg) scale(5);
623
- z-index : -1;
624
- }
625
- }
626
-
627
- .expiration-animate {
628
- .expiration-stamp:after {
629
- opacity : .45;
630
- transform : rotate(0deg) scale(1);
631
- z-index : 5;
632
- transition: all .3s cubic-bezier(0.6, 0.04, 0.98, 0.335);
633
- }
634
- }
635
- .memberstate-detail-stamp{
636
- position: absolute;
637
- top : 20px;
638
- left : 200px;
639
-
640
- i {
641
- font-size: 90px;
642
- color : fade(#FF595E, 50%);
643
- padding-right: 10px;
644
- }
645
- }
646
-
647
- .more-button {
648
- text-align: center;
649
- }
650
- }
651
- .card-member-card {
652
- .ant-card-head-title {
653
- padding: 12px 0 !important;
654
- }
1
+ @import "~tplus-components/dist/index.less";
2
+ @import './color.less';
3
+
4
+ @expiration-img : url("@{url-prefix}/expiration-stamp.png");
5
+ @empty-data-img : url("@{url-prefix}/empty.png");
6
+
7
+ .memberShopContainer{
8
+ .empty-data{
9
+ text-align: center;
10
+ line-height: 28px;
11
+ color: #999;
12
+ position: absolute;
13
+ top: 50%;
14
+ width: 100%;
15
+ transform: translateY(-50%);
16
+ &.empty-data-img{
17
+ background-image: @empty-data-img;
18
+ width: 162px;
19
+ height: 162px;
20
+ left: 50%;
21
+ background-repeat: no-repeat;
22
+ background-position: center;
23
+ background-size: cover;
24
+ transform: translate(-50%, -50%);
25
+ }
26
+
27
+ }
28
+ .empty-data-img{
29
+ width: 162px;
30
+ height: 162px;
31
+ background-image: @empty-data-img;
32
+ left: 50%;
33
+ background-repeat: no-repeat;
34
+ background-position: center;
35
+ background-size: cover;
36
+ transform: translate(-50%, -50%);
37
+ position: absolute;
38
+ top: 50%;
39
+ .tip-text {
40
+ position: absolute;
41
+ color: #666;
42
+ text-align: center;
43
+ font-size: 14px;
44
+ line-height: 20px;
45
+ top: 162px;
46
+ width: 162px;
47
+ }
48
+ }
49
+ .storage-empty-data-img {
50
+ width: 162px;
51
+ height: 162px;
52
+ background-size: 100%;
53
+ }
54
+ ._tplus-animation-ease_{
55
+ -webkit-transition: all 0.2s ease-in-out;
56
+ -o-transition: all 0.2s ease-in-out;
57
+ transition: all 0.2s ease-in-out;
58
+ };
59
+ display: flex;
60
+ flex-direction: column;
61
+ height: 100%;
62
+ padding-right: 0px !important;
63
+ padding-left: 24px !important;
64
+ .empty-data-tip{
65
+ text-align: center;
66
+ color: #999;
67
+ width: 100%;
68
+ &.empty-data-tip-member-card{
69
+ margin-top: -12px;
70
+ }
71
+ td{
72
+ color: #999 !important;
73
+ text-align: center !important;
74
+ }
75
+ }
76
+ .search-container{
77
+ flex: 0 0 65px;
78
+ line-height: 65px;
79
+ display: flex;
80
+ align-items: center;
81
+ .temp {
82
+ padding-right: 30px;
83
+ .tplus-input-clear {
84
+ display: none;
85
+ }
86
+ }
87
+ .search-input{
88
+ margin-right: -28px;
89
+ width: 270px;
90
+ input{
91
+ padding-left: 0;
92
+ }
93
+ }
94
+ .primary-btn {
95
+ margin-left: 50px;
96
+ }
97
+ .icon {
98
+ position: absolute;
99
+ left: 250px;
100
+ font-size: 20px;
101
+ color : @color-g2;
102
+ cursor : pointer;
103
+ margin-left: 8px;
104
+ margin-right: 8px;
105
+ }
106
+ }
107
+ .member-shop-content{
108
+ display: flex;
109
+ height:calc(~'100% - 128px');
110
+ width: 100%;
111
+ .member-card-list-side{
112
+ flex: 0 0 320px;
113
+ padding: 10px 20px;
114
+ height: 100%;
115
+ overflow: hidden;
116
+ box-sizing: border-box;
117
+ position: relative;
118
+ .swiper-member-container{
119
+ overflow: visible;
120
+ height: 100%;
121
+ width: 100%;
122
+ .swiper-scrollbar{
123
+ left: 3px;
124
+ right: auto;
125
+ }
126
+ .member-item-slide{
127
+ height: 106px;
128
+ background-color: #fff;
129
+ border-radius: 6px;
130
+ display: flex;
131
+ padding: 12px 12px 12px 0px;
132
+ cursor: pointer;
133
+ box-sizing: border-box;
134
+ margin-bottom: 20px;
135
+ position: relative;
136
+
137
+ &.userLogout-stamp{
138
+ font-family: "iconfont" !important;
139
+ &:after{
140
+ content: '\E69b';
141
+ width: 40px;
142
+ height: 40px;
143
+ position: absolute;
144
+ right: 20%;
145
+ top: 8%;
146
+ font-size: 40px;
147
+ color: #f37d7c;
148
+ }
149
+ }
150
+ &.expiration-stamp{
151
+ &:after{
152
+ content: '';
153
+ background: @expiration-img;
154
+ background-size: contain;
155
+ background-repeat: no-repeat;
156
+ width: 40px;
157
+ height: 40px;
158
+ position: absolute;
159
+ right: 20%;
160
+ top: 20%;
161
+ }
162
+ }
163
+ ._tplus-animation-ease_;
164
+ &.slide-selected{
165
+ position: relative;
166
+ &:before{
167
+ content: '';
168
+ width: 0;
169
+ height: 0;
170
+ position: absolute;
171
+ right: -10px;
172
+ top: 50%;
173
+ margin-top: -5px;
174
+ }
175
+ }
176
+ .memberstate-stamp{
177
+ position: absolute;
178
+ right: 40px;
179
+ top: 12px;
180
+ i{
181
+ color: #FF595E;
182
+ font-size: 45px;
183
+ padding-right: 10px;
184
+ }
185
+ }
186
+ .card-avatar{
187
+ flex: 0 0 88px;
188
+ display: flex;
189
+ align-items: center;
190
+ justify-content: center;
191
+ .avatar-box{
192
+ width: 56px;
193
+ height: 56px;
194
+ position: relative;
195
+ img{
196
+ width: 100%;
197
+ height: 100%;
198
+ display: block;
199
+ border-radius: 50%;
200
+ }
201
+ .avatar-bage{
202
+ background: #FF595E;
203
+ border-radius: 6px;
204
+ color: #fff;
205
+ font-size: 12px;
206
+ position: absolute;
207
+ bottom: 0px;
208
+ left: 50%;
209
+ margin-left: -19px;
210
+ text-align: center;
211
+ height: 12px;
212
+ width: 36px;
213
+ &.bage-follow{
214
+ background: #C8C8CD;
215
+ }
216
+ .avatar-bage-scale{
217
+ transform: scale(0.7, 0.7) translate(0, -4px);
218
+ }
219
+ }
220
+ }
221
+ }
222
+ .member-level{
223
+ position: absolute;
224
+ right: 0px;
225
+ top: 0px;
226
+ height: 20px;
227
+ width: 52px;
228
+ border-radius: 6px;
229
+ &:before{
230
+ content: '';
231
+ display: block;
232
+ width: 62px;
233
+ position: absolute;
234
+ top: 0px;
235
+ right: 0;
236
+ border-radius: 0 6px 0px 0px;
237
+ }
238
+ &:after{
239
+ content: '';
240
+ display: block;
241
+ width: 62px;
242
+ position: absolute;
243
+ top: 0px;
244
+ right: 0;
245
+ border-radius: 0 6px 0px 0px;
246
+ }
247
+ span {
248
+ color: #fff;
249
+ position: absolute;
250
+ top: 0px;
251
+ line-height: 20px;
252
+ font-size: 12px;
253
+ z-index: 9;
254
+ width: 100%;
255
+ padding-right: 4px;
256
+ overflow: hidden;
257
+ height: 100%;
258
+ }
259
+ }
260
+ .member-info-container{
261
+ flex: 1;
262
+ display: flex;
263
+ flex-direction: column;
264
+ justify-content: space-evenly;
265
+ padding: 6px 0 4px 0;
266
+ .member-info-name{
267
+ font-size: 16px;
268
+ color: #333;
269
+ overflow: hidden;
270
+ text-overflow: ellipsis;
271
+ white-space: nowrap;
272
+ width: 180px;
273
+ }
274
+ .member-phone{
275
+ font-size: 12px;
276
+ color: #000;
277
+ margin-top: -4px;
278
+ }
279
+ .member-money{
280
+ color: #000;
281
+ display: flex;
282
+ justify-content: space-between;
283
+ }
284
+ .member-tag{
285
+ display: flex;
286
+ flex-wrap: nowrap;
287
+ overflow: hidden;
288
+ span{
289
+ flex: none;
290
+ background: rgba(255,140,37,0.20);
291
+ border-radius: 2px;
292
+ font-size: 12px;
293
+ color: #FF8C25;
294
+ text-align: center;
295
+ padding: 0px 5px;
296
+ margin-right: 5px;
297
+ }
298
+ }
299
+ }
300
+ }
301
+ .member-card-slide {
302
+ display: flex;
303
+ align-items: center;
304
+ justify-content: center;
305
+ background-image: linear-gradient(236deg, #E7C88F 7%, rgba(255,229,180,0.50) 100%);
306
+ box-shadow: 0px 2px 11px 0px rgba(206,205,204,1);
307
+ &:before {
308
+ border-left-color: #E7C88F;
309
+ }
310
+ .member-card-num {
311
+ position: absolute;
312
+ top: 13px;
313
+ left: 7px;
314
+ max-width: 45%;
315
+ font-size: 12px;
316
+ color: #865002;
317
+ letter-spacing: 0;
318
+ line-height: 12px;
319
+ font-weight: 500;
320
+ overflow: hidden;
321
+ text-overflow:ellipsis;
322
+ white-space: nowrap;
323
+ }
324
+ .member-card-name {
325
+ position: absolute;
326
+ top: 13px;
327
+ right: 12px;
328
+ max-width: 50%;
329
+ font-size: 12px;
330
+ color: #865002;
331
+ letter-spacing: 0;
332
+ text-align: right;
333
+ line-height: 12px;
334
+ font-weight: 500;
335
+ overflow: hidden;
336
+ text-overflow:ellipsis;
337
+ white-space: nowrap;
338
+ }
339
+ .member-card-balance {
340
+ font-size: 24px;
341
+ color: #5B210E;
342
+ letter-spacing: 0;
343
+ line-height: 12px;
344
+ font-weight: 500;
345
+ margin-top: 20px;
346
+ span {
347
+ font-size: 12px;
348
+ color: #5B210E;
349
+ letter-spacing: 0;
350
+ text-align: right;
351
+ line-height: 12px;
352
+ font-weight: 500;
353
+ padding-left: 3px;
354
+ }
355
+ }
356
+ }
357
+ }
358
+ }
359
+ .member-content-tab{
360
+ flex: 1;
361
+ flex-direction: column;
362
+ min-width: 200px;
363
+ position: relative;
364
+ .menu{
365
+ display: flex;
366
+ align-items: center;
367
+ height: 60px;
368
+ }
369
+ .line{
370
+ height: 4px;
371
+ width: 100%;
372
+ background-color: #F4F4F4;
373
+ }
374
+ }
375
+ }
376
+ .member-footer{
377
+ padding: 15px;
378
+ text-align: right;
379
+ button:first-child{
380
+ margin-right: 20px;
381
+ }
382
+ }
383
+ .member-selected-icon{
384
+ width: 50px;
385
+ height: 50px;
386
+ overflow: hidden;
387
+ position: absolute;
388
+ right: 0px;
389
+ border-radius: 6px;
390
+ bottom: 0px;
391
+ .member-selected-icon-arrow{
392
+ right: 27px;
393
+ position: relative;
394
+ bottom: 0px;
395
+ width: 0;
396
+ height: 0;
397
+ .iconfont{
398
+ position: absolute;
399
+ right: -48px;
400
+ top: -29px;
401
+ font-size: 18px;
402
+ color: #fff;
403
+ zoom: 0.5;
404
+ }
405
+ }
406
+ }
407
+ }
408
+
409
+ .member-table-container {
410
+ flex-grow : 1;
411
+ display : flex;
412
+ flex-direction: column;
413
+ .ant-tabs-nav {
414
+ flex-grow : 0;
415
+ margin-bottom: 0 !important;
416
+ height: 43px;
417
+
418
+ .ant-tabs-nav-container {
419
+ overflow: initial !important;
420
+ }
421
+ }
422
+
423
+ .ant-tabs-content {
424
+ flex-grow: 1;
425
+ overflow : hidden;
426
+ height: 100%;
427
+ .ant-tabs-tabpane {
428
+ height: 100%;
429
+ }
430
+ }
431
+
432
+ .member-info-table {
433
+ width : 100%;
434
+ display : flex;
435
+ flex-wrap: wrap;
436
+
437
+ div {
438
+ width : 50%;
439
+ height : 50px;
440
+ line-height : 50px;
441
+ text-align : center;
442
+ border-top : none;
443
+ border-bottom: 1px solid #E6E6EB;
444
+ box-sizing : border-box;
445
+
446
+ span {
447
+ width : 40%;
448
+ float : left;
449
+ color : #333;
450
+ text-align : left;
451
+ word-break : keep-all;
452
+ white-space : nowrap;
453
+ overflow : hidden;
454
+ text-overflow: ellipsis;
455
+
456
+ &:first-child {
457
+ text-align: right;
458
+ color : #666;
459
+ }
460
+ }
461
+ span:last-child {
462
+ width: 60%;
463
+ }
464
+
465
+ &:nth-child(2n-1) {
466
+ border-right: 1px solid #E6E6EB;
467
+ }
468
+ }
469
+ }
470
+
471
+ .recommend-tab {
472
+ padding : 0px 20px;
473
+ display : flex;
474
+ flex-direction: column;
475
+ position : relative;
476
+
477
+ .recommend-info {
478
+ border-radius : 4px;
479
+ display : flex;
480
+ flex-wrap : wrap;
481
+ justify-content: space-between;
482
+ padding : 5px 30px;
483
+ margin : 15px 0px;
484
+
485
+ span {
486
+ line-height: 32px;
487
+ margin : 0 10px;
488
+ }
489
+ }
490
+
491
+ .recommend-connent {
492
+ overflow: auto;
493
+ position: relative;
494
+ }
495
+
496
+ .detail-content {
497
+ margin-bottom: 10px;
498
+
499
+ h1 {
500
+ padding-left : 10px;
501
+ font-size : 12px;
502
+ margin-bottom: 10px;
503
+ }
504
+ }
505
+ }
506
+
507
+ .recently-tab {
508
+ table {
509
+ width: 100%;
510
+
511
+ thead {
512
+ background : #F4F4F4;
513
+ border-bottom: 1px solid #E6E6EB;
514
+ height : 50px;
515
+ line-height : 50px;
516
+ display : table;
517
+ table-layout : fixed;
518
+ width : 100%;
519
+
520
+ th {
521
+ text-align : left;
522
+ padding-left: 20px;
523
+
524
+ &.amount-item {
525
+ text-align : right;
526
+ padding-right: 20px;
527
+ }
528
+ }
529
+ }
530
+
531
+ tbody {
532
+ display : block;
533
+ overflow-y: auto;
534
+ overflow-x: hidden;
535
+
536
+ .only-one-data,
537
+ .data-border {
538
+ border-bottom: 1px solid #E6E6EB !important;
539
+ }
540
+
541
+ tr {
542
+ display : table;
543
+ table-layout: fixed;
544
+ width : 100%;
545
+
546
+ td {
547
+ position : relative;
548
+ font-size : 14px;
549
+ color : #333333;
550
+ height : 50px;
551
+ line-height : 50px;
552
+ border-bottom: 1px solid #E6E6EB;
553
+ padding-left : 20px;
554
+ overflow : hidden;
555
+ text-overflow: ellipsis;
556
+ white-space : nowrap;
557
+
558
+ &:first-child {
559
+ border-bottom: none;
560
+ }
561
+
562
+ &:last-child {
563
+ border-right : 1px solid #E6E6EB;
564
+ padding-right: 20px;
565
+ text-align : right;
566
+ }
567
+
568
+ &:nth-child(2) {
569
+ border-left: 1px solid #E6E6EB;
570
+ }
571
+ .tag {
572
+ position: absolute;
573
+ left: 0;
574
+ top: 0;
575
+ font-size: 12px;
576
+ color: #FFFFFF;
577
+ letter-spacing: -0.22px;
578
+ text-align: center;
579
+ background: #FF595E;
580
+ height: 18.6px;
581
+ line-height: 18.6px;
582
+ padding: 0 14.5px 0 4px;
583
+ border-bottom-right-radius: 18.6px;
584
+ }
585
+ }
586
+
587
+ &:last-child {
588
+ td {
589
+ border-bottom: 1px solid #E6E6EB;
590
+ }
591
+ }
592
+ }
593
+ }
594
+ }
595
+ }
596
+ .more-button {
597
+ .ant-btn {
598
+ border: none;
599
+ }
600
+ }
601
+
602
+ .expiration-stamp {
603
+ position: relative;
604
+ overflow: hidden;
605
+
606
+ &:after {
607
+ width : 88px;
608
+ height : 88px;
609
+ content : '';
610
+ background : @expiration-img;
611
+ background-size : contain;
612
+ background-repeat: no-repeat;
613
+ opacity : 0;
614
+ position : absolute;
615
+ padding : .1em .5em;
616
+ margin : 0 auto;
617
+ top : 60%;
618
+ left : 20%;
619
+ text-transform : uppercase;
620
+ opacity : 0;
621
+ transform-origin : 50% 50%;
622
+ transform : rotate(-12deg) scale(5);
623
+ z-index : -1;
624
+ }
625
+ }
626
+
627
+ .expiration-animate {
628
+ .expiration-stamp:after {
629
+ opacity : .45;
630
+ transform : rotate(0deg) scale(1);
631
+ z-index : 5;
632
+ transition: all .3s cubic-bezier(0.6, 0.04, 0.98, 0.335);
633
+ }
634
+ }
635
+ .memberstate-detail-stamp{
636
+ position: absolute;
637
+ top : 20px;
638
+ left : 200px;
639
+
640
+ i {
641
+ font-size: 90px;
642
+ color : fade(#FF595E, 50%);
643
+ padding-right: 10px;
644
+ }
645
+ }
646
+
647
+ .more-button {
648
+ text-align: center;
649
+ }
650
+ }
651
+ .card-member-card {
652
+ .ant-card-head-title {
653
+ padding: 12px 0 !important;
654
+ }
655
655
  }