@zykjcommon/questions 0.0.1

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.
Files changed (115) hide show
  1. package/.browserslistrc +3 -0
  2. package/.env +7 -0
  3. package/.env.buildTest +9 -0
  4. package/.env.development +9 -0
  5. package/.env.production +13 -0
  6. package/.env.test +12 -0
  7. package/@types/global.d.ts +33 -0
  8. package/@types/shims-vue.d.ts +6 -0
  9. package/@types/shims-vuex.d.ts +15 -0
  10. package/auto-imports.d.ts +6 -0
  11. package/babel.config.js +5 -0
  12. package/components.d.ts +23 -0
  13. package/design/App.vue +60 -0
  14. package/design/main.js +23 -0
  15. package/design/views/dialog/contentDialog.vue +18 -0
  16. package/design/views/dialog/contentDialog2.vue +18 -0
  17. package/design/views/dialog/contentDialog3.vue +19 -0
  18. package/design/views/exam/analysis.vue +208 -0
  19. package/design/views/exam/exam.vue +355 -0
  20. package/design/views/home/illustrate.vue +45 -0
  21. package/design/views/home/login.vue +43 -0
  22. package/design/vueMapper.js +8 -0
  23. package/design/vueMapperTree.js +2 -0
  24. package/dist/demo.html +1 -0
  25. package/dist/zykjcommon-questions.common.js +12817 -0
  26. package/dist/zykjcommon-questions.css +1 -0
  27. package/dist/zykjcommon-questions.umd.js +12836 -0
  28. package/dist/zykjcommon-questions.umd.min.js +18 -0
  29. package/index.js +10 -0
  30. package/package.json +61 -0
  31. package/public/favicon.ico +0 -0
  32. package/public/index.html +19 -0
  33. package/public/static/js/jquery.html2json.js +169 -0
  34. package/public/static/js/jquery.json2html.js +137 -0
  35. package/public/static/js/jquery.min.js +2 -0
  36. package/public/static/js/json2html.js +447 -0
  37. package/readme +8 -0
  38. package/src/App.vue +37 -0
  39. package/src/assets/img/afei.jpg +0 -0
  40. package/src/assets/img/audio-ico.gif +0 -0
  41. package/src/assets/img/audio-ico.png +0 -0
  42. package/src/assets/img/bc-type-bg.png +0 -0
  43. package/src/assets/img/big-close.png +0 -0
  44. package/src/assets/img/big-next.png +0 -0
  45. package/src/assets/img/big-pre.png +0 -0
  46. package/src/assets/img/book-bg.png +0 -0
  47. package/src/assets/img/checkbox-cur.png +0 -0
  48. package/src/assets/img/checkbox.png +0 -0
  49. package/src/assets/img/cpp-bg.png +0 -0
  50. package/src/assets/img/deer-logo.png +0 -0
  51. package/src/assets/img/header-bg-2.png +0 -0
  52. package/src/assets/img/header-bg.png +0 -0
  53. package/src/assets/img/illustrate-bg.png +0 -0
  54. package/src/assets/img/loading.gif +0 -0
  55. package/src/assets/img/login-bg.png +0 -0
  56. package/src/assets/img/login-box-bg.png +0 -0
  57. package/src/assets/img/login-box-logo.png +0 -0
  58. package/src/assets/img/logo.png +0 -0
  59. package/src/assets/img/logoByText.png +0 -0
  60. package/src/assets/img/py-bg.png +0 -0
  61. package/src/assets/img/pygame-bg.png +0 -0
  62. package/src/assets/img/radio-cur.png +0 -0
  63. package/src/assets/img/radio.png +0 -0
  64. package/src/assets/img/return-top-hover.png +0 -0
  65. package/src/assets/img/return-top.png +0 -0
  66. package/src/assets/img/sb3-bg.png +0 -0
  67. package/src/assets/img/star-ico.png +0 -0
  68. package/src/assets/img/tab-mark.png +0 -0
  69. package/src/assets/img/video-play-btn.png +0 -0
  70. package/src/assets/js/arms.js +16 -0
  71. package/src/assets/js/bus.js +14 -0
  72. package/src/assets/js/fun.js +883 -0
  73. package/src/assets/js/helper.js +575 -0
  74. package/src/assets/js/http.js +219 -0
  75. package/src/assets/js/md5.js +260 -0
  76. package/src/assets/js/rem.js +33 -0
  77. package/src/assets/js/validation.js +216 -0
  78. package/src/assets/js/zykjcommon-questions.umd.min.js +18 -0
  79. package/src/assets/logo.png +0 -0
  80. package/src/assets/scss/dialog/dialog.scss +144 -0
  81. package/src/assets/scss/exam/exam.scss +256 -0
  82. package/src/assets/scss/home/home.scss +222 -0
  83. package/src/assets/scss/index.scss +80 -0
  84. package/src/assets/scss/questions/index.scss +345 -0
  85. package/src/common/const.ts +15 -0
  86. package/src/components/common/ContentDialog.vue +172 -0
  87. package/src/components/common/IframeComponent.vue +101 -0
  88. package/src/components/common/Loading.vue +45 -0
  89. package/src/components/common/MediaLooker.vue +171 -0
  90. package/src/components/common/TextAreaEditor.vue +121 -0
  91. package/src/components/exam/QuestionCard.vue +494 -0
  92. package/src/components/exam/QuestionHeader.vue +87 -0
  93. package/src/components/exam/TimeCounter.vue +107 -0
  94. package/src/components/questions/QuestionReader.js +20 -0
  95. package/src/components/questions/Question_SingleChoice.vue +208 -0
  96. package/src/components/questions/buildEntry.js +12 -0
  97. package/src/components/questions/developmentEntry.js +11 -0
  98. package/src/components/questions/mixin.js +64 -0
  99. package/src/main.ts +176 -0
  100. package/src/router/exam.ts +50 -0
  101. package/src/router/index.ts +33 -0
  102. package/src/store/exam.ts +199 -0
  103. package/src/store/index.ts +22 -0
  104. package/src/types/common/index.ts +4 -0
  105. package/src/types/exam/exam.ts +10 -0
  106. package/src/views/exam/Analysis.vue +516 -0
  107. package/src/views/exam/Default.vue +28 -0
  108. package/src/views/exam/Exam.vue +594 -0
  109. package/src/views/exam/ReviewPaper.vue +178 -0
  110. package/src/views/exam/ReviewQuestion.vue +167 -0
  111. package/tasks/vueMapper.js +37 -0
  112. package/tasks/vueMapperTree.js +42 -0
  113. package/tsconfig.json +46 -0
  114. package/tslint.json +19 -0
  115. package/vue.config.js +107 -0
