@focus-teach/ui 1.0.0
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/.browserslistrc +2 -0
- package/.history/package_20230625121458.json +45 -0
- package/.history/package_20230626100440.json +45 -0
- package/.history/package_20230626100445.json +45 -0
- package/.history/package_20230626100447.json +45 -0
- package/.history/package_20230626100636.json +45 -0
- package/.history/package_20230626100801.json +45 -0
- package/.history/package_20230626100803.json +45 -0
- package/.history/package_20230626100838.json +45 -0
- package/.history/package_20230626103314.json +45 -0
- package/.history/package_20230626103317.json +45 -0
- package/.history/packages/assets/css/reset-element_20230605134721.scss +167 -0
- package/.history/packages/assets/css/reset-element_20230614205652.scss +173 -0
- package/.history/packages/assets/css/reset-element_20230614205654.scss +173 -0
- package/.history/packages/assets/css/reset-element_20230614211242.scss +169 -0
- package/.history/packages/assets/css/reset-element_20230614211245.scss +167 -0
- package/.history/packages/exam-detail/src/index_20230607220441.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115618.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115623.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115629.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115631.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115640.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115651.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115659.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115750.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115806.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115811.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115815.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120250.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120252.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120257.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613120323.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613120327.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613120328.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613120915.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120917.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120922.vue +549 -0
- package/.history/packages/exam-detail/src/index_20230613120924.vue +549 -0
- package/.history/packages/exam-detail/src/index_20230613120928.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613120930.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613120936.vue +549 -0
- package/.history/packages/exam-detail/src/index_20230613120938.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613120942.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613120944.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613121331.vue +549 -0
- package/.history/packages/exam-detail/src/index_20230613121333.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613121335.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613121341.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613121344.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613153022.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613153027.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613153620.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613164734.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613164746.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613164756.vue +546 -0
- package/.history/packages/exam-drawer/src/index_20230607103301.vue +1470 -0
- package/.history/packages/exam-drawer/src/index_20230613090746.vue +1469 -0
- package/.history/packages/exam-drawer/src/index_20230613090759.vue +1469 -0
- package/.history/packages/exam-drawer/src/index_20230613090802.vue +1469 -0
- package/.history/packages/exam-drawer/src/index_20230613090809.vue +1469 -0
- package/.history/packages/exam-drawer/src/index_20230613090850.vue +1470 -0
- package/.history/packages/exam-drawer/src/index_20230613090919.vue +1487 -0
- package/.history/packages/exam-drawer/src/index_20230613090930.vue +1486 -0
- package/.history/packages/exam-drawer/src/index_20230613090935.vue +1485 -0
- package/.history/packages/exam-drawer/src/index_20230613091124.vue +1488 -0
- package/.history/packages/exam-drawer/src/index_20230613091140.vue +1488 -0
- package/.history/packages/exam-drawer/src/index_20230613091141.vue +1488 -0
- package/.history/packages/exam-drawer/src/index_20230613092108.vue +1489 -0
- package/.history/packages/exam-drawer/src/index_20230613092111.vue +1489 -0
- package/.history/packages/exam-drawer/src/index_20230613093130.vue +1490 -0
- package/.history/packages/exam-drawer/src/index_20230613093135.vue +1489 -0
- package/.history/packages/exam-drawer/src/index_20230613093149.vue +1488 -0
- package/.history/packages/exam-drawer/src/index_20230613093156.vue +1487 -0
- package/.history/packages/exam-drawer/src/index_20230613093159.vue +1486 -0
- package/.history/packages/exam-drawer/src/index_20230613093202.vue +1485 -0
- package/.history/packages/exam-drawer/src/index_20230613093204.vue +1484 -0
- package/.history/packages/exam-drawer/src/index_20230613093207.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093209.vue +1482 -0
- package/.history/packages/exam-drawer/src/index_20230613093212.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093217.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093228.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093229.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093843.vue +1482 -0
- package/.history/packages/exam-drawer/src/index_20230613093847.vue +1481 -0
- package/.history/packages/exam-drawer/src/index_20230613093851.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613115708.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613115823.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613115825.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613115827.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613120908.vue +1481 -0
- package/.history/packages/exam-drawer/src/index_20230613120910.vue +1481 -0
- package/.history/packages/exam-drawer/src/index_20230613121320.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613121326.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613144244.vue +1479 -0
- package/.history/packages/exam-drawer/src/index_20230613144246.vue +1478 -0
- package/.history/packages/exam-drawer/src/index_20230613144248.vue +1477 -0
- package/.history/packages/exam-drawer/src/index_20230613144251.vue +1476 -0
- package/.history/packages/exam-drawer/src/index_20230613152608.vue +1476 -0
- package/.history/packages/header/src/index_20230605134719.vue +59 -0
- package/.history/packages/header/src/index_20230613115723.vue +59 -0
- package/.history/packages/header/src/index_20230613115727.vue +59 -0
- package/.history/packages/header/src/index_20230613115733.vue +59 -0
- package/.history/packages/header/src/index_20230613115736.vue +59 -0
- package/.history/packages/header/src/index_20230613120901.vue +60 -0
- package/.history/packages/header/src/index_20230613120903.vue +60 -0
- package/.history/packages/header/src/index_20230613121316.vue +59 -0
- package/.history/packages/question-drawer/src/index_20230607160653.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230607160720.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230613090910.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230613090928.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613090937.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115842.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115844.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115848.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115902.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115911.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115914.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115922.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613120356.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613120359.vue +1732 -0
- package/.history/packages/question-drawer/src/index_20230613120710.vue +1731 -0
- package/.history/packages/question-drawer/src/index_20230613120839.vue +1732 -0
- package/.history/packages/question-drawer/src/index_20230613120841.vue +1732 -0
- package/.history/packages/question-drawer/src/index_20230613120844.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613120846.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613120850.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613120852.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613120856.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230613120858.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230613121150.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230613121238.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613121252.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613121256.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613121258.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613121303.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613121307.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613121310.vue +1732 -0
- package/.history/packages/question-drawer/src/index_20230613121313.vue +1731 -0
- package/.history/packages/question-drawer/src/index_20230613121549.vue +1731 -0
- package/.history/packages/question-drawer/src/index_20230613121623.vue +1731 -0
- package/.history/packages/question-drawer/src/index_20230613151515.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230613151517.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613151612.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613151618.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613151928.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613151929.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613152233.vue +1728 -0
- package/.history/packages/question-drawer/src/index_20230613152235.vue +1727 -0
- package/.history/packages/question-drawer/src/index_20230613152237.vue +1726 -0
- package/.history/packages/question-drawer/src/index_20230613152239.vue +1726 -0
- package/.history/packages/question-drawer/src/index_20230613152243.vue +1725 -0
- package/.history/packages/question-drawer/src/index_20230613152245.vue +1724 -0
- package/.history/packages/question-drawer/src/index_20230613152247.vue +1723 -0
- package/.history/packages/question-drawer/src/index_20230613152248.vue +1723 -0
- package/.history/packages/question-drawer/src/index_20230613152543.vue +1723 -0
- package/.history/packages/question-drawer/src/index_20230613152613.vue +1723 -0
- package/.history/packages/question-drawer/src/index_20230614203619.vue +1725 -0
- package/.history/packages/question-drawer/src/index_20230614203633.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230614203637.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230614203912.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230614211516.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212057.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230614212140.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212146.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212158.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212613.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212615.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212841.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212939.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614213141.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614213255.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614213349.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230614213350.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230614213400.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230614213401.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614213431.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230615100944.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230615100946.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230615100952.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230615100957.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230615104839.vue +1730 -0
- package/.history/packages/tabs/src/index_20230607165331.scss +60 -0
- package/.history/packages/tabs/src/index_20230614211226.scss +60 -0
- package/.history/packages/tabs/src/index_20230614211227.scss +61 -0
- package/.history/packages/tabs/src/index_20230614211253.scss +65 -0
- package/.history/packages/tabs/src/index_20230614211332.scss +60 -0
- package/.history/packages/wrong-detail/src/index_20230607221202.vue +570 -0
- package/.history/packages/wrong-detail/src/index_20230613120416.vue +570 -0
- package/.history/packages/wrong-detail/src/index_20230613120418.vue +569 -0
- package/.history/packages/wrong-detail/src/index_20230613120738.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613120800.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613120803.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613120825.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613120834.vue +569 -0
- package/.history/packages/wrong-detail/src/index_20230613121246.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613155421.vue +574 -0
- package/.history/packages/wrong-detail/src/index_20230613155423.vue +574 -0
- package/.history/packages/wrong-detail/src/index_20230613155426.vue +574 -0
- package/.history/packages/wrong-drawer/src/index_20230607213124.vue +450 -0
- package/.history/packages/wrong-drawer/src/index_20230613104307.vue +450 -0
- package/.history/packages/wrong-drawer/src/index_20230613104315.vue +451 -0
- package/.history/packages/wrong-drawer/src/index_20230613104317.vue +451 -0
- package/.history/packages/wrong-drawer/src/index_20230613104334.vue +451 -0
- package/.history/packages/wrong-drawer/src/index_20230613104403.vue +450 -0
- package/.history/packages/wrong-drawer/src/index_20230613104405.vue +449 -0
- package/.history/packages/wrong-drawer/src/index_20230613104621.vue +458 -0
- package/.history/packages/wrong-drawer/src/index_20230613104626.vue +459 -0
- package/.history/packages/wrong-drawer/src/index_20230613104629.vue +457 -0
- package/.history/packages/wrong-drawer/src/index_20230613104630.vue +457 -0
- package/.history/packages/wrong-drawer/src/index_20230613104747.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613104749.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613104753.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613111237.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613111314.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613114319.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613114322.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613114901.vue +463 -0
- package/.history/packages/wrong-drawer/src/index_20230613114903.vue +462 -0
- package/.history/packages/wrong-drawer/src/index_20230613114904.vue +462 -0
- package/.history/packages/wrong-drawer/src/index_20230613114909.vue +462 -0
- package/.history/packages/wrong-drawer/src/index_20230613114936.vue +463 -0
- package/.history/packages/wrong-drawer/src/index_20230613114940.vue +463 -0
- package/.history/packages/wrong-drawer/src/index_20230613114942.vue +463 -0
- package/.history/packages/wrong-drawer/src/index_20230613115348.vue +487 -0
- package/.history/packages/wrong-drawer/src/index_20230613115352.vue +487 -0
- package/.history/packages/wrong-drawer/src/index_20230613115356.vue +487 -0
- package/.history/packages/wrong-drawer/src/index_20230613115408.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613115411.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613115414.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613144213.vue +499 -0
- package/.history/packages/wrong-drawer/src/index_20230613144215.vue +498 -0
- package/.history/packages/wrong-drawer/src/index_20230613144218.vue +497 -0
- package/.history/packages/wrong-drawer/src/index_20230613144223.vue +497 -0
- package/.history/packages/wrong-drawer/src/index_20230613144225.vue +497 -0
- package/.history/packages/wrong-drawer/src/index_20230613144229.vue +498 -0
- package/.history/packages/wrong-drawer/src/index_20230613144232.vue +498 -0
- package/.history/packages/wrong-drawer/src/index_20230613144316.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613144345.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613144346.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145546.vue +498 -0
- package/.history/packages/wrong-drawer/src/index_20230613145548.vue +501 -0
- package/.history/packages/wrong-drawer/src/index_20230613145550.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145602.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145611.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145625.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145634.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613150805.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613150806.vue +501 -0
- package/.history/packages/wrong-drawer/src/index_20230613150809.vue +501 -0
- package/.history/packages/wrong-drawer/src/index_20230613150810.vue +501 -0
- package/README.md +14 -0
- package/api/index.js +388 -0
- package/dist/@focus-teach/ui.common.js +93058 -0
- package/dist/@focus-teach/ui.css +1 -0
- package/dist/@focus-teach/ui.umd.js +93068 -0
- package/dist/@focus-teach/ui.umd.min.js +25 -0
- package/dist/demo.html +10 -0
- package/dist/fonts/icomoon.356dc15f.woff +0 -0
- package/dist/fonts/icomoon.71d64f31.woff +0 -0
- package/dist/fonts/icomoon.7c9a60d9.eot +0 -0
- package/dist/fonts/icomoon.ba18ad87.eot +0 -0
- package/dist/fonts/icomoon.de76432e.ttf +0 -0
- package/dist/fonts/icomoon.ec37e716.ttf +0 -0
- package/dist/img/cloud_txt_24.87b9d2ae.svg +1 -0
- package/dist/img/icomoon.428f3063.svg +346 -0
- package/dist/img/icomoon.532b3795.svg +345 -0
- package/dist/img/icon_question.e931b16c.svg +14 -0
- package/mixins/emitter.js +33 -0
- package/package.json +45 -0
- package/postcss.config.js +19 -0
- package/style/icon/Read Me.txt +7 -0
- package/style/icon/demo-files/demo.css +152 -0
- package/style/icon/demo-files/demo.js +30 -0
- package/style/icon/demo.html +4042 -0
- package/style/icon/fonts/icomoon.eot +0 -0
- package/style/icon/fonts/icomoon.svg +346 -0
- package/style/icon/fonts/icomoon.ttf +0 -0
- package/style/icon/fonts/icomoon.woff +0 -0
- package/style/icon/selection.json +1 -0
- package/style/icon/style.css +1191 -0
- package/tests/unit/example.spec.js +13 -0
- package/utils/Constants.js +59 -0
- package/utils/assist.js +100 -0
- package/utils/changNumber.js +26 -0
- package/utils/common.js +109 -0
- package/utils/random_str.js +9 -0
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
<!--右侧抽屉-->
|
|
2
|
+
<template>
|
|
3
|
+
<ft-drawer>
|
|
4
|
+
<ft-exam-header :currentPaperItem="currentPaperItem" :mainTitle="mainTitle" @goBack="goBack"></ft-exam-header>
|
|
5
|
+
<!-- 选择全部 -->
|
|
6
|
+
<div
|
|
7
|
+
class="question-quote-all"
|
|
8
|
+
v-show="!loadingBankData && !loadingError && itemInfoList.length > 0"
|
|
9
|
+
>
|
|
10
|
+
<div
|
|
11
|
+
:class="
|
|
12
|
+
isAddAll ? 'quote-all-question' : 'quote-all-question-disable'
|
|
13
|
+
"
|
|
14
|
+
@click="addPaperAllQuestion"
|
|
15
|
+
>
|
|
16
|
+
<i class="icon-add" style="margin-right: 4px"></i>
|
|
17
|
+
{{ i18n.xuanZeQuanBu }}
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div v-for="(item, index) in haveTitleCategory" :key="'item' + index">
|
|
21
|
+
<div class="module-title-box">
|
|
22
|
+
<div class="module-title-type">
|
|
23
|
+
<div class="title-name">
|
|
24
|
+
{{ numberMap.get(index) }}、{{
|
|
25
|
+
item && item.titleType
|
|
26
|
+
? item.titleType.itemCategoryName
|
|
27
|
+
: ""
|
|
28
|
+
}}
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<ft-exam-question
|
|
34
|
+
v-for="(subItem, subIndex) in item.subItemList"
|
|
35
|
+
:key="'subItem' + subIndex"
|
|
36
|
+
:itemInfo="subItem"
|
|
37
|
+
:itemId="subItem.itemId"
|
|
38
|
+
:itemType="subItem.itemType"
|
|
39
|
+
:itemFromType="subItem.itemFromType"
|
|
40
|
+
:difficultyId="subItem.difficultyId"
|
|
41
|
+
:subIndex="subIndex"
|
|
42
|
+
:titleDesc="subItem.titleDesc"
|
|
43
|
+
:allItemList="allItemList"
|
|
44
|
+
:difficults="difficults"
|
|
45
|
+
:currentItemList="itemsList"
|
|
46
|
+
:pointNames="subItem.pointNames || '--'"
|
|
47
|
+
:klNames="subItem.klNames || '--'"
|
|
48
|
+
:skill="subItem.basicSkillNames || '--'"
|
|
49
|
+
:answer="subItem.answer || '--'"
|
|
50
|
+
:analysis="subItem.analysis || '--'"
|
|
51
|
+
@seeAnswerAnalysis="seeAnswerAnalysis"
|
|
52
|
+
@choiceOrRemoveQuestion="choiceOrRemoveQuestion"
|
|
53
|
+
:fromType ='fromPageType'
|
|
54
|
+
:variantList="itemList"
|
|
55
|
+
>
|
|
56
|
+
</ft-exam-question>
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
</ft-drawer>
|
|
60
|
+
</template>
|
|
61
|
+
<script>
|
|
62
|
+
import { Loading, Message } from "element-ui";
|
|
63
|
+
import {
|
|
64
|
+
getExamInfo,
|
|
65
|
+
quotePaperQuestion,
|
|
66
|
+
getItemType,
|
|
67
|
+
getQuestion,
|
|
68
|
+
getAnswer,
|
|
69
|
+
} from "../../../api/index";
|
|
70
|
+
import changeNumber from "../../../utils/changNumber";
|
|
71
|
+
import { getUrlKey } from "../../../utils/common";
|
|
72
|
+
|
|
73
|
+
export default {
|
|
74
|
+
name: "FtExamDetail",
|
|
75
|
+
// import引入的组件需要注入到对象中才能使用
|
|
76
|
+
components: {
|
|
77
|
+
[Loading.name]: Loading
|
|
78
|
+
},
|
|
79
|
+
props: {
|
|
80
|
+
//请求的参数,包含了当前所选择的信息
|
|
81
|
+
currentIndexParam: {
|
|
82
|
+
type: Object,
|
|
83
|
+
require: true,
|
|
84
|
+
},
|
|
85
|
+
//点击的当前试卷
|
|
86
|
+
currentPaperItem: {
|
|
87
|
+
type: Object,
|
|
88
|
+
default: [],
|
|
89
|
+
},
|
|
90
|
+
itemList:{
|
|
91
|
+
type: Array,
|
|
92
|
+
default:[]
|
|
93
|
+
},
|
|
94
|
+
difficults:{
|
|
95
|
+
type: Array | Object | String
|
|
96
|
+
},
|
|
97
|
+
mainItemId:{
|
|
98
|
+
type:String,
|
|
99
|
+
default:''
|
|
100
|
+
},
|
|
101
|
+
fromType:{
|
|
102
|
+
typeof:String,
|
|
103
|
+
default:''
|
|
104
|
+
},
|
|
105
|
+
i18n:{
|
|
106
|
+
type:Object
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
data() {
|
|
110
|
+
// 这里存放数据
|
|
111
|
+
return {
|
|
112
|
+
numberMap: null,
|
|
113
|
+
//首次请求
|
|
114
|
+
isLoading: true,
|
|
115
|
+
//是否正在加载题目数据
|
|
116
|
+
loadingBankData: false,
|
|
117
|
+
//加载题目数据是否失败
|
|
118
|
+
loadingError: false,
|
|
119
|
+
//题目数据集合
|
|
120
|
+
itemInfoList: [],
|
|
121
|
+
//分页信息
|
|
122
|
+
pageInfo: {},
|
|
123
|
+
//接口请求参数
|
|
124
|
+
requestParam: {},
|
|
125
|
+
currPage: 0, //当前页面
|
|
126
|
+
loading: false,
|
|
127
|
+
mainTitle: "",
|
|
128
|
+
itemsList: [], //左侧题目集合
|
|
129
|
+
paperIdsList: [], //右侧试卷题库的题目id集合
|
|
130
|
+
allTitleType: [], //题目类别接口的数据
|
|
131
|
+
recordCategory: {}, //记录题目类别的id的键值对 ,类别id : 序号 ,用于在questionTypeOrder找到不同题目类别的index
|
|
132
|
+
questionTypeOrder: [], //整理后的一个对象数组
|
|
133
|
+
allItemList: [], //所有的题目信息
|
|
134
|
+
isAddAll: true, // true:全部引用 || false:非全部引用
|
|
135
|
+
isCheckingStatus: false, //是否正在检查按钮状态
|
|
136
|
+
fromPageType: '', //来源类型
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
//监控data中的数据变化
|
|
140
|
+
watch: {
|
|
141
|
+
itemList: function (n, o) {
|
|
142
|
+
console.log('jiantingitemlist')
|
|
143
|
+
this.itemsList = n;
|
|
144
|
+
console.log(this.itemsList)
|
|
145
|
+
this.judgeButtonStatus();
|
|
146
|
+
},
|
|
147
|
+
paperIdsList: function (n, o) {
|
|
148
|
+
this.paperIdsList = n;
|
|
149
|
+
console.log('paperQuestionsIdList',this.paperIdsList)
|
|
150
|
+
this.judgeButtonStatus();
|
|
151
|
+
},
|
|
152
|
+
haveTitleCategory(){
|
|
153
|
+
console.log(this.haveTitleCategory);
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
computed: {
|
|
157
|
+
//有题目数据的类型,用于实际的渲染
|
|
158
|
+
haveTitleCategory() {
|
|
159
|
+
return this.questionTypeOrder.filter((item) => {
|
|
160
|
+
return item.subItemList.length != 0;
|
|
161
|
+
});
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
methods: {
|
|
165
|
+
//选题 || 移除
|
|
166
|
+
choiceOrRemoveQuestion(itemInfo,isAdd) {
|
|
167
|
+
this.$emit("choiceOrRemoveQuestion",itemInfo,isAdd)
|
|
168
|
+
},
|
|
169
|
+
goBack() {
|
|
170
|
+
let dic = {
|
|
171
|
+
activeIndex: 3,
|
|
172
|
+
};
|
|
173
|
+
this.$emit("eventbus-emit","changeDrawerType","changeDrawerType",JSON.stringify(dic))
|
|
174
|
+
},
|
|
175
|
+
seeAnswerAnalysis(itemInfo) {
|
|
176
|
+
let currentItem = {};
|
|
177
|
+
this.haveTitleCategory.forEach((item) => {
|
|
178
|
+
let res = item.subItemList.find(
|
|
179
|
+
(temp) => temp.itemId == itemInfo.itemId
|
|
180
|
+
);
|
|
181
|
+
if (res) currentItem = res;
|
|
182
|
+
});
|
|
183
|
+
getAnswer(
|
|
184
|
+
{
|
|
185
|
+
itemId: itemInfo.itemId,
|
|
186
|
+
itemBankType: 4,
|
|
187
|
+
itemSourceType: itemInfo.itemSourceType,
|
|
188
|
+
rootSourceId: itemInfo.rootItemSourceId,
|
|
189
|
+
},
|
|
190
|
+
(res) => {
|
|
191
|
+
if (!res) {
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
if (typeof res === "string") res = JSON.parse(res);
|
|
195
|
+
if (res.code == 0) {
|
|
196
|
+
//取出答案与解析
|
|
197
|
+
this.$set(currentItem, "pointNames", res.value.pointNames);
|
|
198
|
+
this.$set(currentItem, "klNames", res.value.klNames);
|
|
199
|
+
this.$set(currentItem, "answer", res.value.correctAnswer);
|
|
200
|
+
this.$set(
|
|
201
|
+
currentItem,
|
|
202
|
+
"basicSkillNames",
|
|
203
|
+
res.value.basicSkillNames
|
|
204
|
+
);
|
|
205
|
+
if (
|
|
206
|
+
(res.value.itemType == 3 || res.value.itemType == 6) &&
|
|
207
|
+
res.value.correctAnswer &&
|
|
208
|
+
res.value.correctAnswer.length > 0
|
|
209
|
+
) {
|
|
210
|
+
getQuestion({ itemId: res.value.correctAnswer }, (res) => {
|
|
211
|
+
if (!res) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
if (typeof res === "string") res = JSON.parse(res);
|
|
215
|
+
//取出题目数据
|
|
216
|
+
this.$set(currentItem, "answer", res.data);
|
|
217
|
+
});
|
|
218
|
+
} else if (res.value.itemType == 7) {
|
|
219
|
+
//组合单选题
|
|
220
|
+
var answerArr = res.value.correctAnswer.split(",");
|
|
221
|
+
var fiveArr = [], tempStr = ""; //将组合单选题答案五五放到一个数组展示
|
|
222
|
+
answerArr && answerArr.length && answerArr.map(function (item, idx) {
|
|
223
|
+
if (idx % 5 !== 0 || idx == 0) {
|
|
224
|
+
tempStr += item;
|
|
225
|
+
} else {
|
|
226
|
+
fiveArr.push(tempStr);
|
|
227
|
+
tempStr = item;
|
|
228
|
+
}
|
|
229
|
+
if (idx == answerArr.length - 1) {
|
|
230
|
+
fiveArr.push(tempStr);
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
this.$set(currentItem, "answer", fiveArr.join(";"));
|
|
234
|
+
} else {
|
|
235
|
+
this.$set(currentItem, "answer", res.value.correctAnswer);
|
|
236
|
+
}
|
|
237
|
+
if (res.value.itemAnalysis && res.value.itemAnalysis.length > 0) {
|
|
238
|
+
getQuestion({ itemId: res.value.itemAnalysis }, (res) => {
|
|
239
|
+
if (!res) {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
//取出题目数据
|
|
243
|
+
this.$set(currentItem, "analysis", res.data);
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
);
|
|
249
|
+
},
|
|
250
|
+
/*
|
|
251
|
+
**请求题库数据
|
|
252
|
+
* 筛选条件时请求
|
|
253
|
+
*/
|
|
254
|
+
requestBankData() {
|
|
255
|
+
let _this = this;
|
|
256
|
+
_this.loadingError = false;
|
|
257
|
+
_this.loadingBankData = true;
|
|
258
|
+
_this.loading = true;
|
|
259
|
+
_this.asyncGetUserOperateDataInfoForBankData();
|
|
260
|
+
},
|
|
261
|
+
//筛选条件时请求获取用户信息
|
|
262
|
+
async asyncGetUserOperateDataInfoForBankData() {
|
|
263
|
+
let _this = this;
|
|
264
|
+
let dom = document.getElementById("wrong-detail-drawer-slot-id");
|
|
265
|
+
let loadingInstance = Loading.service({
|
|
266
|
+
target: dom,
|
|
267
|
+
text: _this.i18n.jiaZaiZhong,
|
|
268
|
+
});
|
|
269
|
+
var examInfo = await getExamInfo(_this.requestParam);
|
|
270
|
+
if (examInfo && examInfo.code == 0) {
|
|
271
|
+
_this.loadingBankData = false;
|
|
272
|
+
_this.loading = false;
|
|
273
|
+
this.$nextTick(() => {
|
|
274
|
+
// 以服务的方式调用的 Loading 需要异步关闭
|
|
275
|
+
loadingInstance.close();
|
|
276
|
+
});
|
|
277
|
+
//将所有试卷题目id数据存在
|
|
278
|
+
var itemIdList = examInfo.value && examInfo.value.itemList && examInfo.value.itemList.length && examInfo.value.itemList
|
|
279
|
+
.map((item) => {
|
|
280
|
+
return item.itemId;
|
|
281
|
+
})
|
|
282
|
+
.join(",")
|
|
283
|
+
.split(",");
|
|
284
|
+
console.log('savePaperQuestionsIdList',itemIdList)
|
|
285
|
+
// _this.$store.commit("savePaperQuestionsIdList", itemIdList);
|
|
286
|
+
_this.paperIdsList = itemIdList
|
|
287
|
+
//取出题目数据
|
|
288
|
+
_this.loadingError = false;
|
|
289
|
+
_this.mainTitle = examInfo.value.exam.resourceName;
|
|
290
|
+
//如果是从编辑状态进入,为保持之前的顺序allTitleType从layout中获取,否则getItemType接口获取
|
|
291
|
+
// if (
|
|
292
|
+
// examInfo.value.layoutJson &&
|
|
293
|
+
// examInfo.value.layoutJson.titleCategory &&
|
|
294
|
+
// examInfo.value.layoutJson.titleCategory.length != 0
|
|
295
|
+
// ) {
|
|
296
|
+
// _this.allTitleType = examInfo.value.layoutJson.titleCategory;
|
|
297
|
+
// } else {
|
|
298
|
+
// let categoryRes = await getItemType({ subjectId: _this.subjectId });
|
|
299
|
+
// if (categoryRes.code == 0) {
|
|
300
|
+
// _this.allTitleType = categoryRes.value;
|
|
301
|
+
// }
|
|
302
|
+
// }
|
|
303
|
+
//
|
|
304
|
+
if (
|
|
305
|
+
examInfo.value.layoutJson &&
|
|
306
|
+
examInfo.value.layoutJson.haveDataTitleCategory &&
|
|
307
|
+
examInfo.value.layoutJson.haveDataTitleCategory.length != 0
|
|
308
|
+
) {
|
|
309
|
+
_this.allTitleType = examInfo.value.layoutJson.haveDataTitleCategory;
|
|
310
|
+
}
|
|
311
|
+
let categoryRes = await getItemType({ subjectId: _this.subjectId });
|
|
312
|
+
if (categoryRes.code == 0) {
|
|
313
|
+
if (_this.allTitleType && _this.allTitleType.length > 0) {
|
|
314
|
+
let itemCategoryIdArr = _this.allTitleType && _this.allTitleType.length && _this.allTitleType.map((obj) => {
|
|
315
|
+
return obj.itemCategoryId;
|
|
316
|
+
});
|
|
317
|
+
categoryRes.value.forEach((element) => {
|
|
318
|
+
if (itemCategoryIdArr.indexOf(element.itemCategoryId) < 0) {
|
|
319
|
+
_this.allTitleType.push(element);
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
} else {
|
|
323
|
+
_this.allTitleType = categoryRes.value;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
//
|
|
327
|
+
_this.allTitleType.forEach((item, i) => {
|
|
328
|
+
_this.$set(_this.questionTypeOrder, i, {
|
|
329
|
+
titleType: item,
|
|
330
|
+
subItemList: [],
|
|
331
|
+
});
|
|
332
|
+
_this.recordCategory[
|
|
333
|
+
(_this.recordCategory[item.itemCategoryId] = i)
|
|
334
|
+
] = item.itemCategoryId;
|
|
335
|
+
});
|
|
336
|
+
//设置subitemlist的数据
|
|
337
|
+
_this.handelShowTitle(examInfo.value.itemList);
|
|
338
|
+
} else {
|
|
339
|
+
//请求题目数据报错
|
|
340
|
+
_this.loadingError = true;
|
|
341
|
+
_this.itemInfoList = [];
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
// 将请求获取到的itemList处理成需要的数据格式,主要目的是为了加上titleDesc
|
|
345
|
+
handelShowTitle(itemList) {
|
|
346
|
+
this.itemInfoList = itemList;
|
|
347
|
+
this.itemInfoList.forEach((item) => {
|
|
348
|
+
let index = this.recordCategory[item.categoryId];
|
|
349
|
+
if (index > -1 && index < this.questionTypeOrder.length) {
|
|
350
|
+
this.questionTypeOrder[index].subItemList.push(item);
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
this.filterItemList();
|
|
354
|
+
this.questionTypeOrder.forEach((item) => {
|
|
355
|
+
return item.subItemList.forEach((subitem) => {
|
|
356
|
+
return getQuestion({ itemId: subitem.itemFileId }, (res) => {
|
|
357
|
+
this.$set(subitem, "titleDesc", res.data);
|
|
358
|
+
});
|
|
359
|
+
});
|
|
360
|
+
});
|
|
361
|
+
},
|
|
362
|
+
// 获取所有大题类型下的题目,组成一个数组,过滤出其中的ID,用于在更改大题顺序时候,找出此条小题的顺序,动态更新题号
|
|
363
|
+
filterItemList() {
|
|
364
|
+
this.allItemList = [];
|
|
365
|
+
this.haveTitleCategory.forEach((item) => {
|
|
366
|
+
this.allItemList = this.allItemList && this.allItemList.length && this.allItemList.concat(item.subItemList);
|
|
367
|
+
});
|
|
368
|
+
this.allItemList = this.allItemList && this.allItemList.length && this.allItemList.map((item) => {
|
|
369
|
+
return item.itemId;
|
|
370
|
+
}) || [];
|
|
371
|
+
},
|
|
372
|
+
//改变右侧栏宽度
|
|
373
|
+
changeSize(e) {
|
|
374
|
+
document.onmousemove = (e) => {
|
|
375
|
+
e.stopPropagation();
|
|
376
|
+
document.body.style.cursor = "w-resize";
|
|
377
|
+
let addWidth = this.$refs.drawer.offsetLeft - e.clientX;
|
|
378
|
+
let curWidth = this.$refs.drawer.offsetWidth;
|
|
379
|
+
this.$refs.drawer.style.width = `${curWidth + addWidth}px`;
|
|
380
|
+
};
|
|
381
|
+
document.onmouseup = (e) => {
|
|
382
|
+
e.stopPropagation();
|
|
383
|
+
document.onmousemove = null;
|
|
384
|
+
document.onmouseup = null;
|
|
385
|
+
document.body.style.cursor = "default";
|
|
386
|
+
};
|
|
387
|
+
},
|
|
388
|
+
//试卷题目集 - 全部选择
|
|
389
|
+
addPaperAllQuestion() {
|
|
390
|
+
let _this = this;
|
|
391
|
+
if (!_this.isAddAll) {
|
|
392
|
+
return;
|
|
393
|
+
}
|
|
394
|
+
var resourceId = getUrlKey("resourceId");
|
|
395
|
+
this.$emit("addAllQuestion",resourceId,_this.currentPaperItem.resourceId,this.allItemList)
|
|
396
|
+
},
|
|
397
|
+
//判断按钮状态
|
|
398
|
+
judgeButtonStatus() {
|
|
399
|
+
if (this.isCheckingStatus) {
|
|
400
|
+
return;
|
|
401
|
+
}
|
|
402
|
+
console.log("paper---judgeButtonStatus---111---", this.itemsList);
|
|
403
|
+
console.log("paper---judgeButtonStatus---222---", this.paperIdsList);
|
|
404
|
+
this.isCheckingStatus = true;
|
|
405
|
+
this.isAddAll = false;
|
|
406
|
+
if ((this.fromPageType == 'variant' && this.itemsList.length == 10) || this.paperIdsList.length == 0) {
|
|
407
|
+
this.isCheckingStatus = false;
|
|
408
|
+
return;
|
|
409
|
+
}
|
|
410
|
+
if (
|
|
411
|
+
this.itemsList.length == 0 ||
|
|
412
|
+
this.itemsList.length < this.paperIdsList.length
|
|
413
|
+
) {
|
|
414
|
+
this.isCheckingStatus = false;
|
|
415
|
+
this.isAddAll = true;
|
|
416
|
+
return;
|
|
417
|
+
}
|
|
418
|
+
let tempItemIds = [];
|
|
419
|
+
this.itemsList.forEach((element) => {
|
|
420
|
+
tempItemIds.push(this.fromPageType='variant' ? element.variantItemId : element.itemId);
|
|
421
|
+
});
|
|
422
|
+
console.log('tempItemIds',tempItemIds)
|
|
423
|
+
console.log("paper---judgeButtonStatus---333---", tempItemIds);
|
|
424
|
+
this.paperIdsList.forEach((element) => {
|
|
425
|
+
if (tempItemIds.indexOf(element) < 0) {
|
|
426
|
+
this.isAddAll = true;
|
|
427
|
+
this.isCheckingStatus = false;
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
this.isCheckingStatus = false;
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
created() {
|
|
435
|
+
this.numberMap = new Map(changeNumber);
|
|
436
|
+
},
|
|
437
|
+
mounted() {
|
|
438
|
+
let _this = this;
|
|
439
|
+
this.itemsList = this.itemList
|
|
440
|
+
this.judgeButtonStatus();
|
|
441
|
+
_this.requestParam["resourceId"] = _this.currentPaperItem.resourceId;
|
|
442
|
+
_this.requestBankData();
|
|
443
|
+
this.fromPageType = this.fromType
|
|
444
|
+
},
|
|
445
|
+
};
|
|
446
|
+
</script>
|
|
447
|
+
|
|
448
|
+
<style scoped>
|
|
449
|
+
.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
|
|
450
|
+
background-color: #e7ffef;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.el-tree-node__content:hover {
|
|
454
|
+
background-color: #e7ffef;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.drawer-continer {
|
|
458
|
+
position: absolute;
|
|
459
|
+
padding: 0 16px 0 4px;
|
|
460
|
+
top: 56px;
|
|
461
|
+
right: 0px;
|
|
462
|
+
width: 532px;
|
|
463
|
+
min-width: 532px;
|
|
464
|
+
max-width: 936px;
|
|
465
|
+
height: calc(100% - 56px);
|
|
466
|
+
background: #ffffff;
|
|
467
|
+
/* border: 1px solid #e2e2e2; */
|
|
468
|
+
box-shadow: 4px 0 8px 0 rgba(0, 0, 0, 0.05);
|
|
469
|
+
transform: rotate(180deg);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.resize {
|
|
473
|
+
position: absolute;
|
|
474
|
+
right: -3px;
|
|
475
|
+
width: 3px;
|
|
476
|
+
height: 100%;
|
|
477
|
+
cursor: w-resize;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.drawer-slot {
|
|
481
|
+
width: 100%;
|
|
482
|
+
height: 100%;
|
|
483
|
+
transform: rotate(180deg);
|
|
484
|
+
overflow-x: hidden;
|
|
485
|
+
overflow-y: scroll;
|
|
486
|
+
position: relative;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.page-contro {
|
|
490
|
+
width: 100%;
|
|
491
|
+
height: 40px;
|
|
492
|
+
text-align: center;
|
|
493
|
+
font-size: 14px;
|
|
494
|
+
line-height: 40px;
|
|
495
|
+
color: #333;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.question-quote-all {
|
|
499
|
+
height: 24px;
|
|
500
|
+
margin: 20px 0 16px 0;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.quote-all-question-disable {
|
|
504
|
+
display: flex;
|
|
505
|
+
align-items: center;
|
|
506
|
+
justify-content: center;
|
|
507
|
+
float: right;
|
|
508
|
+
margin-right: 16px;
|
|
509
|
+
width: 92px;
|
|
510
|
+
height: 24px;
|
|
511
|
+
line-height: 24px;
|
|
512
|
+
border-radius: 4px;
|
|
513
|
+
text-align: center;
|
|
514
|
+
font-size: 14px;
|
|
515
|
+
color: #ffffff;
|
|
516
|
+
font-family: MicrosoftYaHei;
|
|
517
|
+
background: #cccccc;
|
|
518
|
+
cursor: not-allowed;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.quote-all-question {
|
|
522
|
+
display: flex;
|
|
523
|
+
align-items: center;
|
|
524
|
+
justify-content: center;
|
|
525
|
+
float: right;
|
|
526
|
+
margin-right: 16px;
|
|
527
|
+
width: 92px;
|
|
528
|
+
height: 24px;
|
|
529
|
+
line-height: 24px;
|
|
530
|
+
border-radius: 4px;
|
|
531
|
+
text-align: center;
|
|
532
|
+
font-size: 14px;
|
|
533
|
+
color: #ffffff;
|
|
534
|
+
font-family: MicrosoftYaHei;
|
|
535
|
+
background: #ff9800;
|
|
536
|
+
cursor: pointer;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.quote-all-question:hover {
|
|
540
|
+
background: #ff6f00;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.quote-all-question:active {
|
|
544
|
+
background: #e68a00;
|
|
545
|
+
}
|
|
546
|
+
</style>
|