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

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP2.0_WEB

huangbin 4 éve
szülő
commit
d472ccb33e
2 módosított fájl, 35 hozzáadás és 17 törlés
  1. 17 1
      src/assets/styles/mixin.less
  2. 18 16
      src/views/order/commodity_contract/index.vue

+ 17 - 1
src/assets/styles/mixin.less

@@ -2244,7 +2244,7 @@ input:-internal-autofill-selected {
     }
 }
 
-.commonRadioGroup {
+.commonRadioGroup,.conditionCommonRadioGroup {
     .ant-radio-wrapper {
         color: @m-white6;
         font-size: 14px;
@@ -2289,6 +2289,22 @@ input:-internal-autofill-selected {
         }
     }
 }
+.conditionCommonRadioGroup {
+    margin-bottom: 2px;
+    .ant-radio-wrapper {
+        font-size: 12px;
+        .ant-radio {
+            .ant-radio-inner {
+               width: 14px;
+               height: 14px;
+               &::after {
+                    left: 3px;
+                    top: 3px;
+                }
+            }
+        }
+    }
+}
 
 .tc {
     text-align: center;

+ 18 - 16
src/views/order/commodity_contract/index.vue

@@ -1,20 +1,22 @@
 <template>
-  <!-- 商品合约 -->
-  <section class="spot_warran">
-    <component :is="componentId"
-               v-if="componentId">
-    </component>
-    <thirdMenu :list="tabList"
-               @selectMenu="changeTab"
-               :value="'title'">
-      <!-- 议价单 -->
-      <div class="goods-apply"
-           v-if="componentId === BARGIN">
-        <span @click="changeBargain(ApplyType.my)">我的议价</span>
-        <span @click="changeBargain(ApplyType.counterpart)">对方议价</span>
-      </div>
-    </thirdMenu>
-  </section>
+    <!-- 商品合约 -->
+    <section class="spot_warran">
+        <component :is="componentId" v-if="componentId"></component>
+        <thirdMenu :list="tabList" @selectMenu="changeTab" :value="'title'">
+            <!-- 议价单 -->
+            <div class="goods-apply" v-if="componentId === BARGIN">
+                <!-- <span @click="changeBargain(ApplyType.my)">我的议价</span>
+                <span @click="changeBargain(ApplyType.counterpart)">对方议价</span>-->
+                <a-radio-group class="conditionCommonRadioGroup">
+                    <a-radio @focus="changeBargain(ApplyType.my)" :value="ApplyType.my">我的议价</a-radio>
+                    <a-radio
+                        @focus="changeBargain(ApplyType.counterpart)"
+                        :value="ApplyType.counterpart"
+                    >对方议价</a-radio>
+                </a-radio-group>
+            </div>
+        </thirdMenu>
+    </section>
 </template>
 
 <script lang="ts">