@ -641,27 +641,55 @@ const toRouter = (url, status, index) => {
class = "px-16rpx rounded-15rpx bg-#fff"
>
< view
class = "pt-42rpx pb- 36rpx b-0 b-solid b-b-1 b-#E1ECEE "
class = "pt-42rpx pb- 10rpx b-0 b-solid "
v - if = "
( comboInfo && comboInfo ? . items ? . length ) || groupInfo ? . items ? . length
"
>
< view class = "text-#0E0E0E text-30rpx mb-35rpx" > 套餐名称 < / view >
< view class = "text-24rpx between" >
< text class = "text-#0E0E0E" > { {
comboInfo ? . combo _name || groupInfo ? . combo _name
} } < / text >
< text
> ¥ { { comboInfo ? . price || groupInfo ? . sixi _zong _ji _jin _e } } < / t e x t
>
< / view >
< view class = "text-#0E0E0E text-26rpx mb-20rpx font-700" style = "border-bottom: 1px solid #DBDCDC;padding-bottom: 16rpx;" > 套餐名称 < / view >
< view style = "display: flex; justify-content: space-between;" >
< view >
< text class = "text-#0E0E0E font-900" >
{ { comboInfo ? . combo _name || groupInfo ? . combo _name } }
< / text >
< view class = "tags" v-if ="comboInfo" > {{ comboInfo.tags [ 0 ] ? .text }} < / view >
< / view >
< view >
< text class = "text-#E95513 font-900" >
¥ { { comboInfo ? . price || groupInfo ? . sixi _zong _ji _jin _e } }
< / text >
< text class = "text-#9E9E9F font-700 text-18rpx line-through ml-10rpx" >
¥ { { comboInfo ? . original _price || groupInfo ? . sixi _zong _ji _jin _e } }
< / text >
< / view >
< / view >
< view v-if ="itemsInfo && itemsInfo?.items?.length" style="display: flex; justify-content: space-between;" >
< view >
< view style = "display: flex;justify-content: space-between;width: 650rpx;" >
< view >
< text class = "text-#0E0E0E font-900" >
自选项目
< / text >
< / view >
< view >
< text class = "text-#6D6D6D text-#E95513 text-32rpx font-900" > ¥ { { itemsInfo . price } } < / text >
< text class = "text-#9E9E9F font-700 text-18rpx line-through ml-10rpx" >
¥ { { itemsInfo . original _price } }
< / text >
< / view >
< / view >
< view class = "tags" > { { itemsInfo . items _count } } 个项目 < / view >
< / view >
< / view >
< / view >
< view
class = "pt-42rpx pb-36rpx b-0 b-solid b-b-1 b-#E1ECEE"
v - if = "itemsInfo && itemsInfo?.items?.length"
v - if = "itemsInfo && itemsInfo?.items?.length && !comboInfo "
>
< view class = "text-#0E0E0E text-30rpx mb-35rpx" > 自选项目 < / view >
< view class = "text-#0E0E0E text- 26rpx mb-20rpx font-700" style = "border-bottom: 1px solid #DBDCDC;padding-bottom: 16rpx; "> 自选项目 < / view >
< view
class = "text-24rpx"
v - for = "(val, index) in itemsInfo?.items"
@ -677,9 +705,12 @@ const toRouter = (url, status, index) => {
i == val . children . length - 1 ,
} "
>
< text class = "text-#8B8B8B" > { { val . keshi _name } } - < / text >
< text class = "text-#0E0E0E mr-auto ml-20rpx" > { { v . name } } < / text >
< text class = "text-#6D6D6D" > ¥ { { v . price } } < / text >
<!-- < text class = "text-#8B8B8B" > { { val . keshi _name } } - < / text > -- >
< text class = "text-#0E0E0E mr-auto text-28rpx font-900 " > { { v . name } } < / text >
< text class = "text-#6D6D6D text-#E95513 text-26rpx font-900" > ¥ { { v . price } } < / text >
< text class = "text-#9E9E9F font-700 text-18rpx line-through ml-10rpx" >
¥ { { v . original _price } }
< / text >
< / view >
< / view >
< / view >
@ -737,4 +768,17 @@ const toRouter = (url, status, index) => {
bottom : 80 rpx ;
right : 40 rpx ;
}
. tags {
padding - left : 4 rpx ;
padding - right : 4 rpx ;
height : 28 rpx ;
border - radius : 10 rpx ;
font - weight : 900 ;
font - size : 18 rpx ;
color : # 008 F96 ;
margin : 10 rpx 8 rpx 10 rpx 0 rpx ;
border : 3 rpx solid # 008 F96 ;
width : 80 rpx ;
text - align : center ;
}
< / style >