|
|
@@ -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'?'已关注':'关注店铺'"></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>
|
|
|
@@ -124,7 +124,7 @@
|
|
|
this.$emit('pageAction', page)
|
|
|
},
|
|
|
goStore: function (index, compIndex) {
|
|
|
- window.open('/product/component/' + this.componentData[index].content[compIndex].uuid)
|
|
|
+ window.open('/store/' + this.componentData[index].content[compIndex].storeid + '/' + this.componentData[index].content[compIndex].batchCode)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -245,6 +245,10 @@
|
|
|
background: #5078cb;
|
|
|
border: 1px solid #5078cb;
|
|
|
}
|
|
|
+ .btn-content .is-focus {
|
|
|
+ background: #999;
|
|
|
+ border: 1px solid #999;
|
|
|
+ }
|
|
|
.btn-content .enter-store {
|
|
|
background: #ff8522;
|
|
|
border: 1px solid #ff8522;
|