Jelajahi Sumber

去除店铺地址字段的显示

yangc 7 tahun lalu
induk
melakukan
505c4cd2d9

+ 2 - 2
components/mobile/store/StoreDetail.vue

@@ -48,11 +48,11 @@
           <div v-if="store.enterprise.enQQ"> {{store.enterprise.enQQ}}</div>
           <div v-else><span>-</span></div>
         </li>
-        <li>
+       <!-- <li>
           <div>店铺地址:</div>
           <div v-if="store.enterprise.address">{{store.enterprise.address}}</div>
           <div v-else><span>-</span></div>
-        </li>
+        </li>-->
       </ul>
      </div>
       <div class="store-description">

+ 1 - 1
components/store/BaseInfo.vue

@@ -32,7 +32,7 @@
         <div v-if="storeInfo.enterprise">
           <div class="contact-text">
             <div v-text="storeInfo.enterprise.enName || '-'"></div>
-            <div><span class="public">地址:</span><span v-text="storeInfo.enterprise.address || '-'"></span></div>
+            <!--<div><span class="public">地址:</span><span v-text="storeInfo.enterprise.address || '-'"></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 @click="goTarget(storeInfo.enterprise.enUrl)">{{storeInfo.enterprise.enUrl || '-'}}</a></div>

+ 2 - 2
components/store/common/StoreHeader.vue

@@ -48,9 +48,9 @@
                 <li v-if="storeInfo.enterprise.enFax">
                   <span class="public">传真:</span><span v-text="storeInfo.enterprise.enFax"></span>
                 </li>
-                <li v-if="storeInfo.enterprise.address">
+                <!--<li v-if="storeInfo.enterprise.address">
                   <span class="public">地址:</span><span v-text="storeInfo.enterprise.address"></span>
-                </li>
+                </li>-->
                 <li v-if="storeInfo.enterprise.enPhone">
                   <span class="public">手机:</span><span v-text="storeInfo.enterprise.enPhone"></span>
                 </li>

+ 8 - 8
pages/mobile/user/storeinfo.vue

@@ -37,16 +37,16 @@
                   <textarea v-model="storeInfo.description" maxlength="500" ref="descTextarea"></textarea>
                   </div>
                 </li>
-                <li class="clearfix" :class="{border:  storeState !== 'look'}">
+               <!-- <li class="clearfix" :class="{border:  storeState !== 'look'}">
                   <div class="name pull-left" :class="{update: storeState !== 'look'}">店铺地址:</div>
                   <div class="text pull-left" v-if="storeState === 'look'">
                     {{storeInfo.enterprise.address || '暂无信息'}}
                   </div>
                   <div class="text pull-left" v-else>
                     <textarea v-model="storeInfo.enterprise.address" maxlength="50" ref="addTextarea"></textarea>
-                    <!--<input v-model="storeInfo.enterprise.address" type="text" maxlength="50"/>-->
+                    &lt;!&ndash;<input v-model="storeInfo.enterprise.address" type="text" maxlength="50"/>&ndash;&gt;
                   </div>
-                </li>
+                </li>-->
                 <li class="clearfix" :class="{border:  storeState !== 'look'}">
                   <div class="name pull-left" :class="{update: storeState !== 'look'}">电话:</div>
                   <div class="text pull-left" v-if="storeState === 'look'">
@@ -143,12 +143,12 @@
         handler: function (val) {
           this.setTextareaHeight()
         }
-      },
-      'storeInfo.enterprise.address': {
-        handler: function (val) {
-          this.setAddarea()
-        }
       }
+//      'storeInfo.enterprise.address': {
+//        handler: function (val) {
+//          this.setAddarea()
+//        }
+//      }
     },
     methods: {
       setRemindText (str) {