Browse Source

确认页样式,器件收藏询价增加类目(产品名称)

yangc 7 years ago
parent
commit
35fc38b684

+ 15 - 14
components/applyPurchase/BatchPublish.vue

@@ -30,7 +30,7 @@
           <td>
             <div class="prod-items">
               <div class="prod-item prod-item-large" :title="item.kind">
-                <span class="pi-title">类目:</span>
+                <span class="pi-title">类目(产品名称):</span>
                 <div class="pi-content over-ell">{{item.kind || '-'}}</div>
               </div>
               <!--<div class="prod-item prod-item-small">
@@ -104,7 +104,7 @@
           </td>
         </tr>
         <tr class="spot-goods" v-if="item.showSpotGoods">
-          <td colspan="4">
+          <td colspan="5">
             <div class="spot-goods-body">
               <div class="spot-goods-title">商城现货({{spotGoodsData.length || 0}})</div>
               <table>
@@ -175,6 +175,14 @@
                 </select>
                 <input class="form-control" type="number" v-model="modifyObj.unitPrice" :class="{'error': !validObj.unitPrice}" @blur="checkUnitPrice" @input="onUnitPriceInput">
               </div>-->
+              <!--<div class="prod-item prod-item-small">
+                <span class="pi-title">封装:</span>
+                <input type="text" class="form-control" v-model="modifyObj.encapsulation" @input="onEncapsulationChange">
+              </div>-->
+            </div>
+          </td>
+          <td>
+            <div class="prod-items">
               <div class="prod-item prod-item-large">
                 <span class="pi-title"><i class="red-text">*</i>品牌:</span>
                 <input type="text" class="form-control" v-model="modifyObj.brand" :class="{'error': !validObj.brand}" @blur="checkBrand" @input="onBrandChange">
@@ -186,10 +194,6 @@
                 <span class="pi-title">规格:</span>
                 <input type="text" class="form-control" v-model="modifyObj.spec" :class="{'error': !validObj.spec}" @input="onSpecInput" @blur="checkSpec">
               </div>
-              <!--<div class="prod-item prod-item-small">
-                <span class="pi-title">封装:</span>
-                <input type="text" class="form-control" v-model="modifyObj.encapsulation" @input="onEncapsulationChange">
-              </div>-->
             </div>
           </td>
           <td>
@@ -1126,11 +1130,8 @@
                   height: 30px;
                   line-height: 30px;
                   float: left;
-                  margin-right: 5px;
-                  &:nth-child(n + 3) {
+                  &:nth-child(2) {
                     margin-top: 9px;
-                  }
-                  &:nth-child(2n) {
                     margin-right: 0;
                   }
                   .pi-title {
@@ -1148,10 +1149,10 @@
                   }
                   &.prod-item-large {
                     .pi-content {
-                      width: 265px;
+                      width: 226px;
                     }
                     .pi-title {
-                      width: 60px;
+                      width: 115px;
                     }
                   }
                   &.prod-item-small {
@@ -1166,7 +1167,7 @@
                     line-height: normal;
                     position: absolute;
                     top: 31px;
-                    left: 113px;
+                    left: 115px;
                     background: #fff;
                     border: 1px solid #b5b5b5;
                     z-index: 1;
@@ -1401,7 +1402,7 @@
                 }
                 &:nth-child(3) {
                   input {
-                    width: 106px;
+                    width: 90px;
                   }
                 }
                 &:nth-child(4) {

+ 1 - 1
components/mobile/applyPurchase/PublishSupplierSeek.vue

@@ -5,7 +5,7 @@
       <div class="props">
         <div class="prop">型号:{{applyObj.code || '-'}}</div>
         <div class="prop">品牌:{{applyObj.brand || '-'}}</div>
-        <div class="prop">类目:{{applyObj.prodTitle || '-'}}</div>
+        <div class="prop">类目(产品名称):{{applyObj.prodTitle || '-'}}</div>
         <div class="prop">规格:{{applyObj.spec || '-'}}</div>
       </div>
       <div class="publish-seek">

+ 2 - 2
nuxt.config.js

@@ -1,7 +1,7 @@
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://api.usoftmall.com/' : 'http://10.1.51.77:8080/platform-b2c')
-const commonUrl = process.env.COMMON_URL || (isProdMode ? 'https://api-inquiry.usoftmall.com/' : 'http://10.1.51.77:7070/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://api.usoftmall.com/' : 'http://192.168.253.121:9090/platform-b2c')
+const commonUrl = process.env.COMMON_URL || (isProdMode ? 'https://api-inquiry.usoftmall.com/' : 'http://218.17.158.219:24000/')
 const materialUrl = process.env.MATERIAL_URL || (isProdMode ? 'https://api-product.usoftmall.com/' : 'http://218.17.158.219:24000/')
 
 module.exports = {