centaline-data-driven 1.2.21 → 1.2.22

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