shish 4 years ago
parent
commit
20e290d0b4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      biz/pt/classes/AgreementClass.php

+ 4 - 4
biz/pt/classes/AgreementClass.php

@@ -288,7 +288,7 @@ TEXT;
             }
             $str .= "</div>";
         } else {
-            $str = "<view style='font-size:30upx;padding:20upx 0 20upx 0'>";
+            $str = "<div style='font-size:20px;padding:20px 0 20px 0'>";
             foreach ($new as $item) {
                 $content = $item['content'];
                 $style = '';
@@ -296,11 +296,11 @@ TEXT;
                     $style .= 'font-weight:bold;';
                 }
                 if (isset($item['gap']) && $item['gap'] == 2) {
-                    $style .= 'margin-top:30upx;';
+                    $style .= 'margin-top:30px;';
                 }
-                $str .= '<view style="' . $style . '">' . $content . '</view>';
+                $str .= '<div style="' . $style . '">' . $content . '</div>';
             }
-            $str .= "</view>";
+            $str .= "</div>";
         }
         echo $str;
     }