Browse Source

style: taro demo modify

suzigang 4 years ago
parent
commit
ee8d1f2d3b

+ 1 - 0
src/packages/__VUE/input/index.scss

@@ -6,6 +6,7 @@
   background: $white;
   border-bottom: 1px solid $input-border-bottom;
   font-size: 14px;
+  box-sizing: border-box;
   input {
     width: 230px;
     flex: 1;

+ 1 - 1
src/packages/__VUE/rate/index.scss

@@ -1,9 +1,9 @@
 .nut-rate {
   display: flex;
   &-item {
+    display: flex;
     flex-shrink: 0;
     position: relative;
-    background-size: cover;
     &:last-child {
       margin-right: 0;
     }

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

@@ -1,13 +1,12 @@
 page {
-  height: 100%;
   width: 100%;
-
+  height: 100%;
   .demo {
     height: 100%;
     background: #f7f8fa;
     overflow-x: hidden;
     overflow-y: auto;
-    padding: 0 17px 0 17px;
+    padding: 0 17px 17px 17px;
 
     &.full {
       padding: 0 0 0 0;

+ 1 - 1
src/sites/mobile-taro/vue/src/index.html

@@ -2,7 +2,7 @@
 <html>
 <head>
   <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
-  <meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport">
+  <meta content="width=device-width,initial-scale=1,user-scalable=no,viewport-fit=cover" name="viewport">
   <meta name="apple-mobile-web-app-capable" content="yes">
   <meta name="apple-touch-fullscreen" content="yes">
   <meta name="format-detection" content="telephone=no,address=no">