|
|
@@ -43,7 +43,7 @@
|
|
|
class="pick_img"
|
|
|
mode="widthFix"
|
|
|
:src="item.image"
|
|
|
- @click="goto('/pages/product/productRetail', { type: item.type })"
|
|
|
+ @click="toPage(item.type)"
|
|
|
></image>
|
|
|
</view>
|
|
|
<!-- 天天捡漏等活动区-end -->
|
|
|
@@ -144,7 +144,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- // 天天捡漏
|
|
|
+ // 横幅活动
|
|
|
getActivityList() {
|
|
|
post("v1/goods/simple").then((res) => {
|
|
|
if (res.code === 0) {
|
|
|
@@ -154,6 +154,13 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ toPage(type){
|
|
|
+ if(type == 1){
|
|
|
+ this.goto("/pagesB/specialregion/index")
|
|
|
+ }else{
|
|
|
+ this.goto("/pages/product/productRetail", { type: type })
|
|
|
+ }
|
|
|
+ },
|
|
|
typeto(va) {
|
|
|
switch (va) {
|
|
|
case 1: return "消费商";
|