aea3399d
liufangjia
feat: 代码提交
|
1
|
<template>
|
47e91913
liufangjia
feat: 代码提交
|
2
3
4
5
6
7
|
<el-dialog
:visible.sync="visible"
width="70%"
:before-close="handleClose"
:modal-append-to-body="false"
>
|
aea3399d
liufangjia
feat: 代码提交
|
8
9
|
<div class="test-box" v-if="groups">
<div class="test">
|
02917cfa
liufangjia
feat: 新增错题组卷
|
10
|
<div class="test-title" @click="enableEditing">
|
47e91913
liufangjia
feat: 代码提交
|
11
12
13
14
15
16
17
|
<div
class="test-title"
v-if="!isEditing"
@mouseenter="handleMouseEnter"
@mouseleave="handleMouseLeave"
:class="isHovered ? 'hover' : ''"
>
|
aea3399d
liufangjia
feat: 代码提交
|
18
19
|
{{ inputValue }}
</div>
|
47e91913
liufangjia
feat: 代码提交
|
20
21
22
23
24
25
26
27
|
<div
v-if="isHovered"
class="tooltip"
:style="{
top: tooltipPosition.y + 'px',
left: tooltipPosition.x + 'px',
}"
>
|
02917cfa
liufangjia
feat: 新增错题组卷
|
28
|
单击设置试卷标题
|
aea3399d
liufangjia
feat: 代码提交
|
29
|
</div>
|
47e91913
liufangjia
feat: 代码提交
|
30
31
32
33
34
35
36
37
38
|
<el-input
class="test-title"
ref="editInput"
v-if="isEditing"
v-model="inputValue"
@blur="save"
@keyup.enter.native="save"
style="padding: 0 200px"
/>
|
aea3399d
liufangjia
feat: 代码提交
|
39
|
</div>
|
d4cbe751
刘有才luck
wip: 细节修改
|
40
41
42
43
44
|
<div class="binding">
<div class="size color">班级:_____________</div>
<div class="size color">姓名:_____________</div>
<div class="size color">学号:_____________</div>
</div>
|
aea3399d
liufangjia
feat: 代码提交
|
45
|
<div class="test-group">
|
47e91913
liufangjia
feat: 代码提交
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
<div
class="outer-item"
v-for="(group, index) in groups"
:key="group.questionType"
:class="{
border: selectedIndex === group.questionType,
}"
@mouseenter="handleGroupMouseEnter(group.questionType, 'all')"
@mouseleave="handleGroupMouseLeave"
>
<div
v-if="selectedIndex == group.questionType"
class="border-del"
@click="handleDel(group.questionType, 'all')"
>
|
aea3399d
liufangjia
feat: 代码提交
|
61
62
63
|
删除
</div>
<!-- 每个组的标题 -->
|
47e91913
liufangjia
feat: 代码提交
|
64
65
66
|
<div
class="test-group-title"
:class="{
|
2b8ad65b
刘有才luck
feat: 代码提交
|
67
|
borderTitle: selectedIndex == group.questionType,
|
47e91913
liufangjia
feat: 代码提交
|
68
69
70
|
}"
@mouseenter="handleGroupMouseEnter(group.questionType, 'all')"
>
|
aea3399d
liufangjia
feat: 代码提交
|
71
|
<div class="size-16" style="font-weight: 600">
|
df2979bc
刘有才luck
wip: 细节修改
|
72
|
{{ numberToChinese(index + 1) }}、
|
47e91913
liufangjia
feat: 代码提交
|
73
74
75
76
77
78
79
80
81
82
83
|
<span
@mouseenter="
(event) => handleItemMouseEnter(event, group.questionType)
"
@mouseleave="handleItemMouseLeave"
:class="isItemHovered == group.questionType ? 'hover' : ''"
class="size-16"
@click="groupEditing(index)"
v-show="!group.input"
>{{ group.questionTitle }}</span
>
|
77fa942a
LH_PC
feat:修改打印对接
|
84
|
|
47e91913
liufangjia
feat: 代码提交
|
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<el-input
:ref="'refInput' + index"
class="size-16"
size="mini"
v-show="group.input"
v-model="group.questionTitle"
@blur="groupSave(index)"
@keyup.enter.native="groupSave(index)"
style="width: fit-content"
/>
<div
v-if="isItemHovered == group.questionType"
class="tooltip"
:style="{
top: tooltipPosition.y + 'px',
left: tooltipPosition.x + 'px',
}"
>
|
2b8ad65b
刘有才luck
feat: 代码提交
|
103
|
单击修改大题名称
|
02917cfa
liufangjia
feat: 新增错题组卷
|
104
105
|
</div>
|
47e91913
liufangjia
feat: 代码提交
|
106
107
108
109
110
|
<span
v-if="group.subQuestionIds"
class="size-16"
style="margin-left: 10px"
>(共{{ group.subQuestionIds.length }}题 / 共{{
|
aea3399d
liufangjia
feat: 代码提交
|
111
|
group.questionScore * group.subQuestionIds.length
|
47e91913
liufangjia
feat: 代码提交
|
112
113
|
}}分)</span
>
|
aea3399d
liufangjia
feat: 代码提交
|
114
115
116
117
|
</div>
</div>
<!-- 内部的题目列表,允许组内排序 -->
|
47e91913
liufangjia
feat: 代码提交
|
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
<div
style="display: flex"
v-for="question in group.subQuestionIds"
:key="question.id"
:class="{
border: selectedItemIndex === question.id,
}"
@mouseenter="handleGroupMouseEnter(question.id, 'number')"
@mouseleave="handleGroupMouseLeave"
class="inner-item"
>
<div
v-if="selectedItemIndex === question.id"
class="border-del"
@click="handleDel(question.id, group.questionType)"
>
|
aea3399d
liufangjia
feat: 代码提交
|
134
135
|
删除
</div>
|
02917cfa
liufangjia
feat: 新增错题组卷
|
136
|
<div class="size color" style="margin-top: 20px">
|
47e91913
liufangjia
feat: 代码提交
|
137
138
139
|
<div
style="max-width: 100px; white-space: nowrap; /* 不换行 */"
>
|
02917cfa
liufangjia
feat: 新增错题组卷
|
140
141
142
|
{{ question.globalIndex }}、
</div>
</div>
|
aea3399d
liufangjia
feat: 代码提交
|
143
|
|
47e91913
liufangjia
feat: 代码提交
|
144
145
146
147
148
|
<iframe
:src="question.screenshot"
:ref="'iframe' + question.id"
@load="onIFrameLoad(question.id)"
style="
|
02917cfa
liufangjia
feat: 新增错题组卷
|
149
150
151
|
width: 100%;
pointer-events: none;
border: none; /* 启用点击穿透 */
|
7f6131ad
刘有才luck
wip: bug修复
|
152
|
padding: 0 0 0 10px;
|
47e91913
liufangjia
feat: 代码提交
|
153
154
|
"
></iframe>
|
aea3399d
liufangjia
feat: 代码提交
|
155
156
157
158
159
|
</div>
</div>
</div>
</div>
<div class="edit">
|
02917cfa
liufangjia
feat: 新增错题组卷
|
160
161
|
<div class="edit-title">
<div class="edit-title-info">
|
47e91913
liufangjia
feat: 代码提交
|
162
163
164
|
共<span>{{ list.length }}</span
>小题,卷面分<span>{{ sumValues() }}</span
>分
|
02917cfa
liufangjia
feat: 新增错题组卷
|
165
166
|
</div>
<div class="edit-button">
|
b754316f
刘有才luck
wip: bug修复
|
167
|
<el-button
|
d4cbe751
刘有才luck
wip: 细节修改
|
168
|
:disabled="dataYesNo(groups)"
|
b754316f
刘有才luck
wip: bug修复
|
169
170
171
|
class="button-width"
type="primary"
@click="handleSava"
|
47e91913
liufangjia
feat: 代码提交
|
172
173
|
>保存试卷</el-button
>
|
b754316f
刘有才luck
wip: bug修复
|
174
|
<el-button
|
d4cbe751
刘有才luck
wip: 细节修改
|
175
|
:disabled="dataYesNo(groups)"
|
b754316f
刘有才luck
wip: bug修复
|
176
177
178
|
class="button-width"
plain
@click="handleSava('print')"
|
47e91913
liufangjia
feat: 代码提交
|
179
180
181
182
183
184
185
186
187
188
189
190
|
>保存并打印</el-button
>
<el-button
class="button-width"
type="danger"
plain
@click="handleClear"
>清空题目</el-button
>
<el-button class="button-width" plain @click="handleSelect"
>继续选题</el-button
>
|
02917cfa
liufangjia
feat: 新增错题组卷
|
191
192
|
</div>
</div>
|
aea3399d
liufangjia
feat: 代码提交
|
193
|
<div class="edit-info">
|
2b8ad65b
刘有才luck
feat: 代码提交
|
194
|
<div class="title size color" style="padding: 10px 0 5px 10px">
|
aea3399d
liufangjia
feat: 代码提交
|
195
|
题目排序
|
2b8ad65b
刘有才luck
feat: 代码提交
|
196
197
|
<span class="title size font-weight" style="color: #999999"
>(拖拽题号可排序)</span
|
47e91913
liufangjia
feat: 代码提交
|
198
|
>
|
aea3399d
liufangjia
feat: 代码提交
|
199
200
201
|
</div>
<!-- 外层容器,允许拖拽整个组 -->
<draggable v-model="groups" group="groups" @end="onEnd">
|
47e91913
liufangjia
feat: 代码提交
|
202
203
204
205
206
|
<div
v-for="(group, index) in groups"
:key="group.id"
class="group-item"
>
|
aea3399d
liufangjia
feat: 代码提交
|
207
208
209
|
<!-- 每个组的标题 -->
<div class="group-title">
<div class="size" style="font-weight: 600">
|
df2979bc
刘有才luck
wip: 细节修改
|
210
|
{{ numberToChinese(index + 1) }}、{{ group.questionTitle }}
|
aea3399d
liufangjia
feat: 代码提交
|
211
212
213
|
</div>
<div class="size">
单题分值:
|
47e91913
liufangjia
feat: 代码提交
|
214
215
216
217
218
|
<el-input-number
size="mini"
v-model="group.questionScore"
:min="1"
:max="30"
|
d34c8975
刘有才luck
wip: bug修复
|
219
220
221
222
|
style="width: 120px"
:precision="1"
:step="0.5"
@change="handleInput"
|
47e91913
liufangjia
feat: 代码提交
|
223
|
></el-input-number>
|
aea3399d
liufangjia
feat: 代码提交
|
224
225
226
227
|
</div>
</div>
<!-- 内部的题目列表,允许组内排序 -->
|
47e91913
liufangjia
feat: 代码提交
|
228
229
230
231
232
233
234
235
236
237
238
|
<draggable
class="questions"
v-model="group.subQuestionIds"
group="questions"
@end="onItemEnd(group)"
>
<div
v-for="question in group.subQuestionIds"
:key="question.id"
class="question-item"
>
|
aea3399d
liufangjia
feat: 代码提交
|
239
240
241
242
243
244
245
246
247
248
249
250
251
|
{{ question.globalIndex }}
</div>
</draggable>
</div>
</draggable>
</div>
</div>
</div>
<span slot="title" class="title"> 试卷预览 </span>
</el-dialog>
</template>
<script>
|
aea3399d
liufangjia
feat: 代码提交
|
252
|
import draggable from "vuedraggable";
|
77fa942a
LH_PC
feat:修改打印对接
|
253
|
import { paperPrint } from "@/utils";
|
aea3399d
liufangjia
feat: 代码提交
|
254
255
256
257
258
259
260
261
262
263
|
export default {
components: { draggable },
name: "wrongQuestionDialog",
props: {
visible: {
type: Boolean,
default() {
return false;
},
},
|
02917cfa
liufangjia
feat: 新增错题组卷
|
264
|
list: {
|
aea3399d
liufangjia
feat: 代码提交
|
265
266
267
268
269
270
271
272
273
274
275
276
277
|
// 用于请求详情接口
type: Array,
default() {
return [];
},
},
subjectName: {
// 科目
type: String,
default() {
return null;
},
},
|
02917cfa
liufangjia
feat: 新增错题组卷
|
278
279
280
281
282
283
284
|
gradeId: {
// 科目
type: [String, Number],
default() {
return null;
},
},
|
47e91913
liufangjia
feat: 代码提交
|
285
286
287
288
289
290
291
|
sectionId: {
// 科目
type: [String, Number],
default() {
return null;
},
},
|
c412d95d
刘有才luck
wip: 代码提交
|
292
293
294
295
296
297
298
|
userId: {
// uid
type: [String, Number],
default() {
return null;
},
},
|
aea3399d
liufangjia
feat: 代码提交
|
299
300
301
302
|
},
data() {
return {
score: 0, // 分数
|
097f457f
刘有才luck
wip: bug修复
|
303
|
inputValue: "", // 标题
|
aea3399d
liufangjia
feat: 代码提交
|
304
305
306
307
|
isEditing: false, // 用于判断是否处于编辑模式
selectedIndex: null, // 当前选中的外层对象的索引
selectedItemIndex: null, // 当前选中的内层对象的索引
isHovered: false, // 用于控制边框和提示文字的显示
|
02917cfa
liufangjia
feat: 新增错题组卷
|
308
|
isItemHovered: false, // 用于控制边框和提示文字的显示
|
aea3399d
liufangjia
feat: 代码提交
|
309
310
|
tooltipPosition: { x: 0, y: 0 }, // 提示文字的位置
time: "",
|
02917cfa
liufangjia
feat: 新增错题组卷
|
311
|
testData: [], // 存一份list
|
aea3399d
liufangjia
feat: 代码提交
|
312
313
314
315
316
317
318
|
questionList: [
{ label: "全部", value: null },
{ label: "单选题", value: 2 },
{ label: "多选题", value: 3 },
{ label: "判断题", value: 4 },
{ label: "主观题", value: 5 },
],
|
02917cfa
liufangjia
feat: 新增错题组卷
|
319
|
groups: [],
|
aea3399d
liufangjia
feat: 代码提交
|
320
321
322
323
324
325
|
};
},
watch: {
visible(val) {
if (val) {
|
097f457f
刘有才luck
wip: bug修复
|
326
327
328
|
this.inputValue =
JSON.parse(localStorage.getItem(this.userId + "input")) ||
this.getFormattedDate() + this.subjectName + "--错题复习";
|
02917cfa
liufangjia
feat: 新增错题组卷
|
329
|
// 上面数据测试
|
c412d95d
刘有才luck
wip: 代码提交
|
330
331
332
333
|
this.testData =
JSON.parse(localStorage.getItem(this.userId + "testData")) || [];
this.groups =
JSON.parse(localStorage.getItem(this.userId + "question")) || [];
|
02917cfa
liufangjia
feat: 新增错题组卷
|
334
335
336
|
// 如果都没有直接return 执行初始化
if (this.groups.length == 0) {
this.init();
|
c412d95d
刘有才luck
wip: 代码提交
|
337
338
339
340
|
localStorage.setItem(
this.userId + "testData",
JSON.stringify(this.list)
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
341
342
343
344
345
|
return;
}
// 如果一致 就直接赋值
if (
this.arraysHaveSameIds(this.testData, this.list) &&
|
c412d95d
刘有才luck
wip: 代码提交
|
346
|
JSON.parse(localStorage.getItem(this.userId + "question"))
|
02917cfa
liufangjia
feat: 新增错题组卷
|
347
|
) {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
348
349
|
return;
} else {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
350
|
let data = this.findMissingIds(this.testData, this.list);
|
d43ab806
liufangjia
feat: 代码提交
|
351
|
this.testData = this.list;
|
c412d95d
刘有才luck
wip: 代码提交
|
352
353
354
355
|
localStorage.setItem(
this.userId + "testData",
JSON.stringify(this.testData)
);
|
03f275b4
刘有才luck
wip: 代码提交
|
356
357
|
console.log(data, "data");
|
02917cfa
liufangjia
feat: 新增错题组卷
|
358
359
|
this.testAddDel(this.groups, data.addArr, data.delArr);
}
|
aea3399d
liufangjia
feat: 代码提交
|
360
|
} else {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
361
|
this.testDataFun();
|
aea3399d
liufangjia
feat: 代码提交
|
362
363
364
365
366
|
}
},
},
methods: {
// 初始化
|
02917cfa
liufangjia
feat: 新增错题组卷
|
367
368
|
init() {
console.log("初始化");
|
097f457f
刘有才luck
wip: bug修复
|
369
|
|
02917cfa
liufangjia
feat: 新增错题组卷
|
370
371
372
373
374
375
376
377
378
379
380
381
382
|
this.groups = this.classifyByType(
this.list.map((item, index) => {
return { ...item, globalIndex: index + 1 };
})
);
this.updateGlobalIndexes();
},
// 随时保存testData
testDataFun() {
this.testData =
this.groups.reduce((accumulator, current) => {
return accumulator.concat(current.subQuestionIds);
}, []) || [];
|
c412d95d
刘有才luck
wip: 代码提交
|
383
384
385
386
|
localStorage.setItem(
this.userId + "testData",
JSON.stringify(this.testData)
);
|
aea3399d
liufangjia
feat: 代码提交
|
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
|
},
/** 按钮 - 取消 */
handleClose() {
this.$emit("update:visible", false);
},
onEnd(event) {
// 拖拽结束时,更新所有项目的 globalIndex
this.updateGlobalIndexes();
},
onItemEnd() {
// 每次组内排序结束时,更新所有项目的 globalIndex
this.updateGlobalIndexes();
},
updateGlobalIndexes() {
if (!this.groups) return;
// 获取所有组的所有项目
let allItems = [];
this.groups.forEach((group) => {
allItems = allItems.concat(group.subQuestionIds);
});
allItems.forEach((item, index) => {
item.globalIndex = index + 1;
});
|
c412d95d
刘有才luck
wip: 代码提交
|
410
411
412
413
|
localStorage.setItem(
this.userId + "question",
JSON.stringify(this.groups)
);
|
aea3399d
liufangjia
feat: 代码提交
|
414
415
416
417
418
419
420
421
422
423
424
425
426
|
},
classifyByType(arr) {
const result = {};
arr.forEach((item) => {
const type = item.questionType;
if (!result[type]) {
result[type] = [];
}
result[type].push(item);
});
// 将结果对象转换为数组
return Object.keys(result).map((type) => ({
|
02917cfa
liufangjia
feat: 新增错题组卷
|
427
428
|
questionType: type,
input: false,
|
aea3399d
liufangjia
feat: 代码提交
|
429
430
431
432
433
434
|
questionTitle: this.questionList.find((item) => item.value == type)
.label,
questionScore: 1,
subQuestionIds: result[type],
}));
},
|
02917cfa
liufangjia
feat: 新增错题组卷
|
435
|
onIFrameLoad(id) {
|
7feaa4bf
刘有才luck
feat: 代码提交
|
436
437
438
|
const iframeRef = this.$refs["iframe" + id][0]; // 获取对应的 iframe
const doc = iframeRef.contentDocument || iframeRef.contentWindow.document;
const body = iframeRef.contentWindow.document.body;
|
df2979bc
刘有才luck
wip: 细节修改
|
439
|
body.style.overflow = "hidden"; // 不允许出现横向滚动条
|
7feaa4bf
刘有才luck
feat: 代码提交
|
440
|
const height = body.offsetHeight; // 获取内容的高度
|
0b9ef2ed
刘有才luck
feat: bug修复
|
441
|
iframeRef.style.height = `${height + 40}px`; // 设置 iframe 的高度
|
df2979bc
刘有才luck
wip: 细节修改
|
442
|
iframeRef.style.overflow = "hidden"; // 设置 iframe 的高度
|
7feaa4bf
刘有才luck
feat: 代码提交
|
443
444
445
446
447
448
449
|
// 获取第一个P标签
const firstP = doc.getElementsByTagName("p")[0];
// 或者修改第一个 < p > 标签的内容;
if (firstP) {
let a = this.processString(firstP.innerHTML);
firstP.innerHTML = a;
}
|
aea3399d
liufangjia
feat: 代码提交
|
450
451
452
453
454
455
456
457
458
|
},
// 启动编辑模式
enableEditing() {
this.isEditing = true;
this.isHovered = false;
this.$nextTick(() => {
// 在 DOM 更新完成后让输入框获取焦点
this.$refs.editInput.focus();
|
aea3399d
liufangjia
feat: 代码提交
|
459
460
461
462
463
|
});
},
// 保存修改后的内容,回车或失去焦点时触发
save() {
|
aea3399d
liufangjia
feat: 代码提交
|
464
|
this.isEditing = false;
|
c412d95d
刘有才luck
wip: 代码提交
|
465
466
467
468
|
localStorage.setItem(
this.userId + "question",
JSON.stringify(this.groups)
);
|
79e3161b
刘有才luck
feat: bug修复
|
469
470
471
472
|
localStorage.setItem(
this.userId + "input",
JSON.stringify(this.inputValue)
);
|
aea3399d
liufangjia
feat: 代码提交
|
473
474
475
476
|
},
// 单题title修改
groupEditing(index) {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
477
|
this.isItemHovered = null;
|
aea3399d
liufangjia
feat: 代码提交
|
478
479
480
481
482
483
484
485
486
487
488
|
this.$set(this.groups[index], "input", true);
// DOM 更新完成后让对应的输入框获取焦点
this.$nextTick(() => {
const refName = `refInput${index}`;
this.$refs[refName][0].focus(); // 通过动态 ref 获取元素
});
},
// 单体title保存
groupSave(index) {
this.$set(this.groups[index], "input", false);
|
c412d95d
刘有才luck
wip: 代码提交
|
489
490
491
492
|
localStorage.setItem(
this.userId + "question",
JSON.stringify(this.groups)
);
|
aea3399d
liufangjia
feat: 代码提交
|
493
494
495
496
497
498
499
500
501
502
503
504
505
506
|
},
// 高亮
selectItem(id, type) {
if (type == "all") {
this.selectedIndex = id;
this.selectedItemIndex = null;
} else {
this.selectedItemIndex = id;
this.selectedIndex = null;
}
},
// 删除题目
handleDel(id, type) {
if (type == "all") {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
507
508
509
|
let _index = this.groups.findIndex((item) => item.questionType == id);
if (_index != -1) {
this.groups.splice(_index, 1);
|
c412d95d
刘有才luck
wip: 代码提交
|
510
511
512
513
|
localStorage.setItem(
this.userId + "question",
JSON.stringify(this.groups)
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
514
515
|
this.updateGlobalIndexes();
this.testDataFun();
|
c412d95d
刘有才luck
wip: 代码提交
|
516
517
518
519
|
localStorage.setItem(
this.userId + "testlist",
JSON.stringify(this.testData)
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
520
521
|
this.$emit("setQuestions");
}
|
aea3399d
liufangjia
feat: 代码提交
|
522
|
} else {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
523
524
525
526
527
528
529
|
this.groups.forEach((item) => {
if (type == item.questionType) {
item.subQuestionIds = item.subQuestionIds.filter(
(item) => item.id !== id
);
}
});
|
c412d95d
刘有才luck
wip: 代码提交
|
530
531
532
533
|
localStorage.setItem(
this.userId + "question",
JSON.stringify(this.groups)
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
534
535
|
this.updateGlobalIndexes();
this.testDataFun();
|
c412d95d
刘有才luck
wip: 代码提交
|
536
537
538
539
|
localStorage.setItem(
this.userId + "testlist",
JSON.stringify(this.testData)
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
540
|
this.$emit("setQuestions");
|
aea3399d
liufangjia
feat: 代码提交
|
541
542
543
|
}
},
handleMouseEnter(event) {
|
aea3399d
liufangjia
feat: 代码提交
|
544
545
546
547
548
549
550
551
552
553
554
|
this.isHovered = true;
// 计算提示文字位置 (鼠标右下角)
this.tooltipPosition = {
x: event.clientX / 2 + 30,
y: event.clientY / 2 + 30,
};
this.selectedIndex = null;
this.selectedItemIndex = null;
},
handleMouseLeave() {
this.isHovered = false;
|
aea3399d
liufangjia
feat: 代码提交
|
555
556
557
558
559
560
561
562
563
|
},
getFormattedDate() {
const today = new Date();
const year = today.getFullYear(); // 获取年份
const month = today.getMonth() + 1; // 获取月份(0-11,需要+1)
const day = today.getDate(); // 获取日期
return `${year}年${month}月${day}日`;
},
|
02917cfa
liufangjia
feat: 新增错题组卷
|
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
|
// 接收两个参数
arraysHaveSameIds(arr1, arr2) {
// 检查两个数组长度是否相同
if (arr1.length !== arr2.length) {
return false;
}
// 提取两个数组中所有的 id
const ids1 = arr1.map((item) => item.id);
const ids2 = arr2.map((item) => item.id);
// 将 id 数组排序
ids1.sort();
ids2.sort();
// 比较两个 id 数组是否一致
for (let i = 0; i < ids1.length; i++) {
if (ids1[i] !== ids2[i]) {
return false;
}
}
return true;
},
// 接收两个参数
arrContrast(arr1, arr2) {
// 如果两个数组的长度不同,直接返回 true
if (arr1.length !== arr2.length) {
return true;
}
// 创建一个 id 集合来存放 arr1 中的 id
const idsSet1 = new Set(arr1.map((obj) => obj.id));
// 创建一个 id 集合来存放 arr2 中的 id
const idsSet2 = new Set(arr2.map((obj) => obj.id));
// 比较两个集合的大小,如果不同,返回 true
if (idsSet1.size !== idsSet2.size) {
return true;
}
// 比较两个集合的内容
for (const id of idsSet1) {
if (!idsSet2.has(id)) {
return true;
}
}
// 如果所有的 id 都一致,返回 false
return false;
},
processString(input) {
|
2361d2d4
刘有才luck
feat: 代码提交
|
613
|
// 正则表达式:
|
98163298
刘有才luck
wip: bug修复
|
614
|
// const regexs = [/[0-9]+[.)]/, /(\d+分)/, /^(\d{1,3})/];
|
02917cfa
liufangjia
feat: 新增错题组卷
|
615
|
|
98163298
刘有才luck
wip: bug修复
|
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
|
// // 使用正则表达式匹配并处理输入字符串
// for (const regex of regexs) {
// const match = input.match(regex);
// if (match) {
// if (regex === regexs[2]) {
// // 如果匹配第三条规则,使用substring截取返回结果的长度加1
// const matchLength = match[0].length;
// return input.substring(matchLength + 1).trim();
// } else {
// // 如果匹配第一条或第二条规则,替换匹配的部分
// input = input.replace(regex, "");
// }
// }
// }
const match = input.match(/^(\d{1,3})/);
if (match) {
const matchLength = match[0].length;
input = input.substring(matchLength + 1).trim();
|
adea2553
刘有才luck
feat: 正则修改
|
634
|
}
|
98163298
刘有才luck
wip: bug修复
|
635
|
// 使用正则表达式匹配并处理输入字符串
|
7f6131ad
刘有才luck
wip: bug修复
|
636
|
input = input.replace(/[0-9]+[.).]/, "");
|
98163298
刘有才luck
wip: bug修复
|
637
638
|
input = input.replace(/(\d+(\.\d+)?分)/g, "");
return input.trim();
|
02917cfa
liufangjia
feat: 新增错题组卷
|
639
640
641
642
643
644
645
646
647
648
649
650
|
},
// 接受两个参数,返回需要删除的数据以及需要添加的数据
findMissingIds(array1, array2) {
// 找出第一个数组中存在但第二个数组中不存在的 id
const delArr = array1.filter(
(item1) => !array2.some((item2) => item2.id === item1.id)
);
// 找出第二个数组中存在但第一个数组中不存在的 id
const addArr = array2.filter(
(item2) => !array1.some((item1) => item1.id === item2.id)
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
651
652
653
654
655
|
return {
delArr,
addArr,
};
},
|
02917cfa
liufangjia
feat: 新增错题组卷
|
656
657
|
// 需要的数据,添加的数据,删除的数据
testAddDel(arr1, arr2, arr3) {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
|
if (arr2 && arr2.length > 0) {
// 添加数据,如果没有type重新创建一个type
arr2.forEach((item2) => {
const typeMatch = arr1.find(
(item1) => item1.questionType == item2.questionType
);
if (typeMatch) {
typeMatch.subQuestionIds.push(item2);
} else {
arr1.push({
questionType: item2.questionType,
subQuestionIds: [item2],
questionTitle: this.questionList.find(
(item) => item.value == item2.questionType
).label,
input: false,
questionScore: 1,
});
}
});
}
if (arr3 && arr3.length > 0) {
// 删除数据
|
03f275b4
刘有才luck
wip: 代码提交
|
681
682
683
684
|
const ids = new Set(arr3.map((item) => item.id));
arr1.forEach((obj) => {
obj.subQuestionIds = obj.subQuestionIds.filter(
(item) => !ids.has(item.id)
|
02917cfa
liufangjia
feat: 新增错题组卷
|
685
|
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
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
|
});
}
this.updateGlobalIndexes();
},
// 鼠标移入
handleGroupMouseEnter(id, type) {
if (type == "all") {
this.selectedIndex = id;
this.selectedItemIndex = null;
} else {
this.selectedItemIndex = id;
this.selectedIndex = null;
}
},
// 鼠标离开
handleGroupMouseLeave() {
this.selectedIndex = null;
this.selectedItemIndex = null;
},
// 小标题移入
handleItemMouseEnter(event, type) {
this.tooltipPosition = {
x: 50,
y: 40,
};
this.isItemHovered = type;
},
// 小标题移除
handleItemMouseLeave() {
this.isItemHovered = null;
},
// 保存
|
048689ea
liufangjia
feat: 代码提交
|
723
|
handleSava(type) {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
724
725
726
|
let param = {
paperTitle: this.inputValue,
subjectName: this.subjectName,
|
47e91913
liufangjia
feat: 代码提交
|
727
|
sectionId: this.sectionId,
|
02917cfa
liufangjia
feat: 新增错题组卷
|
728
729
730
731
732
733
734
|
gradeId: this.gradeId,
questions: this.groups.filter((item) => item.subQuestionIds.length > 0),
};
this.$request.getWrongQuestionSave(param).then((res) => {
if (res.status == 0) {
this.groups = [];
this.testData = [];
|
097f457f
刘有才luck
wip: bug修复
|
735
|
this.inputValue = "";
|
c412d95d
刘有才luck
wip: 代码提交
|
736
737
738
739
740
741
742
743
|
localStorage.setItem(
this.userId + "testlist",
JSON.stringify(this.testData)
);
localStorage.setItem(
this.userId + "question",
JSON.stringify(this.groups)
);
|
097f457f
刘有才luck
wip: bug修复
|
744
745
746
747
|
localStorage.setItem(
this.userId + "input",
JSON.stringify(this.inputValue)
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
748
|
this.$emit("setQuestions");
|
02917cfa
liufangjia
feat: 新增错题组卷
|
749
|
this.handleClose();
|
b754316f
刘有才luck
wip: bug修复
|
750
|
this.$message({
|
78ff4d94
刘有才luck
wip: bug修复
|
751
|
message: "已保存到“即时测-组卷-我自编的”",
|
b754316f
刘有才luck
wip: bug修复
|
752
753
754
|
type: "success",
});
|
4f7697b7
liufangjia
feat: 代码提交
|
755
|
if (type == "print") {
|
47e91913
liufangjia
feat: 代码提交
|
756
757
758
759
760
761
762
|
this.$request
.tPaperDetail({
paperId: res.data,
})
.then((detail) => {
paperPrint(detail.data);
});
|
048689ea
liufangjia
feat: 代码提交
|
763
|
}
|
02917cfa
liufangjia
feat: 新增错题组卷
|
764
765
766
767
768
769
|
}
});
},
// 清空
handleClear() {
|
df2979bc
刘有才luck
wip: 细节修改
|
770
|
this.$confirm("确定要清空试题篮内的全部题目吗?", "提示", {
|
0b9ef2ed
刘有才luck
feat: bug修复
|
771
|
confirmButtonText: "确定",
|
02917cfa
liufangjia
feat: 新增错题组卷
|
772
|
cancelButtonText: "取消",
|
201a364e
liufangjia
feat: 代码提交
|
773
774
|
confirmButtonClass: "el-button--danger1",
cancelButtonClass: "el-button--primary",
|
25fa9812
刘有才luck
feat: 代码提交
|
775
|
modal: false, // 去掉蒙层
|
02917cfa
liufangjia
feat: 新增错题组卷
|
776
777
778
779
780
|
type: "warning",
})
.then(() => {
this.groups = [];
this.testDataFun();
|
c412d95d
刘有才luck
wip: 代码提交
|
781
782
783
784
785
786
787
788
|
localStorage.setItem(
this.userId + "question",
JSON.stringify(this.groups)
);
localStorage.setItem(
this.userId + "testlist",
JSON.stringify(this.testData)
);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
789
|
this.$emit("setQuestions");
|
0b9ef2ed
刘有才luck
feat: bug修复
|
790
791
792
793
|
this.$message({
type: "success",
message: "清空成功!",
});
|
02917cfa
liufangjia
feat: 新增错题组卷
|
794
795
|
})
.catch(() => {
|
0b9ef2ed
刘有才luck
feat: bug修复
|
796
797
798
799
|
this.$message({
type: "info",
message: "已取消",
});
|
02917cfa
liufangjia
feat: 新增错题组卷
|
800
|
});
|
0b9ef2ed
刘有才luck
feat: bug修复
|
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
|
// this.$confirm("确定要清空试题篮内的全部题目吗?", "提示", {
// confirmButtonText: "清空",
// cancelButtonText: "取消",
// confirmButtonClass: "el-button--danger1",
// cancelButtonClass: "el-button--primary",
// showClose: false,
// roundButton: true,
// center: false,
// type: "warning",
// })
// .then(() => {
// this.groups = [];
// this.testDataFun();
// localStorage.setItem(
// this.userId + "question",
// JSON.stringify(this.groups)
// );
// localStorage.setItem(
// this.userId + "testlist",
// JSON.stringify(this.testData)
// );
// this.$emit("setQuestions");
// })
// .catch(() => {
// console.log("取消");
// });
|
02917cfa
liufangjia
feat: 新增错题组卷
|
829
830
831
832
833
834
835
836
837
838
839
840
|
},
// 继续选题
handleSelect() {
this.handleClose();
},
// 计算总分
sumValues() {
return this.groups.reduce((sum, item) => {
return sum + Number(item.questionScore) * item.subQuestionIds.length;
}, 0);
},
|
d34c8975
刘有才luck
wip: bug修复
|
841
842
843
|
// 当分数发生变化的时候
handleInput() {
|
c412d95d
刘有才luck
wip: 代码提交
|
844
845
846
847
|
localStorage.setItem(
this.userId + "question",
JSON.stringify(this.groups)
);
|
d34c8975
刘有才luck
wip: bug修复
|
848
|
},
|
d4cbe751
刘有才luck
wip: 细节修改
|
849
|
dataYesNo(data) {
|
e7f7bfce
刘有才luck
细节调整
|
850
|
if (data.length < 1) {
|
d4cbe751
刘有才luck
wip: 细节修改
|
851
852
853
854
855
856
|
return true;
}
let list = [];
data.forEach((item) => {
list.push(...item.subQuestionIds);
});
|
e7f7bfce
刘有才luck
细节调整
|
857
|
if (list.length < 1) {
|
d4cbe751
刘有才luck
wip: 细节修改
|
858
859
860
861
862
|
return true;
} else {
return false;
}
},
|
df2979bc
刘有才luck
wip: 细节修改
|
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
|
numberToChinese(num) {
const units = ["", "十", "百", "千", "万", "十万", "百万", "千万", "亿"];
const digits = [
"零",
"一",
"二",
"三",
"四",
"五",
"六",
"七",
"八",
"九",
];
if (num === 0) return digits[0];
let result = "";
let unitIndex = 0; // 单位索引
let zeroFlag = false; // 用于处理连续的零
while (num > 0) {
const digit = num % 10; // 取出当前最低位的数字
if (digit !== 0) {
result = digits[digit] + units[unitIndex] + result; // 拼接数字和单位
zeroFlag = false; // 当前位不是零,重置标志
} else if (!zeroFlag) {
result = digits[0] + result; // 只在前面有非零数字时添加零
zeroFlag = true; // 设置标志,表示已经添加过零
}
num = Math.floor(num / 10); // 去掉最低位
unitIndex++; // 单位索引加一
}
// 处理“十”的特殊情况
if (result.startsWith(digits[1]) && result.length > 1) {
result = result.replace(digits[1], ""); // 去掉开头的“一十”
}
return result;
},
|
aea3399d
liufangjia
feat: 代码提交
|
905
906
907
908
909
|
},
};
</script>
<style lang="scss" scoped>
.title {
|
df2979bc
刘有才luck
wip: 细节修改
|
910
|
font-size: 18px !important;
|
aea3399d
liufangjia
feat: 代码提交
|
911
912
|
font-weight: 600;
}
|
77fa942a
LH_PC
feat:修改打印对接
|
913
|
|
aea3399d
liufangjia
feat: 代码提交
|
914
915
|
.test-box {
display: flex;
|
02917cfa
liufangjia
feat: 新增错题组卷
|
916
|
min-height: 742px;
|
77fa942a
LH_PC
feat:修改打印对接
|
917
|
|
aea3399d
liufangjia
feat: 代码提交
|
918
919
920
|
.test {
flex: 1;
height: fit-content;
|
b754316f
刘有才luck
wip: bug修复
|
921
|
height: 742px;
|
aea3399d
liufangjia
feat: 代码提交
|
922
|
overflow-y: auto;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
923
|
box-shadow: 0 0 10px 0 #cfcfcf;
|
aea3399d
liufangjia
feat: 代码提交
|
924
|
margin-right: 20px;
|
02917cfa
liufangjia
feat: 新增错题组卷
|
925
926
|
box-sizing: border-box;
padding: 0 20px;
|
77fa942a
LH_PC
feat:修改打印对接
|
927
|
|
aea3399d
liufangjia
feat: 代码提交
|
928
|
.test-title {
|
df2979bc
刘有才luck
wip: 细节修改
|
929
|
font-size: 22px !important;
|
aea3399d
liufangjia
feat: 代码提交
|
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
|
font-weight: 700;
text-align: center;
color: #000000;
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
}
.test-name-input {
padding: 25px 80px 0 80px;
display: flex;
justify-content: space-around;
align-items: center;
}
|
d4cbe751
刘有才luck
wip: 细节修改
|
945
946
947
948
949
|
.binding {
display: flex;
padding: 20px 80px;
justify-content: space-around;
}
|
aea3399d
liufangjia
feat: 代码提交
|
950
951
|
.test-group {
.test-group-title {
|
02917cfa
liufangjia
feat: 新增错题组卷
|
952
953
|
position: relative;
height: 40px;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
954
955
|
line-height: 40px;
padding: 0;
|
aea3399d
liufangjia
feat: 代码提交
|
956
957
958
|
}
}
}
|
77fa942a
LH_PC
feat:修改打印对接
|
959
|
|
aea3399d
liufangjia
feat: 代码提交
|
960
961
962
963
|
.edit {
width: 400px;
display: flex;
flex-direction: column;
|
77fa942a
LH_PC
feat:修改打印对接
|
964
|
|
aea3399d
liufangjia
feat: 代码提交
|
965
966
967
|
.edit-title {
width: 100%;
height: 200px;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
968
969
|
border: 1px solid #cfcfcf;
border-radius: 5px;
|
77fa942a
LH_PC
feat:修改打印对接
|
970
|
|
02917cfa
liufangjia
feat: 新增错题组卷
|
971
972
973
974
975
|
.edit-title-info {
height: 60px;
width: 100%;
text-align: center;
font-weight: 600;
|
df2979bc
刘有才luck
wip: 细节修改
|
976
|
font-size: 18px !important;
|
02917cfa
liufangjia
feat: 新增错题组卷
|
977
978
|
line-height: 60px;
color: #000000;
|
77fa942a
LH_PC
feat:修改打印对接
|
979
|
|
02917cfa
liufangjia
feat: 新增错题组卷
|
980
981
982
983
|
span {
color: rgb(234, 163, 73);
}
}
|
77fa942a
LH_PC
feat:修改打印对接
|
984
|
|
02917cfa
liufangjia
feat: 新增错题组卷
|
985
986
987
988
989
990
|
.edit-button {
box-sizing: border-box;
padding: 0 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
|
77fa942a
LH_PC
feat:修改打印对接
|
991
|
|
02917cfa
liufangjia
feat: 新增错题组卷
|
992
993
994
995
996
|
.button-width {
width: 160px !important;
margin: 10px 0;
}
}
|
aea3399d
liufangjia
feat: 代码提交
|
997
|
}
|
77fa942a
LH_PC
feat:修改打印对接
|
998
|
|
aea3399d
liufangjia
feat: 代码提交
|
999
1000
|
.edit-info {
flex: 1;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
1001
|
border: 1px solid #cfcfcf;
|
aea3399d
liufangjia
feat: 代码提交
|
1002
|
margin-top: 20px;
|
02917cfa
liufangjia
feat: 新增错题组卷
|
1003
|
max-height: 500px;
|
aea3399d
liufangjia
feat: 代码提交
|
1004
1005
|
padding: 10px;
overflow: auto;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
1006
|
border-radius: 5px;
|
77fa942a
LH_PC
feat:修改打印对接
|
1007
|
|
aea3399d
liufangjia
feat: 代码提交
|
1008
|
.group-item {
|
aea3399d
liufangjia
feat: 代码提交
|
1009
1010
1011
|
margin: 10px;
background: rgba(243, 243, 243, 0.6);
border-radius: 5px;
|
77fa942a
LH_PC
feat:修改打印对接
|
1012
|
|
aea3399d
liufangjia
feat: 代码提交
|
1013
1014
1015
1016
1017
1018
|
.group-title {
display: flex;
align-items: center;
height: 40px;
justify-content: space-between;
cursor: pointer;
|
343a33c6
刘有才luck
feat: 代码提交
|
1019
|
padding: 0 10px;
|
aea3399d
liufangjia
feat: 代码提交
|
1020
1021
|
}
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1022
|
|
aea3399d
liufangjia
feat: 代码提交
|
1023
1024
1025
|
.questions {
display: flex;
flex-wrap: wrap;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
1026
|
padding: 10px 0;
|
aea3399d
liufangjia
feat: 代码提交
|
1027
1028
1029
1030
1031
1032
|
.question-item {
width: 35px;
height: 35px;
border: 1px solid rgb(172, 188, 249);
border-radius: 4px;
cursor: grab;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
1033
|
margin: 0 10px 10px 10px;
|
aea3399d
liufangjia
feat: 代码提交
|
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
|
line-height: 35px;
text-align: center;
font-size: 16px !important;
}
}
.question-item:active {
cursor: grabbing;
}
}
}
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1046
|
|
aea3399d
liufangjia
feat: 代码提交
|
1047
|
.size {
|
df2979bc
刘有才luck
wip: 细节修改
|
1048
|
font-size: 16px !important;
|
aea3399d
liufangjia
feat: 代码提交
|
1049
|
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1050
|
|
aea3399d
liufangjia
feat: 代码提交
|
1051
1052
1053
|
.color {
color: #000000;
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1054
|
|
aea3399d
liufangjia
feat: 代码提交
|
1055
1056
1057
1058
1059
|
.size-16 {
font-size: 16px !important;
font-weight: 600;
color: #333333;
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1060
|
|
aea3399d
liufangjia
feat: 代码提交
|
1061
1062
1063
1064
1065
|
::v-deep {
.el-dialog {
margin-top: 10vh !important;
}
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1066
|
|
aea3399d
liufangjia
feat: 代码提交
|
1067
1068
1069
|
.border {
border: 1px solid rgb(173, 190, 250);
position: relative;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
1070
|
border-radius: 3px;
|
77fa942a
LH_PC
feat:修改打印对接
|
1071
|
|
aea3399d
liufangjia
feat: 代码提交
|
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
|
.border-del {
position: absolute;
top: -30px;
right: -1px;
height: 28px;
width: fit-content;
border: 1px solid rgb(173, 190, 250);
padding: 0 8px;
color: rgb(67, 141, 255);
font-size: 14px !important;
line-height: 28px;
|
2b8ad65b
刘有才luck
feat: 代码提交
|
1083
|
|
aea3399d
liufangjia
feat: 代码提交
|
1084
1085
1086
|
cursor: pointer;
}
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1087
|
|
aea3399d
liufangjia
feat: 代码提交
|
1088
1089
1090
|
.outer-item,
.inner-item {
height: fit-content;
|
02917cfa
liufangjia
feat: 新增错题组卷
|
1091
|
margin-bottom: 20px;
|
aea3399d
liufangjia
feat: 代码提交
|
1092
|
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1093
|
|
aea3399d
liufangjia
feat: 代码提交
|
1094
1095
1096
1097
1098
1099
1100
1101
|
.tooltip {
position: absolute;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 5px 10px;
border-radius: 5px;
font-size: 12px !important;
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1102
|
|
aea3399d
liufangjia
feat: 代码提交
|
1103
1104
1105
|
.hover {
border: 1px solid rgb(115, 142, 246);
background: rgb(233, 237, 253);
|
02917cfa
liufangjia
feat: 新增错题组卷
|
1106
1107
|
width: fit-content;
}
|
2b8ad65b
刘有才luck
feat: 代码提交
|
1108
1109
1110
1111
|
.borderTitle {
background: rgba(102, 127, 253, 0.1);
padding: 0;
}
|
77fa942a
LH_PC
feat:修改打印对接
|
1112
|
|
02917cfa
liufangjia
feat: 新增错题组卷
|
1113
1114
1115
|
.title-bg {
background: rgb(115, 142, 246);
border-bottom: 1px solid rgb(115, 142, 246);
|
aea3399d
liufangjia
feat: 代码提交
|
1116
|
}
|
2b8ad65b
刘有才luck
feat: 代码提交
|
1117
1118
1119
|
.font-weight {
font-weight: 400;
}
|
343a33c6
刘有才luck
feat: 代码提交
|
1120
|
</style>
|