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" style="margin: 7px 0px; justify-content: space-between ">
<view class="header-bottom-money-zhen"> <view class="header-bottom-money-zhen">
<span></span> <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>
<view style="color: #019c88;">服务时长:{{item.duration}}分钟</view>
</view> </view>
<view style="color: #019c88;margin: 7px 0px;">服务时长:{{item.duration}}分钟</view>
<view class="tese"> <view class="tese">
<span>项目特色: </span> <span>项目特色: </span>
<span>{{item.jianjie}}</span> <span>{{item.jianjie}}</span>

View File

@ -21,7 +21,7 @@
<view class="money-pay"> <view class="money-pay">
<view class="money-pay-zhen"> <view class="money-pay-zhen">
<span></span> <span></span>
<span>{{orderXm.price}}/</span> <span>{{orderXm.price}}/{{orderXm.serviceCount}}</span>
</view> </view>
<view> <view>
<uni-number-box :width='27' :min="1" @change="changeValue" /> <uni-number-box :width='27' :min="1" @change="changeValue" />
@ -50,14 +50,14 @@
<view class="detail-view"> <view class="detail-view">
<image class="detail-view-img" :src="item.massageImg" mode=""></image> <image class="detail-view-img" :src="item.massageImg" mode=""></image>
<view class="detail-view-mina"> <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"> <view class="header-bottom-money-zhen">
<span></span> <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>
<view style="color: #019c88;">服务时长:{{item.duration}}分钟</view>
</view> </view>
<view style="color: #019c88;margin: 7px 0px;">服务时长:{{item.duration}}分钟</view>
<view class="tese"> <view class="tese">
<span>项目特色: </span> <span>项目特色: </span>
<span>{{item.jianjie}}</span> <span>{{item.jianjie}}</span>

View File

