|
@@ -36,7 +36,7 @@
|
|
|
<view class="activity" v-if="spc_list.length > 0">
|
|
<view class="activity" v-if="spc_list.length > 0">
|
|
|
<image class="act_one_img" :src="spc_list[0].url" @click="setPageUrl({ type: 4 })" mode=""></image>
|
|
<image class="act_one_img" :src="spc_list[0].url" @click="setPageUrl({ type: 4 })" mode=""></image>
|
|
|
<view class="act_other">
|
|
<view class="act_other">
|
|
|
- <image class="act_two_img" :src="spc_list[1].url" mode=""></image>
|
|
|
|
|
|
|
+ <image class="act_two_img" :src="spc_list[1].url" @click="setPageUrl({ type: 6 })" mode=""></image>
|
|
|
<image class="act_two_img" :src="spc_list[2].url" mode="" @click="goNoticeList"></image>
|
|
<image class="act_two_img" :src="spc_list[2].url" mode="" @click="goNoticeList"></image>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -49,13 +49,15 @@
|
|
|
<view class="image-view">
|
|
<view class="image-view">
|
|
|
<image class="product-image" :src="i.original_img"></image>
|
|
<image class="product-image" :src="i.original_img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view :class="['product-title', 'ellipsis1']">{{ i.goods_name }}</view>
|
|
|
|
|
- <view class="product-price">
|
|
|
|
|
- <text class="product-price-original"><text class="product-unit">¥</text>{{ i.price }}</text>
|
|
|
|
|
- <!-- <text class="product-price-favour">¥{{i.originalPrice}}</text> -->
|
|
|
|
|
- <!-- <text class="product-tip">{{i.tip}}</text> -->
|
|
|
|
|
|
|
+ <view class="content-view">
|
|
|
|
|
+ <view :class="['product-title', 'ellipsis1']">{{ i.goods_name }}</view>
|
|
|
|
|
+ <view class="product-price">
|
|
|
|
|
+ <text class="product-price-original"><text class="product-unit">¥</text>{{ i.price }}</text>
|
|
|
|
|
+ <!-- <text class="product-price-favour">¥{{i.originalPrice}}</text> -->
|
|
|
|
|
+ <!-- <text class="product-tip">{{i.tip}}</text> -->
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="product-txt">赠送{{ i.give_integral ? i.give_integral + "批发积分" : i.give_cha_bao + "茶宝" }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="product-txt">赠送{{ i.give_integral ? i.give_integral + "批发积分" : i.give_cha_bao + "茶宝" }}</view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
<view class="fz_w_text mar_t20 mar_b20">让数字经济赋能美好生活!</view>
|
|
<view class="fz_w_text mar_t20 mar_b20">让数字经济赋能美好生活!</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -164,7 +166,7 @@ export default {
|
|
|
goList(e) {},
|
|
goList(e) {},
|
|
|
// 金刚区跳转
|
|
// 金刚区跳转
|
|
|
setPageUrl(item) {
|
|
setPageUrl(item) {
|
|
|
- if ([1, 3, 4].includes(item.type)) {
|
|
|
|
|
|
|
+ if ([1, 3, 4, 6].includes(item.type)) {
|
|
|
this.goto("/pages/product/productRetail", { type: item.type });
|
|
this.goto("/pages/product/productRetail", { type: item.type });
|
|
|
} else if (item.type == 2) {
|
|
} else if (item.type == 2) {
|
|
|
this.goto("/pages/product/productWholesale", { type: 2 });
|
|
this.goto("/pages/product/productWholesale", { type: 2 });
|
|
@@ -347,6 +349,10 @@ export default {
|
|
|
object-fit: cover;
|
|
object-fit: cover;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ .content-view{
|
|
|
|
|
+ padding: 0 16rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.product-title {
|
|
.product-title {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|