sadjv3_user/pages/my/newTeaml.vue

688 lines
16 KiB
Vue
Raw Normal View History

2024-07-22 19:41:55 +08:00
<!-- 自定义下拉刷新与上拉加载演示(vue) -->
2024-07-11 10:28:20 +08:00
<template>
<view class="content">
2024-08-01 22:43:17 +08:00
<z-paging ref="paging" v-model="dataList" @query="queryList">
2024-07-22 19:41:55 +08:00
<!-- 需要固定在顶部不滚动的view放在slot="top"的view中如果需要跟着滚动则不要设置slot="top" -->
<!-- 注意此处的z-tabs为独立的组件可替换为第三方的tabs若需要使用z-tabs请在插件市场搜索z-tabs并引入否则会报插件找不到的错误 -->
<template #top>
<view class="service-head-top">
<view class="service-head-top-left">
<image @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image>
<image style="width: 136rpx; height:40rpx ;" src="../../static/seckill4.png"></image>
2024-07-11 10:28:20 +08:00
</view>
2024-07-22 19:41:55 +08:00
<view>
2024-08-01 22:43:17 +08:00
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue"
@input="input" @clear="clear">
2024-07-22 19:41:55 +08:00
</uni-search-bar>
<view class="search-btn" @click="searchBtn">
2024-08-01 22:43:17 +08:00
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;"
src="../../static/search.png"></image>
2024-07-31 16:57:55 +08:00
搜索
2024-07-22 19:41:55 +08:00
</view>
2024-07-11 10:28:20 +08:00
</view>
</view>
2024-07-22 19:41:55 +08:00
<!-- <view class="fenlei">
<z-tabs class="z-tabs-fenlei" :list="tabList" @change="tabChange" @changeClick="changeClick"/>
</view> -->
</template>
2024-07-26 14:50:20 +08:00
2024-07-22 19:41:55 +08:00
<!-- 自定义下拉刷新view(如果use-custom-refresher为true且不设置下面的slot="refresher"此时不用获取refresherStatus会自动使用z-paging自带的下拉刷新view) -->
<!-- 注意注意注意字节跳动小程序中自定义下拉刷新不支持slot-scope将导致custom-refresher无法显示 -->
<!-- 如果是字节跳动小程序请参照sticky-demo.vue中的写法此处使用slot-scope是为了减少data中无关变量声明降低依赖 -->
2024-08-01 22:43:17 +08:00
<!-- <template #refresher="{refresherStatus}" >-->
<!-- 此处的custom-refresh为demo中自定义的组件非z-paging的内置组件请在实际项目中自行创建这里插入什么view下拉刷新就显示什么view -->
<!-- <custom-refresher :status="refresherStatus" />-->
<!-- </template>-->
2024-07-22 19:41:55 +08:00
<!-- 自定义没有更多数据view -->
2024-08-01 22:43:17 +08:00
<template #loadingMoreNoMore>
2024-07-22 19:41:55 +08:00
<!-- 此处的custom-nomore为demo中自定义的组件非z-paging的内置组件请在实际项目中自行创建这里插入什么view没有更多数据就显示什么view -->
<custom-nomore />
</template>
2024-07-26 14:50:20 +08:00
2024-07-22 19:41:55 +08:00
<!-- 如果希望其他view跟着页面滚动可以放在z-paging标签内 -->
2024-08-01 22:43:17 +08:00
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
2024-07-22 19:41:55 +08:00
<!-- <view class="item-title">{{item.title}}</view>
<view class="item-detail">{{item.detail}}</view> -->
<!-- <view class="item-line"></view> -->
<view class="item-img">
<image :src="item.packageImg" mode=""></image>
2024-08-01 22:43:17 +08:00
<span class="img-span"
v-if="text=='my'">{{item.status=='1'?'未用完':item.status=='2'?'退款':item.status=='9'?'已用完':'其他'}}</span>
2024-08-02 17:13:04 +08:00
<span v-else>
<span class="img-span" v-if="item.isNewer=='1'">新人专享</span>
</span>
2024-07-22 19:41:55 +08:00
</view>
<view class="item-view" v-if="text=='index'">
<view class="view-cata">
2024-07-26 17:49:35 +08:00
<view class="item-view-title">{{item.title}}</view>
2024-08-01 22:43:17 +08:00
<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!=''">
<span v-for="tag in item.tagsData" :key="tag">{{tag}}</span>
</view>
<view class="shop_label" v-else>
<span>助眠解压</span>
</view>
2024-07-25 20:58:11 +08:00
</view>
2024-07-22 19:41:55 +08:00
<view class="pace-plan">
<view class="pace-text"><span>{{item.duration}}</span><span>分钟</span></view>
2024-07-11 11:12:05 +08:00
</view>
2024-07-22 19:41:55 +08:00
<view class="seckill-entry">
<view class="seckill-money">
2024-07-25 19:36:32 +08:00
<span>{{item.oldPrice}}</span>
2024-07-22 19:41:55 +08:00
<span>去拼团</span>
2024-07-25 19:36:32 +08:00
<span>{{item.price}}</span>
2024-07-22 19:41:55 +08:00
</view>
<view class="seckill-rob ">
<span class="seckill-text">去拼团</span>
2024-07-11 10:28:20 +08:00
</view>
</view>
2024-07-26 14:50:20 +08:00
</view>
2024-07-22 19:41:55 +08:00
<view class="item-view" v-else>
<view class="view-cata">
<view class="item-view-title">{{item.title}}</view>
2024-08-01 22:43:17 +08:00
<span class="xiaoer item-view-biao">{{item.levelName}}</span>
2024-07-11 11:12:05 +08:00
</view>
2024-07-22 19:41:55 +08:00
<view class="item-view-bottom-qian">
2024-07-26 17:49:35 +08:00
<span></span>
<span>{{item.price}}</span>
2024-08-07 09:27:45 +08:00
<span class="item-view-bottom-qia-span">{{item.oldPrice}}</span>
2024-07-11 10:28:20 +08:00
</view>
2024-08-01 22:43:17 +08:00
<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>
2024-07-22 19:41:55 +08:00
<view class="item-view-bottom">
<view class="item-view-xiangmu">
<span>已售</span><span>{{item.sales}} <!-- | 好评{{item.esteemRate}}% --></span>
2024-07-11 10:28:20 +08:00
</view>
2024-07-22 19:41:55 +08:00
<view class="item-view-bottom-btn">
查看
2024-07-11 10:28:20 +08:00
</view>
</view>
2024-07-26 14:50:20 +08:00
</view>
2024-07-11 10:28:20 +08:00
</view>
2024-07-22 19:41:55 +08:00
</z-paging>
2024-07-26 14:50:20 +08:00
2024-07-11 10:28:20 +08:00
</view>
</template>
2024-07-22 19:41:55 +08:00
2024-07-11 10:28:20 +08:00
<script>
2024-07-22 19:41:55 +08:00
export default {
data() {
return {
myId: '',
// v-model绑定的这个变量不要在分页请求结束中自己赋值
dataList: [],
tabList: [],
2024-08-01 22:43:17 +08:00
typeData: '105',
2024-07-22 19:41:55 +08:00
tabIndex: 0,
2024-08-01 22:43:17 +08:00
searchValue: '',
serviceTrue: true,
page: 1,
limit: 10,
titleNmae: '',
tagsData: [],
text: ''
2024-07-11 10:28:20 +08:00
}
},
2024-08-01 22:43:17 +08:00
onLoad(e) {
2024-07-22 19:41:55 +08:00
this.myId = uni.getStorageSync('userId');
2024-08-01 22:43:17 +08:00
this.text = e.text
2024-07-25 19:36:32 +08:00
// this.getData()
2024-07-11 10:28:20 +08:00
},
2024-07-22 19:41:55 +08:00
methods: {
2024-08-01 22:43:17 +08:00
input(res) { //搜索 输入框
this.searchValue = res;
2024-07-11 10:28:20 +08:00
},
2024-08-01 22:43:17 +08:00
searchBtn() { //搜索按钮
if (this.searchValue != "") {
2024-07-22 19:41:55 +08:00
this.getData()
2024-07-11 10:28:20 +08:00
}
},
2024-08-01 22:43:17 +08:00
getData() {
2024-07-25 19:36:32 +08:00
// let data = {
// userId: this.myId,
// type: '111',
// page: this.page,
// limit: this.limit,
// title:this.searchValue,
// }
// if(this.text=='index'){//首页进来的秒杀列表接口
// this.$Request.get('/app/massage/package/findAppActivityPage', data).then(res => {
// if (res.code == 0) {
// this.dataList=res.data.list;
// for(var i=0;i<this.dataList.length;i++){
// this.tagsData=this.dataList[i].labels.split(',');
// }
// }
// })
// }else{
// this.$Request.get('/app/user/package/findMyPackageList', data).then(res => {
// if (res.code == 0) {
// this.dataList=res.data.records;
// for(var i=0;i<this.dataList.length;i++){
// this.tagsData=this.dataList[i].labels.split(',');
// }
// }
// })
// }
2024-07-26 14:50:20 +08:00
this.$refs.paging.reload(true);
2024-07-11 10:28:20 +08:00
},
2024-07-22 19:41:55 +08:00
tabChange(index) {
this.tabIndex = index;
//当切换tab或搜索时请调用组件的reload方法请勿直接调用queryList方法
//调用reload时参数传true则代表reload时触发下拉刷新效果不传或false则代表取消此效果
this.$refs.paging.reload(true);
2024-07-11 10:28:20 +08:00
},
2024-07-22 19:41:55 +08:00
queryList(pageNo, pageSize) {
// console.log(pageNo,pageSize,this.tabIndex)
// 组件加载时会自动触发此方法,因此默认页面加载时会自动触发,无需手动调用
// 这里的pageNo和pageSize会自动计算好直接传给服务器即可
// 模拟请求服务器获取分页数据,请替换成自己的网络请求
const params = {
userId: this.myId,
page: pageNo,
limit: pageSize,
type: '111',
2024-08-01 22:43:17 +08:00
title: this.searchValue,
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
if (this.text == 'index') { //首页进来的秒杀列表接口
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 = "资深"
}
2024-07-25 19:36:32 +08:00
}
2024-07-26 14:50:20 +08:00
this.$refs.paging.complete(res.data.list);
2024-07-22 20:19:18 +08:00
}).catch(res => {
this.$refs.paging.complete(false);
})
2024-08-01 22:43:17 +08:00
} else {
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 = "资深"
}
}
2024-07-22 20:19:18 +08:00
this.$refs.paging.complete(res.data.records);
}).catch(res => {
this.$refs.paging.complete(false);
})
}
2024-07-11 10:28:20 +08:00
},
2024-07-26 14:50:20 +08:00
2024-08-01 22:43:17 +08:00
backImg() { //返回上一页
if (this.text == 'my') {
2024-07-22 19:41:55 +08:00
uni.reLaunch({
2024-08-01 22:43:17 +08:00
url: '/pages/my/index'
2024-07-11 10:28:20 +08:00
})
2024-08-01 22:43:17 +08:00
} else {
2024-07-22 19:41:55 +08:00
uni.reLaunch({
2024-08-01 22:43:17 +08:00
url: '/pages/index/index'
2024-07-11 10:28:20 +08:00
})
}
2024-07-26 14:50:20 +08:00
},
2024-07-22 19:41:55 +08:00
clear(res) {
this.getData()
2024-07-11 10:28:20 +08:00
},
2024-07-22 19:41:55 +08:00
itemClick(item) {
2024-08-01 22:43:17 +08:00
if (this.text == 'index') {
2024-07-22 19:41:55 +08:00
uni.navigateTo({
2024-08-01 22:43:17 +08:00
url: '/pages/my/newTeamlDetail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
.page + '&name=' + this.text
2024-07-22 19:41:55 +08:00
})
2024-08-01 22:43:17 +08:00
} else {
2024-07-22 19:41:55 +08:00
uni.navigateTo({
2024-08-01 22:43:17 +08:00
url: '/pages/my/pinTuanOderDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
.page + '&name=' + this.text
2024-07-22 19:41:55 +08:00
})
}
}
2024-07-11 10:28:20 +08:00
}
}
</script>
2024-07-22 19:41:55 +08:00
2024-07-11 10:28:20 +08:00
<style scoped>
2024-08-01 22:43:17 +08:00
.shop_label {
2024-07-11 10:28:20 +08:00
display: flex;
flex-wrap: wrap;
2024-07-31 16:57:55 +08:00
margin-top: 4rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +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-22 19:41:55 +08:00
border-radius: 8rpx;
2024-07-24 14:27:50 +08:00
padding: 0 10rpx;
font-size: 22rpx;
2024-07-22 19:41:55 +08:00
margin-right: 8rpx;
2024-07-24 14:27:50 +08:00
margin-bottom: 8rpx;
2024-07-25 19:36:32 +08:00
color: #f68607;
2024-07-22 19:41:55 +08:00
}
2024-08-01 22:43:17 +08:00
.shop-arrow {
2024-07-22 19:41:55 +08:00
display: inline-block;
2024-08-01 22:43:17 +08:00
border-top: 1px solid;
border-right: 1px solid;
width: 7px;
height: 7px;
border-color: #999;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
margin-top: 7px;
}
.pace-plan {
2024-07-11 10:28:20 +08:00
display: flex;
flex-direction: row;
2024-07-22 19:41:55 +08:00
margin-left: 10rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.pace-text {
2024-07-22 19:41:55 +08:00
font-size: 24rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.pace-text span:nth-child(1) {
2024-07-22 19:41:55 +08:00
color: #666;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.pace-text span:nth-child(2) {
2024-07-22 19:41:55 +08:00
color: #666;
2024-08-01 22:43:17 +08:00
}
2024-07-26 14:50:20 +08:00
2024-08-01 22:43:17 +08:00
.pace {
2024-07-22 19:41:55 +08:00
width: 60%;
height: 30rpx;
2024-07-11 10:28:20 +08:00
border-radius: 30rpx;
2024-07-22 19:41:55 +08:00
background: #f5f5f5;
font-size: 20rpx;
line-height: 30rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.seckill-entry {
2024-07-11 10:28:20 +08:00
display: flex;
flex-direction: row;
2024-07-22 19:41:55 +08:00
justify-content: space-between;
margin-top: 10rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.seckill-money {
2024-07-22 19:41:55 +08:00
width: 74%;
background: #fff8f0;
2024-07-26 14:50:20 +08:00
border-radius: 10rpx 0 0 10rpx;
2024-07-30 14:17:50 +08:00
padding: 14rpx 10rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.seckill-money span:nth-child(1) {
2024-07-22 19:41:55 +08:00
color: #666;
font-size: 24rpx;
text-decoration: line-through;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.seckill-money span:nth-child(2) {
2024-07-22 19:41:55 +08:00
color: #fc2d32;
2024-07-11 10:28:20 +08:00
font-weight: bold;
2024-07-22 19:41:55 +08:00
font-size: 24rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.seckill-money span:nth-child(3) {
2024-07-22 19:41:55 +08:00
color: #fc2d32;
font-size: 30rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.seckill-rob {
width: 50%;
2024-07-22 19:41:55 +08:00
height: 60rpx;
2024-08-01 22:43:17 +08:00
background: #fb2d30 url('../../static/seckill4-1.png');
2024-07-23 20:49:06 +08:00
background-size: 40% 100%;
background-repeat: no-repeat;
2024-07-22 19:41:55 +08:00
line-height: 60rpx;
2024-08-01 22:43:17 +08:00
border-radius: 0 10rpx 10rpx 0;
2024-07-23 20:49:06 +08:00
text-indent: 70rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.seckill-img {
2024-07-22 19:41:55 +08:00
width: 70rpx;
height: 70rpx;
position: absolute;
2024-08-01 22:43:17 +08:00
top: -18rpx;
left: -22rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.seckill-text {
2024-07-11 10:28:20 +08:00
color: #fff;
2024-08-01 22:43:17 +08:00
font-size: 26rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-bottom-btn {
2024-07-22 19:41:55 +08:00
text-align: center;
width: 131rpx;
height: 55rpx;
line-height: 55rpx;
background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);
border-radius: 10rpx;
2024-07-11 10:28:20 +08:00
font-weight: bold;
2024-07-22 19:41:55 +08:00
font-size: 28rpx;
color: #FFFFFF;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
2024-08-07 09:27:45 +08:00
.item-view-bottom-qia-span{
2024-08-01 22:43:17 +08:00
font-size: 26rpx;
2024-08-07 09:27:45 +08:00
color: #848484 !important;
2024-08-01 22:43:17 +08:00
text-decoration-line: line-through;
margin-left: 5px;
2024-07-31 16:57:55 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-bottom-qian span:nth-child(3) {
font-size: 28rpx;
color: #FF6000;
2024-07-31 16:57:55 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-bottom-qian span:nth-child(2) {
font-weight: bold;
font-size: 36.81rpx;
color: #FF6000;
2024-07-22 19:41:55 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-bottom-qian span:nth-child(1) {
font-weight: 400;
font-size: 26rpx;
color: #FF6000;
2024-07-22 19:41:55 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-bottom-qian {
margin-top: 2px;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-bottom {
2024-07-11 10:28:20 +08:00
width: 100%;
display: flex;
flex-direction: row;
2024-07-22 19:41:55 +08:00
justify-content: space-between;
2024-07-11 10:28:20 +08:00
align-items: center;
}
2024-08-01 22:43:17 +08:00
.item-view-jianjie {
2024-07-11 10:28:20 +08:00
font-weight: 400;
2024-07-22 19:41:55 +08:00
font-size: 24rpx;
color: #999;
2024-08-01 22:43:17 +08:00
margin: 5px 0px;
2024-07-11 10:28:20 +08:00
display: -webkit-box;
-webkit-box-orient: vertical;
2024-08-01 22:43:17 +08:00
-webkit-line-clamp: 2;
/* 显示的行数,可以根据需要修改 */
2024-07-11 10:28:20 +08:00
overflow: hidden;
text-overflow: ellipsis;
}
2024-08-01 22:43:17 +08:00
.item-view-biao {
2024-07-22 19:41:55 +08:00
padding: 1px 5px;
border-radius: 15rpx 3rpx 15rpx 3rpx;
2024-08-01 22:43:17 +08:00
width: 50px;
text-align: center;
}
.tuina {
background-color: #d1f2df;
2024-07-22 19:41:55 +08:00
color: #17984d;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.xiaoer {
background-color: #f1f8d7;
2024-07-22 19:41:55 +08:00
color: #58b314;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.taishi {
background-color: #e5d5c6;
2024-07-22 19:41:55 +08:00
color: #805d39;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.kangfu {
background-color: #fcf3da;
2024-07-22 19:41:55 +08:00
color: #ff8600;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-xiangmu span:nth-child(2) {
2024-07-31 16:57:55 +08:00
font-weight: normal;
color: #333333;
font-size: 30rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-xiangmu span:nth-child(1) {
2024-07-31 16:57:55 +08:00
font-weight: normal;
color: #666666;
margin-right: 5rpx;
font-size: 30rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-xiangmu {
2024-07-11 10:28:20 +08:00
width: 100%;
display: flex;
flex-direction: row;
font-weight: 400;
2024-07-22 19:41:55 +08:00
font-size: 25rpx;
align-items: flex-end;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view-title {
2024-07-22 19:41:55 +08:00
font-weight: bold;
font-size: 32rpx;
color: #333333;
overflow: hidden;
2024-07-25 19:36:32 +08:00
text-overflow: ellipsis;
white-space: nowrap;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.item-view {
width: 60%;
/*height: 100%;*/
display: flex;
flex-direction: column;
justify-content: center;
justify-content: space-between;
padding: 5rpx 0;
}
.item-img {
width: 240rpx;
height: 200rpx;
border-radius: 14rpx;
position: relative;
}
.item-img img {
2024-07-31 16:57:55 +08:00
border-radius: 14rpx;
2024-07-22 19:41:55 +08:00
}
2024-08-01 22:43:17 +08:00
.img-span {
2024-07-11 10:28:20 +08:00
padding: 2px 5px;
font-weight: 400;
2024-07-22 19:41:55 +08:00
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;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.item-img image {
2024-07-22 19:41:55 +08:00
width: 100%;
height: 100%;
border-radius: 14rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
2024-07-22 19:41:55 +08:00
.item {
2024-07-31 16:57:55 +08:00
width: 100%;
2024-08-01 22:43:17 +08:00
margin: 0 auto;
2024-07-31 16:57:55 +08:00
display: flex;
flex-direction: row;
justify-content: space-between;
/*height: 140px;*/
background: #FFFFFF;
border-radius: 21rpx;
2024-08-01 22:43:17 +08:00
margin-top: 10px;
2024-07-31 16:57:55 +08:00
align-items: center;
2024-08-01 22:43:17 +08:00
padding: 20rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
2024-07-22 19:41:55 +08:00
.item-detail {
padding: 5rpx 15rpx;
border-radius: 10rpx;
2024-07-11 10:28:20 +08:00
font-size: 28rpx;
2024-07-22 19:41:55 +08:00
color: white;
background-color: #007AFF;
2024-07-11 10:28:20 +08:00
}
2024-07-26 14:50:20 +08:00
2024-07-22 19:41:55 +08:00
.item-line {
position: absolute;
bottom: 0rpx;
left: 0rpx;
height: 1px;
2024-07-11 10:28:20 +08:00
width: 100%;
2024-07-22 19:41:55 +08:00
background-color: #eeeeee;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
/deep/.zp-paging-container {
2024-07-22 19:41:55 +08:00
background-color: #f7f7f7;
2024-08-01 22:43:17 +08:00
width: 100%;
2024-07-22 19:41:55 +08:00
}
2024-08-01 22:43:17 +08:00
/deep/.zp-paging-container-content {
2024-07-22 19:41:55 +08:00
width: 95%;
2024-08-01 22:43:17 +08:00
margin: 0px auto 0px auto;
2024-07-22 19:41:55 +08:00
}
2024-08-01 22:43:17 +08:00
.fenlei {
2024-07-11 10:28:20 +08:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
2024-08-01 22:43:17 +08:00
.index-fenl-title {
2024-07-22 19:41:55 +08:00
width: 81rpx;
text-align: center;
position: relative;
2024-07-11 10:28:20 +08:00
display: flex;
2024-07-22 19:41:55 +08:00
flex-direction: column;
2024-07-11 10:28:20 +08:00
align-items: center;
2024-07-22 19:41:55 +08:00
font-weight: bold;
font-size: 34rpx;
2024-08-01 22:43:17 +08:00
color: #019C88;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.index-fenl-title-bottom {
2024-07-22 19:41:55 +08:00
position: absolute;
bottom: 0;
margin-bottom: 0px;
width: 81rpx;
height: 14rpx;
border-radius: 7rpx;
2024-08-01 22:43:17 +08:00
background: linear-gradient(-48deg, rgba(1, 156, 136, 0.35), rgba(45, 196, 142, 0.35));
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
/deep/.uni-searchbar__cancel {
2024-07-22 19:41:55 +08:00
display: none;
2024-07-11 11:12:05 +08:00
}
2024-08-01 22:43:17 +08:00
.search-btn {
2024-07-22 19:41:55 +08:00
text-align: center;
2024-07-30 14:17:50 +08:00
color: #019c88;
font-weight: bold;
2024-07-22 19:41:55 +08:00
position: absolute;
2024-08-01 22:43:17 +08:00
right: 40rpx;
2024-07-30 14:17:50 +08:00
top: 20rpx;
font-size: 30rpx;
display: flex;
align-items: center;
2024-07-22 19:41:55 +08:00
}
2024-08-01 22:43:17 +08:00
/deep/.uni-searchbar__box-icon-search,
.search-btn {
2024-07-23 20:49:06 +08:00
width: 110rpx;
height: 50rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
/deep/.uni-searchbar__box {
height: 34px;
2024-07-23 20:49:06 +08:00
border-radius: 30px !important;
2024-07-24 11:34:17 +08:00
background-color: #fff !important;
border: 1px solid #09a28a;
2024-07-22 19:41:55 +08:00
display: flex;
flex-direction: row;
flex-flow: row-reverse;
position: relative;
}
2024-08-01 22:43:17 +08:00
/deep/.uni-searchbar {
width: 250px;
2024-07-22 19:41:55 +08:00
border-radius: 31rpx;
2024-07-30 14:17:50 +08:00
padding-right: 24rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.service-head-top-left image {
2024-07-23 20:49:06 +08:00
width: 20px;
height: 20rpx;
2024-08-01 22:43:17 +08:00
margin-right: 5px;
2024-07-23 20:49:06 +08:00
margin-left: 10rpx;
2024-07-22 19:41:55 +08:00
}
2024-08-01 22:43:17 +08:00
.service-head-top-left span {
2024-07-23 20:49:06 +08:00
width: 180rpx;
height: 60rpx;
2024-08-01 22:43:17 +08:00
background: url('../../static/images/headline.png') 0rpx 26rpx;
2024-07-23 20:49:06 +08:00
background-repeat: no-repeat;
2024-07-11 10:28:20 +08:00
font-weight: bold;
2024-07-22 19:41:55 +08:00
font-size: 34rpx;
color: #171717;
2024-07-23 20:49:06 +08:00
margin-top: 14rpx;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.service-head-top-left {
2024-07-11 10:28:20 +08:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
2024-08-01 22:43:17 +08:00
.service-head-top {
height: 90rpx;
2024-07-11 10:28:20 +08:00
display: flex;
2024-07-22 19:41:55 +08:00
flex-direction: row;
align-items: center;
justify-content: space-between;
2024-07-11 10:28:20 +08:00
}
2024-08-01 22:43:17 +08:00
.view-cata {
2024-07-11 10:28:20 +08:00
display: flex;
2024-07-22 19:41:55 +08:00
flex-direction: row;
align-items: center;
2024-08-01 22:43:17 +08:00
justify-content: space-between;
2024-07-11 11:12:05 +08:00
}
2024-08-02 17:13:04 +08:00
</style>