This commit is contained in:
Mr.jiang 2024-07-03 12:23:20 +08:00
parent 37a1929817
commit 79dbb9be43
14 changed files with 57 additions and 54 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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;

View File

@ -226,7 +226,6 @@
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
overflow: hidden;
text-overflow: ellipsis;
padding: 10rpx 0;
}
.item-view-biao{
padding: 1px 2px;

View File

@ -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'">

View File

@ -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 @@
// URLAPI
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(",");
}
})
},

View File

@ -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)">

View File

@ -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">
查看

View File

@ -226,7 +226,6 @@
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
overflow: hidden;
text-overflow: ellipsis;
padding: 10rpx 0;
}
.item-view-biao{
padding: 1px 2px;

View File

@ -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)

View File

@ -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%;

View File

@ -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)">

View File

@ -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(",");
}
})
},

View File

@ -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;