Selaa lähdekoodia

不允许拷贝

y595705120 2 vuotta sitten
vanhempi
commit
5125072689

+ 7 - 0
src/assets/css/exam.css

@@ -126,3 +126,10 @@
 .w130{
   width: 130px;
 }
+
+.n-select{
+ -webkit-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
+}

+ 0 - 114
src/containers/center/exam/index.css

@@ -1,114 +0,0 @@
-[v-cloak] {
-  display: none;
-}
-.center {
-  text-align: center;
-}
-.card-header {
-  padding: 10px;
-  margin-top: 30px;
-}
-
-
-.answer-item {
-  padding: 8px;
-  width: 100%;
-}
-
-.answer-title{
-  font-size: 15px;
-  word-wrap:break-word;
-  word-break:normal;
-  white-space:normal;
-  white-space: normal;
-}
-
-
-.el-radio, .el-radio__input{
-  word-wrap:break-word;
-  word-break:normal;
-  white-space: normal;
-}
-
-.el-radio__label{
-  font-size: 15px !important;
-  line-height:150%;
-  letter-spacing: 1px;
-}
-.mark{
-  position:absolute;
-  bottom: 70px;
-  left: 20px;
-}
-.select {
-  background-color: #7FBAE4 !important;
-}
-
-.question {
-  padding: 4px 0;
-  min-height: 100px;
-}
-.question span{
-  padding-left: 20px;
-}
-
-.exam-content {
-  margin: 0 auto;
-  font-size: 17px;
-  margin-top: 40px;
-}
-
-.exam-content .box-card {
-  position: relative;
-  padding: 10px;
-  margin: 10px;
-  min-height: 660px;
-  padding-bottom: 100px;
-}
-
-.page-ctrl{
-  position:absolute;
-  bottom: 40px;
-  right: 40px;
-  padding: 3px 0;
-}
-
-.b-grid {
-  width: 100%;
-  padding: 8px !important;
-  text-align: center !important;
-  background-color: #ffffff;
-}
-.finish {
-  background-color: #add8e6 !important;
-}
-.el-radio__inner{
-  border: 1px solid #1c1c1d;
-  border-radius: 100%;
-  background-color: #FFF;
-  -webkit-box-sizing: border-box;
-  box-sizing: border-box;
-}
-
-.red {
-  color: red;
-}
-
-.clearfix:before,
-.clearfix:after {
-  display: table;
-  content: "";
-}
-
-.card-select {
-  margin: 10px auto;
-  font-size: 16px;
-  font-weight: 900;
-  margin-top: 50px;
-}
-.select-item{
-  padding: 0px !important;
-  margin: 1px;
-  margin-top: 5px;
-  height: 36px;
-}

+ 2 - 2
src/containers/center/exam/index.vue

@@ -16,7 +16,7 @@
                   </span>
                 </div>
 
-                <div class="q-single">
+                <div class="q-single n-select">
                   <div class="question">
                     题目 : <span v-html="currentQuestion.title"></span>
                   </div>
@@ -363,6 +363,6 @@ export default {
 </script>
 
 <style lang="css">
-  @import url("./index.css");
+  @import url("../../../assets/css/exam.css");
   @import url("../../../assets/css/base.css");
 </style>

+ 2 - 2
src/containers/center/exam/indexTest.vue

@@ -1,6 +1,6 @@
 <template lang="html">
   <div class="m-right-block fr">
-    <div class="exam-card">
+    <div class="exam-card n-select">
         <el-row :gutter="20">
           <el-col :span="16"  :loading="loading">
             <div class="exam-content">
@@ -459,6 +459,6 @@ export default {
 </script>
 
 <style lang="css">
-  @import url("./index.css");
+  @import url("../../../assets/css/exam.css");
   @import url("../../../assets/css/base.css");
 </style>

+ 2 - 2
src/containers/center/play/components/iCourseAnswerTest.vue

@@ -16,11 +16,11 @@
       </li>
     </ul>
 
-    <el-card style="width: 750px;min-height: 400px;">
+    <el-card style="width: 750px;min-height: 400px;text-align: left;">
       <div slot="header" class="clearfix">
         <span>第{{index+1}}题({{currentQuestion.type|getType}})</span>
       </div>
-      <div class="q-single">
+      <div class="q-single n-select">
         <div class="question">
           题目 : <span v-html="currentQuestion.title"></span>
         </div>