@ -49,14 +49,14 @@
<view class="detail-view"> <view class="detail-view">
<image class="detail-view-img" :src="item.massageImg" mode=""></image> <image class="detail-view-img" :src="item.massageImg" mode=""></image>
<view class="detail-view-mina"> <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"> <view class="header-bottom-money-zhen">
<span></span> <span></span>
<span>{{item.packagePrice}}</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>
<view style="color: #019c88;">服务时长:{{item.duration}}分钟</view>
</view> </view>
<view style="color: #019c88;margin: 7px 0px;">服务时长:{{item.duration}}分钟</view>
<view class="tese"> <view class="tese">
<span>项目特色: </span> <span>项目特色: </span>
<span>{{item.jianjie}}</span> <span>{{item.jianjie}}</span>
@ -1324,6 +1324,7 @@
} }
.header-bottom-money-zhen span{ .header-bottom-money-zhen span{
color: #F95900 ; color: #F95900 ;
} }
.header-bottom-money-zhen{ .header-bottom-money-zhen{
display: flex; display: flex;

View File

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

View File

@ -56,7 +56,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="detail-foot"> <!-- <view class="detail-foot">
<view class="detail-foot-nav"> <view class="detail-foot-nav">
<span class="detail-foot-nav-text">适用说明</span> <span class="detail-foot-nav-text">适用说明</span>
<span class="detail-foot-nav-bor"></span> <span class="detail-foot-nav-bor"></span>
@ -73,7 +73,7 @@
</span> </span>
</view> </view>
</view> </view>
</view> </view> -->
<view class="detail-foot"> <view class="detail-foot">
<view class="detail-foot-nav"> <view class="detail-foot-nav">
<span class="detail-foot-nav-text">项目详情</span> <span class="detail-foot-nav-text">项目详情</span>
@ -81,11 +81,11 @@
</view> </view>
<view class="detail-foot-mian detail-pad"> <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> <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"> <view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
<span class="detail-foot-mian-txetList">{{item}}</span> <span class="detail-foot-mian-txetList">{{item}}</span>
</view> </view>
</view> </view> -->
</view> </view>
</view> </view>
<view class="detail-foot" v-if="dataList.name=='my'"> <view class="detail-foot" v-if="dataList.name=='my'">

View File

@ -106,12 +106,12 @@
<span class="detail-foot-nav-bor"></span> <span class="detail-foot-nav-bor"></span>
</view> </view>
<view class="detail-foot-mian"> <view class="detail-foot-mian">
<image class="detail-foot-mian-img" :src="getList.contentImg" mode="widthFix"></image> <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"> <view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
<span class="detail-foot-mian-txetList">{{item}}</span> <span class="detail-foot-mian-txetList">{{item}}</span>
</view> </view>
</view> </view> -->
</view> </view>
</view> </view>
<view class="detail-btn" v-if="dataList.name=='my'" @click="goumai(getList)"> <view class="detail-btn" v-if="dataList.name=='my'" @click="goumai(getList)">
@ -129,7 +129,8 @@
// URLAPI // URLAPI
backgroundImageUrl: '', backgroundImageUrl: '',
nameText:'', nameText:'',
labels:[] labels:[],
contentImg:[],
} }
}, },
computed: { computed: {
@ -187,7 +188,8 @@
if (res.code == 0) { if (res.code == 0) {
that.getList=res.data; that.getList=res.data;
that.backgroundImageUrl=that.getList.massageImg 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) { if (res.code == 0) {
that.getList=res.data; that.getList=res.data;
that.backgroundImageUrl=that.getList.massageImg 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>
<view class="detail-foot-mian"> <view class="detail-foot-mian">
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image> <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"> <view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
<span class="detail-foot-mian-txetList">{{item}}</span> <span class="detail-foot-mian-txetList">{{item}}</span>
</view> </view>
</view> </view> -->
</view> </view>
</view> </view>
<view class="detail-btn" v-if="getList.status=='1'" @click="goumai(getList)"> <view class="detail-btn" v-if="getList.status=='1'" @click="goumai(getList)">

View File

@ -39,8 +39,8 @@
<view class="item-view-bottom-qian"> <view class="item-view-bottom-qian">
<span></span> <span></span>
<span>{{item.price}}</span> <span>{{item.price}}</span>
<span>/{{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.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>
<view class="item-view-bottom-btn"> <view class="item-view-bottom-btn">
查看 查看

View File

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

View File

@ -61,7 +61,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="detail-foot"> <!-- <view class="detail-foot">
<view class="detail-foot-nav"> <view class="detail-foot-nav">
<span class="detail-foot-nav-text">适用说明</span> <span class="detail-foot-nav-text">适用说明</span>
<span class="detail-foot-nav-bor"></span> <span class="detail-foot-nav-bor"></span>
@ -78,7 +78,7 @@
</span> </span>
</view> </view>
</view> </view>
</view> </view> -->
<view class="detail-foot"> <view class="detail-foot">
<view class="detail-foot-nav"> <view class="detail-foot-nav">
<span class="detail-foot-nav-text">项目详情</span> <span class="detail-foot-nav-text">项目详情</span>
@ -86,11 +86,11 @@
</view> </view>
<view class="detail-foot-mian"> <view class="detail-foot-mian">
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image> <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"> <view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
<span class="detail-foot-mian-txetList">{{item}}</span> <span class="detail-foot-mian-txetList">{{item}}</span>
</view> </view>
</view> </view> -->
</view> </view>
</view> </view>
<view class="detail-foot" v-if="dataList.name!='index'"> <view class="detail-foot" v-if="dataList.name!='index'">
@ -603,6 +603,7 @@
openpay(item) {// openpay(item) {//
item.packagePrice=this.detailData[0].packagePrice; item.packagePrice=this.detailData[0].packagePrice;
item.massageImg=this.detailData[0].massageImg; item.massageImg=this.detailData[0].massageImg;
item.serviceCount=this.detailData[0].serviceCount;
this.$queue.setData('mainData',item) this.$queue.setData('mainData',item)
this.$queue.setData('detailData',this.detailData) this.$queue.setData('detailData',this.detailData)
this.$queue.setData('xiangmu',item) this.$queue.setData('xiangmu',item)

View File

@ -33,9 +33,8 @@
<view class="item-view-bottom-qian"> <view class="item-view-bottom-qian">
<span></span> <span></span>
<span style="color: #F95900;">{{item.price}}</span> <span style="color: #F95900;">{{item.price}}</span>
<span>/</span> <!-- <span>/</span> -->
<span></span> <span style="text-decoration: line-through; color: #999;margin-left: 5px;">{{item.oldPrice}}</span>
<span style="text-decoration: line-through;">{{item.oldPrice}}</span>
</view> </view>
</view> </view>
<view class="item-view-jianjie"> <view class="item-view-jianjie">
@ -263,7 +262,6 @@
.item-view-xiangmu span:nth-child(2){ .item-view-xiangmu span:nth-child(2){
font-weight: normal; font-weight: normal;
color: #666666; color: #666666;
margin-left: 5px;
} }
.item-view-xiangmu{ .item-view-xiangmu{
width: 100%; width: 100%;

View File

@ -84,11 +84,11 @@
</view> </view>
<view class="detail-foot-mian"> <view class="detail-foot-mian">
<image class="detail-foot-mian-img" v-for="(item,index) in contentImg" :key="index" :src="item" mode="widthFix"></image> <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"> <view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
<span class="detail-foot-mian-txetList">{{item}}</span> <span class="detail-foot-mian-txetList">{{item}}</span>
</view> </view>
</view> </view> -->
</view> </view>
</view> </view>
<view class="detail-btn" v-if="getList.status=='1'" @click="goumai(getList)"> <view class="detail-btn" v-if="getList.status=='1'" @click="goumai(getList)">

View File

@ -25,10 +25,10 @@
<view class="header-bottom-money-zhen"> <view class="header-bottom-money-zhen">
<span></span> <span></span>
<span>{{getList.packagePrice}}</span> <span>{{getList.packagePrice}}</span>
<span>/</span> <!-- <span>/</span> -->
</view> </view>
<view class="header-bottom-money-jia" style="text-decoration: line-through;"> <view class="header-bottom-money-jia" style="text-decoration: line-through;">
{{getList.oldPrice}}/ {{getList.oldPrice}}
</view> </view>
</view> </view>
</view> </view>
@ -76,12 +76,12 @@
<span class="detail-foot-nav-bor"></span> <span class="detail-foot-nav-bor"></span>
</view> </view>
<view class="detail-foot-mian"> <view class="detail-foot-mian">
<image class="detail-foot-mian-img" :src="getList.contentImg" mode="widthFix"></image> <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"> <view class="detail-foot-mian-txet" v-for="item in labels" :key="item">
<span class="detail-foot-mian-txetList">{{item}}</span> <span class="detail-foot-mian-txetList">{{item}}</span>
</view> </view>
</view> </view> -->
</view> </view>
</view> </view>
<view class="detail-btn" @click="goumai(getList)"> <view class="detail-btn" @click="goumai(getList)">
@ -101,7 +101,8 @@
backgroundImageUrl: '', backgroundImageUrl: '',
page:1, page:1,
limit:10, limit:10,
labels:[] labels:[],
contentImg:[]
} }
}, },
computed: { computed: {
@ -153,7 +154,8 @@
if (res.code == 0) { if (res.code == 0) {
that.getList=res.data; that.getList=res.data;
that.backgroundImageUrl=that.getList.massageImg; 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"> <view class="item-view-title">
{{item.title}} {{item.title}}
</view> </view>
<view class="item-view-xiangmu"> <view class="item-view-bottom-qian" style="margin-top: 5px;">
<span class="xiaoer item-view-biao">{{item.classifyName}}</span> <span></span>
<span>已售{{item.sales}}w+ | 好评{{item.esteemRate}}%</span> <span>{{item.price}}</span>
<span>/</span>
<span></span>
<span>{{item.oldPrice}}/</span>
</view> </view>
<view class="item-view-jianjie"> <view class="item-view-jianjie">
{{item.content}} {{item.content}}
</view> </view>
<view class="item-view-bottom"> <view class="item-view-bottom">
<view class="item-view-bottom-qian"> <view class="item-view-xiangmu">
<span></span> <span class="xiaoer item-view-biao">{{item.classifyName}}</span>
<span>{{item.price}}</span> <span>已售{{item.sales}}w+ <!-- | 好评{{item.esteemRate}}% --></span>
<span>/</span>
<span></span>
<span>{{item.oldPrice}}</span>
</view> </view>
<view class="item-view-bottom-btn"> <view class="item-view-bottom-btn">
查看 查看
@ -236,7 +236,6 @@
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */ -webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
padding: 10rpx 0;
} }
.item-view-biao{ .item-view-biao{
padding: 1px 2px; padding: 1px 2px;