@@ -0,0 +1,144 @@
1
+ @keyframes uptodown {
2
+ 0%{
3
+ top:-100px;
4
+ }
5
+ 100%{
6
+ top: 50px;
7
+ }
8
+ }
9
+ .dialog{
10
+ & .mask{
11
+ z-index:1001;
12
+ position: fixed;
13
+ left: 0;
14
+ top: 0;
15
+ width: 100%;
16
+ height: 100%;
17
+ background: #000;
18
+ opacity: 0.6;
19
+ }
20
+ & .contentDialog{
21
+ padding:45px 20px 34px;
22
+ width: 362px;
23
+ height: 210px;
24
+ margin-left:-181px;
25
+ margin-top: -105px;
26
+ box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.15);
27
+ border-radius: 10px;
28
+ z-index:1001;
29
+ background: #fff;
30
+ position: fixed;
31
+ left:50%;
32
+ top:50%;
33
+ .header{
34
+ height: 50px;
35
+ line-height: 50px;
36
+ position: absolute;
37
+ top:0;
38
+ left:0;
39
+ width: 100%;
40
+ .close{
41
+ position: absolute;
42
+ right:0;
43
+ top:0;
44
+ font-weight: bold;
45
+ font-size: 30px;
46
+ cursor: pointer;
47
+ }
48
+ }
49
+ .content{
50
+ height: 100%;
51
+ overflow: auto;
52
+ text-align: center;
53
+ .con-text-1{
54
+ color: #222222;
55
+ line-height: 32px;
56
+ .con-text-2{
57
+ font-size: 12px;
58
+ color: #999999;
59
+ }
60
+ }
61
+ }
62
+ .footer{
63
+ width: 100%;
64
+ position: absolute;
65
+ left:0;
66
+ bottom: 20px;
67
+ display: flex;
68
+ justify-content: center;
69
+ .btn{
70
+ width: 120px;
71
+ height: 35px;
72
+ border-radius: 4px;
73
+ font-size: 12px;
74
+ text-align: center;
75
+ line-height: 35px;
76
+ &.btn-cancel{
77
+ background: #FFFFFF;
78
+ border: 1px solid #FF7D30;
79
+ color:#FF7D30;
80
+ }
81
+ &.btn-confirm{
82
+ background: #FF7D30;
83
+ color:#fff;
84
+ border: 1px solid transparent;
85
+ }
86
+ &.ml20{
87
+ margin-left:20px;
88
+ }
89
+ }
90
+ }
91
+ }
92
+ /*message弹窗*/
93
+ .message-box{
94
+ border-radius: 4px;
95
+ padding:10px;
96
+ max-width: 380px;
97
+ border-width: 1px;
98
+ border-style: solid;
99
+ display: flex;
100
+ justify-content: center;
101
+ align-items: center;
102
+ position:fixed;
103
+ top:50px;
104
+ left:50%;
105
+ transform: translateX(-50%);
106
+ z-index:1000005;
107
+ animation: 0.7s uptodown;
108
+ &.warning{
109
+ background: #fdf6ec;
110
+ border-color: #faecd8;
111
+ .ico{
112
+ width: 10px;
113
+ height: 10px;
114
+ background: #E6A23C;
115
+ color:#fff;
116
+ &:before{
117
+ content:'!';
118
+ font-size: 12px;
119
+ transform: scale(0.75);
120
+ }
121
+ }
122
+ .content{
123
+ color:#E6A23C;
124
+ }
125
+ }
126
+ &.center{
127
+ top:45%;
128
+ //animation: 1s uptoCenter;
129
+ animation:none;
130
+ }
131
+ .ico{
132
+ display: inline-block;
133
+ border-radius: 50%;
134
+ display: flex;
135
+ justify-content: center;
136
+ align-items: center;
137
+ }
138
+ .content{
139
+ margin-left:10px;
140
+ font-size: 15px;
141
+ }
142
+ }
143
+ /*message弹窗*/
144
+ }
@@ -0,0 +1,256 @@
1
+ .exam{
2
+ display: flex;
3
+ height: 100%;
4
+
5
+ flex-direction: column;
6
+ .content-outter{
7
+ flex: 1;
8
+ overflow: auto;
9
+ }
10
+ .header{
11
+ width: 100%;
12
+ height: 80px;
13
+ background: rgb(252,120,38);
14
+ &.fixed{
15
+ height: 60px;
16
+ .header-main{
17
+ .header-right{
18
+ z-index: 999;
19
+ position: fixed;
20
+ right: 120px;
21
+ line-height: 60px;
22
+ }
23
+ }
24
+ }
25
+ .header-main{
26
+ background: url("~@src/assets/img/header-bg.png") no-repeat center;
27
+ background-size: cover;
28
+ width: 14.4rem;
29
+ height: 100%;
30
+ margin:0 auto;
31
+ display: flex;
32
+ justify-content: space-between;
33
+ color:#fff;
34
+ padding:0 30px;
35
+ .header-left{
36
+ display: flex;
37
+ flex-direction: column;
38
+ font-size: 12px;
39
+ color: #FFFFFF;
40
+ width: 320px;
41
+ justify-content: center;
42
+ .header-left-top{
43
+ overflow: hidden;
44
+ text-overflow: ellipsis;
45
+ white-space: nowrap;
46
+ }
47
+ .header-left-bottom{
48
+ overflow: hidden;
49
+ text-overflow: ellipsis;
50
+ white-space: nowrap;
51
+ }
52
+ .exam-time{
53
+ margin-left:50px;
54
+ }
55
+ & > div:last-child{
56
+ margin-top: 13px;
57
+ }
58
+ }
59
+ .header-title{
60
+ font-size: 24px;
61
+ font-weight: bold;
62
+ color: #FFFFFF;
63
+ line-height: 80px;
64
+ flex:1;
65
+ text-align: center;
66
+ }
67
+ .header-right{
68
+ width: 320px;
69
+ text-align: right;
70
+ line-height: 80px;
71
+ font-size: 12px;
72
+ /*&.fixed{
73
+ z-index: 999;
74
+ position: fixed;
75
+ right: 120px;
76
+ top: -9px;
77
+ }*/
78
+ .time,.score{
79
+ font-size: 28px;
80
+ font-family: DIN-Medium, DIN;
81
+ font-weight: 500;
82
+ color: #F8DE0D;
83
+ vertical-align: -3px;
84
+ margin-left: 10px;
85
+ span{
86
+ font-size: 12px;
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ .content{
93
+ width: 14.4rem;
94
+ margin:0 auto;
95
+ padding:0.15rem 0.2rem 0;
96
+ display: flex;
97
+ justify-content: space-between;
98
+ .content-left{
99
+ /*width: 10.83rem;*/
100
+ flex:1;
101
+ position: relative;
102
+ .return-top{
103
+ width: 66px;
104
+ height: 66px;
105
+ background:url("~@src/assets/img/return-top.png") no-repeat center;
106
+ background-size: cover;
107
+ position: fixed;
108
+ /*right:-0.8rem;*/
109
+ bottom: 40px;
110
+ cursor: pointer;
111
+ &:hover{
112
+ background:url("~@src/assets/img/return-top-hover.png") no-repeat center;
113
+ background-size: cover;
114
+ }
115
+ }
116
+ .intro{
117
+ width: 100%;
118
+ background: #fff;
119
+ padding:15px;
120
+ border-radius: 8px;
121
+ .intro-tit{
122
+ font-size: 16px;
123
+ font-family: MicrosoftYaHei;
124
+ color: #333333;
125
+ }
126
+ .intro-txt{
127
+ margin-top: 9px;
128
+ font-size: 14px;
129
+ line-height: 22px;
130
+ font-family: MicrosoftYaHei;
131
+ color: #666666;
132
+ word-break: break-word;
133
+ }
134
+ }
135
+ .question-main{
136
+ width: 100%;
137
+ /*margin-top: 15px;*/
138
+ padding:0.4rem 0.3rem 0.3rem;
139
+ background: #fff;
140
+ border-radius: 8px;
141
+ .tab-list{
142
+ display: flex;
143
+ margin-bottom: 30px;
144
+ li{
145
+ cursor: pointer;
146
+ height: 32px;
147
+ margin-right: 30px;
148
+ font-size: 14px;
149
+ color: #666666;
150
+ position: relative;
151
+ .count{display: inline-block}
152
+ span{
153
+ display: none;
154
+ }
155
+ &.current{
156
+ color:#FF7D30;
157
+ span{
158
+ position: absolute;
159
+ display: inline-block;
160
+ border-bottom: 2px solid #FF7D30;
161
+ width: 70%;
162
+ left:50%;top:28px;
163
+ margin-left: -35%;
164
+ }
165
+ }
166
+ }
167
+ }
168
+ .question-list{
169
+ li{
170
+ border-bottom: 1px dotted #B9B9B9;
171
+ padding-bottom: 50px;
172
+ padding-top: 50px;
173
+ &:last-child{
174
+ border-bottom: none;
175
+ }
176
+ &:first-child{
177
+ padding-top: 0;
178
+ }
179
+ }
180
+ }
181
+ }
182
+ margin-right: 15px;
183
+ }
184
+ .content-right{
185
+ width: 302px;
186
+ .question-car-box{
187
+ position: fixed;
188
+ width: 302px;
189
+ padding:20px 31px 30px;
190
+ border-radius: 8px;
191
+ background: #fff;
192
+ .question-car-tit{
193
+ text-align: center;
194
+ font-size: 20px;
195
+ font-family: PingFang-SC-Medium, PingFang-SC;
196
+ font-weight: 500;
197
+ color: #000000;
198
+ margin-bottom: 20px;
199
+ }
200
+ .question-car-list{
201
+ li{
202
+ cursor: pointer;
203
+ float: left;
204
+ margin-right:10px;
205
+ width: 40px;
206
+ height: 40px;
207
+ line-height: 38px;
208
+ background: #fff;
209
+ border: 2px solid #FFA833;
210
+ border-radius: 50%;
211
+ text-align: center;
212
+ color:#FFA833;
213
+ margin-bottom: 15px;
214
+ &.current{
215
+ background: #FFA833;
216
+ color:#fff;
217
+ border: 2px solid transparent;
218
+ }
219
+ &.right{
220
+ background: #847CE4;
221
+ color:#fff;
222
+ border: 2px solid transparent;
223
+ }
224
+ &.err{
225
+ background: #E02020;
226
+ color:#fff;
227
+ border: 2px solid transparent;
228
+ }
229
+ &:nth-child(5n){
230
+ margin-right: 0;
231
+ }
232
+ }
233
+ }
234
+ .question-car-btngroud{
235
+ button{
236
+ width: 240px;
237
+ height: 35px;
238
+ border-radius: 18px;
239
+ margin-top: 15px;
240
+ cursor: pointer;
241
+ }
242
+ .submit{
243
+ background: #FFA833;
244
+ color:#fff;
245
+ border:1px solid transparent;
246
+ }
247
+ .quit{
248
+ color:#FFA833;
249
+ border:1px solid #FFA833;
250
+ background: #fff;
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
@@ -0,0 +1,222 @@
1
+ .home{
2
+ width:100%;
3
+ height:100%;
4
+ input{
5
+ border: none;
6
+ outline: none;
7
+ }
8
+ .login-bg{
9
+ width: 100%;
10
+ height: 100%;
11
+ background: url("~@src/assets/img/login-bg.png") no-repeat center center;
12
+ background-size: cover;
13
+ overflow: hidden;
14
+ position: relative;
15
+ .login-box{
16
+ padding:57px 35px 0;
17
+ width: 370px;
18
+ height: 428px;
19
+ margin-top: -214px;
20
+ background: url("~@src/assets/img/login-box-bg.png") no-repeat center center;
21
+ background-size: contain;
22
+ position: absolute;
23
+ /*right:228px;*/
24
+ /*bottom: 288px;*/
25
+ right:15%;
26
+ top:50%;
27
+ .login-tit{
28
+ font-family: PingFang, PingFang-Medium;
29
+ font-size: 20px;
30
+ font-weight: bold;
31
+ color: #000000;
32
+ margin-left: 50px;
33
+ }
34
+ .login-txt{
35
+ margin-bottom: 40px;
36
+ text-align: center;
37
+ font-size: 20px;
38
+ font-family: PingFang, PingFang-Medium;
39
+ color: #ff7d30;
40
+ margin-top: 31px;
41
+ }
42
+ .login-box-logo{
43
+ width: 42px;
44
+ height: 56px;
45
+ background: url("~@src/assets/img/login-box-logo.png") no-repeat center center;
46
+ background-size: contain;
47
+ position: absolute;
48
+ left:22px;
49
+ top: 29px;
50
+ }
51
+ .login-main{
52
+ li{
53
+ padding-bottom: 14px;
54
+ padding-left: 7px;
55
+ border-bottom: 1px solid #e2e2e2;
56
+ margin-bottom: 41px;
57
+ position: relative;
58
+ &:last-child{
59
+ margin-bottom: 36px;
60
+ }
61
+ .yzm-btn{
62
+ cursor: pointer;
63
+ position: absolute;
64
+ width: 90px;
65
+ height: 30px;
66
+ line-height: 30px;
67
+ text-align: center;
68
+ background: #ff7d30;
69
+ border-radius: 4px;
70
+ color:#fff;
71
+ right:0;
72
+ bottom: 7px;
73
+ &.dis{
74
+ background: #e2e2e2;
75
+ color: #999999;
76
+ cursor: not-allowed;
77
+ }
78
+ }
79
+ }
80
+ .login-btn{
81
+ width: 300px;
82
+ height: 50px;
83
+ line-height: 50px;
84
+ background: #ff7d30;
85
+ border-radius: 6px;
86
+ text-align: center;
87
+ font-size: 16px;
88
+ color:#fff;
89
+ cursor: pointer;
90
+ &.dis{
91
+ background: #e2e2e2;
92
+ color:#999999;
93
+ cursor: not-allowed;
94
+ }
95
+ }
96
+ input{
97
+ width: 100%;
98
+ font-size: 14px;
99
+ font-family: MicrosoftYaHei, MicrosoftYaHei-Regular;
100
+ &::placeholder{
101
+ color: #d2d2d2;
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ .illustrate-bg{
108
+ display: flex;
109
+ justify-content: center;
110
+ align-items: center;
111
+ width: 100%;
112
+ height: 100%;
113
+ background: url("~@src/assets/img/illustrate-bg.png") no-repeat center center;
114
+ background-size: cover;
115
+ overflow: hidden;
116
+ position: relative;
117
+ .logo-box{
118
+ width: 168px;
119
+ height: 88px;
120
+ background: #fff;
121
+ position: absolute;
122
+ left:0;
123
+ top:0;
124
+ display: flex;
125
+ justify-content: center;
126
+ align-items: center;
127
+ }
128
+ .illustrate-main{
129
+ width: 980px;
130
+ height: 728px;
131
+ background: url("~@src/assets/img/book-bg.png") no-repeat center center;
132
+ background-size: contain;
133
+ padding-top: 95px;
134
+ position: relative;
135
+ .deer-logo{
136
+ width: 310px;
137
+ height: 448px;
138
+ position: absolute;
139
+ right:-136px;
140
+ bottom: -139px;
141
+ background: url("~@src/assets/img/deer-logo.png") no-repeat center center;
142
+ background-size: contain;
143
+ }
144
+ .illustrate-tit{
145
+ margin-bottom: 50px;
146
+ font-size: 24px;
147
+ font-family: MicrosoftYaHei, MicrosoftYaHei-Regular;
148
+ font-weight: bold;
149
+ text-align: center;
150
+ color: #000000;
151
+ letter-spacing: 0.62px;
152
+ .illustrate-txt{
153
+ display: inline-block;
154
+ position: relative;
155
+ .star-ico{
156
+ top:-18px;
157
+ position: absolute;
158
+ width: 60px;
159
+ height: 70px;
160
+ transform: scale(0.5);
161
+ background: url("~@src/assets/img/star-ico.png") no-repeat center center;
162
+ background-size: contain;
163
+ &.star-ico-left{
164
+ left:-86px;
165
+ }
166
+ &.star-ico-right{
167
+ transform: rotateY(-180deg) scale(0.5);
168
+ right:-86px;
169
+ }
170
+ }
171
+ }
172
+ }
173
+ .illustrate-text-list{
174
+ width: 478px;
175
+ margin:0 auto;
176
+ li{
177
+ font-size: 16px;
178
+ font-family: MicrosoftYaHei, MicrosoftYaHei-Regular;
179
+ color: #333333;
180
+ letter-spacing: 0.41px;
181
+ margin-bottom: 30px;
182
+ &:last-child{
183
+ margin-bottom: 0;
184
+ }
185
+ }
186
+ }
187
+ .start-btn-box{
188
+ width: 478px;
189
+ margin:50px auto 0;
190
+ .start-btn{
191
+ margin-left: 25px;
192
+ cursor: pointer;
193
+ width: 360px;
194
+ height: 50px;
195
+ line-height: 50px;
196
+ background: #ff7d30;
197
+ border-radius: 6px;
198
+ font-size: 16px;
199
+ font-family: MicrosoftYaHei, MicrosoftYaHei-Regular;
200
+ text-align: center;
201
+ color: #ffffff;
202
+ letter-spacing: 0.44px;
203
+ &.dis{
204
+ background: #e2e2e2;
205
+ color:#999999;
206
+ cursor: not-allowed;
207
+ }
208
+ }
209
+ .refresh{
210
+ display: inline-block;
211
+ text-align: center;
212
+ margin-left: 25px;
213
+ cursor: pointer;
214
+ width: 360px;
215
+ margin-top: 20px;
216
+ text-decoration: none;
217
+ color:#3693FF;
218
+ }
219
+ }
220
+ }
221
+ }
222
+ }
@@ -0,0 +1,80 @@
1
+ *{padding: 0;margin: 0;box-sizing: border-box}
2
+ li{list-style: none}
3
+ html,body{
4
+ height: 100%;
5
+ overflow: hidden;
6
+ font-family: MicrosoftYaHei;
7
+ }
8
+ body{
9
+ font-size: 14px;
10
+ background: #F4F4F7;
11
+ }
12
+ .clear:after,
13
+ .clear:before {
14
+ content: " ";
15
+ display: table;
16
+ }
17
+
18
+ .clear:after {
19
+ clear: both;
20
+ }
21
+ .fr{
22
+ float:right;
23
+ }
24
+ .fl{
25
+ float:left;
26
+ }
27
+ button{
28
+ outline: none;
29
+ border:none;
30
+ cursor: pointer;
31
+ }
32
+
33
+ .triangle-top{
34
+ border-left:6px solid transparent;
35
+ border-bottom:6px solid #F7F7F7;
36
+ border-right:6px solid transparent;
37
+ width: 0;
38
+ height: 0;
39
+ position:absolute;
40
+ left:8px;
41
+ top:-6px;
42
+ }
43
+
44
+
45
+ #app{height: 100%;/*overflow: auto;*/}
46
+ /*定义滚动条宽高及背景,宽高分别对应横竖滚动条的尺寸*/
47
+ ::-webkit-scrollbar {
48
+ width: 10px;
49
+ height: 10px;
50
+ }
51
+
52
+ /*定义滚动条的轨道颜色、内阴影及圆角*/
53
+ ::-webkit-scrollbar-track {
54
+ display: none;
55
+ }
56
+
57
+ /*定义滑块颜色、内阴影及圆角*/
58
+ ::-webkit-scrollbar-thumb {
59
+ border-radius: 6px;
60
+ background-color: rgba(144, 147, 153, .3);
61
+ &:hover {
62
+ background-color: rgba(144, 147, 153, .5);
63
+ }
64
+ }
65
+
66
+ /*定义两端按钮的样式*/
67
+ ::-webkit-scrollbar-button {
68
+ display: none;
69
+ }
70
+
71
+ /*定义右下角汇合处的样式*/
72
+ ::-webkit-scrollbar-corner {
73
+ display: none;
74
+ }
75
+ /*去除input输入框自动填充后的背景*/
76
+ input:-webkit-autofill { box-shadow: 0 0 0px 1000px white inset;}
77
+ @import "~@src/assets/scss/home/home.scss";
78
+ @import "~@src/assets/scss/exam/exam.scss";
79
+ //@import "~@src/assets/scss/questions/index.scss";
80
+ @import "~@src/assets/scss/dialog/dialog.scss";