shenjj 7 년 전
부모
커밋
e5671e2164
2개의 변경된 파일9개의 추가작업 그리고 8개의 파일을 삭제
  1. 7 7
      components/store/BaseInfo.vue
  2. 2 1
      nuxt.config.js

+ 7 - 7
components/store/BaseInfo.vue

@@ -31,11 +31,11 @@
         </div>
         <div ng-if="storeInfo.enterprise">
           <div class="contact-text">
-            <div v-text="storeInfo.enterprise.enName">深圳市华商龙商务互联科技有限公司</div>
-            <div v-if="storeInfo.enterprise.enAddress.length >0"><span class="public">地址:</span><span v-text="storeInfo.enterprise.address || storeInfo.enterprise.enAddress">深圳市南山区科技园科技南五路英唐大厦一楼</span></div>
-            <div v-if="storeInfo.enterprise.enTel.length >0"><span class="public">电话:</span><span v-text="storeInfo.enterprise.enTel">0755-26038000/26038047/26038008/86140880</span></div>
-            <div v-if="storeInfo.enterprise.enFax && storeInfo.enterprise.enFax.length > 0"><span class="public">传真:</span><span v-text="storeInfo.enterprise.enFax">0755-26038111</span></div>
-            <div v-if="storeInfo.enterprise.enUrl.length >0">官网地址:<a :href=storeInfo.enterprise.enUrl target="_blank">{{storeInfo.enterprise.enUrl}}</a></div>
+            <div v-text="storeInfo.enterprise.enName || '-'"></div>
+            <div><span class="public">地址:</span><span v-text="storeInfo.enterprise.enAddress || '-'"></span></div>
+            <div><span class="public">电话:</span><span v-text="storeInfo.enterprise.enTel || '-'"></span></div>
+            <div><span class="public">传真:</span><span v-text="storeInfo.enterprise.enFax || '-'"></span></div>
+            <div><span class="public">官网地址:</span><a :href=storeInfo.enterprise.enUrl target="_blank">{{storeInfo.enterprise.enUrl || '-'}}</a></div>
             <div v-if="storeInfo.enterprise.enPhone && storeInfo.enterprise.enPhone.length > 0"><span class="public">手机:</span><span v-text="storeInfo.enterprise.enPhone">136********</span></div>
             <div v-if="storeInfo.enterprise.enWeixin && storeInfo.enterprise.enWeixin.length > 0"><span class="public">微信:</span><span v-text="storeInfo.enterprise.enWeixin">好名字更容易让人记住你</span></div>
             <div v-if="storeInfo.enterprise.enQQ && storeInfo.enterprise.enQQ.length > 0"><span class="public">Q&nbsp;Q:</span><span v-text="storeInfo.enterprise.enQQ">123456789</span></div>
@@ -51,7 +51,7 @@
           </h3>
         </div>
         <div>
-          <div class="div-proof" style="position:relative;" v-for="qualification in qualifications">
+          <div class="div-proof" style="position:relative;" v-for="(qualification, index) in qualifications" :key="index">
             <div v-if="qualification.isPdf">
               <img src="/images/store/common/timg.png" alt="" style="max-width: 124px; max-height: 147px;">
               <div class="hover-show hover-shows">
@@ -175,7 +175,7 @@ export default {
     height: 100%
   }
   #contact-fragment .contact-text .public {
-    width:44px;
+    width:80px;
     display:inline-block;
     text-align: justify;
     vertical-align:top;

+ 2 - 1
nuxt.config.js

@@ -164,6 +164,7 @@ module.exports = {
     '/inquiry/**': commonUrl,
     '/b2b/**': baseUrl,
     '/commodity-service/**': baseUrl,
-    '/background/**': baseUrl
+    '/background/**': baseUrl,
+    '/goods/**': baseUrl
   }
 }