wyq 3 лет назад
Родитель
Сommit
cdee527d5b
3 измененных файлов с 11 добавлено и 15 удалено
  1. 0 2
      src/css/print.css
  2. 0 1
      src/css/staticInfo.less
  3. 11 12
      src/js/staticInfo.js

+ 0 - 2
src/css/print.css

@@ -38,13 +38,11 @@
     margin: 10px 0;
     display: flex;
     flex-flow: wrap;
-    
   }
   .radio {
     display: flex;
     margin: 5px;
     margin-right: 25px;
-    float: none;
   } 
   label{
     font-weight: 400;

+ 0 - 1
src/css/staticInfo.less

@@ -371,7 +371,6 @@
         margin: 5px;
         margin-right: 25px;
         float: left;
-        word-wrap: break-word;
         label{
           font-weight: 400;
           color: #666666;

+ 11 - 12
src/js/staticInfo.js

@@ -239,22 +239,21 @@ function renderContentscale(list, contentWrapClassName, name) {
   getprinting()
 
 }
+getbrowser(){
+  var mb = myBrowser();
+  if ("IE" == mb) {
+    $('.radio').css({
+      'float': 'none', //高度自动
+    })
+  }
+}
 function getprinting() {
   $('.printing').click(function () {
     $('.foot').hide()
     $('.scalebot').hide()
-     
-    var mb = myBrowser();
-    if ("IE" == mb) {
-      $('#Print').css({
-        'height': 'auto', //高度自动
-      }).jqprint();
-    }else{
-      $('#Print').css({
-        'height': 'auto', //高度自动
-      }).print();
-    }
-
+    $('#Print').css({
+      'height': 'auto', //高度自动
+    }).print();
     $('.foot').show()
     $('.scalebot').show()
     $('#Print').css({