Browse Source

修改搜索型号联系买卖家字段问题

shenjj 7 years ago
parent
commit
3c88f55c6f
1 changed files with 7 additions and 7 deletions
  1. 7 7
      pages/mobile/search/newkeycode.vue

+ 7 - 7
pages/mobile/search/newkeycode.vue

@@ -138,7 +138,7 @@
                        <div class="middle_bottom-leftitem clearfix">
                          <div class="bottom-title">电话</div><label style="float: left">:</label>
                          <div class="overHidden" style="width: 3.9rem">
-                           <a :href="'tel:' + AlertstoreInfo.enterprise.enTel" target="_blank" class="content-line" style="color: #2d8cf0">{{item.enTel}}</a>
+                           <a :href="'tel:' + item.enTel" target="_blank" class="content-line" style="color: #2d8cf0">{{item.enTel}}</a>
                          </div>
                        </div>
                        <!--<div class="middle_bottom-leftitem clearfix">-->
@@ -242,10 +242,10 @@
      <div class="mobile-modal-box mobile-link-en">
        <div class="mobile-modal-header">联系方式<i @click="showStoreInfo = false" class="icon-guanbi iconfont"></i></div>
        <div class="mobile-modal-content">
-         <div v-if="AlertstoreInfo.enterprise.enTel"><span >电话:</span><a :href="'tel:' + AlertstoreInfo.enterprise.enTel" target="_blank" class="content-line link-url">{{AlertstoreInfo.enterprise.enTel}}</a></div>
-         <div v-if="AlertstoreInfo.enterprise.enPhone"><span >手机:</span><a :href="'tel:' + AlertstoreInfo.enterprise.enPhone" target="_blank" class="content-line link-url">{{AlertstoreInfo.enterprise.enPhone}}</a></div>
-         <div v-if="AlertstoreInfo.enterprise.enWeixin"><span >微信:</span><span class="content-line">{{AlertstoreInfo.enterprise.enWeixin}}</span></div>
-         <div v-if="AlertstoreInfo.enterprise.enQQ"><span >Q&nbsp;Q:</span><span class="content-line">{{AlertstoreInfo.enterprise.enQQ}}</span></div>
+         <div v-if="AlertstoreInfo.enterpriseInfo.enTel"><span >电话:</span><a :href="'tel:' + AlertstoreInfo.enterpriseInfo.enTel" target="_blank" class="content-line link-url">{{AlertstoreInfo.enterpriseInfo.enTel}}</a></div>
+         <div v-if="AlertstoreInfo.enterpriseInfo.enPhone"><span >手机:</span><a :href="'tel:' + AlertstoreInfo.enterpriseInfo.enPhone" target="_blank" class="content-line link-url">{{AlertstoreInfo.enterpriseInfo.enPhone}}</a></div>
+         <div v-if="AlertstoreInfo.enterpriseInfo.enWeixin"><span >微信:</span><span class="content-line">{{AlertstoreInfo.enterpriseInfo.enWeixin}}</span></div>
+         <div v-if="AlertstoreInfo.enterpriseInfo.enQQ"><span >Q&nbsp;Q:</span><span class="content-line">{{AlertstoreInfo.enterpriseInfo.enQQ}}</span></div>
          <div v-if="!empty">暂无联系方式</div>
        </div>
      </div>
@@ -324,7 +324,7 @@
         keyword: '', // 关键字搜索
         showStoreInfo: false, // 联系买卖家弹窗
         AlertstoreInfo: { // 买卖家弹窗信息
-          enterprise: {}
+          enterpriseInfo: {}
         },
         navType: 'hasStore', // 现货 期货
         ChooseTop: 'component', // 型号, 物料名称, 卖家, 品牌
@@ -361,7 +361,7 @@
         }
       },
       empty () {
-        return this.checkInfo(this.AlertstoreInfo.enterprise.enTel) || this.checkInfo(this.AlertstoreInfo.enterprise.enPhone) || this.checkInfo(this.AlertstoreInfo.enterprise.enWeixin) || this.checkInfo(this.AlertstoreInfo.enterprise.enQQ)
+        return this.checkInfo(this.AlertstoreInfo.enterpriseInfo.enTel) || this.checkInfo(this.AlertstoreInfo.enterpriseInfo.enPhone) || this.checkInfo(this.AlertstoreInfo.enterpriseInfo.enWeixin) || this.checkInfo(this.AlertstoreInfo.enterpriseInfo.enQQ)
       },
       placeholder() {
         if (this.ChooseTop === 'component') {