zydx-plus 1.35.532 → 1.35.533
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.
- package/package.json +1 -1
- package/src/components/calendar/src/Calendar.vue +2 -2
- package/src/components/chat/src/chat.vue +46 -53
- package/src/components/editor/src/editor.vue +1 -1
- package/src/components/editor2/src/editor.vue +1 -1
- package/src/components/flip/icon.css +484 -24
- package/src/components/treeList/src/treeList.vue +28 -2
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
<div class="ClearBoth"></div>
|
|
52
52
|
</div>
|
|
53
53
|
<div class="cle-but-cont">
|
|
54
|
-
<div class="cle-but-left"
|
|
55
|
-
<div class="cle-time">
|
|
54
|
+
<div class="cle-but-left">
|
|
55
|
+
<div v-if="showDate" class="cle-time">
|
|
56
56
|
<form>
|
|
57
57
|
<input type="text" autocomplete="new-pwd" v-model="cleDate" @focus="cleFocus" @blur="cleBlur" />
|
|
58
58
|
</form>
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<teleport to="body">
|
|
3
|
-
<drag-popup
|
|
3
|
+
<drag-popup
|
|
4
|
+
v-if='modelValue'
|
|
5
|
+
ref="dragPopup"
|
|
6
|
+
:title="title"
|
|
7
|
+
:width="960"
|
|
8
|
+
:height="400"
|
|
9
|
+
:minWidth="300"
|
|
10
|
+
:minHeight="400"
|
|
11
|
+
:minimizeCir='!isHideMini'
|
|
12
|
+
@close="aiClose">
|
|
4
13
|
<template v-slot:content>
|
|
5
|
-
<div class="chat-input">
|
|
14
|
+
<div v-if="!isHideInput" class="chat-input">
|
|
6
15
|
<div class="chat-text">
|
|
7
16
|
<textarea :disabled="disabled" @keydown="handleKeydown" @input="autoResize" v-model="userText" placeholder="问AI试试..."></textarea>
|
|
8
17
|
</div>
|
|
@@ -18,21 +27,21 @@
|
|
|
18
27
|
<span class="theme-text">语音输入</span>
|
|
19
28
|
</div>
|
|
20
29
|
<div class="line"></div>
|
|
21
|
-
<div @click="send">
|
|
30
|
+
<div @click="send('')">
|
|
22
31
|
<i class="theme-text iconfont zydx-a-sousuoAizhushou" :class="{'disabled': disabled}"></i>
|
|
23
32
|
<button :disabled="disabled" :class="{'disabled': disabled, 'theme-text': true}">搜索</button>
|
|
24
33
|
</div>
|
|
25
34
|
</div>
|
|
26
35
|
</div>
|
|
27
36
|
</div>
|
|
28
|
-
<div class="chat-in" ref="content">
|
|
37
|
+
<div :class="{'chat-in': true, 'chat-in-height': isHideInput}" ref="content">
|
|
29
38
|
<div class="AI-tips-line">
|
|
30
39
|
<div class="tips">
|
|
31
40
|
<span>AI回答</span>
|
|
32
41
|
<span>(以下内容为AI生成,请注意辨别信息真伪)</span>
|
|
33
42
|
</div>
|
|
34
43
|
<div class="operate" v-if="currentMessage">
|
|
35
|
-
<div @click="send" :class="{'disabled': disabled}">
|
|
44
|
+
<div @click="send('')" :class="{'disabled': disabled}">
|
|
36
45
|
<i class="theme-text iconfont zydx-a-zhongzhiAi"></i>
|
|
37
46
|
<span class="theme-text">重新生成</span>
|
|
38
47
|
</div>
|
|
@@ -44,13 +53,6 @@
|
|
|
44
53
|
</div>
|
|
45
54
|
</div>
|
|
46
55
|
<div class="chat-in-cont" ref="contentLi">
|
|
47
|
-
<!-- <div class="chat-in-li" :class="{'left': item.role === 'assistant', 'right': item.role === 'user'}" v-for="(item,index) in messages"> -->
|
|
48
|
-
<!-- <template v-if="item.role === 'assistant'">
|
|
49
|
-
<div class="ai-avatar" v-if="item.role === 'assistant'">
|
|
50
|
-
<img src="./ai.png" alt="" />
|
|
51
|
-
</div>
|
|
52
|
-
<div class="text-cont">{{ item.content }}</div>
|
|
53
|
-
</template> -->
|
|
54
56
|
<div class="chat-in-li left">
|
|
55
57
|
<div class="text-cont">{{currentMessage}}</div>
|
|
56
58
|
</div>
|
|
@@ -107,11 +109,23 @@ export default {
|
|
|
107
109
|
vol: 0,
|
|
108
110
|
base64: '',
|
|
109
111
|
voiceLoading: false,
|
|
110
|
-
isSearched: false
|
|
112
|
+
isSearched: false
|
|
111
113
|
}
|
|
112
114
|
},
|
|
113
115
|
props: {
|
|
114
|
-
|
|
116
|
+
title: {
|
|
117
|
+
type: String,
|
|
118
|
+
default: 'AI助手'
|
|
119
|
+
},
|
|
120
|
+
modelValue: {
|
|
121
|
+
type: Boolean,
|
|
122
|
+
default: false
|
|
123
|
+
},
|
|
124
|
+
isHideInput: {
|
|
125
|
+
type: Boolean,
|
|
126
|
+
default: false
|
|
127
|
+
},
|
|
128
|
+
isHideMini: {
|
|
115
129
|
type: Boolean,
|
|
116
130
|
default: false
|
|
117
131
|
}
|
|
@@ -161,7 +175,7 @@ export default {
|
|
|
161
175
|
sessionStorage.setItem('messages', JSON.stringify(e)) // 保存聊天记录
|
|
162
176
|
},
|
|
163
177
|
deep: true
|
|
164
|
-
}
|
|
178
|
+
}
|
|
165
179
|
},
|
|
166
180
|
methods: {
|
|
167
181
|
autoResize(e) {
|
|
@@ -180,6 +194,7 @@ export default {
|
|
|
180
194
|
el.select();
|
|
181
195
|
document.execCommand("copy");
|
|
182
196
|
document.body.removeChild(el);
|
|
197
|
+
Message({type: 'text', cancelShow: false, promptContent: '复制成功'})
|
|
183
198
|
},
|
|
184
199
|
speak() {
|
|
185
200
|
if(this.disabled) return
|
|
@@ -277,52 +292,31 @@ export default {
|
|
|
277
292
|
this.send()
|
|
278
293
|
}
|
|
279
294
|
},
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
295
|
+
toggleAI(str) {
|
|
296
|
+
this.$emit('update:modelValue', !this.modelValue)
|
|
297
|
+
if (!this.modelValue) {
|
|
298
|
+
this.send(str)
|
|
299
|
+
}
|
|
285
300
|
},
|
|
286
301
|
// 发送消息
|
|
287
|
-
send() {
|
|
302
|
+
send(str) {
|
|
288
303
|
const _this = this
|
|
289
304
|
// 去掉换行和空格
|
|
290
|
-
|
|
305
|
+
this.userText = str || this.userText
|
|
306
|
+
let text = this.userText.replace(/[\r\n]/g, '').replace(/\s*/g, '')
|
|
291
307
|
if(!text) return
|
|
292
|
-
// _this.messages.push({
|
|
293
|
-
// role: 'user',
|
|
294
|
-
// content: text
|
|
295
|
-
// })
|
|
296
308
|
_this.disabled = true
|
|
297
309
|
_this.isSearched = true
|
|
298
|
-
// _this.messages.push({
|
|
299
|
-
// role: 'assistant',
|
|
300
|
-
// content: '努力思考中...'
|
|
301
|
-
// })
|
|
302
310
|
this.currentMessage = '努力思考中...'
|
|
303
|
-
_this.scrollToBottom()
|
|
304
|
-
// let mess = JSON.parse(JSON.stringify(_this.messages)) // 拷贝一份记录
|
|
305
|
-
// mess.pop()
|
|
306
311
|
axios.post(`/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions?access_token=${_this.token}`,{
|
|
307
312
|
messages: [{ role: "user", content: text }]
|
|
308
313
|
}).then(function(data){
|
|
309
|
-
// _this.messages.pop()
|
|
310
314
|
if(data.data.error_code){
|
|
311
|
-
// _this.messages.push({
|
|
312
|
-
// role: 'assistant',
|
|
313
|
-
// content: '这个问题太难了!'
|
|
314
|
-
// })
|
|
315
315
|
_this.disabled = false
|
|
316
|
-
// _this.scrollToBottom()
|
|
317
316
|
_this.currentMessage = '这个问题太难了!'
|
|
318
317
|
return
|
|
319
318
|
}
|
|
320
319
|
_this.currentMessage = data.data.result
|
|
321
|
-
// _this.messages.push({
|
|
322
|
-
// role: 'assistant',
|
|
323
|
-
// content: data.data.result
|
|
324
|
-
// })
|
|
325
|
-
// _this.scrollToBottom()
|
|
326
320
|
_this.disabled = false
|
|
327
321
|
}).catch(function(err){
|
|
328
322
|
_this.disabled = false
|
|
@@ -332,7 +326,6 @@ export default {
|
|
|
332
326
|
// 初始化
|
|
333
327
|
async init() {
|
|
334
328
|
this.messages = JSON.parse(sessionStorage.getItem('messages')) || []
|
|
335
|
-
this.scrollToBottom()
|
|
336
329
|
// 初始化录音
|
|
337
330
|
this.recorder = new Recorder({
|
|
338
331
|
sampleBits: 16, // 采样位数,支持 8 或 16,默认是16
|
|
@@ -359,11 +352,11 @@ export default {
|
|
|
359
352
|
.catch(function(err){
|
|
360
353
|
console.log(err)
|
|
361
354
|
});
|
|
362
|
-
// return await getBaiduToken({type: v})
|
|
363
355
|
},
|
|
364
356
|
// 关闭
|
|
365
357
|
aiClose() {
|
|
366
|
-
this.$emit('update:
|
|
358
|
+
this.$emit('update:modelValue', false)
|
|
359
|
+
this.$emit('cancel')
|
|
367
360
|
}
|
|
368
361
|
}
|
|
369
362
|
}
|
|
@@ -410,16 +403,14 @@ export default {
|
|
|
410
403
|
|
|
411
404
|
.chat-in {
|
|
412
405
|
height: calc(65% - 10px);
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
margin: 5px;
|
|
417
|
-
border-radius: 5px;
|
|
418
|
-
border: 1px solid #CCC; */
|
|
406
|
+
}
|
|
407
|
+
.chat-in-height{
|
|
408
|
+
height: calc(100% - 5px);
|
|
419
409
|
}
|
|
420
410
|
.AI-tips-line{
|
|
421
411
|
overflow: hidden;
|
|
422
412
|
padding: 0 5px;
|
|
413
|
+
margin: 5px 0;
|
|
423
414
|
}
|
|
424
415
|
.AI-tips-line .tips{
|
|
425
416
|
float: left;
|
|
@@ -468,6 +459,7 @@ export default {
|
|
|
468
459
|
overflow-y: auto;
|
|
469
460
|
transition: all 0.5s;
|
|
470
461
|
margin: 5px;
|
|
462
|
+
margin-top: 0;
|
|
471
463
|
border-radius: 5px;
|
|
472
464
|
border: 1px solid #CCC;
|
|
473
465
|
}
|
|
@@ -479,6 +471,7 @@ export default {
|
|
|
479
471
|
|
|
480
472
|
.chat-input {
|
|
481
473
|
margin: 5px;
|
|
474
|
+
margin-bottom: 0;
|
|
482
475
|
padding: 10px 10px 3px;
|
|
483
476
|
min-height: 121px;
|
|
484
477
|
height: 35%;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
</div>
|
|
73
73
|
</div>-->
|
|
74
74
|
</div>
|
|
75
|
-
<zydx-chat
|
|
75
|
+
<zydx-chat v-model='isShowAi'></zydx-chat>
|
|
76
76
|
<div :class="{'editor-content-show': !editableShow}" class="editor-content">
|
|
77
77
|
<div class="editing">
|
|
78
78
|
<div v-if="signMenuShow" class="editing-header">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<button v-if='isShowAiTool' class="buts" @click="showAi">AI助手</button>
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
25
|
-
<zydx-chat
|
|
25
|
+
<zydx-chat v-model='isShowAi'></zydx-chat>
|
|
26
26
|
<div class="ed-cont" :style="heightStyleCont">
|
|
27
27
|
<div :style="{'border': (borderShow)? '1px solid #ccc': '0'}" v-if="editorShow">
|
|
28
28
|
<editor-content @paste.native.capture.prevent="preventPaste" ref="editorRef" class="editor" :editor="editor"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
|
-
font-family:
|
|
3
|
-
src: url('//at.alicdn.com/t/c/
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
font-family: "iconfont"; /* Project id 3896356 */
|
|
3
|
+
src: url('//at.alicdn.com/t/c/font_3896356_iarn002vxth.woff2?t=1748394521213') format('woff2'),
|
|
4
|
+
url('//at.alicdn.com/t/c/font_3896356_iarn002vxth.woff?t=1748394521213') format('woff'),
|
|
5
|
+
url('//at.alicdn.com/t/c/font_3896356_iarn002vxth.ttf?t=1748394521213') format('truetype');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.iconfont {
|
|
@@ -13,6 +13,486 @@ src: url('//at.alicdn.com/t/c/font_3896356_mm8rbymatj.woff2?t=1736217426971') fo
|
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.zydx-fabu:before {
|
|
17
|
+
content: "\e73d";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.zydx-xuanshexiangtou:before {
|
|
21
|
+
content: "\e73b";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.zydx-a-xuanfenbianshuai2:before {
|
|
25
|
+
content: "\e73c";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.zydx-a-fenzu12:before {
|
|
29
|
+
content: "\e73a";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.zydx-a-lujing17:before {
|
|
33
|
+
content: "\e738";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.zydx-yuanxingqingchu:before {
|
|
37
|
+
content: "\e737";
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.zydx-ai-edit:before {
|
|
41
|
+
content: "\e733";
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.zydx-ai-search:before {
|
|
45
|
+
content: "\e734";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.zydx-ai-flashlight:before {
|
|
49
|
+
content: "\e735";
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.zydx-ai-aides:before {
|
|
53
|
+
content: "\e736";
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.zydx-a-huaban11:before {
|
|
57
|
+
content: "\e732";
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.zydx-zhankai:before {
|
|
61
|
+
content: "\e731";
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.zydx-shouqi:before {
|
|
65
|
+
content: "\e730";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.zydx-xiangshangshouqi:before {
|
|
69
|
+
content: "\e72e";
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.zydx-xiangxiashouqi:before {
|
|
73
|
+
content: "\e72f";
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.zydx-wodefazhan:before {
|
|
77
|
+
content: "\e72a";
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.zydx-zhanghuanquan:before {
|
|
81
|
+
content: "\e72b";
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.zydx-keyangongzuo:before {
|
|
85
|
+
content: "\e72c";
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.zydx-wodexuexi1:before {
|
|
89
|
+
content: "\e725";
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.zydx-qingchu1:before {
|
|
93
|
+
content: "\e726";
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.zydx-ziyuanguangchang:before {
|
|
97
|
+
content: "\e727";
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.zydx-wodeshufang1:before {
|
|
101
|
+
content: "\e729";
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.zydx-jushou3:before {
|
|
105
|
+
content: "\e724";
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.zydx-wodexinxi1:before {
|
|
109
|
+
content: "\e71c";
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.zydx-wodeshufang:before {
|
|
113
|
+
content: "\e71d";
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.zydx-wodexuexi:before {
|
|
117
|
+
content: "\e71f";
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.zydx-chengcaiguihua:before {
|
|
121
|
+
content: "\e721";
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.zydx-keyuhuodong:before {
|
|
125
|
+
content: "\e722";
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.zydx-jiaoshizhidao:before {
|
|
129
|
+
content: "\e723";
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.zydx-enshitongxue:before {
|
|
133
|
+
content: "\e71b";
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.zydx-xuqiuxiaoxi:before {
|
|
137
|
+
content: "\e719";
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.zydx-xitongtongzhi:before {
|
|
141
|
+
content: "\e71a";
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.zydx-zhidaogongzuo:before {
|
|
145
|
+
content: "\e718";
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.zydx-yuanxijiaoshi:before {
|
|
149
|
+
content: "\e713";
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.zydx-xuexiaolingdao:before {
|
|
153
|
+
content: "\e714";
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.zydx-xueyuanlingdao:before {
|
|
157
|
+
content: "\e715";
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.zydx-fudaoyuan:before {
|
|
161
|
+
content: "\e716";
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.zydx-renkejiaoshi:before {
|
|
165
|
+
content: "\e717";
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.zydx-wodexuesheng:before {
|
|
169
|
+
content: "\e712";
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.zydx-chuangxingongzuo:before {
|
|
173
|
+
content: "\e70f";
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.zydx-jiaoyangongzuo:before {
|
|
177
|
+
content: "\e710";
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.zydx-wodexinxi:before {
|
|
181
|
+
content: "\e711";
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.zydx-wodelvli:before {
|
|
185
|
+
content: "\e709";
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.zydx-jinglisikao:before {
|
|
189
|
+
content: "\e70a";
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.zydx-a-gongzuozongjie2:before {
|
|
193
|
+
content: "\e70b";
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.zydx-wodechengguo:before {
|
|
197
|
+
content: "\e70d";
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.zydx-chengchangjilu:before {
|
|
201
|
+
content: "\e70e";
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.zydx-zhanghaomima:before {
|
|
205
|
+
content: "\e705";
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.zydx-denglujilu:before {
|
|
209
|
+
content: "\e706";
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.zydx-jibenxinxi:before {
|
|
213
|
+
content: "\e707";
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.zydx-gerenjianjie-01:before {
|
|
217
|
+
content: "\e708";
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.zydx-jiangzhuangxuanzhong:before {
|
|
221
|
+
content: "\e704";
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.zydx-qiandao:before {
|
|
225
|
+
content: "\e701";
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.zydx-banjiguanli:before {
|
|
229
|
+
content: "\e702";
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.zydx-xiazai:before {
|
|
233
|
+
content: "\e700";
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.zydx-jiludanzilishijilu:before {
|
|
237
|
+
content: "\e6fb";
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.zydx-tiwen:before {
|
|
241
|
+
content: "\e6fc";
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.zydx-ceshi:before {
|
|
245
|
+
content: "\e6fd";
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.zydx-baiban:before {
|
|
249
|
+
content: "\e6fe";
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.zydx-dayifuwu:before {
|
|
253
|
+
content: "\e6ff";
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.zydx-mulu1:before {
|
|
257
|
+
content: "\e6fa";
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.zydx-mulu:before {
|
|
261
|
+
content: "\e7f6";
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.zydx-sanjiaoxing_shang:before {
|
|
265
|
+
content: "\e6f9";
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.zydx-fanzhuanshexiangtou:before {
|
|
269
|
+
content: "\e6f8";
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.zydx-yuanjiaoyou:before {
|
|
273
|
+
content: "\e6f7";
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.zydx-a-zhongzhiAi:before {
|
|
277
|
+
content: "\e6f6";
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.zydx-a-fuzhiAI:before {
|
|
281
|
+
content: "\e6f4";
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.zydx-a-yuyinshuruAi:before {
|
|
285
|
+
content: "\e6f5";
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.zydx-a-sousuoAizhushou:before {
|
|
289
|
+
content: "\e6f2";
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.zydx-a-qingchuAizhushou:before {
|
|
293
|
+
content: "\e6f3";
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.zydx-a-huaban21:before {
|
|
297
|
+
content: "\e6f0";
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.zydx-a-huaban2:before {
|
|
301
|
+
content: "\e6f1";
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.zydx-lianjie:before {
|
|
305
|
+
content: "\e6ef";
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.zydx-anjian_enquire:before {
|
|
309
|
+
content: "\e6ee";
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.zydx-a-zu2117:before {
|
|
313
|
+
content: "\e6ed";
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.zydx-a-zu2099:before {
|
|
317
|
+
content: "\e6ec";
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.zydx-xiangmu:before {
|
|
321
|
+
content: "\e6eb";
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.zydx-huimiantan:before {
|
|
325
|
+
content: "\e87f";
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.zydx-shiyan:before {
|
|
329
|
+
content: "\e6ea";
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.zydx-wendangjiazi_document-folder:before {
|
|
333
|
+
content: "\e6e4";
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.zydx-a-zu2007:before {
|
|
337
|
+
content: "\e6e5";
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.zydx-a-lujing121:before {
|
|
341
|
+
content: "\e6e6";
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.zydx-a-fenzu11:before {
|
|
345
|
+
content: "\e6e7";
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.zydx-jiqixuexi:before {
|
|
349
|
+
content: "\e6e8";
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.zydx-jurassic_apply:before {
|
|
353
|
+
content: "\e6e9";
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.zydx-24:before {
|
|
357
|
+
content: "\e6cc";
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.zydx-headbrainstorm:before {
|
|
361
|
+
content: "\e6cd";
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.zydx-zan:before {
|
|
365
|
+
content: "\e6ce";
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.zydx-IMliaotian-duihua:before {
|
|
369
|
+
content: "\e728";
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.zydx-sanjiaochi:before {
|
|
373
|
+
content: "\e827";
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.zydx-shujufenxi:before {
|
|
377
|
+
content: "\f09e";
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.zydx-bijibenhebi_notebook-and-pen:before {
|
|
381
|
+
content: "\e6d0";
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.zydx-a-zu2065:before {
|
|
385
|
+
content: "\e6d1";
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.zydx-a-zu2070:before {
|
|
389
|
+
content: "\e6d2";
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.zydx-a-zu2086:before {
|
|
393
|
+
content: "\e6d3";
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.zydx-a-zu2091:before {
|
|
397
|
+
content: "\e6d5";
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.zydx-a-zu2083:before {
|
|
401
|
+
content: "\e6d6";
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.zydx-a-zu2089:before {
|
|
405
|
+
content: "\e6d7";
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.zydx-a-zu2095:before {
|
|
409
|
+
content: "\e6d8";
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.zydx-a-zu2097:before {
|
|
413
|
+
content: "\e6d9";
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.zydx-a-zu2105:before {
|
|
417
|
+
content: "\e6da";
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.zydx-a-zu2111:before {
|
|
421
|
+
content: "\e6dc";
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.zydx-a-zu2120:before {
|
|
425
|
+
content: "\e6dd";
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.zydx-a-zu2107:before {
|
|
429
|
+
content: "\e6de";
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.zydx-a-zu2115:before {
|
|
433
|
+
content: "\e6df";
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.zydx-a-zu2101:before {
|
|
437
|
+
content: "\e6e0";
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.zydx-a-zu2109:before {
|
|
441
|
+
content: "\e6e1";
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.zydx-a-fenzu111:before {
|
|
445
|
+
content: "\e6e2";
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.zydx-a-fuzeren1:before {
|
|
449
|
+
content: "\e6c9";
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.zydx-a-xiangmubeijing1:before {
|
|
453
|
+
content: "\e6ca";
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.zydx-tuandui-tuanduichengyuan:before {
|
|
457
|
+
content: "\e6cb";
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.zydx-tianjia:before {
|
|
461
|
+
content: "\e6c8";
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.zydx-xinzeng:before {
|
|
465
|
+
content: "\e6c7";
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.zydx-bianji1:before {
|
|
469
|
+
content: "\101ce";
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.zydx-Word:before {
|
|
473
|
+
content: "\e6c3";
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.zydx-wenjianjia:before {
|
|
477
|
+
content: "\ec17";
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.zydx-diannao:before {
|
|
481
|
+
content: "\e6c4";
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.zydx-sangediandian:before {
|
|
485
|
+
content: "\e6c1";
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.zydx-shouqimulux:before {
|
|
489
|
+
content: "\e6c0";
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.zydx-a-3yuedu-shezhi:before {
|
|
493
|
+
content: "\e6bf";
|
|
494
|
+
}
|
|
495
|
+
|
|
16
496
|
.zydx-guanbi21:before {
|
|
17
497
|
content: "\e6be";
|
|
18
498
|
}
|
|
@@ -996,23 +1476,3 @@ src: url('//at.alicdn.com/t/c/font_3896356_mm8rbymatj.woff2?t=1736217426971') fo
|
|
|
996
1476
|
.zydx-mima-ico:before {
|
|
997
1477
|
content: "\e635";
|
|
998
1478
|
}
|
|
999
|
-
|
|
1000
|
-
.zydx-a-qingchuAizhushou:before{
|
|
1001
|
-
content: "\e6f3";
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
.zydx-a-sousuoAizhushou:before{
|
|
1005
|
-
content: "\e6f2";
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
.zydx-a-yuyinshuruAi:before{
|
|
1009
|
-
content: "\e6f5";
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
.zydx-a-fuzhiAI:before{
|
|
1013
|
-
content: "\e6f4";
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
.zydx-a-zhongzhiAi:before{
|
|
1017
|
-
content: "\e6f6";
|
|
1018
|
-
}
|
|
@@ -6,8 +6,14 @@
|
|
|
6
6
|
v-for="(item,index) in listCopy" :key="index" @click="listTap(item,index)">
|
|
7
7
|
<input v-if="multiple" :checked="item.box" @change="checkboxChange($event,index)" class="box-list" type="checkbox" name="boxList" />
|
|
8
8
|
<div class="list-title">
|
|
9
|
-
<span :style="{'font-size': 'fontSize' in column[0]?column[0].fontSize + 'px':'16px',
|
|
9
|
+
<span :style="{'font-size': 'fontSize' in column[0]?column[0].fontSize + 'px':'16px','font-weight': column[0].fontWeight,'color': (active === index)? activeColor : '#333333'}"
|
|
10
|
+
v-html="`<i class='title_index'>${(index + 1)}.</i>`+ (angleBrackets ? '《' : '') + item[column[0].label] + (angleBrackets ? '》' : '')"></span>
|
|
10
11
|
<button v-if="delShow" @click="del(item)" v-html="delText"></button>
|
|
12
|
+
<div v-if="isShowIcon" style="display: flex;flex-direction: row;align-items: center;">
|
|
13
|
+
<i class="iconfont zydx-fabu study_iconStyle" @click="tabled(item)"></i>
|
|
14
|
+
<i class="iconfont zydx-bianji1 study_iconStyle" style="font-size: 17px;" @click="edit(item)"></i>
|
|
15
|
+
<i class="iconfont zydx-icon study_iconStyle" @click="del(item)"></i>
|
|
16
|
+
</div>
|
|
11
17
|
</div>
|
|
12
18
|
<div class="list-cont">
|
|
13
19
|
<div class="list-li-cont" :style="{'color': (active === index)? activeColor : '#000000'}" v-if="open ? true : active === index">
|
|
@@ -45,6 +51,10 @@
|
|
|
45
51
|
type: Boolean,
|
|
46
52
|
default: false
|
|
47
53
|
},
|
|
54
|
+
isShowIcon: { //是否显示取消按钮
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: false
|
|
57
|
+
},
|
|
48
58
|
angleBrackets: {
|
|
49
59
|
type: Boolean,
|
|
50
60
|
default: false
|
|
@@ -107,6 +117,12 @@
|
|
|
107
117
|
del(data) {
|
|
108
118
|
this.$emit('del', data)
|
|
109
119
|
},
|
|
120
|
+
edit(data) {
|
|
121
|
+
this.$emit('edit', data)
|
|
122
|
+
},
|
|
123
|
+
tabled(data) {
|
|
124
|
+
this.$emit('tabled', data)
|
|
125
|
+
},
|
|
110
126
|
listTap(data, index) {
|
|
111
127
|
this.active = index
|
|
112
128
|
this.$emit('confirm', {...data, activeIndex: index})
|
|
@@ -135,7 +151,7 @@
|
|
|
135
151
|
.list-title {
|
|
136
152
|
display: flex;
|
|
137
153
|
justify-content: center;
|
|
138
|
-
line-height: 30px;
|
|
154
|
+
//line-height: 30px;
|
|
139
155
|
}
|
|
140
156
|
|
|
141
157
|
.list-title > span {
|
|
@@ -146,6 +162,7 @@
|
|
|
146
162
|
height: 30px;
|
|
147
163
|
font-size: 14px;
|
|
148
164
|
font-weight: 600;
|
|
165
|
+
line-height: 30px;
|
|
149
166
|
}
|
|
150
167
|
|
|
151
168
|
.list-title > button {
|
|
@@ -202,4 +219,13 @@
|
|
|
202
219
|
text-overflow: ellipsis;
|
|
203
220
|
line-height: 25px;
|
|
204
221
|
}
|
|
222
|
+
|
|
223
|
+
.study_iconStyle{
|
|
224
|
+
font-size: 16px;
|
|
225
|
+
height: 16px;
|
|
226
|
+
color: rgba(128, 128, 128, 1);
|
|
227
|
+
margin-right: 3px;
|
|
228
|
+
box-sizing: border-box;
|
|
229
|
+
text-align: center;
|
|
230
|
+
}
|
|
205
231
|
</style>
|