guhongwei 3 vuotta sitten
vanhempi
commit
5857c89646
2 muutettua tiedostoa jossa 15 lisäystä ja 1 poistoa
  1. 8 0
      pages/test/index.less
  2. 7 1
      pages/test/index.wxss

+ 8 - 0
pages/test/index.less

@@ -0,0 +1,8 @@
+.main {
+    position: relative;
+    width: 100%;
+
+    .one {
+        text-align: center;
+    }
+}

+ 7 - 1
pages/test/index.wxss

@@ -1 +1,7 @@
-/* pages/test/index.wxss */
+.main {
+  position: relative;
+  width: 100%;
+}
+.main .one {
+  text-align: center;
+}