panhui 4 years ago
parent
commit
cdb7b81b8d
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/views/asset/Consignment.vue

+ 5 - 3
src/views/asset/Consignment.vue

@@ -11,12 +11,14 @@
                 <!-- <van-field type="number" input-align="center" placeholder="请输入价格" v-model="price" /> -->
                 <van-stepper
                     v-model="price"
-                    default-value="0"
+                    :default-value="''"
                     :show-plus="false"
                     :show-minus="false"
                     :decimal-length="2"
+                    allow-empty
                     max="20000"
                     min="0"
+                    placeholder="请输入价格"
                 />
                 <div class="title">预计收入(元)</div>
                 <div class="info-item">
@@ -350,7 +352,7 @@ export default {
         }
     }
     .border {
-        width: 375px;
+        // width: 375px;
         height: 5px;
         background: @bg3;
         &.border1 {
@@ -358,7 +360,7 @@ export default {
         }
     }
     .content {
-        width: 375px;
+        // width: 375px;
         background: @bg;
 
         .title {