ソースを参照

style: modify taro:h5 style

suzigang 4 年 前
コミット
78e6cf315e

+ 1 - 1
src/sites/mobile-taro/vue/package.json

@@ -36,7 +36,7 @@
   "author": "",
   "author": "",
   "dependencies": {
   "dependencies": {
     "@babel/runtime": "^7.7.7",
     "@babel/runtime": "^7.7.7",
-    "@nutui/nutui": "^3.0.0",
+    "@nutui/nutui-taro": "^3.0.2",
     "@tarojs/components": "^3.3.0-alpha.8",
     "@tarojs/components": "^3.3.0-alpha.8",
     "@tarojs/runtime": "^3.3.0-alpha.8",
     "@tarojs/runtime": "^3.3.0-alpha.8",
     "@tarojs/taro": "^3.3.0-alpha.8",
     "@tarojs/taro": "^3.3.0-alpha.8",

+ 2 - 1
src/sites/mobile-taro/vue/src/app.scss

@@ -1,4 +1,5 @@
-page {
+page,
+#app {
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   .demo {
   .demo {

+ 5 - 0
src/sites/mobile-taro/vue/src/pages/index/index.vue

@@ -93,6 +93,7 @@ export default {
         line-height: 48px;
         line-height: 48px;
         font-size: 34px;
         font-size: 34px;
         color: rgba(51, 51, 51, 1);
         color: rgba(51, 51, 51, 1);
+        font-weight: 500;
       }
       }
       p {
       p {
         height: 18px;
         height: 18px;
@@ -139,6 +140,10 @@ export default {
         }
         }
       }
       }
     }
     }
+    ol,
+    li {
+      list-style: none;
+    }
   }
   }
 }
 }
 </style>
 </style>