zhangjie 2 months ago
parent
commit
a89ac2ffc5

+ 5 - 4
card/assets/styles/card-preview.scss

@@ -352,17 +352,18 @@
 // course-barcode
 .course-barcode {
   position: absolute;
-  width: 200px;
+  min-width: 200px;
   height: 40px;
   top: 10px;
   left: 50%;
-  margin-left: -200px;
+  transform: translateX(-100%);
+  -webkit-transform: translateX(-100%);
   text-align: center;
 
   img {
-    display: block;
+    display: inline-block;
     height: 28px;
-    width: 100%;
+    width: auto;
     border: none;
   }
   img[src=""] {

+ 5 - 4
card/assets/styles/card-temp.css

@@ -288,17 +288,18 @@
 
 .course-barcode {
   position: absolute;
-  width: 200px;
+  min-width: 200px;
   height: 40px;
   top: 10px;
   left: 50%;
-  margin-left: -200px;
+  transform: translateX(-100%);
+  -webkit-transform: translateX(-100%);
   text-align: center;
 }
 .course-barcode img {
-  display: block;
+  display: inline-block;
   height: 28px;
-  width: 100%;
+  width: auto;
   border: none;
 }
 .course-barcode img[src=""] {

File diff suppressed because it is too large
+ 0 - 0
card/previewTemp.js


+ 1 - 1
src/modules/mark/components/markDetail/MarkDetailMarker.vue

@@ -99,7 +99,7 @@
         <el-table-column
           class-name="action-column"
           label="操作"
-          width="140"
+          width="220"
           fixed="right"
         >
           <template slot-scope="scope">

Some files were not shown because too many files changed in this diff