|
@@ -13,6 +13,15 @@
|
|
|
</swiper>
|
|
|
</view>
|
|
|
<view class="shopCont">
|
|
|
+ <view style="display: flex;padding-left: 24rpx;">
|
|
|
+ <view v-if="itemDefault.salesLabel==1" class="biaoqian">活动价</view>
|
|
|
+ <view v-if="itemDefault.salesLabel==2" class="biaoqian">促销价</view>
|
|
|
+ <view v-if="itemDefault.salesLabel==3" class="biaoqian">特价</view>
|
|
|
+ <view v-if="itemDefault.salesLabel==4" class="biaoqian">限量抢购</view>
|
|
|
+ <view v-if="itemDefault.salesLabel==5" class="biaoqian">{{itemDefault.salesLabelCustom}}</view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="shopCtop">
|
|
|
<view class="goodsPrice" >
|
|
|
<view class="goodsPrice2">¥</view>
|
|
@@ -45,17 +54,17 @@
|
|
|
|
|
|
|
|
|
<view class="buyBOx">
|
|
|
- <view class="buyLine" @click="ckCar">
|
|
|
+ <view class="buyLine" @click="ckCar" style="padding-bottom: 10rpx;">
|
|
|
<view class="buyTitle">已选车型</view>
|
|
|
<view class="buyData" style="display: flex;">
|
|
|
<view class="carModelLine"> {{carInfo.carModel?carInfo.carModel:''}}</view>
|
|
|
|
|
|
- <image class="jtIcon" src="../../static/timg/jthei.png" mode=""></image>
|
|
|
+ <image class="jtIcon" src="../../static/img2/byjt.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="carTis" v-if="isRecommend!='true'">此套餐可能与爱车不适配</view>
|
|
|
- <view class="buyLine">
|
|
|
- <view class="buyTitle">商品规格</view>
|
|
|
+ <view class="buyLine" style="padding: 6rpx 24rpx;">
|
|
|
+ <view class="buyTitle" style="line-height: 52rpx;">商品规格</view>
|
|
|
<view class="guigeBox">
|
|
|
<scroll-view scroll-x="true" enable-flex="true" class="buyData guigeBox2">
|
|
|
|
|
@@ -69,8 +78,8 @@
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
- <view class="buyLine">
|
|
|
- <view class="buyTitle">商品数量</view>
|
|
|
+ <view class="buyLine" style="padding: 10rpx 24rpx;">
|
|
|
+ <view class="buyTitle" style="line-height: 44rpx;">商品数量</view>
|
|
|
<view class="buyData">
|
|
|
<view class="numJsbox">
|
|
|
<view class="numJj" @click="calculation(1)">-</view>
|
|
@@ -89,7 +98,7 @@
|
|
|
<view class="buyTitle">可用门店</view>
|
|
|
<view class="buyData" v-if="itemDefault.packTimeShopName=='全部'">全部门店</view>
|
|
|
<view @click="keyongFn" class="buyData " style="display: flex;" v-else>{{itemDefault.packTimeShopName.split(',').length}}个门店可用
|
|
|
- <image src="../../static/img2/hjt.png" mode="" class="hjt"></image>
|
|
|
+ <image src="../../static/img2/byjt.png" mode="" class="hjt"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -153,21 +162,35 @@
|
|
|
<image class="tkImg" v-else src="../../static/timg/noimg.png" mode="" ></image>
|
|
|
<view class="tkNameBox">
|
|
|
<view class="tkName">{{detail.title}}</view>
|
|
|
+ <view style="display: flex;padding-bottom: 24rpx;">
|
|
|
+ <view v-if="itemDefault.salesLabel==1" class="biaoqian">活动价</view>
|
|
|
+ <view v-if="itemDefault.salesLabel==2" class="biaoqian">促销价</view>
|
|
|
+ <view v-if="itemDefault.salesLabel==3" class="biaoqian">特价</view>
|
|
|
+ <view v-if="itemDefault.salesLabel==4" class="biaoqian">限量抢购</view>
|
|
|
+ <view v-if="itemDefault.salesLabel==5" class="biaoqian">{{itemDefault.salesLabelCustom}}</view>
|
|
|
+
|
|
|
+ </view>
|
|
|
<view class="goodsPrice">
|
|
|
<view class="goodsPrice2">¥</view>
|
|
|
<view class="goodsPrice3">{{itemDefault.money}}</view>
|
|
|
- <view class="goodsPrice4" >原价:¥{{itemDefault.crossedPrice}}</view>
|
|
|
+ <view class="goodsPrice4" v-if="itemDefault.showCrossedPrice==1">原价:¥{{itemDefault.crossedPrice}}</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
|
|
|
</view>
|
|
|
+
|
|
|
<view class="buyLine">
|
|
|
<view class="buyTitle">商品规格</view>
|
|
|
- <view class="buyData">
|
|
|
- <view class="goodsGuige activeGuige" style="margin-right: 24rpx;">{{itemDefault.title}}</view>
|
|
|
- <!-- <view class="goodsGuige">保养套餐卡</view> -->
|
|
|
- </view>
|
|
|
+ <view class="guigeBox">
|
|
|
+ <scroll-view scroll-x="true" enable-flex="true" class="buyData guigeBox2">
|
|
|
+ <view class="goodsGuige" @click="goodsGuige(item)"
|
|
|
+ :class="{activeGuige:item.id==itemDefault.id}" v-if="item.isShow==1"
|
|
|
+ v-for="(item,index) in detail.packageItems">{{item.title}}</view>
|
|
|
+
|
|
|
+ </scroll-view>
|
|
|
+
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="buyLine">
|
|
|
<view class="buyTitle">商品数量</view>
|
|
@@ -437,7 +460,7 @@
|
|
|
font-size: 28rpx;
|
|
|
font-weight: 400;
|
|
|
color: #EC0F0A;
|
|
|
- padding-top: 10rpx;
|
|
|
+ padding-top: 16rpx;
|
|
|
|
|
|
}
|
|
|
|
|
@@ -450,7 +473,7 @@
|
|
|
font-size: 24rpx;
|
|
|
font-weight: 400;
|
|
|
color: #999999;
|
|
|
- padding-top: 14rpx;
|
|
|
+ padding-top: 20rpx;
|
|
|
text-decoration:line-through;
|
|
|
padding-left: 10rpx;
|
|
|
}
|
|
@@ -491,9 +514,9 @@
|
|
|
.goodsMs{
|
|
|
font-size: 18rpx;
|
|
|
color: #FF063A;
|
|
|
- padding: 4rpx 8rpx;
|
|
|
+ padding: 2rpx 8rpx;
|
|
|
border-radius: 6rpx;
|
|
|
- border: 1px solid #FF063A;
|
|
|
+ border: 1rpx solid #FF063A;
|
|
|
margin-right: 16rpx;
|
|
|
}
|
|
|
.timeBox{
|
|
@@ -511,7 +534,11 @@ color: #666666;padding-top: 6rpx;
|
|
|
line-height: 33rpx;
|
|
|
}
|
|
|
.jtIcon{
|
|
|
- width: 24rpx;height: 24rpx;margin-top: 6rpx;
|
|
|
+margin-top: 8rpx;
|
|
|
+ width: 12rpx;
|
|
|
+ height: 22rpx;
|
|
|
+ margin-left: 6rpx;
|
|
|
+
|
|
|
}
|
|
|
.buyLine{
|
|
|
display: flex;justify-content: space-between;
|
|
@@ -520,14 +547,14 @@ color: #666E80;
|
|
|
}
|
|
|
.buyBOx{
|
|
|
background: #FFFFFF;margin-top: 20rpx;
|
|
|
-
|
|
|
+ padding: 15rpx 0;
|
|
|
}
|
|
|
.buyData{
|
|
|
color: #222222;display: flex;
|
|
|
}
|
|
|
.goodsGuige{
|
|
|
/* width: 150rpx; */
|
|
|
- height: 50rpx;line-height: 48rpx;
|
|
|
+ height: 50rpx;line-height: 50rpx;
|
|
|
background: #F6F6F6;
|
|
|
border-radius: 5rpx;
|
|
|
font-size: 24rpx;
|
|
@@ -579,8 +606,8 @@ color: #666E80;
|
|
|
color: #333333;
|
|
|
font-size: 24rpx;
|
|
|
margin: 0 4rpx;
|
|
|
- border-left:1px solid #C0C0C0;
|
|
|
- border-right:1px solid #C0C0C0;
|
|
|
+ border-left:1px solid #dddddd;
|
|
|
+ border-right:1px solid #dddddd;
|
|
|
}
|
|
|
.goodsnumInput{
|
|
|
width: 44rpx;
|
|
@@ -603,16 +630,18 @@ color: #666E80;
|
|
|
color: #999999;
|
|
|
}
|
|
|
.numJsbox{
|
|
|
- border: 1px solid #C0C0C0;
|
|
|
+ border: 1px solid #dddddd;
|
|
|
border-radius: 6rpx;
|
|
|
}
|
|
|
.mealBox{
|
|
|
background: #FFFFFF;
|
|
|
padding: 20rpx 24rpx;
|
|
|
margin-top: 20rpx;
|
|
|
+ font-size: 26rpx;
|
|
|
}
|
|
|
.fwlcTitle{
|
|
|
- color: #666666;font-size: 30rpx;font-weight: 500;
|
|
|
+ font-size: 26rpx;padding-bottom: 24rpx;
|
|
|
+ color: #666E80;
|
|
|
}
|
|
|
.mealTop{
|
|
|
display: flex;
|
|
@@ -674,16 +703,17 @@ color: #666E80;
|
|
|
line-height: 38rpx;
|
|
|
}
|
|
|
.goodsDetailTitle{
|
|
|
- color: #666666;
|
|
|
- font-size: 30rpx;
|
|
|
- font-weight: 500;
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #666E80;
|
|
|
+
|
|
|
background: #FFFFFF;
|
|
|
- padding: 20rpx 24rpx;
|
|
|
+ padding-bottom: 24rpx;
|
|
|
}
|
|
|
.goodsDetail{
|
|
|
- margin-top: 20rpx;
|
|
|
- padding-bottom: 30rpx;
|
|
|
+ padding: 20rpx;
|
|
|
background: #FFFFFF;
|
|
|
+ font-size: 26rpx;
|
|
|
+ margin-top: 20rpx;
|
|
|
}
|
|
|
.goodsDetail img{
|
|
|
width: 750rpx;
|
|
@@ -777,6 +807,14 @@ color: #666E80;
|
|
|
font-size: 30rpx;
|
|
|
color: #222222;
|
|
|
line-height: 42rpx;
|
|
|
+ font-weight: 500;
|
|
|
+ text-overflow: -o-ellipsis-lastline;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
}
|
|
|
.tkNameBox{
|
|
|
padding-left: 24rpx;width: 500rpx;
|
|
@@ -851,7 +889,7 @@ color: #666E80;
|
|
|
}
|
|
|
.tkBottom{
|
|
|
width: 750rpx;
|
|
|
- height: 146rpx;
|
|
|
+ padding-top: 30rpx;
|
|
|
background: #FFFFFF;
|
|
|
box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
|
|
|
padding-bottom: constant(safe-area-inset-bottom);
|
|
@@ -900,5 +938,16 @@ button{
|
|
|
|
|
|
height: 100%;
|
|
|
}
|
|
|
-
|
|
|
+.biaoqian{
|
|
|
+ background: #FF0035;
|
|
|
+ border-radius: 24rpx 24rpx 25rpx 0rpx;
|
|
|
+ padding: 4rpx 16rpx;
|
|
|
+ font-size: 22rpx;
|
|
|
+ color: #FFFFFF;
|
|
|
+ margin-top: 24rpx;
|
|
|
+ margin-bottom: -15rpx;
|
|
|
+}
|
|
|
+.tkNameBox .biaoqian{
|
|
|
+ margin-top: 16rpx;margin-bottom: -18rpx;
|
|
|
+}
|
|
|
</style>
|