Browse Source

供应商发布商品增加 字段

zhengjinyi 2 years ago
parent
commit
1571616b0d

+ 3 - 1
src/main/resources/static/css/product/detail.h5.css

@@ -98,7 +98,9 @@ li{list-style:none}
 .productInfo .tabCon td a{color: #4688fa;}
 .productInfo .tabCon td:nth-of-type(1){width:33.3%;color:#93979F}
 .productInfo .tabCon td:nth-of-type(2){width:33.3%;color:#93979F}
-.productInfo .tabCon td:nth-of-type(3){width:33.3%;color:#4688fa}
+.productInfo .tabCon td:nth-of-type(3){width:33.3%;color:#93979F}
+.productInfo .tabCon td a{color:#4688fa}
+.productInfo .product-qualificationTable{margin-bottom: 3vw;}
 .tabCon .item div p{line-height: 6vw;text-align: left;font-size:3.3vw}
 .tabCon .item div p.tl{line-height:8vw;text-align: left; font-weight: bold;}
 .productInfo .comment{color:#93979F;padding:5vw 0;    margin-right: 25px;position: relative}

+ 3 - 1
src/main/resources/static/css/product/detail.pc.css

@@ -161,8 +161,10 @@ li{list-style:none;}
 .productInfo .tabCon td a{color: #4688fa;}
 .productInfo .tabCon td:nth-of-type(1){width:30%;color:#93979F}
 .productInfo .tabCon td:nth-of-type(2){width:40%;color:#93979F}
-.productInfo .tabCon td:nth-of-type(3){width:30%;color:#4688fa}
+.productInfo .tabCon td:nth-of-type(3){width:30%;color:#93979F}
+.productInfo .tabCon td a{color:#4688fa}
 .productInfo .comment{color:#93979F;padding:40px 0;margin-right: 30px; position: relative}
+.productInfo .product-qualificationTable{margin-bottom: 15px;}
 .productInfo .product-qualificationImg{width: 100%;height: auto;}
 .productInfo .product-qualificationImg image{width: 100%;height: auto;display: block;}
 .wrap>.rgt{float:right;width:284px}

+ 3 - 0
src/main/resources/static/js/supplier-center/shop/release.js

@@ -177,6 +177,9 @@ var releaseContainer = new Vue({
                     _this.releaseParams.step = data.step;
                     _this.releaseParams.byFlag = data.byFlag;
                     _this.releaseParams.allAreaFlag = data.allAreaFlag;
+                    _this.releaseParams.productName = data.productName;
+                    _this.releaseParams.qualificationNo = data.qualificationNo;
+                    _this.releaseParams.qualificationTime = data.qualificationTime;
                     _this.releaseParams.newProductType = data.newProductType;
                     _this.releaseParams.detailInfo = data.productDetail.detailInfo;
                     _this.releaseParams.serviceInfo = data.productDetail.serviceInfo;

+ 3 - 3
src/main/resources/templates/product/detail.html

@@ -594,10 +594,10 @@
                                 <td>详情</td>
                             </tr>
                             <tr>
-                                <td>国械注进20153011801</td>
-                                <td>二氧化碳手术激光系统CO2 Laser Surgery Unit</td>
+                                <td>{{ product.qualificationNo }}</td>
+                                <td>{{ product.productName }}</td>
                                 <td>
-                                    <a target="_blank" href="https://www.nmpa.gov.cn/datasearch/search-info.html?nmpa=aWQ9NTk0NjAmaXRlbUlkPTJjOWJhMzg0NzU5Yzk1NzcwMTc1OWNjZmMwMmIwMzQz">查看</a>
+                                    <a target="_blank" :href="product.qualificationLink">查看</a>
                                 </td>
                             </tr>
                         </table>

+ 1 - 1
src/main/resources/templates/supplier-center/shop/release.html

@@ -215,7 +215,7 @@
                             </div>
                             <div class="release-from clear" v-if="releaseParams.productType == 2" id="EffectiveDate">
                                 <div class="release-label"><span class="star">*</span>证书有效期:</div>
-                                <div class="release-input"><input class="input" style="width: 220px;" v-model="releaseParams.qualificationTime" maxlength="40" type="date" placeholder="年/月/日"></div>
+                                <div class="release-input"><input class="input" type="date"  style="width: 220px;" v-model="releaseParams.qualificationTime" maxlength="40" required="required"></div>
                                 <div class="release-tips" v-show="vShow_QualificationTime">{{fromMessage}}</div>
                             </div>
                             <div class="release-from none clear">