|
@@ -45,6 +45,7 @@
|
|
<text class="mclap" :class="prop.beautyActFlag =='1' ? 'indent' : ''">{{ prop.name }}</text>
|
|
<text class="mclap" :class="prop.beautyActFlag =='1' ? 'indent' : ''">{{ prop.name }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="floor-item-act">
|
|
<view class="floor-item-act">
|
|
|
|
+ <view class="coupon-tags" v-if="prop.couponsLogo">优惠券</view>
|
|
<template v-if="userIdentity === 3">
|
|
<template v-if="userIdentity === 3">
|
|
<template v-if="prop.actStatus===1">
|
|
<template v-if="prop.actStatus===1">
|
|
<view class="floor-tags" v-if="PromotionsFormat(prop.promotions)">
|
|
<view class="floor-tags" v-if="PromotionsFormat(prop.promotions)">
|
|
@@ -146,6 +147,7 @@
|
|
<text class="mclap" :class="prop.priceFlag =='1' ? 'indent' : ''">{{isInterceptHtmlFn(prop.name)}}</text>
|
|
<text class="mclap" :class="prop.priceFlag =='1' ? 'indent' : ''">{{isInterceptHtmlFn(prop.name)}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="floor-item-act">
|
|
<view class="floor-item-act">
|
|
|
|
+ <view class="coupon-tags" v-if="prop.couponsLogo">优惠券</view>
|
|
<template v-if="userIdentity === 3">
|
|
<template v-if="userIdentity === 3">
|
|
<template v-if="prop.actStatus===1">
|
|
<template v-if="prop.actStatus===1">
|
|
<view class="floor-tags" v-if="PromotionsFormat(prop.promotions)">
|
|
<view class="floor-tags" v-if="PromotionsFormat(prop.promotions)">
|
|
@@ -375,9 +377,11 @@
|
|
productIds:productIds,
|
|
productIds:productIds,
|
|
source: 2
|
|
source: 2
|
|
}
|
|
}
|
|
- ).then(response =>{
|
|
|
|
|
|
+ )
|
|
|
|
+ .then(response =>{
|
|
this.recommendList = this.ReturnNewProducts(data,response.data);
|
|
this.recommendList = this.ReturnNewProducts(data,response.data);
|
|
- }).catch(error =>{
|
|
|
|
|
|
+ })
|
|
|
|
+ .catch(error =>{
|
|
this.$util.msg(error.msg,2000)
|
|
this.$util.msg(error.msg,2000)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -388,10 +392,18 @@
|
|
productIdArr.push(item.productId)
|
|
productIdArr.push(item.productId)
|
|
})
|
|
})
|
|
productIds = productIdArr.join(",");
|
|
productIds = productIdArr.join(",");
|
|
- this.ProductService.querySearchProductPrice({userId: this.userID,productIds:productIds}).then(response =>{
|
|
|
|
|
|
+ this.ProductService.querySearchProductPrice(
|
|
|
|
+ {
|
|
|
|
+ userId: this.userID,
|
|
|
|
+ productIds:productIds,
|
|
|
|
+ source: 2
|
|
|
|
+ }
|
|
|
|
+ )
|
|
|
|
+ .then(response =>{
|
|
this.productList = this.ReturnNewProducts(data,response.data);
|
|
this.productList = this.ReturnNewProducts(data,response.data);
|
|
console.log('合并价格后',this.productList)
|
|
console.log('合并价格后',this.productList)
|
|
- }).catch(error =>{
|
|
|
|
|
|
+ })
|
|
|
|
+ .catch(error =>{
|
|
this.$util.msg(error.msg,2000)
|
|
this.$util.msg(error.msg,2000)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -690,19 +702,35 @@
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 16rpx 0;
|
|
padding: 16rpx 0;
|
|
margin-top: 8rpx;
|
|
margin-top: 8rpx;
|
|
- }
|
|
|
|
- .floor-tags{
|
|
|
|
- height: 28rpx;
|
|
|
|
- border-radius: 6rpx;
|
|
|
|
- background-color: #FFFFFF;
|
|
|
|
- line-height: 28rpx;
|
|
|
|
- color: $color-system;
|
|
|
|
- text-align: center;
|
|
|
|
- display: inline-block;
|
|
|
|
- padding:0 16rpx;
|
|
|
|
- font-size: $font-size-20;
|
|
|
|
- border: 1px solid #E15616;
|
|
|
|
- float: left;
|
|
|
|
|
|
+ .coupon-tags{
|
|
|
|
+ height: 32rpx;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ border-radius: 8rpx;
|
|
|
|
+ background-color: #fff1eb;
|
|
|
|
+ line-height: 28rpx;
|
|
|
|
+ color: #f94b4b;
|
|
|
|
+ text-align: center;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ padding:0 10rpx;
|
|
|
|
+ font-size: $font-size-20;
|
|
|
|
+ border: 1px solid #f94b4b;
|
|
|
|
+ float: left;
|
|
|
|
+ margin-right: 12rpx;
|
|
|
|
+ }
|
|
|
|
+ .floor-tags{
|
|
|
|
+ height: 32rpx;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ border-radius: 8rpx;
|
|
|
|
+ background-color: #FFFFFF;
|
|
|
|
+ line-height: 28rpx;
|
|
|
|
+ color: $color-system;
|
|
|
|
+ text-align: center;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ padding:0 16rpx;
|
|
|
|
+ font-size: $font-size-20;
|
|
|
|
+ border: 1px solid #E15616;
|
|
|
|
+ float: left;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.title-none{
|
|
.title-none{
|
|
font-size: $font-size-26;
|
|
font-size: $font-size-26;
|