Browse Source

解决产品详情页面点击加减时价格梯度所对应的单价不变化的问题以及隐藏器件详情的收藏

hangb 8 years ago
parent
commit
d286f5ed56

+ 1 - 1
components/searchStore/StoreContent.vue

@@ -21,7 +21,7 @@
           <span>库存量:<span v-text="store.totalReserve"></span></span>
         </div>
         <div class="btn-content">
-          <!--<a class="focus-store store-btn" @click="focusStore(store, index)" v-text="focusData[index] === 'true'?'已关注':'关注店铺'" :class="{'is-focus': focusData[index] === 'true'}"></a>-->
+          <a class="focus-store store-btn" @click="focusStore(store, index)" v-text="focusData[index] === 'true'?'已关注':'关注店铺'" :class="{'is-focus': focusData[index] === 'true'}"></a>
           <a :href="'/store/' + store.uuid" target="_blank" class="enter-store store-btn">进入店铺</a>
         </div>
       </div>

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

@@ -14,7 +14,7 @@
                   </a>
                 </div>
                 <div class="icon-style">
-                  <!--<button class="btn btn-xs btn-danger btn-nav" v-if="!isFocus"><span class="watch">关注</span></button>-->
+                  <button class="btn btn-xs btn-danger btn-nav" v-if="!isFocus"><span class="watch">关注</span></button>
                   <span v-if="isFocus == 'false' || typeof isFocus == 'object'"><button type="text" @click="focus(storeInfo.id, storeInfo.storeName)" class="btn btn-xs btn-danger btn-nav"><span class="watch">关注</span></button></span>
                   <span v-if="isFocus == 'true'" ><button class="btn btn-xs btn-default btn-nav" style="width:50px"><span>已关注</span></button></span>
                   <span v-if="storeInfo.type == 'ORIGINAL_FACTORY'">&nbsp;<img src="/images/store/icon/icon-factory.png"/></span>