Browse Source

修改样式及放大图片功能

zengyicheng 2 years ago
parent
commit
cf458e7f27
2 changed files with 10 additions and 4 deletions
  1. 5 2
      src/components/study.vue
  2. 5 2
      src/components/studyStudent.vue

+ 5 - 2
src/components/study.vue

@@ -1896,7 +1896,7 @@
           </div>
           <div class="select_box2_box">
             <div class="select_box2_img">
-              <img :src="selectJson.url" alt="" />
+              <img :src="selectJson.url" @click="previewImg(selectJson.url)" alt="" />
             </div>
             <div :class="isSelect ? 'rightWidthCss' : 'select_box2_answer'">
               <div style="padding-top: 15px">
@@ -5295,7 +5295,7 @@ export default {
   margin-bottom: 10px;
 }
 
-.redioStyle>>>.el-radio__label {
+.redioStyle >>> .el-radio__label {
   font-size: 18px;
 }
 
@@ -6369,4 +6369,7 @@ export default {
 .redCss {
   color: red;
 }
+.redioStyle>>>.el-radio__input.is-disabled+span.el-radio__label{
+  color: rgb(0 123 255) !important;
+}
 </style>

+ 5 - 2
src/components/studyStudent.vue

@@ -2039,7 +2039,7 @@
           </div>
           <div class="select_box2_box">
             <div class="select_box2_img">
-              <img :src="selectJson.url" alt="" />
+              <img :src="selectJson.url" @click="previewImg(selectJson.url)" alt="" />
             </div>
             <div :class="isSelect ? 'rightWidthCss' : 'select_box2_answer'">
               <div style="padding-top: 15px">
@@ -5440,7 +5440,7 @@ export default {
   margin-bottom: 10px;
 }
 
-.redioStyle>>>.el-radio__label {
+.redioStyle >>> .el-radio__label {
   font-size: 18px;
 }
 
@@ -6509,4 +6509,7 @@ export default {
 .redCss {
   color: red;
 }
+.redioStyle>>>.el-radio__input.is-disabled+span.el-radio__label{
+  color: rgb(0 123 255) !important;
+}
 </style>