瀏覽代碼

Merge branch 'dev' of http://git.izouma.com/panhui/card-wechat into dev

xuqiang 5 年之前
父節點
當前提交
d53a12f723
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      src/pages/store/productEdit.vue
  2. 1 1
      src/vant/field/index.js

+ 2 - 0
src/pages/store/productEdit.vue

@@ -23,6 +23,7 @@
                 @input="form.boxPrice = $event.detail"
                 @input="form.boxPrice = $event.detail"
                 placeholder="请输入金额"
                 placeholder="请输入金额"
             >
             >
+                <span slot="right-icon">元</span>
             </van-field>
             </van-field>
             <van-field
             <van-field
                 label="拼箱结束"
                 label="拼箱结束"
@@ -49,6 +50,7 @@
                 @input="form.postage = $event.detail"
                 @input="form.postage = $event.detail"
                 placeholder="请输入邮费"
                 placeholder="请输入邮费"
             >
             >
+                <span slot="right-icon">元</span>
             </van-field>
             </van-field>
         </van-cell-group>
         </van-cell-group>
         <div class="box-con">
         <div class="box-con">

+ 1 - 1
src/vant/field/index.js

@@ -78,7 +78,7 @@ VantComponent({
         onConfirm(event) {
         onConfirm(event) {
             const { value = '' } = event.detail || {};
             const { value = '' } = event.detail || {};
             // this.value = value;
             // this.value = value;
-            this.setData({ innerValue: '' });
+            // this.setData({ innerValue: '' });
             this.setShowClear();
             this.setShowClear();
             this.$emit('confirm', value);
             this.$emit('confirm', value);
         },
         },