订单页面调整
This commit is contained in:
parent
5959df7090
commit
86d503b8a7
|
@ -45,7 +45,8 @@
|
|||
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
|
||||
<view class="detail-foot-list-top">
|
||||
<span style="margin-right: 5px;">{{item.title}}</span>
|
||||
<span style="display: none;">详情</span>
|
||||
<!-- <span style="display: none;">详情</span> -->
|
||||
<span style="margin-left: 5px;">{{orderXm.levelName}}</span>
|
||||
</view>
|
||||
<view class="detail-view">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
|
@ -1428,16 +1429,22 @@
|
|||
padding: 20rpx 0;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(2){
|
||||
width: 76rpx;
|
||||
height: 33rpx;
|
||||
line-height: 33rpx;
|
||||
// width: 76rpx;
|
||||
// height: 33rpx;
|
||||
// line-height: 33rpx;
|
||||
// text-align: center;
|
||||
// border-radius: 16rpx;
|
||||
// border: 1px solid #7D7D7D;
|
||||
// font-weight: 400;
|
||||
// font-size: 20rpx;
|
||||
// color: #777777;
|
||||
// margin: 0px 25px 0px 5px;
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
border-radius: 16rpx;
|
||||
border: 1px solid #7D7D7D;
|
||||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #777777;
|
||||
margin: 0px 25px 0px 5px;
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(3){
|
||||
font-weight: 400;
|
||||
|
|
|
@ -45,7 +45,8 @@
|
|||
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
|
||||
<view class="detail-foot-list-top">
|
||||
<span style="margin-right: 5px;">{{item.title}}</span>
|
||||
<span style="display: none;">详情</span>
|
||||
<!-- <span style="display: none;">详情</span> -->
|
||||
<span style="margin-left: 5px;">{{orderXm.levelName}}</span>
|
||||
</view>
|
||||
<view class="detail-view">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
|
@ -1441,16 +1442,22 @@
|
|||
padding: 20rpx 0;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(2){
|
||||
width: 76rpx;
|
||||
height: 33rpx;
|
||||
line-height: 33rpx;
|
||||
// width: 76rpx;
|
||||
// height: 33rpx;
|
||||
// line-height: 33rpx;
|
||||
// text-align: center;
|
||||
// border-radius: 16rpx;
|
||||
// border: 1px solid #7D7D7D;
|
||||
// font-weight: 400;
|
||||
// font-size: 20rpx;
|
||||
// color: #777777;
|
||||
// margin: 0px 25px 0px 5px;
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
border-radius: 16rpx;
|
||||
border: 1px solid #7D7D7D;
|
||||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #777777;
|
||||
margin: 0px 25px 0px 5px;
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(3){
|
||||
font-weight: 400;
|
||||
|
|
|
@ -44,7 +44,8 @@
|
|||
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
|
||||
<view class="detail-foot-list-top">
|
||||
<span style="margin-right: 5px;">{{item.title}}</span>
|
||||
<span style="display: none;">详情</span>
|
||||
<!-- <span style="display: none;">详情</span> -->
|
||||
<span style="margin-left: 5px;">{{orderXm.levelName}}</span>
|
||||
</view>
|
||||
<view class="detail-view">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
|
@ -1490,16 +1491,22 @@
|
|||
padding: 20rpx 0;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(2){
|
||||
width: 76rpx;
|
||||
height: 33rpx;
|
||||
line-height: 33rpx;
|
||||
// width: 76rpx;
|
||||
// height: 33rpx;
|
||||
// line-height: 33rpx;
|
||||
// text-align: center;
|
||||
// border-radius: 16rpx;
|
||||
// border: 1px solid #7D7D7D;
|
||||
// font-weight: 400;
|
||||
// font-size: 20rpx;
|
||||
// color: #777777;
|
||||
// margin: 0px 25px 0px 5px;
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
border-radius: 16rpx;
|
||||
border: 1px solid #7D7D7D;
|
||||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #777777;
|
||||
margin: 0px 25px 0px 5px;
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(3){
|
||||
font-weight: 400;
|
||||
|
|
|
@ -45,17 +45,18 @@
|
|||
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
|
||||
<view class="detail-foot-list-top">
|
||||
<span style="margin-right: 5px;">{{item.title}}</span>
|
||||
<span style="display: none;">详情</span>
|
||||
<!-- <span style="display: none;">详情</span> -->
|
||||
<span style="margin-left: 5px;">{{orderXm.levelName}}</span>
|
||||
</view>
|
||||
<view class="detail-view">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
<view class="detail-view-mina">
|
||||
<view class="header-bottom-money">
|
||||
<view class="header-bottom-money-zhen">
|
||||
<!-- <span class="header-bottom-money-zhen-child1">¥</span> -->
|
||||
<!-- <span class="header-bottom-money-zhen-child2">{{item.packagePrice}}</span> -->
|
||||
<!-- <span class="header-bottom-money-zhen-child3">¥{{item.oldPrice}}</span> -->
|
||||
<span class="header-bottom-money-zhen-child3">¥{{orderXm.oldPrice}}</span>
|
||||
<span class="header-bottom-money-zhen-child1">¥</span>
|
||||
<span class="header-bottom-money-zhen-child2">{{item.packagePrice}}</span>
|
||||
<span class="header-bottom-money-zhen-child3">¥{{item.oldPrice}}</span>
|
||||
<!-- <span class="header-bottom-money-zhen-child3">¥{{orderXm.oldPrice}}</span> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="xiangmu-cont-top-left">服务时长:{{item.duration}}分钟</view>
|
||||
|
@ -440,16 +441,22 @@
|
|||
padding: 20rpx 0;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(2){
|
||||
width: 76rpx;
|
||||
height: 33rpx;
|
||||
line-height: 33rpx;
|
||||
// width: 76rpx;
|
||||
// height: 33rpx;
|
||||
// line-height: 33rpx;
|
||||
// text-align: center;
|
||||
// border-radius: 16rpx;
|
||||
// border: 1px solid #7D7D7D;
|
||||
// font-weight: 400;
|
||||
// font-size: 20rpx;
|
||||
// color: #777777;
|
||||
// margin: 0px 25px 0px 5px;
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
border-radius: 16rpx;
|
||||
border: 1px solid #7D7D7D;
|
||||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #777777;
|
||||
margin: 0px 25px 0px 5px;
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(3){
|
||||
font-weight: 400;
|
||||
|
|
|
@ -47,7 +47,8 @@
|
|||
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
|
||||
<view class="detail-foot-list-top">
|
||||
<span style="margin-right: 5px;">{{item.title}}</span>
|
||||
<span style="display: none;">详情</span>
|
||||
<!-- <span style="display: none;">详情</span> -->
|
||||
<span style="margin-left: 5px;">{{orderXm.levelName}}</span>
|
||||
</view>
|
||||
<view class="detail-view">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
|
@ -1517,16 +1518,22 @@
|
|||
padding: 20rpx 0;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(2){
|
||||
width: 76rpx;
|
||||
height: 33rpx;
|
||||
line-height: 33rpx;
|
||||
// width: 76rpx;
|
||||
// height: 33rpx;
|
||||
// line-height: 33rpx;
|
||||
// text-align: center;
|
||||
// border-radius: 16rpx;
|
||||
// border: 1px solid #7D7D7D;
|
||||
// font-weight: 400;
|
||||
// font-size: 20rpx;
|
||||
// color: #777777;
|
||||
// margin: 0px 25px 0px 5px;
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
border-radius: 16rpx;
|
||||
border: 1px solid #7D7D7D;
|
||||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #777777;
|
||||
margin: 0px 25px 0px 5px;
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(3){
|
||||
font-weight: 400;
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
<view class="margin-right-xs u-skeleton-fillet head-title">
|
||||
{{orderXm.title}}
|
||||
</view>
|
||||
<view class="xiaoer item-view-biao">
|
||||
{{orderXm.levelName}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex align-center">
|
||||
<view style="width: 100%;">
|
||||
|
@ -264,6 +267,15 @@
|
|||
this.msTimeDate = 60;
|
||||
}
|
||||
this.orderXm=this.$queue.getData('mainData');
|
||||
if(this.orderXm.level == 3){
|
||||
this.orderXm.levelName = "新手"
|
||||
}
|
||||
if(this.orderXm.level == 4){
|
||||
this.orderXm.levelName = "专家"
|
||||
}
|
||||
if(this.orderXm.level == 5){
|
||||
this.orderXm.levelName = "资深"
|
||||
}
|
||||
console.log("this.orderXm",this.orderXm)
|
||||
this.detailData=this.$queue.getData('detailData');
|
||||
var date = new Date();
|
||||
|
@ -2194,4 +2206,14 @@
|
|||
border-bottom: 1px #e5e5e5 solid;
|
||||
margin: 30rpx 0;
|
||||
}
|
||||
.item-view-biao{
|
||||
padding: 1px 5px;
|
||||
border-radius: 15rpx 3rpx 15rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
.xiaoer{
|
||||
background-color:#f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -11,11 +11,12 @@
|
|||
<span>项目次卡</span>
|
||||
</view>
|
||||
<view>
|
||||
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input"
|
||||
@clear="clear">
|
||||
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue"
|
||||
@input="input" @clear="clear">
|
||||
</uni-search-bar>
|
||||
<view class="search-btn" @click="searchBtn">
|
||||
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;" src="../../static/search.png"></image>
|
||||
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;"
|
||||
src="../../static/search.png"></image>
|
||||
搜索
|
||||
</view>
|
||||
</view>
|
||||
|
@ -51,7 +52,7 @@
|
|||
<view class="item-view">
|
||||
<view class="view-cata">
|
||||
<view class="item-view-title">{{item.title}}</view>
|
||||
<span class="xiaoer item-view-biao">{{item.classifyName}}</span>
|
||||
<span class="xiaoer item-view-biao">{{item.levelName}}</span>
|
||||
</view>
|
||||
<view class="item-view-bottom-qian">
|
||||
<span></span>
|
||||
|
@ -153,6 +154,15 @@
|
|||
// 将请求的结果数组传递给z-paging
|
||||
for (var i = 0; i < res.data.records.length; i++) {
|
||||
res.data.records[i].tagsData = res.data.records[i].labels.split(',');
|
||||
if(res.data.records[i].level == 3){
|
||||
res.data.records[i].levelName = "新手"
|
||||
}
|
||||
if(res.data.records[i].level == 4){
|
||||
res.data.records[i].levelName = "专家"
|
||||
}
|
||||
if(res.data.records[i].level == 5){
|
||||
res.data.records[i].levelName = "资深"
|
||||
}
|
||||
}
|
||||
this.$refs.paging.complete(res.data.records);
|
||||
}).catch(res => {
|
||||
|
@ -172,7 +182,8 @@
|
|||
},
|
||||
itemClick(item) {
|
||||
uni.navigateTo({
|
||||
url:'/pages/my/cikarDrtail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+'my'
|
||||
url: '/pages/my/cikarDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' + this.page +
|
||||
'&name=' + 'my'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -185,6 +196,7 @@
|
|||
flex-wrap: wrap;
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
.shop_label span {
|
||||
background: linear-gradient(90deg, #ffefde, #fff7ef);
|
||||
height: 34rpx;
|
||||
|
@ -196,6 +208,7 @@
|
|||
margin-bottom: 8rpx;
|
||||
color: #f68607;
|
||||
}
|
||||
|
||||
.item-view-bottom-btn {
|
||||
text-align: center;
|
||||
width: 131rpx;
|
||||
|
@ -213,29 +226,35 @@
|
|||
color: #848484;
|
||||
text-decoration-line: line-through;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(4) {
|
||||
font-size: 26rpx;
|
||||
color: #848484;
|
||||
text-decoration-line: line-through;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(3) {
|
||||
font-size: 28rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(2) {
|
||||
font-weight: bold;
|
||||
font-size: 36.81rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(1) {
|
||||
font-weight: 400;
|
||||
font-size: 26rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.item-view-bottom {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -243,6 +262,7 @@
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.item-view-jianjie {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
|
@ -250,41 +270,52 @@
|
|||
margin: 5px 0px;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
||||
-webkit-line-clamp: 2;
|
||||
/* 显示的行数,可以根据需要修改 */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.item-view-biao {
|
||||
padding: 1px 5px;
|
||||
border-radius: 15rpx 3rpx 15rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tuina {
|
||||
background-color: #d1f2df;
|
||||
color: #17984d;
|
||||
}
|
||||
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
|
||||
.taishi {
|
||||
background-color: #e5d5c6;
|
||||
color: #805d39;
|
||||
}
|
||||
|
||||
.kangfu {
|
||||
background-color: #fcf3da;
|
||||
color: #ff8600;
|
||||
}
|
||||
|
||||
.item-view-xiangmu span:nth-child(2) {
|
||||
font-weight: normal;
|
||||
color: #333333;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.item-view-xiangmu span:nth-child(1) {
|
||||
font-weight: normal;
|
||||
color: #666666;
|
||||
margin-right: 5rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.item-view-xiangmu {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -293,6 +324,7 @@
|
|||
font-size: 25rpx;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.item-view-title {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
|
@ -301,6 +333,7 @@
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.item-view {
|
||||
width: 60%;
|
||||
height: 100%;
|
||||
|
@ -310,15 +343,18 @@
|
|||
justify-content: space-between;
|
||||
padding: 5rpx 0;
|
||||
}
|
||||
|
||||
.item-img {
|
||||
width: 240rpx;
|
||||
height: 200rpx;
|
||||
border-radius: 14rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item-img img {
|
||||
border-radius: 14rpx;
|
||||
}
|
||||
|
||||
.img-span {
|
||||
padding: 2px 5px;
|
||||
font-weight: 400;
|
||||
|
@ -332,11 +368,13 @@
|
|||
margin-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.item-img image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 14rpx;
|
||||
}
|
||||
|
||||
.item {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
|
@ -350,6 +388,7 @@
|
|||
align-items: center;
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.item-detail {
|
||||
padding: 5rpx 15rpx;
|
||||
border-radius: 10rpx;
|
||||
|
@ -366,20 +405,24 @@
|
|||
width: 100%;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
/deep/.zp-paging-container {
|
||||
background-color: #f7f7f7;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/deep/.zp-paging-container-content {
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.fenlei {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.index-fenl-title {
|
||||
width: 81rpx;
|
||||
text-align: center;
|
||||
|
@ -391,6 +434,7 @@
|
|||
font-size: 34rpx;
|
||||
color: #019C88;
|
||||
}
|
||||
|
||||
.index-fenl-title-bottom {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
@ -400,14 +444,17 @@
|
|||
border-radius: 7rpx;
|
||||
background: linear-gradient(-48deg, rgba(1, 156, 136, 0.35), rgba(45, 196, 142, 0.35));
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__cancel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__box-icon-search,.search-btn{
|
||||
/deep/.uni-searchbar__box-icon-search,
|
||||
.search-btn {
|
||||
width: 110rpx;
|
||||
height: 50rpx;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__box {
|
||||
height: 34px;
|
||||
border-radius: 30px !important;
|
||||
|
@ -418,11 +465,13 @@
|
|||
flex-flow: row-reverse;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar {
|
||||
width: 250px;
|
||||
border-radius: 31rpx;
|
||||
padding-right: 24rpx;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
text-align: center;
|
||||
color: #019c88;
|
||||
|
@ -434,12 +483,14 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.service-head-top-left image {
|
||||
width: 20px;
|
||||
height: 20rpx;
|
||||
margin-right: 5px;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.service-head-top-left span {
|
||||
height: 100rpx;
|
||||
background: url('../../static/images/headline.png') 0rpx 50rpx;
|
||||
|
@ -450,12 +501,14 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.service-head-top-left {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.service-head-top {
|
||||
height: 90rpx;
|
||||
display: flex;
|
||||
|
@ -463,9 +516,11 @@
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.view-cata {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
</style>
|
|
@ -35,6 +35,7 @@
|
|||
¥{{mainData.oldPrice}}/{{mainData.serviceCount}}次
|
||||
</view>
|
||||
</view>
|
||||
<view class="xiaoer item-view-biao">{{mainData.levelName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="header-bottom-foot">
|
||||
|
@ -646,6 +647,15 @@
|
|||
}
|
||||
that.$Request.get('/app/massage/packageDetail/findAppPage', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.mainData.level == 3){
|
||||
res.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.mainData.level == 4){
|
||||
res.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.mainData.level == 5){
|
||||
res.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.mainData;
|
||||
that.contentImg=that.mainData.contentImg.split(",");
|
||||
that.detailData=res.detailData.list;
|
||||
|
@ -662,6 +672,15 @@
|
|||
}
|
||||
that.$Request.get('/app/user/package/detail/findMyPackageDetailList', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.data.mainData.level == 3){
|
||||
res.data.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.data.mainData.level == 4){
|
||||
res.data.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.data.mainData.level == 5){
|
||||
res.data.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.data.mainData;
|
||||
that.contentImg=that.mainData.contentImg.split(",");
|
||||
that.detailData=res.data.detailData;
|
||||
|
@ -1293,4 +1312,14 @@
|
|||
font-size: 17px;
|
||||
text-align: center;
|
||||
}
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.item-view-biao {
|
||||
margin: 8px 0px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -11,11 +11,12 @@
|
|||
<span>服务疗程</span>
|
||||
</view>
|
||||
<view>
|
||||
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input"
|
||||
@clear="clear">
|
||||
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue"
|
||||
@input="input" @clear="clear">
|
||||
</uni-search-bar>
|
||||
<view class="search-btn" @click="searchBtn">
|
||||
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;" src="../../static/search.png"></image>
|
||||
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;"
|
||||
src="../../static/search.png"></image>
|
||||
搜索
|
||||
</view>
|
||||
</view>
|
||||
|
@ -51,7 +52,7 @@
|
|||
<view class="item-view">
|
||||
<view class="view-cata">
|
||||
<view class="item-view-title">{{item.title}}</view>
|
||||
<span class="xiaoer item-view-biao">{{item.classifyName}}</span>
|
||||
<span class="xiaoer item-view-biao">{{item.levelName}}</span>
|
||||
</view>
|
||||
<view class="item-view-bottom-qian">
|
||||
<span></span>
|
||||
|
@ -154,6 +155,15 @@
|
|||
// 将请求的结果数组传递给z-paging
|
||||
for (var i = 0; i < res.data.records.length; i++) {
|
||||
res.data.records[i].tagsData = res.data.records[i].labels.split(',');
|
||||
if(res.data.records[i].level == 3){
|
||||
res.data.records[i].levelName = "新手"
|
||||
}
|
||||
if(res.data.records[i].level == 4){
|
||||
res.data.records[i].levelName = "专家"
|
||||
}
|
||||
if(res.data.records[i].level == 5){
|
||||
res.data.records[i].levelName = "资深"
|
||||
}
|
||||
}
|
||||
this.$refs.paging.complete(res.data.records);
|
||||
}).catch(res => {
|
||||
|
@ -187,6 +197,7 @@
|
|||
flex-wrap: wrap;
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
.shop_label span {
|
||||
background: linear-gradient(90deg, #ffefde, #fff7ef);
|
||||
height: 34rpx;
|
||||
|
@ -198,6 +209,7 @@
|
|||
margin-bottom: 8rpx;
|
||||
color: #f68607;
|
||||
}
|
||||
|
||||
.item-view-bottom-btn {
|
||||
text-align: center;
|
||||
width: 131rpx;
|
||||
|
@ -208,34 +220,41 @@
|
|||
font-size: 26rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(5) {
|
||||
font-size: 28rpx;
|
||||
color: #848484;
|
||||
text-decoration-line: line-through;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(4) {
|
||||
font-size: 26rpx;
|
||||
color: #848484;
|
||||
text-decoration-line: line-through;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(3) {
|
||||
font-size: 28rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(2) {
|
||||
font-weight: bold;
|
||||
font-size: 36.81rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(1) {
|
||||
font-weight: 400;
|
||||
font-size: 26rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.item-view-bottom {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -243,6 +262,7 @@
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.item-view-jianjie {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
|
@ -250,41 +270,52 @@
|
|||
margin: 5px 0px;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
||||
-webkit-line-clamp: 2;
|
||||
/* 显示的行数,可以根据需要修改 */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.item-view-biao {
|
||||
padding: 1px 5px;
|
||||
border-radius: 15rpx 3rpx 15rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tuina {
|
||||
background-color: #d1f2df;
|
||||
color: #17984d;
|
||||
}
|
||||
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
|
||||
.taishi {
|
||||
background-color: #e5d5c6;
|
||||
color: #805d39;
|
||||
}
|
||||
|
||||
.kangfu {
|
||||
background-color: #fcf3da;
|
||||
color: #ff8600;
|
||||
}
|
||||
|
||||
.item-view-xiangmu span:nth-child(2) {
|
||||
font-weight: normal;
|
||||
color: #333333;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.item-view-xiangmu span:nth-child(1) {
|
||||
font-weight: normal;
|
||||
color: #666666;
|
||||
margin-right: 5rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.item-view-xiangmu {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -293,6 +324,7 @@
|
|||
font-size: 25rpx;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.item-view-title {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
|
@ -301,6 +333,7 @@
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.item-view {
|
||||
width: 60%;
|
||||
height: 100%;
|
||||
|
@ -310,12 +343,14 @@
|
|||
justify-content: space-between;
|
||||
padding: 5rpx 0;
|
||||
}
|
||||
|
||||
.item-img {
|
||||
width: 240rpx;
|
||||
height: 200rpx;
|
||||
border-radius: 14rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.img-span {
|
||||
padding: 2px 5px;
|
||||
font-weight: 400;
|
||||
|
@ -329,11 +364,13 @@
|
|||
margin-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.item-img image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 14rpx;
|
||||
}
|
||||
|
||||
.item {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
|
@ -347,6 +384,7 @@
|
|||
align-items: center;
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.item-detail {
|
||||
padding: 5rpx 15rpx;
|
||||
border-radius: 10rpx;
|
||||
|
@ -363,20 +401,24 @@
|
|||
width: 100%;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
/deep/.zp-paging-container {
|
||||
background-color: #f7f7f7;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/deep/.zp-paging-container-content {
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.fenlei {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.index-fenl-title {
|
||||
width: 81rpx;
|
||||
text-align: center;
|
||||
|
@ -388,6 +430,7 @@
|
|||
font-size: 34rpx;
|
||||
color: #019C88;
|
||||
}
|
||||
|
||||
.index-fenl-title-bottom {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
@ -397,9 +440,11 @@
|
|||
border-radius: 7rpx;
|
||||
background: linear-gradient(-48deg, rgba(1, 156, 136, 0.35), rgba(45, 196, 142, 0.35));
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__cancel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
text-align: center;
|
||||
color: #019c88;
|
||||
|
@ -411,10 +456,13 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
/deep/.uni-searchbar__box-icon-search,.search-btn{
|
||||
|
||||
/deep/.uni-searchbar__box-icon-search,
|
||||
.search-btn {
|
||||
width: 110rpx;
|
||||
height: 50rpx;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__box {
|
||||
height: 34px;
|
||||
border-radius: 30px !important;
|
||||
|
@ -425,17 +473,20 @@
|
|||
flex-flow: row-reverse;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar {
|
||||
width: 250px;
|
||||
border-radius: 31rpx;
|
||||
padding-right: 24rpx;
|
||||
}
|
||||
|
||||
.service-head-top-left image {
|
||||
width: 20px;
|
||||
height: 20rpx;
|
||||
margin-right: 5px;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.service-head-top-left span {
|
||||
height: 100rpx;
|
||||
background: url('../../static/images/headline.png') 0rpx 50rpx;
|
||||
|
@ -446,12 +497,14 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.service-head-top-left {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.service-head-top {
|
||||
height: 90rpx;
|
||||
display: flex;
|
||||
|
@ -459,9 +512,11 @@
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.view-cata {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
</style>
|
|
@ -35,6 +35,7 @@
|
|||
¥{{mainData.oldPrice}}/{{mainData.serviceCount}}次
|
||||
</view>
|
||||
</view>
|
||||
<view class="xiaoer item-view-biao">{{mainData.levelName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="header-bottom-title-bottom">
|
||||
|
@ -657,6 +658,15 @@
|
|||
}
|
||||
that.$Request.get('/app/massage/packageDetail/findAppPage', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.mainData.level == 3){
|
||||
res.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.mainData.level == 4){
|
||||
res.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.mainData.level == 5){
|
||||
res.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.mainData;
|
||||
that.detailData=res.detailData.list;
|
||||
that.backgroundImageUrl=res.mainData.packageImg
|
||||
|
@ -674,6 +684,15 @@
|
|||
}
|
||||
that.$Request.get('/app/user/package/detail/findMyPackageDetailList', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.data.mainData.level == 3){
|
||||
res.data.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.data.mainData.level == 4){
|
||||
res.data.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.data.mainData.level == 5){
|
||||
res.data.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.data.mainData;
|
||||
that.detailData=res.data.detailData;
|
||||
that.contentImg=that.mainData.contentImg.split(",");
|
||||
|
@ -1326,4 +1345,14 @@
|
|||
font-size: 17px;
|
||||
text-align: center;
|
||||
}
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.item-view-biao {
|
||||
margin: 8px 0px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<view class="item-view">
|
||||
<view class="view-cata">
|
||||
<view class="item-view-title">{{item.title}}</view>
|
||||
<!-- <span class="xiaoer item-view-biao">{{item.classifyName}}</span> -->
|
||||
<span class="xiaoer item-view-biao">{{item.levelName}}</span>
|
||||
</view>
|
||||
<view class="item-view-bottom-qian">
|
||||
<span></span>
|
||||
|
@ -164,6 +164,15 @@
|
|||
this.$Request.get('/app/massage/package/findPage',params).then(res => {
|
||||
for(var i=0;i<res.data.list.length;i++){
|
||||
res.data.list[i].tagsData=res.data.list[i].labels.split(',');
|
||||
if(res.data.list[i].level == 3){
|
||||
res.data.list[i].levelName = "新手"
|
||||
}
|
||||
if(res.data.list[i].level == 4){
|
||||
res.data.list[i].levelName = "专家"
|
||||
}
|
||||
if(res.data.list[i].level == 5){
|
||||
res.data.list[i].levelName = "资深"
|
||||
}
|
||||
}
|
||||
this.$refs.paging.complete(res.data.list);
|
||||
}).catch(res => {
|
||||
|
@ -311,6 +320,8 @@
|
|||
.item-view-biao{
|
||||
padding: 1px 5px;
|
||||
border-radius: 15rpx 3rpx 15rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
.tuina{
|
||||
background-color:#d1f2df;
|
||||
|
@ -543,5 +554,6 @@
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
|
||||
<view class="detail-foot-list-top">
|
||||
<span style="margin-right: 5px;">{{item.title}}</span>
|
||||
<span style="margin-left: 5px;">{{mainData.levelName}}</span>
|
||||
</view>
|
||||
<view class="detail-view" style="position: relative;">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
|
@ -217,6 +218,15 @@
|
|||
}
|
||||
that.$Request.get('/app/user/package/detail/findMyPackageDetailList',data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.data.mainData.level == 3){
|
||||
res.data.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.data.mainData.level == 4){
|
||||
res.data.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.data.mainData.level == 5){
|
||||
res.data.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.data.mainData;
|
||||
that.detailData=res.data.detailData;
|
||||
that.backgroundImageUrl=that.mainData.packageImg;
|
||||
|
@ -500,7 +510,7 @@
|
|||
color: #3F3F3F;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(2){
|
||||
width: 76rpx;
|
||||
/* width: 76rpx;
|
||||
height: 33rpx;
|
||||
line-height: 33rpx;
|
||||
text-align: center;
|
||||
|
@ -509,7 +519,13 @@
|
|||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #777777;
|
||||
margin: 0px 25px 0px 5px;
|
||||
margin: 0px 25px 0px 5px; */
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(3){
|
||||
font-size: 30rpx;
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
¥{{getList.oldPrice}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="xiaoer item-view-biao">{{getList.levelName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="header-bottom-foot">
|
||||
|
@ -169,6 +170,15 @@
|
|||
}
|
||||
that.$Request.get('/app/user/package/detail/getMyPackageDetail', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.data.level == 3){
|
||||
res.data.levelName = "新手"
|
||||
}
|
||||
if(res.data.level == 4){
|
||||
res.data.levelName = "专家"
|
||||
}
|
||||
if(res.data.level == 5){
|
||||
res.data.levelName = "资深"
|
||||
}
|
||||
that.getList=res.data;
|
||||
that.backgroundImageUrl=that.getList.massageImg
|
||||
// that.labels=res.data.labels.split(',');
|
||||
|
@ -603,4 +613,14 @@
|
|||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.item-view-biao {
|
||||
margin: 8px 0px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -11,11 +11,12 @@
|
|||
<image style="width: 136rpx; height:40rpx ;" src="../../static/seckill4.png"></image>
|
||||
</view>
|
||||
<view>
|
||||
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input"
|
||||
@clear="clear">
|
||||
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue"
|
||||
@input="input" @clear="clear">
|
||||
</uni-search-bar>
|
||||
<view class="search-btn" @click="searchBtn">
|
||||
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;" src="../../static/search.png"></image>
|
||||
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;"
|
||||
src="../../static/search.png"></image>
|
||||
搜索
|
||||
</view>
|
||||
</view>
|
||||
|
@ -46,11 +47,13 @@
|
|||
<!-- <view class="item-line"></view> -->
|
||||
<view class="item-img">
|
||||
<image :src="item.packageImg" mode=""></image>
|
||||
<span class="img-span" v-if="text=='my'">{{item.status=='1'?'未用完':item.status=='2'?'退款':item.status=='9'?'已用完':'其他'}}</span>
|
||||
<span class="img-span"
|
||||
v-if="text=='my'">{{item.status=='1'?'未用完':item.status=='2'?'退款':item.status=='9'?'已用完':'其他'}}</span>
|
||||
</view>
|
||||
<view class="item-view" v-if="text=='index'">
|
||||
<view class="view-cata">
|
||||
<view class="item-view-title">{{item.title}}</view>
|
||||
<span class="xiaoer item-view-biao">{{item.levelName}}</span>
|
||||
</view>
|
||||
<view class="flex" style="margin-top: 10rpx;">
|
||||
<view class="shop_label" v-if="item.tagsData!=''">
|
||||
|
@ -77,7 +80,7 @@
|
|||
<view class="item-view" v-else>
|
||||
<view class="view-cata">
|
||||
<view class="item-view-title">{{item.title}}</view>
|
||||
<!-- <span class="xiaoer item-view-biao">{{item.classifyName}}</span> -->
|
||||
<span class="xiaoer item-view-biao">{{item.levelName}}</span>
|
||||
</view>
|
||||
<view class="item-view-bottom-qian">
|
||||
<span></span>
|
||||
|
@ -191,6 +194,15 @@
|
|||
this.$Request.get('/app/massage/package/findAppActivityPage', params).then(res => {
|
||||
for (var i = 0; i < res.data.list.length; i++) {
|
||||
res.data.list[i].tagsData = res.data.list[i].labels.split(',');
|
||||
if(res.data.list[i].level == 3){
|
||||
res.data.list[i].levelName = "新手"
|
||||
}
|
||||
if(res.data.list[i].level == 4){
|
||||
res.data.list[i].levelName = "专家"
|
||||
}
|
||||
if(res.data.list[i].level == 5){
|
||||
res.data.list[i].levelName = "资深"
|
||||
}
|
||||
}
|
||||
this.$refs.paging.complete(res.data.list);
|
||||
}).catch(res => {
|
||||
|
@ -200,6 +212,15 @@
|
|||
this.$Request.get('/app/user/package/findMyPackageList', params).then(res => {
|
||||
for (var i = 0; i < res.data.records.length; i++) {
|
||||
res.data.records[i].tagsData = res.data.records[i].labels.split(',');
|
||||
if(res.data.records[i].level == 3){
|
||||
res.data.records[i].levelName = "新手"
|
||||
}
|
||||
if(res.data.records[i].level == 4){
|
||||
res.data.records[i].levelName = "专家"
|
||||
}
|
||||
if(res.data.records[i].level == 5){
|
||||
res.data.records[i].levelName = "资深"
|
||||
}
|
||||
}
|
||||
this.$refs.paging.complete(res.data.records);
|
||||
}).catch(res => {
|
||||
|
@ -225,11 +246,13 @@
|
|||
itemClick(item) {
|
||||
if (this.text == 'index') {
|
||||
uni.navigateTo({
|
||||
url:'/pages/my/newTeamlDetail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+this.text
|
||||
url: '/pages/my/newTeamlDetail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
|
||||
.page + '&name=' + this.text
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url:'/pages/my/pinTuanOderDrtail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+this.text
|
||||
url: '/pages/my/pinTuanOderDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
|
||||
.page + '&name=' + this.text
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -243,6 +266,7 @@
|
|||
flex-wrap: wrap;
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
.shop_label span {
|
||||
background: linear-gradient(90deg, #ffefde, #fff7ef);
|
||||
height: 34rpx;
|
||||
|
@ -254,6 +278,7 @@
|
|||
margin-bottom: 8rpx;
|
||||
color: #f68607;
|
||||
}
|
||||
|
||||
.shop-arrow {
|
||||
display: inline-block;
|
||||
border-top: 1px solid;
|
||||
|
@ -265,17 +290,21 @@
|
|||
transform: rotate(45deg);
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.pace-plan {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.pace-text {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.pace-text span:nth-child(1) {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.pace-text span:nth-child(2) {
|
||||
color: #666;
|
||||
}
|
||||
|
@ -288,32 +317,38 @@
|
|||
font-size: 20rpx;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
|
||||
.seckill-entry {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.seckill-money {
|
||||
width: 74%;
|
||||
background: #fff8f0;
|
||||
border-radius: 10rpx 0 0 10rpx;
|
||||
padding: 14rpx 10rpx;
|
||||
}
|
||||
|
||||
.seckill-money span:nth-child(1) {
|
||||
color: #666;
|
||||
font-size: 24rpx;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.seckill-money span:nth-child(2) {
|
||||
color: #fc2d32;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.seckill-money span:nth-child(3) {
|
||||
color: #fc2d32;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.seckill-rob {
|
||||
width: 50%;
|
||||
height: 60rpx;
|
||||
|
@ -324,6 +359,7 @@
|
|||
border-radius: 0 10rpx 10rpx 0;
|
||||
text-indent: 70rpx;
|
||||
}
|
||||
|
||||
.seckill-img {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
|
@ -331,10 +367,12 @@
|
|||
top: -18rpx;
|
||||
left: -22rpx;
|
||||
}
|
||||
|
||||
.seckill-text {
|
||||
color: #fff;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
|
||||
.item-view-bottom-btn {
|
||||
text-align: center;
|
||||
width: 131rpx;
|
||||
|
@ -346,29 +384,35 @@
|
|||
font-size: 28rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(4) {
|
||||
font-size: 26rpx;
|
||||
color: #848484;
|
||||
text-decoration-line: line-through;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(3) {
|
||||
font-size: 28rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(2) {
|
||||
font-weight: bold;
|
||||
font-size: 36.81rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(1) {
|
||||
font-weight: 400;
|
||||
font-size: 26rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.item-view-bottom {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -376,6 +420,7 @@
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.item-view-jianjie {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
|
@ -383,41 +428,52 @@
|
|||
margin: 5px 0px;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
||||
-webkit-line-clamp: 2;
|
||||
/* 显示的行数,可以根据需要修改 */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.item-view-biao {
|
||||
padding: 1px 5px;
|
||||
border-radius: 15rpx 3rpx 15rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tuina {
|
||||
background-color: #d1f2df;
|
||||
color: #17984d;
|
||||
}
|
||||
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
|
||||
.taishi {
|
||||
background-color: #e5d5c6;
|
||||
color: #805d39;
|
||||
}
|
||||
|
||||
.kangfu {
|
||||
background-color: #fcf3da;
|
||||
color: #ff8600;
|
||||
}
|
||||
|
||||
.item-view-xiangmu span:nth-child(2) {
|
||||
font-weight: normal;
|
||||
color: #333333;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.item-view-xiangmu span:nth-child(1) {
|
||||
font-weight: normal;
|
||||
color: #666666;
|
||||
margin-right: 5rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.item-view-xiangmu {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -426,6 +482,7 @@
|
|||
font-size: 25rpx;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.item-view-title {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
|
@ -434,6 +491,7 @@
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.item-view {
|
||||
width: 60%;
|
||||
/*height: 100%;*/
|
||||
|
@ -443,15 +501,18 @@
|
|||
justify-content: space-between;
|
||||
padding: 5rpx 0;
|
||||
}
|
||||
|
||||
.item-img {
|
||||
width: 240rpx;
|
||||
height: 200rpx;
|
||||
border-radius: 14rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item-img img {
|
||||
border-radius: 14rpx;
|
||||
}
|
||||
|
||||
.img-span {
|
||||
padding: 2px 5px;
|
||||
font-weight: 400;
|
||||
|
@ -465,11 +526,13 @@
|
|||
margin-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.item-img image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 14rpx;
|
||||
}
|
||||
|
||||
.item {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
|
@ -483,6 +546,7 @@
|
|||
align-items: center;
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.item-detail {
|
||||
padding: 5rpx 15rpx;
|
||||
border-radius: 10rpx;
|
||||
|
@ -499,20 +563,24 @@
|
|||
width: 100%;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
/deep/.zp-paging-container {
|
||||
background-color: #f7f7f7;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/deep/.zp-paging-container-content {
|
||||
width: 95%;
|
||||
margin: 0px auto 0px auto;
|
||||
}
|
||||
|
||||
.fenlei {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.index-fenl-title {
|
||||
width: 81rpx;
|
||||
text-align: center;
|
||||
|
@ -524,6 +592,7 @@
|
|||
font-size: 34rpx;
|
||||
color: #019C88;
|
||||
}
|
||||
|
||||
.index-fenl-title-bottom {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
@ -533,9 +602,11 @@
|
|||
border-radius: 7rpx;
|
||||
background: linear-gradient(-48deg, rgba(1, 156, 136, 0.35), rgba(45, 196, 142, 0.35));
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__cancel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
text-align: center;
|
||||
color: #019c88;
|
||||
|
@ -547,10 +618,13 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
/deep/.uni-searchbar__box-icon-search,.search-btn{
|
||||
|
||||
/deep/.uni-searchbar__box-icon-search,
|
||||
.search-btn {
|
||||
width: 110rpx;
|
||||
height: 50rpx;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__box {
|
||||
height: 34px;
|
||||
border-radius: 30px !important;
|
||||
|
@ -561,17 +635,20 @@
|
|||
flex-flow: row-reverse;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar {
|
||||
width: 250px;
|
||||
border-radius: 31rpx;
|
||||
padding-right: 24rpx;
|
||||
}
|
||||
|
||||
.service-head-top-left image {
|
||||
width: 20px;
|
||||
height: 20rpx;
|
||||
margin-right: 5px;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.service-head-top-left span {
|
||||
width: 180rpx;
|
||||
height: 60rpx;
|
||||
|
@ -582,12 +659,14 @@
|
|||
color: #171717;
|
||||
margin-top: 14rpx;
|
||||
}
|
||||
|
||||
.service-head-top-left {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.service-head-top {
|
||||
height: 90rpx;
|
||||
display: flex;
|
||||
|
@ -595,9 +674,11 @@
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.view-cata {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
</style>
|
|
@ -43,7 +43,8 @@
|
|||
(人人可开团·仅新用户参团)
|
||||
</view>
|
||||
<view class="tewmork-key">
|
||||
<span v-for="item in labels" :key="item">{{item}}</span>
|
||||
<view class="header-bottom-money1"><span v-for="item in labels" :key="item">{{item}}</span></view>
|
||||
<view class="xiaoer item-view-biao">{{mainData.levelName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -219,8 +220,16 @@
|
|||
that.$Request.get('/app/massage/package/getAppGroupDetail', data).then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 0) {
|
||||
if(res.groupData.level == 3){
|
||||
res.groupData.levelName = "新手"
|
||||
}
|
||||
if(res.groupData.level == 4){
|
||||
res.groupData.levelName = "专家"
|
||||
}
|
||||
if(res.groupData.level == 5){
|
||||
res.groupData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.groupData;
|
||||
|
||||
that.ordersData=res.ordersData;
|
||||
that.backgroundImageUrl=res.groupData.packageImg
|
||||
that.contentImg=res.groupData.contentImg.split(",");
|
||||
|
@ -246,6 +255,15 @@
|
|||
}
|
||||
that.$Request.get('/app/user/package/detail/findMyPackageDetailList', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.data.mainData.level == 3){
|
||||
res.data.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.data.mainData.level == 4){
|
||||
res.data.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.data.mainData.level == 5){
|
||||
res.data.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.data.mainData;
|
||||
that.detailData=res.data.detailData;
|
||||
that.contentImg=that.mainData.contentImg.split(",");
|
||||
|
@ -1014,6 +1032,8 @@
|
|||
.tewmork-key{
|
||||
display: flex;
|
||||
text-align: center;
|
||||
justify-content: space-between;
|
||||
height: 30px;
|
||||
}
|
||||
.tewmork-key span{
|
||||
height: 30rpx;
|
||||
|
@ -1026,4 +1046,14 @@
|
|||
margin-right: 6rpx;
|
||||
margin-top: 6rpx;
|
||||
}
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.item-view-biao {
|
||||
margin: 4px 0px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
|
@ -7,15 +7,17 @@
|
|||
<template #top>
|
||||
<view class="service-head-top">
|
||||
<view class="service-head-top-left">
|
||||
<image class="service-fh" @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image>
|
||||
<image class="service-fh" @click="backImg" src="../../static/fanhui.png" mode="widthFix">
|
||||
</image>
|
||||
<image class="service-img" src="../../static/seckill.png"></image>
|
||||
</view>
|
||||
<view>
|
||||
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input"
|
||||
@clear="clear">
|
||||
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue"
|
||||
@input="input" @clear="clear">
|
||||
</uni-search-bar>
|
||||
<view class="search-btn" @click="searchBtn">
|
||||
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;" src="../../static/search.png"></image>
|
||||
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;"
|
||||
src="../../static/search.png"></image>
|
||||
搜索
|
||||
</view>
|
||||
</view>
|
||||
|
@ -46,12 +48,13 @@
|
|||
<!-- <view class="item-line"></view> -->
|
||||
<view class="item-img">
|
||||
<image :src="item.packageImg" mode=""></image>
|
||||
<span class="img-span" v-if="text=='my'">{{item.status=='1'?'未用完':item.status=='2'?'退款':item.status=='9'?'已用完':'其他'}}</span>
|
||||
<span class="img-span"
|
||||
v-if="text=='my'">{{item.status=='1'?'未用完':item.status=='2'?'退款':item.status=='9'?'已用完':'其他'}}</span>
|
||||
</view>
|
||||
<view class="item-view">
|
||||
<view class="view-cata">
|
||||
<view class="item-view-title">{{item.title}}</view>
|
||||
<!-- <view class="xiaoer item-view-biao">{{item.classifyName}}</view> -->
|
||||
<view class="xiaoer item-view-biao">{{item.levelName}}</view>
|
||||
</view>
|
||||
<view class="item-view-bottom-qian">
|
||||
<span></span>
|
||||
|
@ -183,6 +186,16 @@
|
|||
} else {
|
||||
res.data.list[i].isStart = 'false';
|
||||
}
|
||||
if (res.data.list[i].level == 3) {
|
||||
res.data.list[i].levelName = "新手"
|
||||
}
|
||||
if (res.data.list[i].level == 4) {
|
||||
res.data.list[i].levelName = "专家"
|
||||
}
|
||||
if (res.data.list[i].level == 5) {
|
||||
res.data.list[i].levelName = "资深"
|
||||
}
|
||||
console.log(res.data.list[i])
|
||||
}
|
||||
this.$refs.paging.complete(res.data.list);
|
||||
}).catch(res => {
|
||||
|
@ -193,6 +206,15 @@
|
|||
console.log(res.data.records);
|
||||
for (var i = 0; i < res.data.records.length; i++) {
|
||||
res.data.records[i].tagsData = res.data.records[i].labels.split(',');
|
||||
if(res.data.records[i].level == 3){
|
||||
res.data.records[i].levelName = "新手"
|
||||
}
|
||||
if(res.data.records[i].level == 4){
|
||||
res.data.records[i].levelName = "专家"
|
||||
}
|
||||
if(res.data.records[i].level == 5){
|
||||
res.data.records[i].levelName = "资深"
|
||||
}
|
||||
}
|
||||
this.$refs.paging.complete(res.data.records);
|
||||
}).catch(res => {
|
||||
|
@ -218,11 +240,13 @@
|
|||
itemClick(item) {
|
||||
if (this.text == 'index') {
|
||||
uni.navigateTo({
|
||||
url:'/pages/my/newseckilldetails?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+this.text
|
||||
url: '/pages/my/newseckilldetails?id=' + item.id + '&limit=' + this.limit + '&page=' + this
|
||||
.page + '&name=' + this.text
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url:'/pages/my/miaoShaOderDrtail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+this.text
|
||||
url: '/pages/my/miaoShaOderDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
|
||||
.page + '&name=' + this.text
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -237,13 +261,16 @@
|
|||
padding: 20rpx 0;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pace-text {
|
||||
font-size: 24rpx;
|
||||
|
||||
}
|
||||
|
||||
.pace-text span:nth-child(1) {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.pace-text span:nth-child(2) {
|
||||
color: #019C88;
|
||||
font-weight: bold;
|
||||
|
@ -259,27 +286,33 @@
|
|||
line-height: 30rpx;
|
||||
|
||||
}
|
||||
|
||||
.seckill-entry {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.seckill-money {
|
||||
color: #fc2d32;
|
||||
background: #fff8f0;
|
||||
border-radius: 30rpx;
|
||||
padding: 15rpx 20rpx;
|
||||
}
|
||||
|
||||
.seckill-money span:nth-child(1) {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.seckill-money span:nth-child(2) {
|
||||
font-weight: bold;
|
||||
font-size: 40rpx;
|
||||
}
|
||||
|
||||
.seckill-money span:nth-child(3) {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.seckill-rob {
|
||||
width: 80px;
|
||||
height: 50rpx;
|
||||
|
@ -291,6 +324,7 @@
|
|||
margin-top: 15rpx;
|
||||
|
||||
}
|
||||
|
||||
.seckill-img {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
|
@ -298,6 +332,7 @@
|
|||
top: -18rpx;
|
||||
left: -22rpx;
|
||||
}
|
||||
|
||||
.seckill-text {
|
||||
font-size: 40rpx;
|
||||
color: #fff;
|
||||
|
@ -316,6 +351,7 @@
|
|||
font-size: 28rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.item-view-bottom-btn-un {
|
||||
text-align: center;
|
||||
width: 131rpx;
|
||||
|
@ -327,30 +363,36 @@
|
|||
font-size: 28rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(5) {
|
||||
font-size: 28rpx;
|
||||
color: #848484;
|
||||
text-decoration-line: line-through;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(3) {
|
||||
font-size: 28rpx;
|
||||
color: #848484;
|
||||
text-decoration-line: line-through;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(2) {
|
||||
font-weight: bold;
|
||||
font-size: 36.81rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian span:nth-child(1) {
|
||||
font-weight: 400;
|
||||
font-size: 25rpx;
|
||||
color: #FF6000;
|
||||
}
|
||||
|
||||
.item-view-bottom-qian {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.item-view-bottom {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -358,6 +400,7 @@
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.item-view-jianjie {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
|
@ -365,50 +408,58 @@
|
|||
margin: 5px 0px;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
||||
-webkit-line-clamp: 2;
|
||||
/* 显示的行数,可以根据需要修改 */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.item-view-biao {
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
font-size: 22rpx;
|
||||
margin-right: 10rpx;
|
||||
height: 40rpx;
|
||||
line-height: 40rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tuina {
|
||||
background-color: #d1f2df;
|
||||
color: #17984d;
|
||||
}
|
||||
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
|
||||
.taishi {
|
||||
background-color: #e5d5c6;
|
||||
color: #805d39;
|
||||
}
|
||||
|
||||
.kangfu {
|
||||
background-color: #fcf3da;
|
||||
color: #ff8600;
|
||||
}
|
||||
|
||||
.item-view-xiangmu span:nth-child(2) {
|
||||
font-weight: normal;
|
||||
color: #333333;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.item-view-xiangmu span:nth-child(1) {
|
||||
font-weight: normal;
|
||||
color: #666666;
|
||||
margin-right: 5rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.shop_label {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
.shop_label span {
|
||||
background: linear-gradient(90deg, #ffefde, #fff7ef);
|
||||
height: 34rpx;
|
||||
|
@ -420,6 +471,7 @@
|
|||
margin-bottom: 8rpx;
|
||||
color: #f68607;
|
||||
}
|
||||
|
||||
.item-view-xiangmu {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -428,6 +480,7 @@
|
|||
font-size: 25rpx;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.item-view-title {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
|
@ -436,6 +489,7 @@
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.item-view {
|
||||
width: 60%;
|
||||
height: 100%;
|
||||
|
@ -445,12 +499,14 @@
|
|||
justify-content: space-between;
|
||||
padding: 5rpx 0;
|
||||
}
|
||||
|
||||
.item-img {
|
||||
width: 240rpx;
|
||||
height: 200rpx;
|
||||
border-radius: 14rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.img-span {
|
||||
padding: 2px 5px;
|
||||
font-weight: 400;
|
||||
|
@ -464,11 +520,13 @@
|
|||
margin-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.item-img image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 14rpx;
|
||||
}
|
||||
|
||||
.item {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
|
@ -482,6 +540,7 @@
|
|||
align-items: center;
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.item-detail {
|
||||
padding: 5rpx 15rpx;
|
||||
border-radius: 10rpx;
|
||||
|
@ -498,20 +557,24 @@
|
|||
width: 100%;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
/deep/.zp-paging-container {
|
||||
background-color: #f7f7f7;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/deep/.zp-paging-container-content {
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.fenlei {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.index-fenl-title {
|
||||
width: 81rpx;
|
||||
text-align: center;
|
||||
|
@ -523,6 +586,7 @@
|
|||
font-size: 34rpx;
|
||||
color: #019C88;
|
||||
}
|
||||
|
||||
.index-fenl-title-bottom {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
@ -532,9 +596,11 @@
|
|||
border-radius: 7rpx;
|
||||
background: linear-gradient(-48deg, rgba(1, 156, 136, 0.35), rgba(45, 196, 142, 0.35));
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__cancel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
text-align: center;
|
||||
color: #019c88;
|
||||
|
@ -546,10 +612,13 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
/deep/.uni-searchbar__box-icon-search,.search-btn{
|
||||
|
||||
/deep/.uni-searchbar__box-icon-search,
|
||||
.search-btn {
|
||||
width: 110rpx;
|
||||
height: 50rpx;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar__box {
|
||||
height: 34px;
|
||||
border-radius: 30px !important;
|
||||
|
@ -560,32 +629,38 @@
|
|||
flex-flow: row-reverse;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/deep/.uni-searchbar {
|
||||
width: 250px;
|
||||
border-radius: 31rpx;
|
||||
padding-right: 24rpx;
|
||||
}
|
||||
|
||||
.service-fh {
|
||||
width: 20px;
|
||||
height: 20rpx;
|
||||
margin-right: 5px;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.service-img {
|
||||
width: 146rpx;
|
||||
height: 38rpx;
|
||||
}
|
||||
|
||||
.service-head-top-left span {
|
||||
font-weight: bold;
|
||||
font-size: 34rpx;
|
||||
color: #171717;
|
||||
}
|
||||
|
||||
.service-head-top-left {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.service-head-top {
|
||||
height: 90rpx;
|
||||
display: flex;
|
||||
|
@ -593,6 +668,7 @@
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.view-cata {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="tewmork-key">
|
||||
<span v-for="(item,index) in labels" :key="index">{{item}}</span>
|
||||
<view class="header-bottom-money1"><span v-for="(item,index) in labels" :key="index">{{item}}</span></view>
|
||||
<view class="xiaoer item-view-biao">{{mainData.levelName}}</view>
|
||||
</view>
|
||||
<view class="tewmork-time">
|
||||
<span>秒杀时间</span><span>{{mainData.startTime}}</span> - <span>{{mainData.endTime}}</span>
|
||||
|
@ -620,6 +621,15 @@
|
|||
}else{
|
||||
this.$set(res.data, 'btnShow', false)
|
||||
}
|
||||
if(res.data.level == 3){
|
||||
res.data.levelName = "新手"
|
||||
}
|
||||
if(res.data.level == 4){
|
||||
res.data.levelName = "专家"
|
||||
}
|
||||
if(res.data.level == 5){
|
||||
res.data.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.data;
|
||||
that.backgroundImageUrl=res.data.packageImg
|
||||
that.contentImg=res.data.contentImg.split(",");
|
||||
|
@ -638,6 +648,15 @@
|
|||
}else{
|
||||
this.$set(res.data, 'btnShow', false)
|
||||
}
|
||||
if(res.data.level == 3){
|
||||
res.data.levelName = "新手"
|
||||
}
|
||||
if(res.data.level == 4){
|
||||
res.data.levelName = "专家"
|
||||
}
|
||||
if(res.data.level == 5){
|
||||
res.data.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.data;
|
||||
that.backgroundImageUrl=res.data.packageImg
|
||||
that.contentImg=res.data.contentImg.split(",");
|
||||
|
@ -1451,16 +1470,28 @@
|
|||
.tewmork-key{
|
||||
display: flex;
|
||||
text-align: center;
|
||||
justify-content: space-between;
|
||||
height: 30px;
|
||||
}
|
||||
.tewmork-key span{
|
||||
height: 30rpx;
|
||||
line-height: 30rpx;
|
||||
padding: 0 8rpx;
|
||||
font-size: 20rpx;
|
||||
font-size: 22rpx;
|
||||
border: 1px #ed4b3e solid ;
|
||||
color: #ed4b3e;
|
||||
border-radius: 6rpx;
|
||||
margin-right: 6rpx;
|
||||
margin-top: 6rpx;
|
||||
}
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.item-view-biao {
|
||||
margin: 4px 0px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
|
@ -33,7 +33,6 @@
|
|||
<span>{{getList.sales}}</span>
|
||||
<span> 人选择</span>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="header-bottom-money-view">
|
||||
<view class="header-bottom-money">
|
||||
|
@ -45,6 +44,7 @@
|
|||
¥{{getList.oldPrice}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="xiaoer item-view-biao">{{getList.levelName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="header-bottom-foot">
|
||||
|
@ -170,7 +170,15 @@
|
|||
}
|
||||
that.$Request.get('/app/user/package/detail/getMyPackageDetail', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
console.log(res.data);
|
||||
if(res.data.level == 3){
|
||||
res.data.levelName = "新手"
|
||||
}
|
||||
if(res.data.level == 4){
|
||||
res.data.levelName = "专家"
|
||||
}
|
||||
if(res.data.level == 5){
|
||||
res.data.levelName = "资深"
|
||||
}
|
||||
that.getList=res.data;
|
||||
that.backgroundImageUrl=that.getList.massageImg
|
||||
// that.labels=res.data.labels.split(',');
|
||||
|
@ -605,4 +613,14 @@
|
|||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.xiaoer {
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.item-view-biao {
|
||||
margin: 8px 0px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
|
@ -64,6 +64,7 @@
|
|||
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
|
||||
<view class="detail-foot-list-top">
|
||||
<span style="margin-right: 5px;">{{item.title}}</span>
|
||||
<span style="margin-left: 5px;">{{mainData.levelName}}</span>
|
||||
</view>
|
||||
<view class="detail-view" style="position: relative;">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
|
@ -217,6 +218,15 @@
|
|||
}
|
||||
that.$Request.get('/app/user/package/detail/findMyPackageDetailList',data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.data.mainData.level == 3){
|
||||
res.data.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.data.mainData.level == 4){
|
||||
res.data.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.data.mainData.level == 5){
|
||||
res.data.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.data.mainData;
|
||||
that.detailData=res.data.detailData;
|
||||
that.backgroundImageUrl=that.mainData.packageImg;
|
||||
|
@ -499,7 +509,7 @@
|
|||
color: #3F3F3F;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(2){
|
||||
width: 76rpx;
|
||||
/* width: 76rpx;
|
||||
height: 33rpx;
|
||||
line-height: 33rpx;
|
||||
text-align: center;
|
||||
|
@ -508,7 +518,13 @@
|
|||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #777777;
|
||||
margin: 0px 25px 0px 5px;
|
||||
margin: 0px 25px 0px 5px; */
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(3){
|
||||
font-size: 30rpx;
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
|
||||
<view class="detail-foot-list-top">
|
||||
<span style="margin-right: 5px;">{{item.title}}</span>
|
||||
<span style="margin-left: 5px;">{{mainData.levelName}}</span>
|
||||
</view>
|
||||
<view class="detail-view" style="position: relative;">
|
||||
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
|
||||
|
@ -97,8 +98,10 @@
|
|||
¥{{item.oldPrice}}
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="serviData.name!='index'">
|
||||
<view class="service-more" @click.stop="xiangqing(item)">{{item.status=='1'?'订单':'预约'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="color: #019c88; font-size: 26rpx;">服务时长:{{item.duration}}分钟</view>
|
||||
<view class="tese">
|
||||
<span>项目特色: </span>
|
||||
|
@ -671,6 +674,15 @@
|
|||
}
|
||||
that.$Request.get('/app/user/package/detail/findMyPackageDetailList',data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.data.mainData.level == 3){
|
||||
res.data.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.data.mainData.level == 4){
|
||||
res.data.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.data.mainData.level == 5){
|
||||
res.data.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.data.mainData;
|
||||
that.detailData=res.data.detailData;
|
||||
that.backgroundImageUrl=that.mainData.packageImg;
|
||||
|
@ -685,6 +697,15 @@
|
|||
}
|
||||
that.$Request.get('/app/massage/packageDetail/findAppPage',data).then(res => {
|
||||
if (res.code == 0) {
|
||||
if(res.mainData.level == 3){
|
||||
res.mainData.levelName = "新手"
|
||||
}
|
||||
if(res.mainData.level == 4){
|
||||
res.mainData.levelName = "专家"
|
||||
}
|
||||
if(res.mainData.level == 5){
|
||||
res.mainData.levelName = "资深"
|
||||
}
|
||||
that.mainData=res.mainData;
|
||||
that.detailData=res.detailData.list;
|
||||
that.backgroundImageUrl=that.mainData.packageImg;
|
||||
|
@ -970,7 +991,7 @@
|
|||
color: #333333;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(2){
|
||||
width: 76rpx;
|
||||
/* width: 76rpx;
|
||||
height: 33rpx;
|
||||
line-height: 33rpx;
|
||||
text-align: center;
|
||||
|
@ -979,7 +1000,13 @@
|
|||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #777777;
|
||||
margin: 0px 25px 0px 5px;
|
||||
margin: 0px 25px 0px 5px; */
|
||||
padding: 1px 8px;
|
||||
border-radius: 10rpx 3rpx 10rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
background-color: #f1f8d7;
|
||||
color: #58b314;
|
||||
}
|
||||
.detail-foot-list-top span:nth-child(3){
|
||||
font-size: 30rpx;
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<view class="item-view">
|
||||
<view class="view-cata">
|
||||
<view class="item-view-title">{{item.title}}</view>
|
||||
<span class="xiaoer item-view-biao">{{item.classifyName}}</span>
|
||||
<span class="xiaoer item-view-biao">{{item.levelName}}</span>
|
||||
</view>
|
||||
<view class="item-view-bottom-qian">
|
||||
<span></span>
|
||||
|
@ -153,6 +153,15 @@
|
|||
// 将请求的结果数组传递给z-paging
|
||||
for(var i=0;i<res.data.records.length;i++){
|
||||
res.data.records[i].tagsData=res.data.records[i].labels.split(',');
|
||||
if(res.data.records[i].level == 3){
|
||||
res.data.records[i].levelName = "新手"
|
||||
}
|
||||
if(res.data.records[i].level == 4){
|
||||
res.data.records[i].levelName = "专家"
|
||||
}
|
||||
if(res.data.records[i].level == 5){
|
||||
res.data.records[i].levelName = "资深"
|
||||
}
|
||||
}
|
||||
this.$refs.paging.complete(res.data.records);
|
||||
}).catch(res => {
|
||||
|
@ -271,6 +280,8 @@
|
|||
.item-view-biao{
|
||||
padding: 1px 5px;
|
||||
border-radius: 15rpx 3rpx 15rpx 3rpx;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
.tuina{
|
||||
background-color:#d1f2df;
|
||||
|
@ -464,5 +475,6 @@
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue