centaline-data-driven 1.2.21 → 1.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,953 @@
1
+ <template>
2
+ <div>
3
+ <!-- 联系人 -->
4
+ <div class="contacts-head">
5
+ <div class="title-l">联系人信息</div>
6
+ <component class="el-button contacts-but el-button--info el-button--mini max-info"
7
+ v-if="apiRouter!==null && !flagLook" :is="apiRouter.is" :vmodel="apiRouter"
8
+ @click="lookOwner(apiRouter,$event)"></component>
9
+ <div class="contacts-tips" v-else>
10
+ <!-- <button class="el-button el-button--primary el-button--mini max-btn-add">新增联系人</button>
11
+ <button class="el-button el-button--primary el-button--mini max-btn-add">通话记录</button>
12
+ <button class="el-button el-button--primary el-button--mini max-btn-add">查看历史号码</button> -->
13
+ <component class="el-button el-button--primary el-button--mini max-btn-add"
14
+ v-if="model && model.buttons!==null && model.buttons.length>0"
15
+ v-for="(col, index) in model.buttons" :key="index"
16
+ :is="col.is" :vmodel="col"
17
+ @click="fieldClickHandler(col,$event)"></component>
18
+ </div>
19
+ </div>
20
+ <!-- 表格 -->
21
+ <div class="contacts-table" v-show="flagLook">
22
+ <el-table :data="tableData" stripe fit style="width: 100%" :header-cell-style="{background:'#f3f3f3',color:'#333333'}">
23
+ <el-table-column v-for="(item,index) in columnList" :key="index"
24
+ :property="item.prop" :label="item.label" :min-width="item.width" >
25
+ <template slot-scope="scope">
26
+ <span v-if="scope.column.property=='phone'">{{scope.row.phone }}</span>
27
+ <span v-else-if="scope.column.property=='tel'">{{scope.row.tel}}</span>
28
+ <span v-else>
29
+ {{scope.row[scope.column.property]}}
30
+ </span>
31
+ </template>
32
+ </el-table-column>
33
+ </el-table>
34
+ </div>
35
+ </div>
36
+ </template>
37
+
38
+
39
+ <script>
40
+ import dynamicElement from '../../mixins/dynamicElement';
41
+ export default {
42
+ name: 'ct-contactList',
43
+ mixins: [dynamicElement],
44
+ props: {
45
+ vmodel: Object,
46
+ api: String,
47
+ apiParam: Object,
48
+ apiRouter: {
49
+ Object,
50
+ default:{}
51
+ },
52
+ },
53
+ data() {
54
+ return {
55
+ flagLook: false,
56
+ columnList: [
57
+ {
58
+ prop: 'name',
59
+ label: '联系人',
60
+ width: '80'
61
+ },
62
+ {
63
+ prop: 'type',
64
+ label: '类型',
65
+ width: '60'
66
+ },
67
+ {
68
+ prop: 'phone',
69
+ label: '手机',
70
+ width: '125'
71
+ },
72
+ {
73
+ prop: 'tel',
74
+ label: '座机',
75
+ width: '170'
76
+ },
77
+ {
78
+ prop: 'wx',
79
+ label: '微信',
80
+ width: '150'
81
+ },
82
+ {
83
+ prop: 'entTime',
84
+ label: '录入时间',
85
+ width: '150'
86
+ },
87
+ {
88
+ prop: 'entUser',
89
+ label: '录入人',
90
+ width: '80'
91
+ },
92
+ {
93
+ prop: 'remarks',
94
+ label: '操作',
95
+ // width:'180'
96
+ },
97
+ ],
98
+ tableData: [
99
+ {
100
+ name: '王建国先生',
101
+ type: '业主',
102
+ phone: '13866668888',
103
+ tel: '0275-55556666-5896',
104
+ wx: '555566665896',
105
+ entTime: '2021-10-26 29:27:25',
106
+ entUser: '王天',
107
+ remarks: '删除',
108
+ isIcon: true,
109
+ },
110
+ ],
111
+ opening:'first',
112
+ }
113
+ },
114
+ mounted() {
115
+ },
116
+ activated() {
117
+ this.$nextTick(() => {
118
+ this.setDetailHeight();
119
+ })
120
+ },
121
+ methods: {
122
+ load(data) {
123
+ var self = this;
124
+ this.model = data;
125
+ this.model.$vue = self;
126
+ },
127
+ loadFields() {
128
+ var self = this;
129
+ },
130
+ lookOwner(router) {
131
+ var self = this;
132
+ var submitData=router.getActionPara({}).para;
133
+ router.doAction(submitData, (res) => {
134
+ if (res.rtnCode === 200) {
135
+ self.loaderObj.ContactList(res,null,self.load);
136
+ self.flagLook = true;
137
+ }
138
+ });
139
+ },
140
+ setDetailHeight() {
141
+ this.$nextTick(() => {
142
+ if (this.$refs.detail && this.$refs.main) {
143
+ var h1 = this.$common.getParentPane(this).$el.offsetHeight | 0;
144
+ var h2 = this.$refs.detail.offsetTop | 0;
145
+ let detailHeight = h1 - h2;
146
+ this.model.detailHeight = detailHeight < 40 ? 350 : detailHeight;
147
+ }
148
+ });
149
+ },
150
+ fieldClickHandler(field) {
151
+ var self = this;
152
+ var callBack=null;
153
+ let submitData={};
154
+ var router = this.model.buttons.find((v) => {
155
+ return v.id === field.id;
156
+ });
157
+ if(router==undefined && this.model.actionRouter){
158
+ router = this.model.actionRouter.find((v) => {
159
+ return v.id === field.id;
160
+ });
161
+ }
162
+ if(router==undefined && this.model.otherTradeActionRouter){
163
+ if(field.id===this.model.otherTradeActionRouter.id){
164
+ router = this.model.otherTradeActionRouter
165
+ }
166
+ }
167
+ if(router==undefined && this.model.operationRouters){
168
+ router = this.model.operationRouters.find((v) => {
169
+ return v.id === field.id;
170
+ });
171
+ callBack="loadOperation";
172
+ }
173
+
174
+ if(router){
175
+ if(field.isSubmitDataFromSelf){
176
+ router.submitFormField.forEach((v) => {
177
+ submitData[v] = field.list[field.listIndex].code;
178
+ });
179
+ }
180
+ else{
181
+ router.submitFormField.forEach((v) => {
182
+ submitData[v] = self.model.fields1Dic[v].value;
183
+ });
184
+ }
185
+ }
186
+
187
+ if(callBack && callBack=='loadOperation'){
188
+ this.routerClickHandler(router,submitData,self.loadOperation);
189
+ }
190
+ else{
191
+ this.routerClickHandler(router,submitData);
192
+ }
193
+ },
194
+ routerClickHandler(field, submitData,callBack) {
195
+ var self = this;
196
+ // this.model.scripts.$fd = field.id;
197
+ // this.model.scripts.$result = [];
198
+
199
+ var clickAcion = function (field) {
200
+ //若不是客户端方法,则直接访问接口
201
+ if (!field.isClientFuntion) {
202
+ // if (typeof field.onClick !== 'undefined') {
203
+ // verified = self.$common.excute.call(self.model.scripts, field.onClick);
204
+ // }
205
+
206
+ if (field.isOpenForm) {
207
+ var dialogOption = {
208
+ title: field.pageTitle,
209
+ pane: self.$common.getParentPane(self),
210
+ content: [{
211
+ component: 'ct-form',
212
+ attrs: {
213
+ api: field.action,
214
+ apiParam: field.getActionPara(submitData).para,
215
+ showTitle: false,
216
+ width: field.dialogWidth + 'px',
217
+ height: field.dialogHeight + 'px'
218
+ },
219
+ on: {
220
+ submit(ev) {
221
+ self.model.doAction(ev,field);
222
+ if(callBack){
223
+ callBack();
224
+ }
225
+ self.$common.closeDialog(dialogOption.dialog);
226
+ }
227
+ }
228
+ }]
229
+ };
230
+ self.$common.openDialog(dialogOption);
231
+ }
232
+ else if (field.isOpenList) {
233
+ var dialogOption = {
234
+ title: field.pageTitle,
235
+ pane: self.$common.getParentPane(self),
236
+ content: [{
237
+ component: 'ct-searchlist',
238
+ attrs: {
239
+ searchConditionApi: field.actionForSearchLayout,
240
+ searchDataApi: field.actionForSearch,
241
+ apiParam: submitData,
242
+ width: field.dialogWidth + 'px',
243
+ height: field.dialogHeight + 'px'
244
+ },
245
+ on: {
246
+ submit(ev) {
247
+ self.model.updateFields(ev, () => {
248
+ self.$refs.Fields.forEach((fd) => {
249
+ fd.$forceUpdate();
250
+ });
251
+ });
252
+ self.$common.closeDialog(dialogOption.dialog);
253
+ }
254
+ }
255
+ }]
256
+ };
257
+ self.$common.openDialog(dialogOption);
258
+ }
259
+ else if (field.isFormPageInTab || field.isSearchPageInTab) {// 外部框架tab页打开
260
+ submitData = field.getActionPara(submitData).para;
261
+ self.$common.getDataDrivenOpts().handler.openTab(field.action, submitData, field.pageTitle);
262
+ }
263
+ else if (field.isBrowserNewTab) {// 浏览器打开
264
+ submitData = field.getActionPara(submitData).para;
265
+ let query = self.$common.objectToQueryStr(submitData);
266
+ window.open(field.action + query, "_blank");
267
+ }
268
+ else{
269
+ field.doAction(submitData, (data) => {
270
+ self.model.doAction(data,field);
271
+ if(callBack){
272
+ callBack();
273
+ }
274
+ })
275
+ }
276
+ }
277
+ //执行客户端脚本
278
+ else {
279
+ submitData = field.getActionPara(submitData).para;
280
+ let title=field.pageTitle==undefined ?field.label:field.pageTitle;
281
+ submitData.actionType=field.actionType;
282
+ var fun =self.$common.getDataDrivenOpts().handler[field.action];
283
+ fun(submitData,title,self.model);
284
+ }
285
+ }
286
+
287
+ if (field.isSubmit && !self.validExcute()) {
288
+ return;
289
+ }
290
+
291
+ if (field.alert) {
292
+ self.$common.confirm(field.alertMsg, field.alertCaption, {
293
+ confirmButtonText: field.alertOKButtonText,
294
+ cancelButtonText: field.alertCancelButtonText,
295
+ //type: 'warning'
296
+ center: field.alertCenter
297
+ }).then(() => {
298
+ clickAcion(field,submitData);
299
+ }).catch(() => {
300
+ });
301
+ }
302
+ else {
303
+ clickAcion(field,submitData);
304
+ }
305
+ },
306
+ }
307
+ }
308
+ </script>
309
+ <style lang="scss" scoped>
310
+ .details-content{
311
+ font-size: 12px;
312
+ .title-l{
313
+ font-weight: Bold;
314
+ font-size: 16px;
315
+ color: #333333;
316
+ }
317
+ .details-head{
318
+ padding: 16px;
319
+ display: flex;
320
+ .head-type{
321
+ font-size: 20px;
322
+ background: #EE6B6B;
323
+ color: #FFFFFF;
324
+ padding: 0 14px;
325
+ border-radius: 6px;
326
+ max-height: 40px;
327
+ line-height: 40px;
328
+ font-weight: Bold;
329
+
330
+ }
331
+ .head-info{
332
+ margin-left: 10px;
333
+ }
334
+ .title{
335
+ font-weight: Bold;
336
+ font-size: 16px;
337
+ margin-bottom: 3px;
338
+
339
+ }
340
+ .head-line{
341
+ display: inline-block;
342
+ height: 16px;
343
+ width: 2px;
344
+ background: #333333;
345
+ margin: 0 4px;
346
+ position: relative;
347
+ top: 1.5px;
348
+ }
349
+ .collection{
350
+ font-size: 18px;
351
+ margin-left: 10px;
352
+ cursor: pointer;
353
+ vertical-align: -2.85px;
354
+ }
355
+ .title-other {
356
+ color: #999999;
357
+ margin-bottom: 14px;
358
+ font-size: 12px;
359
+ span {
360
+ margin-right: 20px;
361
+ }
362
+ .other-icon {
363
+ font-size: 16px;
364
+ }
365
+ .location{
366
+ font-size: 16px;
367
+ vertical-align: -2.85px;
368
+ }
369
+ }
370
+ .title-tags {
371
+ display: flex;
372
+ .t-tag {
373
+ color: #999999;
374
+ background: #F3F3F3;
375
+ border: 1px solid #d8d8d8;
376
+ padding: 2px 9px;
377
+ border-radius: 3px;
378
+ margin-right: 10px;
379
+ }
380
+ }
381
+ .head-but{
382
+ margin-left: auto;
383
+ font-size: 12px;
384
+ text-align: right;
385
+ .max-report{
386
+ height: 26px;
387
+ color: #333333;
388
+ background-color: #FFFFFF;
389
+ border: 1px solid #E0E0E0;
390
+ border-radius: 6px;
391
+ font-size: 12px;
392
+ }
393
+ .max-report:hover .report-cont{
394
+ display: block;
395
+ color: #333;
396
+ }
397
+ .report-cont{
398
+ display: none;
399
+ width: 115px;
400
+ background: #fff;
401
+ -webkit-box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
402
+ box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
403
+ border-radius: 5px;
404
+ list-style: none;
405
+ position: absolute;
406
+ left: -61px;
407
+ top: 26px;
408
+ padding: 5px 0;
409
+ color: #333;
410
+ }
411
+ .report-cont li{
412
+ padding: 5px 10px;
413
+ }
414
+ }
415
+
416
+
417
+ }
418
+ .details-mid {
419
+ display: flex;
420
+ justify-content: space-between;
421
+ .mid-l {
422
+ flex: 1;
423
+ display: flex;
424
+ flex-direction: column;
425
+
426
+ .hous-info {
427
+ padding-bottom: 10px;
428
+ .base-clolr {
429
+ color: #EE6B6B;
430
+ }
431
+ .expand-f {
432
+ line-height: 15px;
433
+ font-size: 18px;
434
+ font-weight: bold;
435
+ }
436
+ .img-jsq{
437
+ width: 14px;
438
+ height: 14px;
439
+ display: inline-block;
440
+ margin-left: 10px;
441
+ }
442
+ .info-conten {
443
+ display: flex;
444
+ .info-row {
445
+ display: flex;
446
+ }
447
+
448
+ .hous-t {
449
+ width: 260px;
450
+ .swiper-i {
451
+ position: relative;
452
+ width: 100%;
453
+ height: 100%;
454
+ img {
455
+ width: 100%;
456
+ height: 100%;
457
+ }
458
+ .hous-icon {
459
+ width: 60px;
460
+ height: 60px;
461
+ position: absolute;
462
+ top: 50%;
463
+ left: 50%;
464
+ transform: translate(-50%, -50%);
465
+ }
466
+ }
467
+
468
+ .hous-img {
469
+ margin-top: 10px;
470
+ width: 100%;
471
+ overflow-x: hidden;
472
+ overflow-y: hidden;
473
+ white-space: nowrap;
474
+ .img-i {
475
+ position: relative;
476
+ width: 80px;
477
+ height: 44px;
478
+ margin-right: 10px;
479
+ display: inline-block;
480
+ img{
481
+ width: 100%;
482
+ height: 100%;
483
+
484
+ }
485
+ .img-bot {
486
+ width: 100%;
487
+ height: 16px;
488
+ background: rgba(0, 0, 0, 0.5);
489
+ color: #fff;
490
+ position: absolute;
491
+ bottom: 0;
492
+ font-weight: Bold;
493
+ .img-icon {
494
+ width: 12px;
495
+ height: 12px;
496
+ margin: 0 5px;
497
+ margin: 0 5px;
498
+ vertical-align: -1.5px;
499
+ }
500
+ }
501
+ }
502
+ }
503
+ }
504
+ .hous-b {
505
+ position: relative;
506
+ margin-left: 16px;
507
+ margin-top: 20px;
508
+ flex: 1;
509
+ .code-ewm {
510
+ width: 32px;
511
+ height: 32px;
512
+ position: absolute;
513
+ top: -32px;
514
+ right: -12px;
515
+ }
516
+
517
+ .row-i {
518
+ width: 33.3%;
519
+ display: flex;
520
+ }
521
+ .info-mid {
522
+ margin: 35px 0 0 0;
523
+ padding: 20px;
524
+ border-top: 1px solid #e0e0e0;
525
+ border-bottom: 1px solid #e0e0e0;
526
+ display: flex;
527
+ justify-content: space-between;
528
+ .mid-i {
529
+ text-align: center;
530
+ }
531
+ .mid-i div:nth-child(1) {
532
+ margin-bottom: 10px;
533
+ }
534
+ .mid-i div:nth-child(2) {
535
+ font-size: 14px;
536
+ font-weight: bold;
537
+ }
538
+ }
539
+ }
540
+ }
541
+ .info-conten-b{
542
+ display: flex;
543
+ margin-top: 15px;
544
+ .info-row {
545
+ display: flex;
546
+ width: 100%;
547
+ padding-left: 9px;
548
+ }
549
+ .row-i{
550
+ width: 25%;
551
+ }
552
+ .row-i100{
553
+ width: 100%;
554
+ }
555
+ }
556
+ .open-mero{
557
+ text-align: center;
558
+ padding: 3px 0;
559
+ }
560
+ // .mero{
561
+
562
+ // vertical-align: 2px;
563
+ // overflow: hidden;
564
+ // margin-left: 5px;
565
+ // }
566
+ .more-colose{
567
+ background: url('../../../assets/mero-colose.png')no-repeat;
568
+ background-size: 100% 100%;
569
+ width: 18px;
570
+ height: 9px;
571
+ display: inline-block;
572
+ }
573
+ .mero-open{
574
+ background: url('../../../assets/more-open.png')no-repeat;
575
+ background-size: 100% 100%;
576
+ width: 18px;
577
+ height: 9px;
578
+ display: inline-block;
579
+ }
580
+ .hous-mero {
581
+ display: flex;
582
+ .mero-labe {
583
+ min-width: 60px;
584
+ }
585
+ }
586
+ }
587
+
588
+ .contacts-info {
589
+ padding: 16px;
590
+ .contacts-head {
591
+ display: flex;
592
+ align-items: center;
593
+ justify-content: space-between;
594
+
595
+ .contacts-but {
596
+ height: 30px;
597
+ font-weight: Bold;
598
+ }
599
+ .contacts-tips {
600
+ display: flex;
601
+ }
602
+ }
603
+ .contacts-table {
604
+ margin-top: 16px;
605
+ .table-icon {
606
+ font-size: 14px;
607
+ margin-left: 4px;
608
+ }
609
+ .el-table {
610
+ font-size: 12px;
611
+ }
612
+ .el-table th.el-table__cell > .cell {
613
+ padding-left: 16px;
614
+ }
615
+ .el-table .cell {
616
+ padding-left: 16px;
617
+ }
618
+ .el-table--striped
619
+ .el-table__body
620
+ tr.el-table__row--striped
621
+ td.el-table__cell {
622
+ background: 1px solid #E0E0E0;
623
+ }
624
+ }
625
+ }
626
+
627
+ .tablist-info {
628
+ .details-tabs-box{
629
+
630
+ .el-menu--horizontal > .el-menu-item{
631
+ height: 30px;
632
+ line-height: 30px;
633
+ border-radius: none;
634
+ }
635
+ }
636
+ }
637
+
638
+ .contribute-info {
639
+ .contribute-list {
640
+ width: 100%;
641
+ display: flex;
642
+ align-content: flex-start;
643
+ flex-flow: row wrap;
644
+ .contribute-i {
645
+ width: calc((100% - 16px * 3) / 4);
646
+ margin: 16px 16px 0 0;
647
+ padding: 16px 0 16px 16px;
648
+ border: 1px solid #e0e0e0;
649
+ border-radius: 6px;
650
+ display: flex;
651
+ img {
652
+ width: 50px;
653
+ height: 50px;
654
+ margin-right: 6px;
655
+ }
656
+ .user-title {
657
+ font-weight: Bold;
658
+ font-size: 14px;
659
+ margin-bottom: 8px;
660
+ }
661
+ .user-but{
662
+ cursor: pointer;
663
+ font-size: 12px;
664
+ color: #FFFFFF;
665
+ background: #FBD46D;
666
+ height: 20px;
667
+ line-height: 20px;
668
+ border-radius: 3px;
669
+ text-align: center;
670
+ padding: 0 10px;
671
+
672
+ }
673
+
674
+ }
675
+
676
+ .contribute-i:nth-child(4n) {
677
+ margin-right: 0;
678
+ }
679
+ }
680
+ }
681
+ }
682
+ .mid-l > div {
683
+ margin-bottom: 10px;
684
+ padding: 16px;
685
+ }
686
+ .mid-r > div {
687
+ margin-bottom: 10px;
688
+ padding: 16px;
689
+ }
690
+ .mid-r {
691
+ width: 26.666%;
692
+ margin-left: 10px;
693
+
694
+ display: flex;
695
+ flex-direction: column;
696
+ .tab-conten {
697
+ display: flex;
698
+ margin-bottom: 16px;
699
+ img {
700
+ width: 50px;
701
+ height: 50px;
702
+ margin-right: 10px;
703
+ }
704
+ .user-name {
705
+ display: flex;
706
+ }
707
+ .text {
708
+ font-size: 14px;
709
+ font-weight: Bold;
710
+ margin-right: 10px;
711
+ }
712
+ .user-other {
713
+ min-height: 200px;
714
+ }
715
+ .user-but{cursor: pointer;
716
+ font-size: 12px;
717
+ color: #FFFFFF;
718
+ background: #FBD46D;
719
+ height: 20px;
720
+ line-height: 20px;
721
+ border-radius: 3px;
722
+ text-align: center;
723
+ padding: 0 10px;
724
+ }
725
+ }
726
+ .take-info {
727
+ font-size: 16px;
728
+ .red-text {
729
+ font-size: 18px;
730
+ font-weight: bold;
731
+ color: #EE6B6B;
732
+ }
733
+ }
734
+ .staff-info {
735
+ padding-bottom: 10px;
736
+ .open-mero{
737
+ text-align: center;
738
+ padding: 3px 0;
739
+ }
740
+ .more-colose{
741
+ background: url('../../../assets/mero-colose.png')no-repeat;
742
+ background-size: 100% 100%;
743
+ width: 18px;
744
+ height: 9px;
745
+ display: inline-block;
746
+ }
747
+ .mero-open{
748
+ background: url('../../../assets/more-open.png')no-repeat;
749
+ background-size: 100% 100%;
750
+ width: 18px;
751
+ height: 9px;
752
+ display: inline-block;
753
+ }
754
+ .hous-mero {
755
+ display: flex;
756
+ .mero-labe {
757
+ min-width: 60px;
758
+ }
759
+ }
760
+
761
+
762
+ }
763
+ .operation-list {
764
+ display: flex;
765
+ align-items: center;
766
+ justify-content: space-between;
767
+ .list-item {
768
+ width: 33.3%;
769
+ height: 62px;
770
+ font-size: 14px;
771
+ text-align: center;
772
+ font-weight: bold;
773
+ border: none;
774
+ }
775
+ .list-item:hover {
776
+ color: #fff;
777
+ background: #FF9393;
778
+ }
779
+ .list-item:nth-child(2) {
780
+ margin: 0 10px;
781
+ }
782
+ .list-item:nth-child(3) {
783
+ margin-left: 0;
784
+ }
785
+ }
786
+
787
+ .operation-table {
788
+ padding: 0;
789
+ .table-box {
790
+ display: flex;
791
+ // align-items: center;
792
+ border-bottom: 1px solid #e0e0e0;
793
+ .t-item {
794
+ padding: 0 16px;
795
+ font-size: 14px;
796
+ flex: 1;
797
+ position: relative;
798
+ display: flex;
799
+ flex-flow: column;
800
+ align-items: flex-start;
801
+ border-right: 1px solid #e0e0e0;
802
+ .i {
803
+ position: absolute;
804
+ top: 50%;
805
+ // left: 50%;
806
+ transform: translateY(-50%);
807
+ }
808
+ .t-but {
809
+ font-size: 12px;
810
+ margin-left: 0;
811
+ width: 104px;
812
+ // height: 100%;
813
+ // margin: 12px 16px 0 16px;
814
+ margin-top: 12px;
815
+ padding: 0;
816
+ }
817
+ .t-but:nth-last-child(1) {
818
+ margin-bottom: 12px;
819
+ }
820
+ }
821
+ .t-item:nth-last-child(1) {
822
+ border-right: 0;
823
+ }
824
+ }
825
+ .table-box:nth-last-child(1) {
826
+ border-bottom: 0;
827
+ }
828
+ }
829
+
830
+ .customer{
831
+ background: #fff;
832
+ border-radius: 6px;
833
+ width: 100%;
834
+ .customer-title{
835
+ font-weight: Bold;
836
+ font-size: 16px;
837
+ color: #333;
838
+ }
839
+ .customre-line{
840
+ width: 100%;
841
+ height: 1px;
842
+ margin-top: 10px;
843
+ background: #E0E0E0;
844
+ }
845
+ .match-customre{
846
+ display: flex;
847
+ margin-top: 10px;
848
+ .customre-name{
849
+ font-weight: Bold;
850
+ font-size: 14px;
851
+ color: #333333;margin-right: 10px;
852
+ }
853
+ .t-tag{
854
+ width: 41px;
855
+ color: #999;
856
+ background: #f3f3f3;
857
+ border: 1px solid #d8d8d8;
858
+ padding: 2px 9px;
859
+ border-radius: 3px;
860
+ margin-right: 10px;
861
+ }
862
+
863
+ }
864
+ .user-but{
865
+ cursor: pointer;
866
+ font-size: 12px;
867
+ color: #FFFFFF;
868
+ background: #FBD46D;
869
+ height: 20px;
870
+ line-height: 20px;
871
+ border-radius: 3px;
872
+ text-align: center;
873
+ padding: 0 10px;
874
+
875
+ }
876
+ .customr-name{
877
+ position: absolute;
878
+ right: 0;
879
+ }
880
+ .clearfix{
881
+ clear: both;
882
+ }
883
+ .customre-l{
884
+ float: left;
885
+ width: 50%;
886
+ margin-top: 10px;
887
+ .row-i{
888
+ padding: 5px 0;
889
+ }
890
+
891
+ }
892
+
893
+ .customre-r{
894
+ float: right;
895
+ width: 50%;
896
+ margin-top: 10px;
897
+ .row-i{
898
+ padding: 5px 0;
899
+ }
900
+ }
901
+ }
902
+ }
903
+ }
904
+ }
905
+ // 按钮
906
+ .max-info{
907
+ height: 26px;
908
+ color: #333333;
909
+ background-color: #FFFFFF;
910
+ border: 1px solid #E0E0E0;
911
+ border-radius: 6px;
912
+ font-size: 12px;
913
+ }
914
+ .max-default{
915
+ border: 1px solid #EE6B6B;
916
+ color: #EE6B6B;
917
+ height: 26px;
918
+
919
+ border-radius: 6px;
920
+ font-size: 12px;
921
+ }
922
+ .max-info:hover,.max-default:hover{
923
+ background-color:#FF9393;
924
+ border-color: #FF9393;
925
+ color: #fff;
926
+ }
927
+ .max-info:active,.max-default:active{
928
+ background-color: #B33136;
929
+ border-color: #B33136;
930
+ color: #fff;
931
+ }
932
+ .max-btn-add button{ /*list-button*/
933
+ height: 26px;
934
+ background: #EE6B6B;
935
+ box-shadow: 0px 2px 4px 0px rgba(238,107,107,0.25);
936
+ border-radius: 6px;
937
+ }
938
+ .max-btn-add button:hover{
939
+ background-color:#FF9393;
940
+ border-color: #FF9393;
941
+ }
942
+ .max-btn-add button:focus,.max-btn-add button:active{
943
+ background-color: #B33136;
944
+ border-color: #B33136;
945
+ }
946
+ .max-comfirm-content button{
947
+ height: 26px;
948
+ border-radius: 6px;
949
+ }
950
+ .r{
951
+ float: right;
952
+ }
953
+ </style>