Browse Source

求购展示列表调整,手机求购轮播图替换

yangc 7 years ago
parent
commit
befbd1416c

+ 21 - 15
components/applyPurchase/ApplyInfo.vue

@@ -39,9 +39,9 @@
           </div>
           <div class="il-item il-center">
             <div class="il-box-large il-box">
-              <div :title="purchaseMan.prodTitle | nullFilter" class="fl item"><span>类目:</span><div class="content">{{(purchaseMan.prodTitle || '-') | nullFilter}}</div></div>
+              <div :title="purchaseMan.prodTitle | nullFilter" class="fl item size-middle"><span>类目:</span><div class="content">{{(purchaseMan.prodTitle || '-') | nullFilter}}</div></div>
               <div :title="purchaseMan.cmpCode" class="fl item"><span>型号:</span><div class="content">{{purchaseMan.cmpCode || '-'}}</div></div>
-              <div :title="purchaseMan.inbrand" class="fl item bottom"><span>品牌:</span><div class="content">{{purchaseMan.inbrand || '-'}}</div></div>
+              <div :title="purchaseMan.inbrand" class="fl item bottom size-middle"><span>品牌:</span><div class="content">{{purchaseMan.inbrand || '-'}}</div></div>
               <div :title="purchaseMan.spec" class="fl item bottom"><span>规格:</span><div class="content">{{purchaseMan.spec || '-'}}</div></div>
             </div>
             <div class="il-box-small il-box">
@@ -269,12 +269,12 @@
       }
       >div {
         float: right;
-        height: 32px;
-        line-height: 32px;
+        height: 33px;
+        line-height: 33px;
         >input {
           width: 241px;
-          height: 32px;
-          line-height: 32px;
+          height: 33px;
+          line-height: 33px;
           font-size: 13px;
           border: {
             top-right-radius: 0;
@@ -322,13 +322,13 @@
             }
           }
           &:nth-child(1) {
-            margin-left: 21px;
+            margin-left: 76px;
           }
           &:nth-child(2) {
             margin-left: 345px;
           }
           &:nth-child(3) {
-            margin-left: 452px;
+            margin-left: 399px;
           }
           &:nth-child(4) {
             margin-left: 71px;
@@ -365,8 +365,8 @@
               }
             }
             &.il-left {
-              width: 136px;
-              padding-left: 17px;
+              width: 236px;
+              padding: 16px 10px 0;
               div {
                 display: block;
                 &:last-child {
@@ -376,9 +376,8 @@
               }
             }
             &.il-center {
-              margin-left: 47px;
               text-align: left;
-              width: 707px;
+              width: 654px;
               .il-box {
                 display: inline-block;
                 float: left;
@@ -387,7 +386,7 @@
                 }
               }
               .il-box-large {
-                width: 570px;
+                width: 482px;
                 .fl {
                   width: 284px;
                   line-height: 19px;
@@ -406,14 +405,21 @@
                   span {
                     float: left;
                   }
+                  &.size-middle {
+                    width: 136px;
+                    margin-right: 37px;
+                    .content {
+                      width: 86px;
+                    }
+                  }
                 }
               }
               .il-box-small {
-                width: 121px;
+                width: 151px;
                 margin-left: 12px;
                 .item {
                   color: #020202;
-                  width: 121px;
+                  width: 151px;
                   margin-bottom: 6px;
                 }
               }

+ 4 - 4
components/applyPurchase/PublishApply.vue

@@ -241,7 +241,7 @@
               inquiry.enUU = this.user.data.enterprise.uu
             }
             let date = new Date()
-            let currency = this.applyObj.currency === '不限' ? null : this.applyObj.currency
+            let currency = this.applyObj.unitPrice ? this.applyObj.currency : null
             inquiry.recorderUU = this.user.data.userUU
             inquiry.code = 'MALL' + date.getTime()
             inquiry.date = date
@@ -257,7 +257,7 @@
             inquiryItem.needquantity = this.applyObj.amount
             inquiryItem.inbrand = this.applyObj.brand
             inquiryItem.currency = currency
-            inquiryItem.cmpCode = (this.applyObj.code).toUpperCase()
+            inquiryItem.cmpCode = this.applyObj.code.toUpperCase()
             inquiryItem.unitPrice = this.applyObj.unitPrice
             inquiryItem.produceDate = this.applyObj.produceDate
             inquiryItem.date = date
@@ -268,7 +268,7 @@
             let inquiryItems = []
             inquiryItems.push(inquiryItem)
             inquiry.inquiryItems = inquiryItems
-            inquiry.currency = currency
+            inquiry.currency = this.applyObj.unitPrice ? this.applyObj.currency : null
             this.$http.post('/inquiry/buyer/save', inquiry)
               .then(response => {
                 this.$message.success('发布成功')
@@ -564,7 +564,7 @@
           text-align: left;
           margin-left: 14px;
           .form-item {
-            margin-bottom: 4px;
+            margin-bottom: 3px;
             position: relative;
             span {
               width: 80px;

BIN
static/images/mobile/@2x/applyPurchase/home/app-banner_01.jpg


BIN
static/images/mobile/@2x/applyPurchase/home/app-banner_02.jpg