clientDetail.vue
24.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
<template>
<div class="scrm-sub-client-container">
<div class="header">
<div class="userId">
<span>客户ID:{{ leftPanelInfo.oneId }}</span>
</div>
<button class="backBtn" @click="goBack">返回客户信息管理</button>
</div>
<div class="content">
<div class="leftWrap">
<div class="avator">
<img :src="leftPanelInfo.avatar" alt="" v-if="leftPanelInfo.avatar" />
<img src="@/assets/clientDetail/defaultAvator.png" alt="" v-else />
</div>
<p>
<span>客户名称</span>
<el-tooltip effect="dark" :content="leftPanelInfo.customerName" placement="top">
<span class="ellipsis-1">
<span>
<!-- {{ leftPanelInfo.customerName }} -->
{{ beautySub(leftPanelInfo.customerName) }}
<span style="color:#5850ff">{{ leftPanelInfo.type == 1 ? '@微信' : leftPanelInfo.type == 2 ? '@企微' : '' }}</span>
</span>
</span>
</el-tooltip>
</p>
<p>
<span>联系电话</span>
<span class="ellipsis-1">{{ leftPanelInfo.customerPhone }}</span>
</p>
<p>
<span>微信号</span>
<span class="ellipsis-1">{{ leftPanelInfo.weChatId || '待完善' }}</span>
</p>
<p>
<span>性别</span>
<span class="ellipsis-1">{{ leftPanelInfo.customerSex == 0 ? '未知' : leftPanelInfo.customerSex == 1 ? '男' : leftPanelInfo.customerSex == 2 ? '女' : '' }}</span>
</p>
<p>
<span>企业简称</span>
<span class="ellipsis-1">{{ leftPanelInfo.corpName || '待完善' }}</span>
</p>
<p>
<span>职务</span>
<span class="ellipsis-1">{{ leftPanelInfo.position || '待完善' }}</span>
</p>
<p v-if="leftPanelInfo.type == 2">
<span>类型</span>
<span class="ellipsis-1">{{ leftPanelInfo.type == 1 ? '微信用户' : leftPanelInfo.type == 2 ? '企微用户' : '' }}</span>
</p>
<p v-if="leftPanelInfo.isJoin == 1">
<span>是否加企微</span>
<!-- 1-是,2-否 -->
<span>{{ leftPanelInfo.isJoin == 1 ? '是' : leftPanelInfo.isJoin == 0 ? '否' : '' }}</span>
</p>
<p>
<span>添加时间</span>
<span>{{ leftPanelInfo.addTime }}</span>
</p>
<p>
<span>当前状态</span>
<span>{{ leftPanelInfo.status == -1 ? '删除好友' : leftPanelInfo.status == 0 ? '正常' : '' }}</span>
</p>
<p>
<span>来源</span>
<el-tooltip effect="dark" :content="leftPanelInfo.addWay | toLabel" placement="top">
<span class="ellipsis-1">{{ leftPanelInfo.addWay | toLabel }}</span>
</el-tooltip>
</p>
</div>
<div class="rightWrap">
<p><span>标签信息</span></p>
<div class="tagsWrap">
<!-- <el-tooltip effect="dark" :content="leftPanelInfo.addWay | toLabel" placement="top">
<span class="ellipsis-1">{{ leftPanelInfo.addWay | toLabel }}</span>
</el-tooltip> -->
<span class="tag ellipsis-1" v-for="item in tagsList" :key="item.labelId" :title="item.labelValue">{{ item.labelValue }}</span>
<!-- 添加标签 仅对该客户的跟进员工可见(要有登录信息)1--商户 2--员工-->
<span class="tag addTag" @click="btnClick('create')" v-if="userType == 2">添加</span>
</div>
<p>
<span>车辆信息</span>
<span>{{ vehicleTableData.length || 0 }}辆</span>
</p>
<!--1. 车辆信息表 -->
<!-- :row-style="{ height: 88 + 'px' }" -->
<el-table :data="vehicleTableData" style="width: 100%" :header-cell-style="{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<el-table-column prop="standNo" label="车架号(后6位)" align="center" width="120">
<template slot-scope="scope">
<span>{{ myStandNo(scope.scope) }}</span>
</template>
</el-table-column>
<el-table-column prop="vehicleNo" label="车牌号" align="center"></el-table-column>
<el-table-column prop="vehicleBrand" label="车辆品牌" align="center"></el-table-column>
<el-table-column prop="vehicleTrain" label="车系" align="center">
<template slot-scope="scope">
<el-tooltip :content="scope.row.vehicleTrain" placement="top">
<p class="showOverTooltip">{{ scope.row.vehicleTrain }}</p>
</el-tooltip>
</template>
</el-table-column>
<el-table-column prop="vehicleType" label="车型" align="center">
<template slot-scope="scope">
<el-tooltip :content="scope.row.vehicleType" placement="top">
<p class="showOverTooltip">{{ scope.row.vehicleType }}</p>
</el-tooltip>
</template>
</el-table-column>
<el-table-column prop="vehicleModelYear" label="年款" align="center"></el-table-column>
<el-table-column prop="vehiclePrice" label="购车价格" align="center">
<template slot-scope="scope">
<span>{{scope.row.vehiclePrice || ''}}</span>
</template>
</el-table-column>
<el-table-column prop="buyTime" label="购车时间" align="center"></el-table-column>
<el-table-column prop="insBgnTime" label="保险开始时间" align="center" width="120"></el-table-column>
<el-table-column prop="insEndTime" label="保险到期时间" align="center" width="120"></el-table-column>
<el-table-column prop="maintRecTime" label="最近保养时间" align="center" width="120"></el-table-column>
<!-- 无数据插槽用法 -->
<!-- <div slot="empty" class="emptyBg">
<img src="@/assets/clientDataOverview/nodata.png" alt="">
<div>暂无数据</div>
</div> -->
</el-table>
<p>
<span>跟进员工</span>
<span>{{ employTableList.length || 0 }}人</span>
</p>
<!-- <div></div> -->
<!--2. 员工跟进表 -->
<GLTable :hasNum="false" :tableData="employTableList" :hasPage="false" :tableParams="tableParams" :headerStyle="{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<span slot="addWay" slot-scope="scope">
<span>{{ scope.scope.addWay | toLabel }}</span>
</span>
<span slot="addType" slot-scope="scope">
<span>{{ addTypeToLable(scope.scope.addType) }}</span>
</span>
</GLTable>
<!-- <el-table :data="employTableList" style="width: 100%" :header-cell-style="{ background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<el-table-column prop="staffName" label="跟进员工" align="center"></el-table-column>
<el-table-column prop="departmentName" label="所属部门" align="center"></el-table-column>
<el-table-column prop="addTime" label="添加时间" align="center"></el-table-column>
<el-table-column prop="addWay" label="来源" align="center">
<template slot-scope="scope">
<el-tooltip :content="scope.row.addWay" placement="top">
<p class="showOverTooltip">{{ scope.row.addWay }}</p>
</el-tooltip>
</template>
</el-table-column>
<el-table-column prop="addType" label="添加类型" align="center"></el-table-column>
<el-table-column prop="remarkMobiles" label="备注手机号" align="center"></el-table-column>
<el-table-column prop="remark" label="备注" align="center"></el-table-column>
<el-table-column prop="description" label="描述" align="center"></el-table-column>
</el-table> -->
<p>
<span>所属群聊</span>
<span>{{ clientGroupTableList.length || 0 }}个</span>
</p>
<!-- <div>所属客户群表格,待定</div> -->
<!-- 3.所属客户群/群聊 -->
<el-table :data="clientGroupTableList" style="width: 100%" :header-cell-style="{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<el-table-column label="客户群名称" align="center">
<template slot-scope="scope">
<span>{{ scope.row.groupName || '群聊(默认)' }}</span>
</template>
</el-table-column>
<el-table-column prop="groupHostName" label="群主" align="center"></el-table-column>
<el-table-column prop="membersNumber" label="客户数" align="center"></el-table-column>
<el-table-column prop="groupNickName" label="本群昵称" align="center"></el-table-column>
<el-table-column prop="joinTime" label="入群时间" align="center"></el-table-column>
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<span class="blue-text" @click="goDetail(scope.row.id, scope.row.groupName)">详情</span>
</template>
</el-table-column>
</el-table>
</div>
</div>
<basic-dialog class="tags" :title="tagsDialogTitle" :width="'712px'" :isShowThirdBtn="true" @btnEvent="goNewTag" :isVisible="tagsVisible" @confirmDialog="handleConfirm" @closeDialog="handleClose">
<slot>
<p class="dialogSubTitle">企业标签</p>
<div class="companyRowData" v-for="(item, index) in companyTagsList" :key="index">
<span :title="item.labelGroup.name">{{ item.labelGroup.name }}</span>
<div class="tagsBox">
<span v-for="(i, j) in item.labelList" :key="j" class="ellipsis-1" :class="{ activeTag: i.checked }" :title="i.name" @click="checkNewTag(i.checked, j, item.labelList, i.original)">{{ i.name }}</span>
</div>
</div>
<!-- <p class="dialogSubTitle">自店标签</p>
<div class="ownShopRowData" v-for="(xItem, xIndex) in ownShopTagsList" :key="xIndex">
<span :title="xItem.labelGroup.name">{{ xItem.labelGroup.name }}</span>
<div class="tagsBox">
<span v-for="(m, n) in xItem.labelList" :key="n" class="ellipsis-1" :class="{ activeTag: m.checked }" :title="m.name" @click="checkNewTag(m.checked, n, xItem.labelList, m.original)">{{ m.name }}</span>
</div>
</div> -->
<!-- 这里btn-behind插槽莫名失效了,原因:??? -->
<!-- <el-button slot="behind" @click="goNewTag">没找到需要的标签,创建新标签</el-button> -->
</slot>
</basic-dialog>
</div>
</template>
<script>
import { getAllTagTree, getSingleClientTag, addSingleClientTag, getTableDetail } from '@/api/modules/clientManage'
export default {
name: 'clientDetail',
data() {
return {
leftPanelInfo: {},
labelIdList: [], //存放用户被标记标签的id
tagsList: [
// { labelName: '一般', labelId: 1 },
// { name: '初次沟通', id: 2 }
],
vehicleTableData: [],
//员工跟进
tableParams: {
listName: 'staffFollows',
// tableOption: true,
tableColumns: [
{
label: '跟进员工',
prop: 'staffName'
},
{
label: '所属部门',
prop: 'departmentName'
},
{
label: '添加时间',
prop: 'addTime',
width: 100
},
{
label: '来源',
prop: 'addWay',
addHtml: 'addWay'
},
{
label: '添加类型',
prop: 'addType',
addHtml: 'addType',
width: 170
},
{
label: '备注手机号',
prop: 'remarkMobiles'
},
{
label: '备注',
prop: 'remark'
},
{
label: '描述',
prop: 'description'
}
]
},
employTableList: [],
employTableTotal: 0,
clientGroupTableList: [],
//弹窗数据
tagsDialogTitle: '添加标签',
tagsVisible: false,
companyTagsList: [],
ownShopTagsList: [],
allTagsList: [], //企业自店的所有的加起来
submitTagsList: [],
storeTagList: [],
merchantId: 10001001,
merchantModel: 1, //集团:1,门店:2
userType: 0, //1是商户,2是员工
userid:0 //小龙需要用户id
}
},
created() {
if (window.__POWERED_BY_QIANKUN__) {
//运行在qiankun容器中
console.log('欠款', this.$globalState.session)
this.merchantId = this.$globalState.session.merchantId
this.merchantModel = this.$globalState.session.merchantModel
this.userType = this.$globalState.session.userType
}
this.getPageDetail()
//舍弃调用小龙的获取单用户标签的接口
// this.getSingleClientTag(this.$route.query.id, this.merchantId)
},
methods: {
/* *
用途:js中字符串超长作固定长度加省略号(...)处理
参数说明:
str:需要进行处理的字符串,可含汉字
len:需要显示多少个汉字,两个英文字母相当于一个汉字
*/
myStandNo(row){
if(!row){
return ''
}
return row.standNo.substring(row.standNo.length - 6)
},
beautySub(value) {
if (value && value.length >= 7) {
return value.substring(0, 6) + '...'
} else {
return value
}
},
addTypeToLable(num) {
return num === 0 ? '成员主动添加' : num === 1 ? '客户主动添加' : num === 2 ? '成员共享/管理员分配' : ''
},
goDetail(id, name) {
var newname = name || '群聊(默认)'
this.$router.push({
path: '/clientGroupManage/clientGroupDetail',
query: {
id: id,
groupName: newname
}
})
},
//oneId,merchantId,仅为测试用
getSingleClientTag(oneId = 14120314541863, merchantId = 10001001) {
let param = {
'req.oneId': oneId,
'req.merchantId': merchantId,
'req.edition': this.merchantModel
}
getSingleClientTag(param)
.then(res => {
if (res.code == 0) {
console.log(res, 'kkk')
if (!res.userLabelUnitList) {
return
}
let filterArr = []
res.userLabelUnitList.forEach(item => {
filterArr.push(...item.labelInfoList)
})
this.tagsList = filterArr
this.labelIdList = filterArr.map(item => item.labelId)
// console.log(this.tagsList, '当前被选中的标签')
} else {
this.$message.error(res.message)
}
})
.catch(err => {
console.error(err, '捕获错误')
})
},
async getPageDetail(id = this.$route.query.id) {
const res = await getTableDetail({ oneId: id })
if (!res) {
return false
}
this.userid=res.userid;
this.leftPanelInfo = res.info
this.vehicleTableData = res.vehicleInfoList || []
this.employTableList = res.staffFollows || []
this.clientGroupTableList = res.customerBases || []
this.tagsList = res.labels || []
this.labelIdList = (res.labels || []).map(item => item.labelId)
},
goNewTag() {
this.$router.push({ path: '/tagsManage/index' })
},
goBack() {
this.$router.push({ path: '/clientManage/index' })
},
//点击添加按钮
btnClick(pType, scope) {
console.log(pType, scope)
switch (pType) {
case 'create':
this.tagsDialogTitle = '添加标签'
this.getAllTags()
// this.handleClose();
break
case 'edit':
this.tagsDialogTitle = '编辑标签'
//调编辑的接口
}
},
getAllTags() {
getAllTagTree({ 'labelTreeReq.shopId': this.merchantId, 'labelTreeReq.edition': this.merchantModel })
.then(res => {
if (res.code == 0) {
console.log(res.data.labelTreeRets, '标签树')
let companyArr = res.data.labelTreeRets.filter(item => item.labelType == '企业标签')
companyArr.forEach(item =>
item.labelList.forEach(ele => {
ele.checked = false
ele.original = false
})
)
let ownShopArr = res.data.labelTreeRets.filter(ele => ele.labelType == '自店标签')
ownShopArr.forEach(item =>
item.labelList.forEach(ele => {
ele.checked = false
ele.original = false
})
)
// console.log(companyArr, ownShopArr, '企业标签自店标签')
this.companyTagsList = companyArr
this.ownShopTagsList = ownShopArr
this.allTagsList = [...this.companyTagsList, ...this.ownShopTagsList]
this.allTagsList.forEach(item =>
item.labelList.forEach(ele => {
for (let i = 0; i < this.labelIdList.length; i++) {
if (ele.id == this.labelIdList[i]) {
ele.checked = true
ele.original = true
}
}
})
)
} else {
this.$message.error(res.message)
}
})
.catch(err => {
console.error(err, '捕获错误')
})
this.handleClose()
},
handleConfirm() {
//后台要求循环掉接口
//满足条件进行提交
this.submitTagsList.forEach((item, index) => {
let param = {
'req.OneId': this.$route.query.id,
'req.labelGroupId': item.labelGroup.id,
'req.edition': this.merchantModel,
'req.merchantId': this.merchantId,
'req.staffId':this.userid
// 'req.labelIdList': item.labelList.map(ele => ele.id)
}
var ids = item.labelList.map(ele => ele.id)
param['req.labelIdList'] = ids
console.log(param, '参数')
addSingleClientTag(param)
.then(res => {
if (res.data.code == 0) {
if (index == this.submitTagsList.length - 1) {
this.$message.success('添加成功')
this.handleClose()
// this.getSingleClientTag(this.$route.query.id, this.merchantId)
this.getPageDetail() //刷新当前页面
}
} else {
this.$message.error(res.data.message)
}
})
.catch(err => {
console.error(err, '错误捕获')
})
})
},
handleClose() {
if (this.tagsVisible) {
this.companyTagsList = []
this.ownShopTagsList = []
}
// this.roleForm.tagsList = [] //取消时清空新增标签
this.tagsVisible = !this.tagsVisible
},
checkNewTag(checked, j, arr, original = false) {
//需要后台告知是否后台提供选中标签的标志
if (checked && original) {
return false
}
arr.forEach((item, index) => {
if (index == j) {
item.checked = !item.checked
}
})
let _arr = [] //筛选出只有checked:true的数组(包含了标签组对象和labelList数组)
_arr = this.allTagsList
.map(item => {
return {
...item,
labelList: item.labelList.filter(e => {
if (e.checked && !original) {
return e
}
})
}
})
.filter(ele => {
if (ele.labelList.length) {
return ele
}
})
console.log('选中', _arr)
this.submitTagsList = _arr
}
}
}
</script>
<style lang="scss" scoped>
@import '@/styles/variables.scss';
@import '@/styles/resetelement.scss';
.scrm-sub-client-container {
.header {
display: flex;
justify-content: space-between;
align-items: center;
// width: 1160px;
height: 72px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
.userId {
margin-left: 26px;
height: 20px;
font-size: 20px;
font-weight: 600;
color: #333333;
line-height: 20px;
letter-spacing: 1px;
}
.backBtn {
margin-right: 20px;
height: 32px;
font-size: 14px;
background: $btnBlue;
color: #fff;
border-radius: 4px;
padding: 0 20px;
border: none;
&:hover {
background-color: $lightBtnBlue;
}
}
}
.content {
display: flex;
width: 100%;
margin-top: 20px;
.leftWrap {
width: 240px;
min-height: calc(100vh - 92px);
background-color: #fff;
box-sizing: border-box;
.avator {
margin: 0 auto;
margin-top: 40px;
width: 60px;
height: 60px;
text-align: center;
line-height: 60px;
img {
border-radius: 50%;
width: 100%;
height: 100%;
}
}
p {
padding-left: 20px;
position: relative;
margin-top: 20px;
span:first-child {
display: inline-block;
// height: 20px;
font-size: 14px;
font-weight: 600;
color: #333333;
line-height: 20px;
}
span:nth-child(2) {
position: absolute;
left: 100px;
display: inline-block;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #666666;
line-height: 20px;
max-width: 140px;
}
}
}
.rightWrap {
margin-left: 20px;
width: calc(100% - 260px);
box-sizing: border-box;
background-color: #fff;
padding: 20px;
.showOverTooltip {
display: -webkit-box;
text-overflow: ellipsis;
overflow: hidden;
/*这里是2行*/
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
> p {
height: 20px;
line-height: 20px;
margin-bottom: 10px;
&:not(:first-child) {
margin-top: 40px;
}
span {
vertical-align: middle;
}
span:first-child {
font-size: 18px;
font-weight: 400;
color: #333333;
}
span:nth-child(2) {
margin-left: 6px;
font-size: 14px;
font-weight: 400;
color: $btnBlue;
height: 20px;
line-height: 20px;
}
}
.tagsWrap {
min-height: 74px;
border: 1px solid #e8e8ea;
padding: 20px 10px;
display: flex;
flex-wrap: wrap;
align-content: flex-start;
.tag {
display: inline-block;
margin-top: 22px;
margin-right: 20px;
padding: 0 10px;
box-sizing: border-box;
min-width: 76px;
height: 26px;
line-height: 26px;
border-radius: 4px;
border: 1px solid $borderBlue;
text-align: center;
font-size: 14px;
font-weight: 400;
color: $btnBlue;
// overflow: hidden;
// white-space: nowrap;
// text-overflow: ellipsis;
max-width: 178px;
}
.addTag {
width: 68px;
height: 26px;
color: #fff;
background: $btnBlue;
border-radius: 4px;
&:hover {
cursor: pointer;
}
}
}
}
}
.tags {
/deep/.app-dialog {
.el-dialog__body {
.container {
padding: 20px 72px 20px 68px;
}
}
}
.dialogSubTitle {
margin-bottom: 10px;
height: 20px;
font-size: 14px;
font-weight: 500;
color: #717171;
line-height: 20px;
&:not(:first-child) {
margin-top: 20px;
}
}
.companyRowData,
.ownShopRowData {
display: flex;
// margin-top: 10px;
> span {
margin-right: 10px;
min-width: 82px;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #717171;
line-height: 20px;
text-align: right;
max-width: 82px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-break: break-all;
}
.tagsBox {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
> span {
display: inline-block;
margin-right: 10px;
margin-bottom: 10px;
padding: 0 10px;
box-sizing: border-box;
min-width: 82px;
height: 26px;
line-height: 26px;
border-radius: 4px;
border: 1px solid #e8e8ea;
text-align: center;
font-size: 14px;
font-weight: 400;
color: #666666;
max-width: 245px;
cursor: pointer;
background: #fafbfe;
}
.activeTag {
border: 1px solid $borderBlue;
color: $btnBlue;
}
}
}
}
}
</style>