huangbin 4 éve
szülő
commit
acd4912c92

+ 1 - 0
src/assets/styles/index.css

@@ -532,6 +532,7 @@
   border-radius: 3px;
   color: #E5E5E5;
 }
+
 .dialogInput .ant-input {
   color: #E5E5E5;
   background: transparent;

+ 6 - 0
src/assets/styles/mixin.less

@@ -726,6 +726,12 @@
     }
 }
 
+.input-enumdicname {
+    color: #394753;
+    margin-left: 5px;
+    font-size: 16px;
+  }
+
 .dialogInput {
     background: @m-grey21;
     border: 1px solid @m-grey14;

+ 3 - 3
src/views/market/spot_trade/components/buy-sell-market/components/delisting/index.vue

@@ -76,8 +76,8 @@
                 <a-input-number class="dialogInput yellowInput"
                                 style="width: 260px"
                                 :min="0"
-                                v-model:value="formState.num"
-                                :suffix="selectedRow.enumdicname" />
+                                v-model:value="formState.num" />
+                <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
               </a-form-item>
             </a-col>
           </a-row>
@@ -91,7 +91,7 @@
                           class="formSlider" />
                 <div class="unit">
                   <span>1</span>
-                  <span>{{selectedRow.orderqty}}</span>
+                  <span>{{selectedRow.orderqty}}{{selectedRow.enumdicname}}</span>
                 </div>
               </a-form-item>
             </a-col>

+ 4 - 5
src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/index.vue

@@ -56,14 +56,13 @@
           <a-row :gutter="24">
             <a-col :span="24">
               <a-form-item label="摘牌数量"
-                           name="num"
-                           class="relative">
+                           name="num">
                 <a-input-number class="dialogInput yellowInput"
                                 style="width: 260px"
                                 :min="0"
                                 v-model:value="formState.num"
                                 :suffix="selectedRow.enumdicname" />
-                <div class="labelTip">(10吨起)</div>
+                <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
               </a-form-item>
             </a-col>
           </a-row>
@@ -76,8 +75,8 @@
                           :max="selectedRow.orderqty"
                           class="formSlider" />
                 <div class="unit">
-                  <span>1</span>
-                  <span>{{selectedRow.orderqty}}</span>
+                  <span>0</span>
+                  <span>{{selectedRow.orderqty}}{{selectedRow.enumdicname}}</span>
                 </div>
               </a-form-item>
             </a-col>

+ 5 - 2
src/views/market/spot_trade/components/post_buying/index.vue

@@ -55,17 +55,19 @@
                                 style="width: 260px"
                                 :min="0"
                                 v-model:value="formState.OrderQty" />
+                <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
               </a-form-item>
             </a-col>
             <a-col :span="24"
                    class="mt-10">
               <a-form-item>
                 <a-slider ::min="0"
-                          :max="300"
+                          v-model:value="formState.OrderQty"
+                          :max="99999999"
                           class="formSlider" />
                 <div class="unit">
                   <span>0</span>
-                  <span>99999999</span>
+                  <span>99999999{{selectedRow.enumdicname}}</span>
                 </div>
               </a-form-item>
             </a-col>
@@ -73,6 +75,7 @@
               <a-form-item label="起摘数量"
                            class="relative">
                 <a-input class="commonInput"
+                         :suffix="selectedRow.enumdicname"
                          style="width: 260px" />
                 <!-- <div class="tip">最小单位:1吨</div> -->
               </a-form-item>