2024-06-24 11:29:11 +08:00
|
|
|
|
<!-- 自定义下拉刷新与上拉加载演示(vue) -->
|
|
|
|
|
<template>
|
|
|
|
|
<view class="content-view">
|
2024-07-30 16:53:24 +08:00
|
|
|
|
<z-paging ref="paging" v-model="dataList" @query="queryList">
|
|
|
|
|
<template #top>
|
|
|
|
|
<view class="service-head-top">
|
|
|
|
|
<view class="service-head-top-left">
|
|
|
|
|
<image @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image>
|
|
|
|
|
<span>{{typeData=='104'?'服务套餐':typeData=='105'?'项目次卡':'服务疗程'}}</span>
|
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<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>
|
|
|
|
|
搜索
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="fenlei">
|
|
|
|
|
<z-tabs class="z-tabs-fenlei":list="tabList" @change="tabChange" @changeClick="changeClick"/>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<template #loadingMoreNoMore >
|
|
|
|
|
<custom-nomore/>
|
|
|
|
|
</template>
|
|
|
|
|
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
|
|
|
|
|
<image :src="item.packageImg" mode="" class="item-img"></image>
|
|
|
|
|
<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> -->
|
|
|
|
|
</view>
|
|
|
|
|
<view class="item-view-bottom-qian">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>¥{{item.price}}</span>
|
|
|
|
|
<span>/ <text v-if="item.type!='104'">{{item.serviceCount}}</text> {{typeData=='104'?'套':typeData=='105'?'次':'次'}}</span>
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>¥{{item.oldPrice}}<text v-if="item.type!='104'">/{{item.serviceCount}}</text>{{typeData=='104'?'套':typeData=='105'?'次':'次'}}</span>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="flex" style="margin-top: 10rpx;">
|
|
|
|
|
<view class="shop_label" v-if="item.tagsData!=''">
|
|
|
|
|
<span v-for="tag in item.tagsData" :key="tag">{{tag}}</span>
|
|
|
|
|
</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><!-- | 好评{{item.esteemRate}}% -->
|
|
|
|
|
</view>
|
|
|
|
|
<view class="item-view-bottom-btn">
|
|
|
|
|
查看
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</z-paging>
|
2024-06-24 11:29:11 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
loadingType:0,
|
|
|
|
|
myId: '',
|
|
|
|
|
// v-model绑定的这个变量不要在分页请求结束中自己赋值!!!
|
|
|
|
|
dataList: [],
|
|
|
|
|
typeData:'104',
|
|
|
|
|
tabIndex: 0,
|
|
|
|
|
searchValue:'',
|
|
|
|
|
serviceTrue:true,
|
|
|
|
|
page:1,
|
|
|
|
|
limit:10,
|
|
|
|
|
titleNmae:'',
|
|
|
|
|
classifyId:'',
|
2024-07-02 15:25:43 +08:00
|
|
|
|
getName:'',
|
2024-07-16 11:17:34 +08:00
|
|
|
|
tabList: [],
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad(e){
|
|
|
|
|
this.typeData=e.type
|
|
|
|
|
this.getName=e.name;
|
|
|
|
|
this.myId = uni.getStorageSync('userId')
|
2024-07-26 14:50:20 +08:00
|
|
|
|
// this.getData();
|
2024-07-15 16:30:27 +08:00
|
|
|
|
uni.setNavigationBarTitle({
|
|
|
|
|
title: this.typeData=='104'?'服务套餐':this.typeData=='105'?'项目次卡':'服务疗程',
|
|
|
|
|
})
|
2024-07-16 11:17:34 +08:00
|
|
|
|
this.tabNav()
|
2024-06-24 11:29:11 +08:00
|
|
|
|
},
|
2024-07-26 14:50:20 +08:00
|
|
|
|
// onPullDownRefresh: function() {
|
|
|
|
|
// this.page = 1;
|
|
|
|
|
// this.getData()
|
|
|
|
|
// },
|
2024-06-24 11:29:11 +08:00
|
|
|
|
methods: {
|
2024-07-16 11:17:34 +08:00
|
|
|
|
tabNav(){
|
|
|
|
|
let data = {
|
|
|
|
|
type: "服务类型",
|
|
|
|
|
}
|
|
|
|
|
this.$Request.get('/app/dict/list', data).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.tabList=res.data;
|
|
|
|
|
this.classifyId=res.data[0].id;
|
|
|
|
|
this.page = 1;
|
|
|
|
|
this.dataList = []
|
|
|
|
|
this.getData()
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
2024-06-24 11:29:11 +08:00
|
|
|
|
// 加载更多
|
2024-07-26 14:50:20 +08:00
|
|
|
|
// loadMore: async function() {
|
|
|
|
|
// //loadingType: 0.数据未加载完 1.数据全部加载完了 2.数据加载中
|
|
|
|
|
// if(this.loadingType==0){
|
|
|
|
|
// this.loadingType=2
|
|
|
|
|
// //模拟数据请求
|
|
|
|
|
// setTimeout(()=>{
|
|
|
|
|
// this.page++;
|
|
|
|
|
// this.loadingType=0;
|
|
|
|
|
// this.getData()
|
|
|
|
|
// },1000)
|
|
|
|
|
// }
|
|
|
|
|
// },
|
2024-06-24 11:29:11 +08:00
|
|
|
|
input(res) {//搜索 输入框
|
|
|
|
|
this.searchValue=res;
|
|
|
|
|
},
|
|
|
|
|
searchBtn(){//搜索按钮
|
|
|
|
|
if(this.searchValue!=""){
|
2024-07-25 19:36:32 +08:00
|
|
|
|
this.page = 1;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
this.getData()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
getData(){
|
2024-07-26 14:50:20 +08:00
|
|
|
|
// var that=this;
|
|
|
|
|
// that.$Request.get("/app/massage/package/findPage", {
|
|
|
|
|
// type:that.typeData,
|
|
|
|
|
// page:that.page,
|
|
|
|
|
// limit:that.limit,
|
|
|
|
|
// title:that.searchValue,
|
|
|
|
|
// classifyId:that.classifyId
|
|
|
|
|
// }).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++){
|
|
|
|
|
// var tagsData=this.dataList[i].labels.split(',');
|
|
|
|
|
// this.dataList[i].tagsData = tagsData;
|
|
|
|
|
// }
|
|
|
|
|
// uni.stopPullDownRefresh()
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
this.$refs.paging.reload(true);
|
2024-06-24 11:29:11 +08:00
|
|
|
|
},
|
2024-07-26 14:50:20 +08:00
|
|
|
|
queryList(pageNo, pageSize) {
|
|
|
|
|
const params = {
|
|
|
|
|
page: pageNo,
|
|
|
|
|
limit: pageSize,
|
|
|
|
|
type:this.typeData,
|
|
|
|
|
title:this.searchValue,
|
|
|
|
|
classifyId:this.classifyId
|
|
|
|
|
}
|
|
|
|
|
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(',');
|
|
|
|
|
}
|
|
|
|
|
this.$refs.paging.complete(res.data.list);
|
|
|
|
|
}).catch(res => {
|
|
|
|
|
this.$refs.paging.complete(false);
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
changeClick(index,item){
|
|
|
|
|
this.classifyId=item.id
|
|
|
|
|
this.searchValue=''
|
|
|
|
|
this.page = 1;
|
|
|
|
|
this.dataList = []
|
|
|
|
|
this.getData()
|
|
|
|
|
},
|
2024-06-24 11:29:11 +08:00
|
|
|
|
backImg(){//返回上一页
|
|
|
|
|
uni.reLaunch({
|
|
|
|
|
url:'/pages/index/index'
|
|
|
|
|
})
|
2024-07-26 14:50:20 +08:00
|
|
|
|
},
|
2024-06-24 11:29:11 +08:00
|
|
|
|
clear(res) {
|
|
|
|
|
this.getData()
|
|
|
|
|
},
|
|
|
|
|
itemClick(item) {
|
|
|
|
|
if(this.typeData=='104'){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/pages/my/serviceOderDrtail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+this.getName+'&isCanCoupon='+item.isCanCoupon
|
|
|
|
|
})
|
|
|
|
|
}else if(this.typeData=='105'){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/pages/my/cikarDrtail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+this.getName+'&isCanCoupon='+item.isCanCoupon
|
|
|
|
|
})
|
|
|
|
|
}else if(this.typeData=='106'){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/pages/my/fuwuliaochengDetail?id='+item.id+'&limit='+this.limit+'&page='+this.page+'&name='+this.getName+'&isCanCoupon='+item.isCanCoupon
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
2024-07-16 11:17:34 +08:00
|
|
|
|
.fenlei{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
.tab-view{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
position: fixed;
|
|
|
|
|
z-index: 999;
|
2024-07-26 13:39:52 +08:00
|
|
|
|
/*background:#fff linear-gradient(60deg,rgba(115, 212, 183, 0.2),rgba(227, 251, 244, 0.1),rgba(193, 236, 223, 0.35));
|
|
|
|
|
border-bottom:1rpx solid #c4ede1;*/
|
2024-07-20 16:11:07 +08:00
|
|
|
|
padding-top: 6rpx;
|
2024-07-16 11:17:34 +08:00
|
|
|
|
}
|
2024-07-13 14:21:23 +08:00
|
|
|
|
.shop_label{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
2024-07-30 14:17:50 +08:00
|
|
|
|
margin-top: 4rpx;
|
2024-07-13 14:21:23 +08:00
|
|
|
|
}
|
|
|
|
|
.shop_label span{
|
2024-07-25 19:36:32 +08:00
|
|
|
|
background: linear-gradient(90deg, #ffefde, #fff7ef);
|
2024-07-24 14:27:50 +08:00
|
|
|
|
height: 34rpx;
|
|
|
|
|
line-height: 34rpx;
|
2024-07-13 14:21:23 +08:00
|
|
|
|
border-radius: 8rpx;
|
2024-07-24 14:27:50 +08:00
|
|
|
|
padding: 0 10rpx;
|
2024-07-22 15:28:47 +08:00
|
|
|
|
font-size: 22rpx;
|
2024-07-13 14:21:23 +08:00
|
|
|
|
margin-right: 8rpx;
|
|
|
|
|
margin-bottom: 8rpx;
|
2024-07-25 19:36:32 +08:00
|
|
|
|
color: #f68607;
|
2024-07-13 14:21:23 +08:00
|
|
|
|
}
|
2024-07-26 17:49:35 +08:00
|
|
|
|
|
2024-06-24 11:29:11 +08:00
|
|
|
|
/deep/.refresh-body .content{
|
|
|
|
|
}
|
|
|
|
|
/deep/.refresh-body{
|
2024-07-04 18:42:00 +08:00
|
|
|
|
height: 100% !important;
|
|
|
|
|
border-top: 2px solid #f7f7f7;
|
2024-07-25 20:58:11 +08:00
|
|
|
|
margin: 80px 0px;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.content-view{
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
2024-07-16 11:17:34 +08:00
|
|
|
|
overflow: hidden;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
background-color: #f7f7f7;
|
2024-07-22 14:30:24 +08:00
|
|
|
|
/*position: relative;*/
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.item-view-bottom-btn{
|
|
|
|
|
text-align: center;
|
|
|
|
|
width: 131rpx;
|
2024-07-25 19:36:32 +08:00
|
|
|
|
height: 55rpx;
|
|
|
|
|
line-height: 55rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
font-weight: bold;
|
2024-06-28 15:55:10 +08:00
|
|
|
|
font-size: 28rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
2024-07-26 17:49:35 +08:00
|
|
|
|
.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;
|
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
.item-view-bottom-qian span:nth-child(3){
|
2024-07-26 17:49:35 +08:00
|
|
|
|
font-size: 28rpx;
|
2024-07-30 16:53:24 +08:00
|
|
|
|
color: #FF1200;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
2024-07-26 17:49:35 +08:00
|
|
|
|
.item-view-bottom-qian span:nth-child(2){
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 36.81rpx;
|
|
|
|
|
color: #FF1200;
|
|
|
|
|
}
|
|
|
|
|
.item-view-bottom-qian span:nth-child(1){
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #FF1200;
|
|
|
|
|
}
|
|
|
|
|
.item-view-bottom-qian{
|
2024-07-30 14:17:50 +08:00
|
|
|
|
margin-top: 2px;
|
2024-07-26 17:49:35 +08:00
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
.item-view-bottom{
|
2024-07-26 17:49:35 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.item-view-jianjie{
|
|
|
|
|
font-weight: 400;
|
2024-07-03 18:14:38 +08:00
|
|
|
|
font-size: 24rpx;
|
2024-07-03 19:56:26 +08:00
|
|
|
|
color: #999999;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
margin:5px 0px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
.item-view-biao{
|
2024-07-03 15:26:53 +08:00
|
|
|
|
padding: 1px 5px;
|
|
|
|
|
border-radius: 15rpx 3rpx 15rpx 3rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.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){
|
2024-07-26 17:49:35 +08:00
|
|
|
|
font-weight: normal;
|
|
|
|
|
color: #333333;
|
|
|
|
|
font-size: 30rpx;
|
2024-07-03 15:26:53 +08:00
|
|
|
|
}
|
|
|
|
|
.item-view-xiangmu span:nth-child(1){
|
2024-07-26 17:49:35 +08:00
|
|
|
|
font-weight: normal;
|
|
|
|
|
color: #666666;
|
|
|
|
|
margin-right: 5rpx;
|
|
|
|
|
font-size: 30rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.item-view-xiangmu{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
font-weight: 400;
|
2024-06-28 15:55:10 +08:00
|
|
|
|
font-size: 25rpx;
|
2024-07-03 15:26:53 +08:00
|
|
|
|
align-items: flex-end;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.item-view-title{
|
|
|
|
|
font-weight: bold;
|
2024-07-25 19:36:32 +08:00
|
|
|
|
font-size: 32rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
color: #333333;
|
2024-07-03 18:14:38 +08:00
|
|
|
|
overflow: hidden;
|
2024-07-03 15:26:53 +08:00
|
|
|
|
text-overflow: ellipsis;
|
2024-07-03 18:14:38 +08:00
|
|
|
|
white-space: nowrap;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.item-view{
|
2024-07-30 09:57:25 +08:00
|
|
|
|
width:60%;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
2024-07-20 15:08:55 +08:00
|
|
|
|
justify-content: space-between;
|
2024-07-26 14:13:59 +08:00
|
|
|
|
padding:5rpx 0;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.item-img{
|
2024-07-30 14:17:50 +08:00
|
|
|
|
width: 240rpx;
|
|
|
|
|
height: 200rpx;
|
|
|
|
|
border-radius: 14rpx;
|
|
|
|
|
position: relative;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
2024-07-03 12:15:39 +08:00
|
|
|
|
.item-img img{
|
2024-07-26 14:50:20 +08:00
|
|
|
|
border-radius: 14rpx;
|
2024-07-03 12:15:39 +08:00
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
.img-span{
|
|
|
|
|
padding: 2px 5px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 8px;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
background: linear-gradient(-90deg, #FF6F48, #FF9E69);
|
|
|
|
|
border-radius: 7px 0px 7px 0px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0px;
|
|
|
|
|
right: 0;
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
.item-img image{
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
.item {
|
2024-07-26 15:00:04 +08:00
|
|
|
|
width: 100%;
|
2024-07-30 09:57:25 +08:00
|
|
|
|
margin: 0 auto ;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
2024-07-26 14:13:59 +08:00
|
|
|
|
/*height: 140px;*/
|
2024-06-24 11:29:11 +08:00
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 21rpx;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
margin-top:10px;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
align-items: center;
|
2024-07-30 09:57:25 +08:00
|
|
|
|
padding:20rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.item-detail {
|
|
|
|
|
padding: 5rpx 15rpx;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: white;
|
|
|
|
|
background-color: #007AFF;
|
|
|
|
|
}
|
2024-07-26 14:50:20 +08:00
|
|
|
|
|
2024-06-24 11:29:11 +08:00
|
|
|
|
.item-line {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0rpx;
|
|
|
|
|
left: 0rpx;
|
|
|
|
|
height: 1px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: #eeeeee;
|
|
|
|
|
}
|
|
|
|
|
/deep/.zp-paging-container{
|
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
|
width:100%;
|
|
|
|
|
}
|
|
|
|
|
/deep/.zp-paging-container-content{
|
|
|
|
|
width: 95%;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
2024-07-26 14:50:20 +08:00
|
|
|
|
|
2024-06-24 11:29:11 +08:00
|
|
|
|
.index-fenl-title{
|
|
|
|
|
width: 81rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
color:#019C88;
|
|
|
|
|
}
|
|
|
|
|
.index-fenl-title-bottom{
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin-bottom: 0px;
|
|
|
|
|
width: 81rpx;
|
|
|
|
|
height: 14rpx;
|
|
|
|
|
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{
|
2024-07-20 17:30:38 +08:00
|
|
|
|
width: 110rpx;
|
2024-07-20 15:08:55 +08:00
|
|
|
|
height: 50rpx;
|
2024-07-25 19:36:32 +08:00
|
|
|
|
/* background: #18A689;
|
|
|
|
|
border-radius: 31rpx; */
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
/deep/.uni-searchbar__box{
|
2024-07-25 19:36:32 +08:00
|
|
|
|
height:34px;
|
2024-07-22 14:30:24 +08:00
|
|
|
|
border-radius: 30px !important;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
background-color: #fff !important;
|
2024-07-20 15:08:55 +08:00
|
|
|
|
border: 1px solid #09a28a;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex-flow: row-reverse;
|
|
|
|
|
position: relative;
|
2024-07-24 14:27:50 +08:00
|
|
|
|
}
|
|
|
|
|
/deep/.uni-searchbar{
|
2024-07-30 14:17:50 +08:00
|
|
|
|
width:250px;
|
2024-07-24 14:27:50 +08:00
|
|
|
|
border-radius: 31rpx;
|
2024-07-26 11:40:46 +08:00
|
|
|
|
padding-right: 24rpx;
|
2024-07-20 15:08:55 +08:00
|
|
|
|
}
|
|
|
|
|
.search-btn{
|
|
|
|
|
text-align: center;
|
2024-07-30 14:17:50 +08:00
|
|
|
|
color: #019c88;
|
2024-07-25 19:36:32 +08:00
|
|
|
|
font-weight: bold;
|
2024-07-20 15:08:55 +08:00
|
|
|
|
position: absolute;
|
2024-07-26 11:40:46 +08:00
|
|
|
|
right:40rpx;
|
2024-07-30 14:17:50 +08:00
|
|
|
|
top: 20rpx;
|
2024-07-25 19:36:32 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
2024-07-20 15:08:55 +08:00
|
|
|
|
/deep/.uni-input-input {
|
|
|
|
|
display: block;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
font: inherit;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
letter-spacing: inherit;
|
|
|
|
|
text-align: inherit;
|
|
|
|
|
text-indent:10px;
|
|
|
|
|
text-transform: inherit;
|
|
|
|
|
text-shadow: inherit;
|
|
|
|
|
}
|
|
|
|
|
/deep/uni-input-form{
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
display: flex;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
.service-head-top-left image{
|
2024-07-20 15:08:55 +08:00
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20rpx;
|
|
|
|
|
margin-right:5px;
|
|
|
|
|
margin-left: 10rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.service-head-top-left span{
|
2024-07-20 15:08:55 +08:00
|
|
|
|
width: 180rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
background:url('../../static/images/headline.png') 0rpx 26rpx;
|
|
|
|
|
background-repeat: no-repeat;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
font-weight: bold;
|
2024-06-27 20:15:51 +08:00
|
|
|
|
font-size: 34rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
color: #171717;
|
2024-07-23 20:49:06 +08:00
|
|
|
|
margin-top: 14rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
.service-head-top-left{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
.service-head-top{
|
2024-07-24 14:27:50 +08:00
|
|
|
|
height:90rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2024-07-24 14:27:50 +08:00
|
|
|
|
}
|
2024-07-03 15:26:53 +08:00
|
|
|
|
.view-cata{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
</style>
|