YY 2 年之前
父节点
当前提交
59afbeba8d
共有 3 个文件被更改,包括 9 次插入1 次删除
  1. 4 0
      pagesSchool/common/coachinfo.less
  2. 3 0
      pagesSchool/common/coachinfo.wxss
  3. 2 1
      project.config.json

+ 4 - 0
pagesSchool/common/coachinfo.less

@@ -1,4 +1,5 @@
 @import (css) "/app.wxss";
+
 .main {
     background-color: var(--mainColor);
 
@@ -16,12 +17,15 @@
             padding: 10px;
 
             .text {
+                width: 22vw;
                 color: var(--f85Color);
                 font-size: var(--font16Size);
             }
 
             .text1 {
+                width: 70vw;
                 font-size: var(--font16Size);
+                text-align: right;
             }
 
             .image {

+ 3 - 0
pagesSchool/common/coachinfo.wxss

@@ -16,11 +16,14 @@
   padding: 10px;
 }
 .main .one .one_1 .text {
+  width: 22vw;
   color: var(--f85Color);
   font-size: var(--font16Size);
 }
 .main .one .one_1 .text1 {
+  width: 70vw;
   font-size: var(--font16Size);
+  text-align: right;
 }
 .main .one .one_1 .image {
   width: 15vw;

+ 2 - 1
project.config.json

@@ -46,7 +46,8 @@
         "minifyWXML": true,
         "showES6CompileOption": false,
         "useCompilerPlugins": false,
-        "ignoreUploadUnusedFiles": true
+        "ignoreUploadUnusedFiles": true,
+        "useStaticServer": true
     },
     "compileType": "miniprogram",
     "libVersion": "2.19.4",