This commit is contained in:
parent
37a1929817
commit
79dbb9be43
|
@ -54,10 +54,11 @@
|
|||
<view class="header-bottom-money" style="margin: 7px 0px; justify-content: space-between ">
|
||||
<view class="header-bottom-money-zhen">
|
||||
<span>¥</span>
|
||||
<span>{{item.packagePrice}}/次</span>
|
||||
<span>{{item.packagePrice}}</span>
|
||||
<span style="margin-left:5px;color: #999;text-decoration: line-through;">¥{{item.oldPrice}}</span>
|
||||
</view>
|
||||
<view style="color: #019c88;">服务时长:{{item.duration}}分钟</view>
|
||||
</view>
|
||||
<view style="color: #019c88;margin: 7px 0px;">服务时长:{{item.duration}}分钟</view>
|
||||
<view class="tese">
|
||||
<span>项目特色: </span>
|
||||
<span>{{item.jianjie}}</span>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<view class="money-pay">
|
||||
<view class="money-pay-zhen">
|
||||
<span>¥</span>
|
||||
<span>{{orderXm.price}}/次</span>
|
||||
<span>{{orderXm.price}}/{{orderXm.serviceCount}}次</span>
|
||||
</view>
|
||||
<view>
|
||||
<uni-number-box :width='27' :min="1" @change="changeValue" />
|
||||
|
@ -50,14 +50,14 @@
|
|||
<view class="detail-view">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
<view class="detail-view-mina">
|
||||
<view class="header-bottom-money" style="margin: 7px 0px; justify-content: space-between ">
|
||||
<view class="header-bottom-money" style="justify-content: space-between ">
|
||||
<view class="header-bottom-money-zhen">
|
||||
<span>¥</span>
|
||||
<span>{{item.packagePrice}}/次</span>
|
||||
<span>{{item.packagePrice}}</span>
|
||||
<span style="margin-left:5px;color: #999;text-decoration: line-through;">¥{{item.oldPrice}}</span>
|
||||
</view>
|
||||
|
||||
<view style="color: #019c88;">服务时长:{{item.duration}}分钟</view>
|
||||
</view>
|
||||
<view style="color: #019c88;margin: 7px 0px;">服务时长:{{item.duration}}分钟</view>
|
||||
<view class="tese">
|
||||
<span>项目特色: </span>
|
||||
<span>{{item.jianjie}}</span>
|
||||
|
|
|
@ -49,14 +49,14 @@
|
|||
<view class="detail-view">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
<view class="detail-view-mina">
|
||||
<view class="header-bottom-money" style="margin: 7px 0px; justify-content: space-between ">
|
||||
<view class="header-bottom-money" style="justify-content: space-between ">
|
||||
<view class="header-bottom-money-zhen">
|
||||
<span>¥</span>
|
||||
<span>{{item.packagePrice}}</span>
|
||||
<span>¥{{item.oldPrice}}</span>
|
||||
<span style="margin-left:5px;color: #999;text-decoration: line-through;">¥{{item.oldPrice}}</span>
|
||||
</view>
|
||||
<view style="color: #019c88;">服务时长:{{item.duration}}分钟</view>
|
||||
</view>
|
||||
<view style="color: #019c88;margin: 7px 0px;">服务时长:{{item.duration}}分钟</view>
|
||||
<view class="tese">
|
||||
<span>项目特色: </span>
|
||||
<span>{{item.jianjie}}</span>
|
||||
|
@ -1324,7 +1324,8 @@
|
|||
}
|
||||
.header-bottom-money-zhen span{
|
||||
color: #F95900 ;
|
||||
}
|
||||
|
||||
}
|
||||
.header-bottom-money-zhen{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
@ -226,7 +226,6 @@
|
|||
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
.item-view-biao{
|
||||
padding: 1px 2px;
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail-foot">
|
||||
<!-- <view class="detail-foot">
|
||||
<view class="detail-foot-nav">
|
||||
<span class="detail-foot-nav-text">适用说明</span>
|
||||
<span class="detail-foot-nav-bor"></span>
|
||||
|
@ -73,7 +73,7 @@
|
|||
</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="detail-foot">
|
||||
<view class="detail-foot-nav">
|
||||
<span class="detail-foot-nav-text">项目详情</span>
|
||||
|
@ -81,11 +81,11 @@
|
|||
</view>
|
||||
<view class="detail-foot-mian detail-pad">
|
||||
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image>
|
||||
<view class="lab-view">
|
||||
<!-- <view class="lab-view">
|
||||
<view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
|
||||
<span class="detail-foot-mian-txetList">{{item}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail-foot" v-if="dataList.name=='my'">
|
||||
|
|
|
@ -106,12 +106,12 @@
|
|||
<span class="detail-foot-nav-bor"></span>
|
||||
</view>
|
||||
<view class="detail-foot-mian">
|
||||
<image class="detail-foot-mian-img" :src="getList.contentImg" mode="widthFix"></image>
|
||||
<view class="lab-view">
|
||||
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image>
|
||||
<!-- <view class="lab-view">
|
||||
<view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
|
||||
<span class="detail-foot-mian-txetList">{{item}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail-btn" v-if="dataList.name=='my'" @click="goumai(getList)">
|
||||
|
@ -129,7 +129,8 @@
|
|||
// 背景图片的URL可以是动态的,比如从API获取或根据条件生成
|
||||
backgroundImageUrl: '',
|
||||
nameText:'',
|
||||
labels:[]
|
||||
labels:[],
|
||||
contentImg:[],
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -187,7 +188,8 @@
|
|||
if (res.code == 0) {
|
||||
that.getList=res.data;
|
||||
that.backgroundImageUrl=that.getList.massageImg
|
||||
that.labels=res.data.labels.split(',')
|
||||
// that.labels=res.data.labels.split(',');
|
||||
that.contentImg=res.data.contentImg.split(",");
|
||||
}
|
||||
})
|
||||
},
|
||||
|
@ -204,7 +206,8 @@
|
|||
if (res.code == 0) {
|
||||
that.getList=res.data;
|
||||
that.backgroundImageUrl=that.getList.massageImg
|
||||
that.labels=res.data.labels.split(',')
|
||||
// that.labels=res.data.labels.split(',');
|
||||
that.contentImg=res.data.contentImg.split(",");
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
@ -84,11 +84,11 @@
|
|||
</view>
|
||||
<view class="detail-foot-mian">
|
||||
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image>
|
||||
<view class="lab-view">
|
||||
<!-- <view class="lab-view">
|
||||
<view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
|
||||
<span class="detail-foot-mian-txetList">{{item}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail-btn" v-if="getList.status=='1'" @click="goumai(getList)">
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
<view class="item-view-bottom-qian">
|
||||
<span>¥</span>
|
||||
<span>{{item.price}}</span>
|
||||
<span>/{{item.type=='104'?'套':item.type=='105'||item.type=='106'?'次':'元'}}</span>
|
||||
<span>¥{{item.oldPrice}}/{{item.type=='104'?'套':item.type=='105'||item.type=='106'?'次':'元'}}</span>
|
||||
<span>/{{item.serviceCount?item.serviceCount:''}}{{item.type=='104'?'套':item.type=='105'||item.type=='106'?'次':'元'}}</span>
|
||||
<span>¥{{item.oldPrice}}/{{item.serviceCount?item.serviceCount:''}}{{item.type=='104'?'套':item.type=='105'||item.type=='106'?'次':'元'}}</span>
|
||||
</view>
|
||||
<view class="item-view-bottom-btn">
|
||||
查看
|
||||
|
|
|
@ -226,7 +226,6 @@
|
|||
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
.item-view-biao{
|
||||
padding: 1px 2px;
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail-foot">
|
||||
<!-- <view class="detail-foot">
|
||||
<view class="detail-foot-nav">
|
||||
<span class="detail-foot-nav-text">适用说明</span>
|
||||
<span class="detail-foot-nav-bor"></span>
|
||||
|
@ -78,7 +78,7 @@
|
|||
</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="detail-foot">
|
||||
<view class="detail-foot-nav">
|
||||
<span class="detail-foot-nav-text">项目详情</span>
|
||||
|
@ -86,11 +86,11 @@
|
|||
</view>
|
||||
<view class="detail-foot-mian">
|
||||
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image>
|
||||
<view class="lab-view">
|
||||
<!-- <view class="lab-view">
|
||||
<view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
|
||||
<span class="detail-foot-mian-txetList">{{item}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail-foot" v-if="dataList.name!='index'">
|
||||
|
@ -603,6 +603,7 @@
|
|||
openpay(item) {//立即预约
|
||||
item.packagePrice=this.detailData[0].packagePrice;
|
||||
item.massageImg=this.detailData[0].massageImg;
|
||||
item.serviceCount=this.detailData[0].serviceCount;
|
||||
this.$queue.setData('mainData',item)
|
||||
this.$queue.setData('detailData',this.detailData)
|
||||
this.$queue.setData('xiangmu',item)
|
||||
|
|
|
@ -33,9 +33,8 @@
|
|||
<view class="item-view-bottom-qian">
|
||||
<span>¥</span>
|
||||
<span style="color: #F95900;">{{item.price}}</span>
|
||||
<span>元/套</span>
|
||||
<span>¥</span>
|
||||
<span style="text-decoration: line-through;">{{item.oldPrice}}</span>
|
||||
<!-- <span>元/套</span> -->
|
||||
<span style="text-decoration: line-through; color: #999;margin-left: 5px;">¥{{item.oldPrice}}</span>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-view-jianjie">
|
||||
|
@ -263,7 +262,6 @@
|
|||
.item-view-xiangmu span:nth-child(2){
|
||||
font-weight: normal;
|
||||
color: #666666;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.item-view-xiangmu{
|
||||
width: 100%;
|
||||
|
|
|
@ -84,11 +84,11 @@
|
|||
</view>
|
||||
<view class="detail-foot-mian">
|
||||
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image>
|
||||
<view class="lab-view">
|
||||
<!-- <view class="lab-view">
|
||||
<view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
|
||||
<span class="detail-foot-mian-txetList">{{item}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail-btn" v-if="getList.status=='1'" @click="goumai(getList)">
|
||||
|
|
|
@ -25,10 +25,10 @@
|
|||
<view class="header-bottom-money-zhen">
|
||||
<span>¥</span>
|
||||
<span>{{getList.packagePrice}}</span>
|
||||
<span>元/次</span>
|
||||
<!-- <span>元/次</span> -->
|
||||
</view>
|
||||
<view class="header-bottom-money-jia" style="text-decoration: line-through;">
|
||||
¥{{getList.oldPrice}}/次
|
||||
¥{{getList.oldPrice}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -76,12 +76,12 @@
|
|||
<span class="detail-foot-nav-bor"></span>
|
||||
</view>
|
||||
<view class="detail-foot-mian">
|
||||
<image class="detail-foot-mian-img" :src="getList.contentImg" mode="widthFix"></image>
|
||||
<view class="lab-view">
|
||||
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image>
|
||||
<!-- <view class="lab-view">
|
||||
<view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
|
||||
<span class="detail-foot-mian-txetList">{{item}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail-btn" @click="goumai(getList)">
|
||||
|
@ -101,7 +101,8 @@
|
|||
backgroundImageUrl: '',
|
||||
page:1,
|
||||
limit:10,
|
||||
labels:[]
|
||||
labels:[],
|
||||
contentImg:[]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -153,7 +154,8 @@
|
|||
if (res.code == 0) {
|
||||
that.getList=res.data;
|
||||
that.backgroundImageUrl=that.getList.massageImg;
|
||||
that.labels=that.getList.labels.split(',');
|
||||
// that.labels=that.getList.labels.split(',');
|
||||
that.contentImg=res.data.contentImg.split(",");
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
@ -51,20 +51,20 @@
|
|||
<view class="item-view-title">
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view class="item-view-xiangmu">
|
||||
<span class="xiaoer item-view-biao">{{item.classifyName}}</span>
|
||||
<span>已售{{item.sales}}w+ | 好评{{item.esteemRate}}%</span>
|
||||
<view class="item-view-bottom-qian" style="margin-top: 5px;">
|
||||
<span>¥</span>
|
||||
<span>{{item.price}}</span>
|
||||
<span>/套</span>
|
||||
<span>¥</span>
|
||||
<span>{{item.oldPrice}}/套</span>
|
||||
</view>
|
||||
<view class="item-view-jianjie">
|
||||
{{item.content}}
|
||||
</view>
|
||||
<view class="item-view-bottom">
|
||||
<view class="item-view-bottom-qian">
|
||||
<span>¥</span>
|
||||
<span>{{item.price}}</span>
|
||||
<span>元/套</span>
|
||||
<span>¥</span>
|
||||
<span>{{item.oldPrice}}</span>
|
||||
<view class="item-view-xiangmu">
|
||||
<span class="xiaoer item-view-biao">{{item.classifyName}}</span>
|
||||
<span>已售{{item.sales}}w+ <!-- | 好评{{item.esteemRate}}% --></span>
|
||||
</view>
|
||||
<view class="item-view-bottom-btn">
|
||||
查看
|
||||
|
@ -236,7 +236,6 @@
|
|||
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
.item-view-biao{
|
||||
padding: 1px 2px;
|
||||
|
|
Loading…
Reference in New Issue