全部项目

This commit is contained in:
Mr.jiang 2024-08-20 17:29:43 +08:00
parent 80e36d89d0
commit 82fcece4c4
2 changed files with 444 additions and 257 deletions

View File

@ -1,70 +1,88 @@
<!-- 自定义下拉刷新与上拉加载演示(vue) --> <!-- 自定义下拉刷新与上拉加载演示(vue) -->
<template> <template>
<view class="content-view"> <view class="content-view">
<z-paging ref="paging" v-model="dataList" @query="queryList" > <z-paging ref="paging" v-model="dataList" @query="queryList">
<template #top> <template #top>
<view class="service-head-top"> <view class="service-head-top">
<view class="service-head-top-left"> <view class="service-head-top-left">
<image @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image> <image @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image>
<span>更多推荐</span> <span>全部项目</span>
</view> </view>
<view> <view>
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input" <uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue"
@clear="clear"> @input="input" @clear="clear">
</uni-search-bar> </uni-search-bar>
<view class="search-btn" @click="searchBtn"> <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> </view>
</view> </view>
</template> </view>
<!-- <template #refresher="{refresherStatus}" > <view class="fenlei">
<custom-refresher :status="refresherStatus" /> <z-tabs class="z-tabs-fenlei" :list="tabListS" @changeClick="changeClick"/>
</template> --> </view>
<template #loadingMoreNoMore > </template>
<custom-nomore /> <template #loadingMoreNoMore>
</template> <custom-nomore />
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)"> </template>
<image :src="item.packageImg" mode="" class="item-img"></image> <!-- 右侧商品 -->
<view class="item-view"> <!-- 主体部分 -->
<view class="item-view-title"> <view class="body">
{{item.title}} <!-- 左侧分类 -->
</view> <view class="leftTab">
<!-- <view class="item-view-xiangmu"> <scroll-view scroll-y="true" class="tabBox">
<span class="xiaoer item-view-biao">{{item.classifyName}}</span> <block v-for="(item,index) in tabList" :key="index">
<span>已售{{item.sales}} | 好评{{item.esteemRate}}%</span> <view class="tabItem" :class="tabCurrent == index?'tabActive':''"
</view> --> @click="changeTab(index,item)">
<view class="item-view-bottom-qian"> {{item.value}}
<span></span> </view>
<span>{{item.price}}</span> </block>
<span v-if="item.type!='104' && item.type!='105' && item.type!='106'"></span> </scroll-view>
<span v-else-if="item.type=='104'">/</span> </view>
<span v-else>/{{item.serviceCount?item.serviceCount:''}}</span> <!-- 右侧商品 -->
<span>{{item.oldPrice}}</span> <view class="rightGoods">
<span v-if="item.type!='104' && item.type!='105' && item.type!='106'"></span> <!-- <view class="title">{{productTitle}}</view> -->
<span v-else-if="item.type=='104'">/</span> <view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
<span v-else>/{{item.serviceCount?item.serviceCount:''}}</span> <image :src="item.packageImg" mode="" class="item-img"></image>
</view> <view class="item-view">
<view class="flex" style="margin-top: 10rpx;"> <view class="item-view-title">
<view class="shop_label" v-if="item.tagsData!=''"> {{item.title}}
<span v-for="tag in item.tagsData" :key="tag">{{tag}}</span> </view>
</view>
<view class="shop_label" v-else> <view class="item-view-bottom-qian">
<span>助眠解压</span> <span></span>
</view> <span>{{item.price}}</span>
</view> <span v-if="item.type!='104' && item.type!='105' && item.type!='106'"></span>
<view class="item-view-bottom"> <span v-else-if="item.type=='104'">/</span>
<view class="item-view-xiangmu"> <span v-else>/{{item.serviceCount?item.serviceCount:''}}</span>
<span>已售</span><span>{{item.sales}}</span><!-- | 好评{{item.esteemRate}}% --> <span>{{item.oldPrice}}</span>
</view> <span v-if="item.type!='104' && item.type!='105' && item.type!='106'"></span>
<view class="item-view-bottom-btn"> <span v-else-if="item.type=='104'">/</span>
查看 <span v-else>/{{item.serviceCount?item.serviceCount:''}}</span>
</view> </view>
</view> <view class="flex" style="margin-top: 10rpx;">
</view> <view class="shop_label" v-if="item.tagsData!=''">
</view> <span v-for="tag in item.tagsData" :key="tag">{{tag}}</span>
</z-paging> </view>
<view class="shop_label" v-else>
<span>助眠解压</span>
</view>
</view>
<view class="item-view-bottom">
<view class="item-view-xiangmu">
<span>已售</span><span>{{item.sales}}</span>
</view>
<view class="item-view-bottom-btn">
查看
</view>
</view>
</view>
</view>
</view>
</view>
</z-paging>
</view> </view>
</template> </template>
@ -72,120 +90,183 @@
export default { export default {
data() { data() {
return { return {
loadingType:0, tabListS:[
{
code: "单项",
id: 1,
name: "",
orderNum: 6,
parentId: 22,
remark: "单项",
status: 1,
type: "",
value: "单项",
},
{
code: "套餐",
id: 104,
name: "",
orderNum: 6,
parentId: 22,
remark: "套餐",
status: 1,
type: "",
value: "套餐",
},
{
code: "次卡",
id: 105,
name: "",
orderNum: 6,
parentId: 22,
remark: "次卡",
status: 1,
type: "",
value: "次卡",
},
{
code: "疗程",
id: 106,
name: "",
orderNum: 6,
parentId: 22,
remark: "疗程",
status: 1,
type: "",
value: "疗程",
},
{
code: "企业预约",
id: 114,
name: "",
orderNum: 6,
parentId: 22,
remark: "企业预约",
status: 1,
type: "",
value: "企业预约",
},
],
loadingType: 0,
myId: '', myId: '',
// v-model // v-model
dataList: [], dataList: [],
tabList: [], tabList: [],
typeData:'105', typeData: '105',
tabIndex: 0, tabIndex: 0,
searchValue:'', searchValue: '',
serviceTrue:true, serviceTrue: true,
page:1, page: 1,
limit:10, limit: 10,
titleNmae:'', titleNmae: '',
classifyId:'', classifyId: '',
tagsData:[] tagsData: [],
//
tabCurrent: 0,
productTitle: '氧气罐',
type:'1'
} }
}, },
onLoad(e){ onLoad(e) {
this.myId = uni.getStorageSync('userId') this.myId = uni.getStorageSync('userId')
if(e){ if (e) {
this.searchValue=e.searchValue this.searchValue = e.searchValue
} }
// this.getData() this.tabNav()
}, },
// onPullDownRefresh: function() { // onPullDownRefresh: function() {
// this.page = 1; // this.page = 1;
// this.getData() // this.getData()
// }, // },
methods: { methods: {
input(res) {// changeClick(index,item){
this.searchValue=res; this.type=item.id
}, this.searchValue=''
// this.page = 1;
// loadMore: async function() { this.dataList = []
// //loadingType: 0. 1. 2. this.getData()
// if(this.loadingType==0){ },
// this.loadingType=2 tabNav() {
// // let data = {
// setTimeout(()=>{ type: "服务类型",
// this.page++; }
// this.loadingType=0; this.$Request.get('/app/dict/list', data).then(res => {
// this.getData() if (res.code == 0) {
// },1000) this.tabList = res.data;
// } this.classifyId=res.data[0].id,
// }, this.productTitle = this.tabList[0].value
searchBtn(){// this.page = 1;
if(this.searchValue!=""){ this.dataList = []
this.getData()
}
})
},
input(res) { //
this.searchValue = res;
},
searchBtn() { //
if (this.searchValue != "") {
this.getData() this.getData()
} }
}, },
getData(){ getData() {
// this.$Request.get("/app/massage/package/findPackageAndMassagePage",{ this.$refs.paging.reload(true);
// city:'',
// page:this.page,
// limit:this.limit,
// title:this.searchValue
// }).then(res => {
// if (res.code == 0) {
// if (res.data) {
// if (this.page == 1) this.dataList = []; //
// this.dataList = [...this.dataList, ...res.data.list]; //
// for(var i=0;i<this.dataList.length;i++){
// this.dataList[i].tagsData=this.dataList[i].labels.split(',');
// }
// uni.stopPullDownRefresh()
// }
// }
// });
this.$refs.paging.reload(true);
}, },
// changeClick(index,item){ queryList(pageNo, pageSize) {
// this.classifyId=item.id const params = {
// this.searchValue='' city: '',
// this.getData() page: pageNo,
// }, limit: pageSize,
queryList(pageNo, pageSize) { title: this.searchValue,
const params = { classifyId: this.classifyId,
city:'', type:this.type
page:pageNo, }
limit:pageSize, this.$Request.get('/app/massage/package/findPackageAndMassagePage', params).then(res => {
title:this.searchValue for (var i = 0; i < res.data.list.length; i++) {
} res.data.list[i].tagsData = res.data.list[i].labels.split(',');
this.$Request.get('/app/massage/package/findPackageAndMassagePage',params).then(res => { }
for(var i=0;i<res.data.list.length;i++){ this.$refs.paging.complete(res.data.list);
res.data.list[i].tagsData=res.data.list[i].labels.split(','); }).catch(res => {
} this.$refs.paging.complete(false);
this.$refs.paging.complete(res.data.list); })
}).catch(res => { },
this.$refs.paging.complete(false); changeTab(index,item) {
}) this.tabCurrent = index
}, this.productTitle = this.tabList[index].value
backImg(){// this.classifyId = item.id
this.searchValue = ''
this.page = 1;
this.dataList = []
this.getData()
},
backImg() { //
uni.reLaunch({ uni.reLaunch({
url:'/pages/index/index' url: '/pages/index/index'
}) })
}, },
clear(res) { clear(res) {
this.getData() this.getData()
}, },
itemClick(item) { itemClick(item) {
if(item.type=='104'){ if (item.type == '104') {
uni.navigateTo({ uni.navigateTo({
url:'/pages/my/serviceOderDrtail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+'index'+'&isCanCoupon='+item.isCanCoupon url: '/pages/my/serviceOderDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
.page + '&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
}) })
}else if(item.type=='105'){ } else if (item.type == '105') {
uni.navigateTo({ uni.navigateTo({
url:'/pages/my/cikarDrtail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+'index'+'&isCanCoupon='+item.isCanCoupon url: '/pages/my/cikarDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
.page + '&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
}) })
}else if(item.type=='106'){ } else if (item.type == '106') {
uni.navigateTo({ uni.navigateTo({
url:'/pages/my/fuwuliaochengDetail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+'index'+'&isCanCoupon='+item.isCanCoupon url: '/pages/my/fuwuliaochengDetail?id=' + item.id + '&limit=' + this.limit + '&page=' +
this.page + '&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
}) })
}else{ } else {
uni.navigateTo({ uni.navigateTo({
url:'/pages/my/fuwuDateil?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+'index'+'&isCanCoupon='+item.isCanCoupon url: '/pages/my/fuwuDateil?id=' + item.id + '&limit=' + this.limit + '&page=' + this.page +
'&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
}) })
} }
} }
@ -193,13 +274,80 @@
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.shop_label{ /deep/.z-tabs-item-title /deep/span{
white-space: nowrap;
}
.fenlei{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.body {
height: 100vh;
display: flex;
justify-content: space-between;
.leftTab {
width: 177rpx;
height: 100%;
background: #ffffff;
border-radius: 0px 15rpx 0px 0px;
padding: 24rpx 11rpx;
box-sizing: border-box;
.tabBox {
height: 100%;
.tabItem {
text-align: center;
padding: 14rpx 0;
border-radius: 60rpx;
color: #464646;
font-size: 26rpx;
font-weight: bold;
margin-bottom: 20rpx;
}
.tabActive {
background: #60B347;
color: #ffffff;
}
}
}
.rightGoods {
width: 573rpx;
height: 100%;
padding: 0 16rpx 27rpx;
box-sizing: border-box;
.whiteBox {
height: 100%;
background: #ffffff;
border-radius: 15rpx;
padding: 0 25rpx;
box-sizing: border-box;
.title {
height: 77rpx;
line-height: 77rpx;
color: #2D2D2D;
font-size: 26rpx;
font-weight: bold;
}
}
}
}
.shop_label {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-top:4rpx; margin-top: 4rpx;
} }
.shop_label span{
.shop_label span {
background: linear-gradient(90deg, #ffefde, #fff7ef); background: linear-gradient(90deg, #ffefde, #fff7ef);
height: 34rpx; height: 34rpx;
line-height: 34rpx; line-height: 34rpx;
@ -210,16 +358,19 @@
margin-bottom: 8rpx; margin-bottom: 8rpx;
color: #f68607; color: #f68607;
} }
/deep/.refresh-body{
/deep/.refresh-body {
height: 845px !important; height: 845px !important;
background-color: #f7f7f7; background-color: #f7f7f7;
} }
.content-view{
.content-view {
width: 100%; width: 100%;
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
} }
.item-view-bottom-btn{
.item-view-bottom-btn {
text-align: center; text-align: center;
width: 131rpx; width: 131rpx;
height: 55rpx; height: 55rpx;
@ -230,113 +381,133 @@
font-size: 28rpx; font-size: 28rpx;
color: #FFFFFF; color: #FFFFFF;
} }
.item-view-bottom-qian span:nth-child(5){
font-size: 28rpx; .item-view-bottom-qian span:nth-child(5) {
color: #848484; font-size: 28rpx;
text-decoration-line: line-through; color: #848484;
} text-decoration-line: line-through;
.item-view-bottom-qian span:nth-child(4){ }
.item-view-bottom-qian span:nth-child(4) {
font-size: 28rpx; font-size: 28rpx;
color: #848484; color: #848484;
text-decoration-line: line-through; text-decoration-line: line-through;
margin-left: 5px; margin-left: 5px;
} }
.item-view-bottom-qian span:nth-child(3){
font-size: 28rpx; .item-view-bottom-qian span:nth-child(3) {
color: #FF6000; font-size: 28rpx;
} color: #FF6000;
.item-view-bottom-qian span:nth-child(2){ }
.item-view-bottom-qian span:nth-child(2) {
font-weight: bold; font-weight: bold;
font-size: 36.81rpx; font-size: 36.81rpx;
color: #FF6000; color: #FF6000;
} }
.item-view-bottom-qian span:nth-child(1){
font-weight: 400;
font-size: 28rpx;
color: #FF6000;
}
.item-view-bottom-qian{
margin-top:2px;
}
.item-view-bottom{ .item-view-bottom-qian span:nth-child(1) {
width: 100%; font-weight: 400;
display: flex; font-size: 28rpx;
flex-direction: row; color: #FF6000;
justify-content: space-between;
align-items: center;
} }
.item-view-jianjie{
.item-view-bottom-qian {
margin-top: 2px;
}
.item-view-bottom {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.item-view-jianjie {
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #848484; color: #848484;
margin:5px 0px; margin: 5px 0px;
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */ -webkit-line-clamp: 2;
/* 显示的行数,可以根据需要修改 */
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.item-view-biao{
.item-view-biao {
padding: 1px 2px; padding: 1px 2px;
border-radius: 6rpx; border-radius: 6rpx;
} }
.tuina{
background-color:#d1f2df; .tuina {
background-color: #d1f2df;
color: #17984d; color: #17984d;
} }
.xiaoer{
background-color:#f1f8d7; .xiaoer {
background-color: #f1f8d7;
color: #58b314; color: #58b314;
} }
.taishi{
background-color:#e5d5c6; .taishi {
background-color: #e5d5c6;
color: #805d39; color: #805d39;
} }
.kangfu{
background-color:#fcf3da; .kangfu {
background-color: #fcf3da;
color: #ff8600; color: #ff8600;
} }
.item-view-xiangmu span:nth-child(2){
font-weight: normal; .item-view-xiangmu span:nth-child(2) {
color: #333333; font-weight: normal;
font-size: 30rpx; color: #333333;
font-size: 30rpx;
} }
.item-view-xiangmu span:nth-child(1){
font-weight: normal; .item-view-xiangmu span:nth-child(1) {
color: #666666; font-weight: normal;
margin-right: 5rpx; color: #666666;
font-size: 30rpx; margin-right: 5rpx;
font-size: 30rpx;
} }
.item-view-xiangmu{
width: 100%; .item-view-xiangmu {
display: flex; width: 100%;
flex-direction: row; display: flex;
font-weight: 400; flex-direction: row;
font-size: 25rpx; font-weight: 400;
align-items: flex-end; font-size: 25rpx;
align-items: flex-end;
} }
.item-view-title{
.item-view-title {
font-weight: bold; font-weight: bold;
font-size: 33rpx; font-size: 33rpx;
color: #333333; color: #333333;
} }
.item-view{
width:60%; .item-view {
height: 100%; width: 60%;
display: flex; height: 100%;
flex-direction: column; display: flex;
justify-content: center; flex-direction: column;
justify-content: space-between; justify-content: center;
padding:5rpx 0; justify-content: space-between;
padding: 5rpx 0;
} }
.item-img{
width: 240rpx; .item-img {
height: 200rpx; width: 240rpx;
border-radius: 14rpx; height: 200rpx;
position: relative; border-radius: 14rpx;
position: relative;
} }
.img-span{
.img-span {
padding: 2px 5px; padding: 2px 5px;
font-weight: 400; font-weight: 400;
font-size: 8px; font-size: 8px;
@ -349,23 +520,26 @@
margin-bottom: 5px; margin-bottom: 5px;
margin-right: 5px; margin-right: 5px;
} }
.item-img image{
.item-img image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.item { .item {
width: 100%; width: 100%;
margin: 0 auto ; margin: 0 auto;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
/*height: 140px;*/ /*height: 140px;*/
background: #FFFFFF; background: #FFFFFF;
border-radius: 21rpx; border-radius: 21rpx;
margin-top:10px; margin-top: 10px;
align-items: center; align-items: center;
padding:20rpx; padding: 20rpx;
} }
.item-detail { .item-detail {
padding: 5rpx 15rpx; padding: 5rpx 15rpx;
border-radius: 10rpx; border-radius: 10rpx;
@ -382,21 +556,25 @@
width: 100%; width: 100%;
background-color: #eeeeee; background-color: #eeeeee;
} }
/deep/.zp-paging-container{
/deep/.zp-paging-container {
background-color: #f7f7f7; background-color: #f7f7f7;
width:100%; width: 100%;
} }
/deep/.zp-paging-container-content{
/deep/.zp-paging-container-content {
width: 95%; width: 95%;
margin: 0 auto; margin: 0 auto;
} }
.fenlei{
.fenlei {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.index-fenl-title{
.index-fenl-title {
width: 81rpx; width: 81rpx;
text-align: center; text-align: center;
position: relative; position: relative;
@ -405,37 +583,43 @@
align-items: center; align-items: center;
font-weight: bold; font-weight: bold;
font-size: 34rpx; font-size: 34rpx;
color:#019C88; color: #019C88;
} }
.index-fenl-title-bottom{
.index-fenl-title-bottom {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
margin-bottom: 0px; margin-bottom: 0px;
width: 81rpx; width: 81rpx;
height: 14rpx; height: 14rpx;
border-radius: 7rpx; border-radius: 7rpx;
background: linear-gradient(-48deg,rgba(1, 156, 136, 0.35),rgba(45, 196, 142, 0.35)); background: linear-gradient(-48deg, rgba(1, 156, 136, 0.35), rgba(45, 196, 142, 0.35));
} }
/deep/.uni-searchbar__cancel{
/deep/.uni-searchbar__cancel {
display: none; display: none;
} }
.search-btn{
.search-btn {
text-align: center; text-align: center;
color: #019c88; color: #019c88;
font-weight: bold; font-weight: bold;
position: absolute; position: absolute;
right:40rpx; right: 40rpx;
top: 20rpx; top: 20rpx;
font-size: 30rpx; font-size: 30rpx;
display: flex; display: flex;
align-items: center; align-items: center;
} }
/deep/.uni-searchbar__box-icon-search,.search-btn{
/deep/.uni-searchbar__box-icon-search,
.search-btn {
width: 110rpx; width: 110rpx;
height: 50rpx; height: 50rpx;
} }
/deep/.uni-searchbar__box{
height:34px; /deep/.uni-searchbar__box {
height: 34px;
border-radius: 30px !important; border-radius: 30px !important;
background-color: #fff !important; background-color: #fff !important;
border: 1px solid #09a28a; border: 1px solid #09a28a;
@ -444,20 +628,23 @@
flex-flow: row-reverse; flex-flow: row-reverse;
position: relative; position: relative;
} }
/deep/.uni-searchbar{
width:250px; /deep/.uni-searchbar {
width: 250px;
border-radius: 31rpx; border-radius: 31rpx;
padding-right: 24rpx; padding-right: 24rpx;
} }
.service-head-top-left image{
.service-head-top-left image {
width: 20px; width: 20px;
height: 20rpx; height: 20rpx;
margin-right:5px; margin-right: 5px;
margin-left: 10rpx; margin-left: 10rpx;
} }
.service-head-top-left span{
height:100rpx; .service-head-top-left span {
background:url('../../static/images/headline.png') 0rpx 50rpx; height: 100rpx;
background: url('../../static/images/headline.png') 0rpx 50rpx;
background-repeat: no-repeat; background-repeat: no-repeat;
font-weight: bold; font-weight: bold;
font-size: 34rpx; font-size: 34rpx;
@ -465,18 +652,19 @@
display: flex; display: flex;
align-items: center; align-items: center;
} }
.service-head-top-left{
display: flex; .service-head-top-left {
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.service-head-top{
height:90rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.service-head-top {
height: 90rpx;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
</style> </style>

View File

@ -6,7 +6,7 @@
<view class="service-head-top"> <view class="service-head-top">
<view class="service-head-top-left"> <view class="service-head-top-left">
<image @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image> <image @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image>
<span>服务项目</span> <span>女性专区</span>
</view> </view>
<view> <view>
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" <uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue"
@ -98,7 +98,6 @@
// //
tabCurrent: 0, tabCurrent: 0,
productTitle: '氧气罐', productTitle: '氧气罐',
fromStore: false, //
} }
}, },
onLoad() { onLoad() {
@ -449,7 +448,7 @@
} }
.item-view { .item-view {
width: 60%; width: 49%;
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;