Forráskód Böngészése

输入框类型处理

zhouna 5 éve
szülő
commit
d9b5b48208
1 módosított fájl, 11 hozzáadás és 9 törlés
  1. 11 9
      src/common/Input.vue

+ 11 - 9
src/common/Input.vue

@@ -20,6 +20,9 @@
       item:{
         default:''
       },
+      num:{
+        default:-1
+      },
       slide:{
         default:false,
         type:Boolean
@@ -88,21 +91,20 @@
 <style lang="less" scoped>
 @import '../less/base.less';
   .inp-wrap{
-    .bgques;
-    padding-bottom: 0;
+    display: block;
+    position: fixed;
+    bottom: 0;
+    width: 100%;
+    padding:0.12rem 0 0;
+    text-align:center;
     input{
-      width: 100%;
+      width: 92%;
       color: #colors[theme];
       font-size: .3rem;
-      border: 0 none;
-      border-bottom: 1px solid #DFE0E4;
-      margin-bottom: .3rem;
-      border-radius: 0;
+      border-bottom: 1px solid #e6e6e6;
       outline-color: invert;
       padding-left: 0.1rem;
       box-sizing: border-box;
-      // background: #fff;
-      background: transparent;
     }
     .change{
       border-color:  #colors[theme];