|
@@ -18,7 +18,7 @@
|
|
|
<div v-if="commodities.length<=4">
|
|
|
<ul class="recommend-list clearfix">
|
|
|
<li v-for="commodity in commodities.slice(0,3)" class="big">
|
|
|
- <a :href="commodity.batchCode ? '/pcb/product/'+ commodity.productid +'/'+ commodity.batchCode : '#'" class="href">
|
|
|
+ <a :href="commodity.batchCode ? '/store/productDetail/' + commodity.batchCode : '#'" class="href">
|
|
|
<div class="img">
|
|
|
<img :src="commodity.comImg.startsWith('static')?'/'+commodity.comImg:commodity.comImg"/>
|
|
|
</div>
|
|
@@ -38,7 +38,7 @@
|
|
|
<div class="swiper-slide" v-if="commodities.length>0">
|
|
|
<ul class="recommend-list clearfix">
|
|
|
<li v-for="commodity in commodities.slice(0,4)" class="big">
|
|
|
- <a :href="commodity.batchCode ? '/pcb/product/'+ commodity.productid +'/'+ commodity.batchCode : '#'" class="href">
|
|
|
+ <a :href="commodity.batchCode ? '/store/productDetail/' + commodity.batchCode : '#'" class="href">
|
|
|
<div class="img">
|
|
|
<img :src="commodity.comImg.startsWith('static')?'/'+commodity.comImg:commodity.comImg"/>
|
|
|
</div>
|
|
@@ -55,7 +55,7 @@
|
|
|
<div class="swiper-slide" v-if="commodities.length>4">
|
|
|
<ul class="recommend-list clearfix">
|
|
|
<li v-for="commodity in commodities.slice(4,8)" class="big">
|
|
|
- <a :href="commodity.batchCode ? '/pcb/product/'+ commodity.productid +'/'+ commodity.batchCode : '#'" class="href">
|
|
|
+ <a :href="commodity.batchCode ? '/store/productDetail/' + commodity.batchCode : '#'" class="href">
|
|
|
<div class="img">
|
|
|
<img :src="commodity.comImg.startsWith('static')?'/'+commodity.comImg:commodity.comImg"/>
|
|
|
</div>
|
|
@@ -72,7 +72,7 @@
|
|
|
<div class="swiper-slide" v-if="commodities.length>8">
|
|
|
<ul class="recommend-list clearfix">
|
|
|
<li v-for="commodity in commodities.slice(8,12)" class="big">
|
|
|
- <a :href="commodity.batchCode ? '/pcb/product/'+ commodity.productid +'/'+ commodity.batchCode : '#'" class="href">
|
|
|
+ <a :href="commodity.batchCode ? '/store/productDetail/' + commodity.batchCode : '#'" class="href">
|
|
|
<div class="img">
|
|
|
<img :src="commodity.comImg.startsWith('static')?'/'+commodity.comImg:commodity.comImg"/>
|
|
|
</div>
|
|
@@ -89,7 +89,7 @@
|
|
|
<div class="swiper-slide" v-if="commodities.length>12">
|
|
|
<ul class="recommend-list clearfix">
|
|
|
<li v-for="commodity in commodities.slice(12,16)" class="big">
|
|
|
- <a :href="commodity.batchCode ? '/pcb/product/'+ commodity.productid +'/'+ commodity.batchCode : '#'" class="href">
|
|
|
+ <a :href="commodity.batchCode ? '/store/productDetail/' + commodity.batchCode : '#'" class="href">
|
|
|
<div class="img">
|
|
|
<img :src="commodity.comImg.startsWith('static')?'/'+commodity.comImg:commodity.comImg"/>
|
|
|
</div>
|