1.首页搜索UI问题

2.新增分类中搜索之后移到全部的分类上
3.修复系统消息消息重复的问题
4.优化部分页面标题加粗
5.信阳五院官网修改
This commit is contained in:
王创世 2025-06-18 18:32:18 +08:00
parent 5fa6499716
commit e3c10cd38b
18 changed files with 363 additions and 291 deletions

View File

@ -19,7 +19,7 @@
<view class="flex"> <view class="flex">
<image v-if="detail.images" :src="detail.images[0]" mode="" style="width: 159rpx;height: 159rpx;border-radius: 18rpx;"></image> <image v-if="detail.images" :src="detail.images[0]" mode="" style="width: 159rpx;height: 159rpx;border-radius: 18rpx;"></image>
<view class="flex align-items flex-column" style="margin-left: 20rpx;"> <view class="flex align-items flex-column" style="margin-left: 20rpx;">
<span class="first-name white-space">{{detail.title}}</span> <span class="first-name white-space" style="font-weight: 600;">{{detail.title}}</span>
<view class="rbot flex align-items"> <view class="rbot flex align-items">
<image src="/static/center/address.png" mode="" style="width: 32rpx;height: 32rpx;margin-right: 20rpx;"></image> <image src="/static/center/address.png" mode="" style="width: 32rpx;height: 32rpx;margin-right: 20rpx;"></image>
<span class="white-space">{{detail.address}}{{detail.address_detail}}</span> <span class="white-space">{{detail.address}}{{detail.address_detail}}</span>
@ -700,7 +700,7 @@
} }
.popup-content{ .popup-content{
height: 700rpx; height: 700rpx;
margin-bottom: 75rpx; padding-bottom: 130rpx;
// overflow-y: auto; // overflow-y: auto;
} }
.popup-content-item{ .popup-content-item{

View File

@ -9,7 +9,7 @@
<image class="head_img" :src="info.detail.images[0]" mode=""></image> <image class="head_img" :src="info.detail.images[0]" mode=""></image>
<view style="margin-left: 20rpx;"> <view style="margin-left: 20rpx;">
<view class="flex align-items"> <view class="flex align-items">
<text class="first-name">{{ info.detail.title }}</text> <text class="first-name" style="font-weight: 600;">{{ info.detail.title }}</text>
</view> </view>
<view class="first-image flex align-items" style="margin-top: 25rpx;"> <view class="first-image flex align-items" style="margin-top: 25rpx;">
<image :src="info.user.avatar" mode="" <image :src="info.user.avatar" mode=""
@ -155,7 +155,6 @@
<text v-if="info.server_status == 6" style="color: #FF4810;font-weight: 600;">{{ <text v-if="info.server_status == 6" style="color: #FF4810;font-weight: 600;">{{
info.total_refundprice}}</text> info.total_refundprice}}</text>
</view> </view>
</view> </view>
</view> </view>
@ -186,7 +185,7 @@
<view class="first-image flex align-items space-between" style="width: 100%;margin-top: 30rpx;"> <view class="first-image flex align-items space-between" style="width: 100%;margin-top: 30rpx;">
<view class="flex" style="align-items: center;"> <view class="flex" style="align-items: center;">
<image src="/static/center/address.png" mode="" class="icon-size"></image> <image src="/static/center/address.png" mode="" class="icon-size"></image>
<text>{{ info.detail.address }}{{ info.detail.address_detail }}</text> <text style="font-size: 26rpx;font-weight: 400;">{{ info.detail.address }}{{ info.detail.address_detail }}</text>
</view> </view>
</view> </view>
</view> </view>
@ -194,7 +193,7 @@
<view style="padding: 0rpx 40rpx;"> <view style="padding: 0rpx 40rpx;">
<view style="display: flex;justify-content: space-between;align-items: center;"> <view style="display: flex;justify-content: space-between;align-items: center;">
<view style="font-size: 28rpx;font-weight: 600;">退款数量</view> <view style="font-size: 28rpx;font-weight: 600;">退款数量</view>
<view>{{ info.num }}</view> <view>{{ info.auth_num }}</view>
</view> </view>
<view style="height: 1px;background-color:#F0F0F0;width: 100%;margin: 30rpx 0rpx;"></view> <view style="height: 1px;background-color:#F0F0F0;width: 100%;margin: 30rpx 0rpx;"></view>
<view style="display: flex;justify-content: space-between;align-items: center;"> <view style="display: flex;justify-content: space-between;align-items: center;">
@ -1015,7 +1014,7 @@ export default {
border-radius: 198rpx 198rpx 198rpx 198rpx; border-radius: 198rpx 198rpx 198rpx 198rpx;
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
font-weight: 400; font-weight: 400;
font-size: 32rpx; font-size: 36rpx;
color: #BBFC5B; color: #BBFC5B;
line-height: 90rpx; line-height: 90rpx;
text-align: center; text-align: center;

View File

@ -20,11 +20,11 @@
<image v-if="detail.images" :src="detail.images[0]" mode="" <image v-if="detail.images" :src="detail.images[0]" mode=""
style="width: 159rpx;height: 159rpx;border-radius: 18rpx;"></image> style="width: 159rpx;height: 159rpx;border-radius: 18rpx;"></image>
<view class="flex align-items flex-column" style="margin-left: 20rpx;"> <view class="flex align-items flex-column" style="margin-left: 20rpx;">
<span class="first-name white-space">{{ detail.title }}</span> <span class="first-name white-space" style="font-weight: 600;">{{ detail.title }}</span>
<view class="rbot flex align-items"> <view class="rbot flex align-items">
<image src="/static/center/address.png" mode="" <image src="/static/center/address.png" mode=""
style="width: 32rpx;height: 32rpx;margin-right: 20rpx;"></image> style="width: 32rpx;height: 32rpx;margin-right: 20rpx;"></image>
<span class="white-space">{{ detail.address_detail }}</span> <span class="white-space">{{ detail.address }}{{ detail.address_detail }}</span>
</view> </view>
</view> </view>
</view> </view>

View File

@ -300,8 +300,8 @@
}); });
}, },
formattedTime() { formattedTime() {
const startTime = dateWeek(this.detail.sign_start_time); const startTime = dateWeek(this.detail.start_time);
const endTime = dateWeek(this.detail.sign_end_time); const endTime = dateWeek(this.detail.end_time);
return { return {
formattedTime: `${startTime} ~ ${endTime}` formattedTime: `${startTime} ~ ${endTime}`
}; };

View File

@ -9,11 +9,12 @@
<image class="head_img" v-if="detail.images.length > 0" :src="detail.images[0]" mode=""></image> <image class="head_img" v-if="detail.images.length > 0" :src="detail.images[0]" mode=""></image>
<view style="margin-left: 20rpx;"> <view style="margin-left: 20rpx;">
<view class="flex align-items"> <view class="flex align-items">
<span class="first-name">{{detail.title}}</span> <span class="first-name" style="font-weight: 600;">{{detail.title}}</span>
</view> </view>
<view class="first-image flex align-items white-space" style="margin-top: 25rpx;"> <view class="first-image flex align-items white-space" style="margin-top: 25rpx;">
<image :src="detailAny.user.avatar" mode="" style="width: 36rpx;height: 36rpx;border-radius: 50%;"></image> <image :src="detailAny.user.avatar" mode="" style="width: 36rpx;height: 36rpx;border-radius: 50%;"></image>
<span style="color:#9C9C9C;padding-left: 10rpx;">{{ detailAny.user.nickname }}</span> <span style="color:#9C9C9C;padding-left: 10rpx;">{{ detailAny.user.nickname }}</span>
<text style="color:#9C9C9C;margin-left: 20rpx;">/</text>
<span <span
style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</span> style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</span>
@ -31,15 +32,16 @@
</span> </span>
<span class="line"></span> <span class="line"></span>
<span class="first-image flex align-items space-between" style="width: 100%;" <view class="first-image flex align-items space-between" style="width: 100%;"
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)"> @click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
<view> <view>
<image src="/static/center/address.png" mode="" class="icon-size"></image> <image src="/static/center/address.png" mode="" class="icon-size" style="vertical-align: middle;"></image>
<span class="white-space">{{detail.address}}{{detail.address_detail}}</span> <!-- <view class="white-space">{{detail.address}}{{detail.address_detail}}</view> -->
<text class="white-space" style="font-weight: 400;font-size: 26rpx;color: #222222;vertical-align: middle;">{{detail.address}}{{detail.address_detail}}</text>
</view> </view>
<image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;"> <image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;">
</image> </image>
</span> </view>
</view> </view>

View File

@ -22,7 +22,7 @@
<image class="tut" :src="item.detail.images[0]"></image> <image class="tut" :src="item.detail.images[0]"></image>
<view style="margin-left: 20rpx;width: 80%;"> <view style="margin-left: 20rpx;width: 80%;">
<view> <view>
<span>{{ item.detail.title }}</span> <span style="font-weight: 600;">{{ item.detail.title }}</span>
</view> </view>
<view style="margin-top: 30rpx;" class="flex flex-between align-items"> <view style="margin-top: 30rpx;" class="flex flex-between align-items">
<span style="font-size: 32rpx;">{{ item.totalprice }}</span> <span style="font-size: 32rpx;">{{ item.totalprice }}</span>
@ -55,14 +55,13 @@
</view> </view>
</view> </view>
<view class="flex justify-center align-items" v-if="list.length == 0" style="height: 90vh;"> <view class="flex flex-column flex-start align-items" v-if="list.length == 0"
<view> style="margin-top: 300rpx;">
<image src="/static/message/activen.png" mode="" style="width: 180rpx;height: 180rpx;"> <image src="/static/message/activen.png" mode="" style="width: 180rpx;height: 180rpx;">
</image> </image>
<view style="margin-top: 30rpx;font-size: 28rpx;color: #323232;">暂无参与活动</view> <view style="margin-top: 30rpx;font-size: 28rpx;color: #323232;">暂无参与活动</view>
</view> <view class="tofb" @click="tofb">参与活动</view>
</view> </view>
</view> </view>
@ -226,7 +225,7 @@
}; };
}, },
onLoad(option) { onLoad(option) {
this.isInitialized = true; //
console.log(1); console.log(1);
if (option?.status) { if (option?.status) {
this.selected = option.status this.selected = option.status
@ -234,11 +233,11 @@
} else { } else {
this.getList('-3,0,2,3,4,5,6,7,9'); this.getList('-3,0,2,3,4,5,6,7,9');
} }
this.isInitialized = true; //
}, },
onShow() { onShow() {
console.log(2); console.log(2);
if (!this.isInitialized) return; // if (this.isInitialized) return; //
setTimeout(()=>{ setTimeout(()=>{
this.list = [] this.list = []
this.page = 1 this.page = 1
@ -266,6 +265,11 @@
}, },
methods: { methods: {
tofb() {
uni.switchTab({
url: '/pages/index/index',
});
},
dateWeeks(e) { dateWeeks(e) {
return dateWeek(e); return dateWeek(e);
}, },
@ -403,6 +407,7 @@
} else { } else {
this.loadStatus = 'loading'; this.loadStatus = 'loading';
} }
this.isInitialized = false; //
} else { } else {
uni.showToast({ uni.showToast({
title: res.msg, title: res.msg,
@ -491,7 +496,6 @@
.hdkuai { .hdkuai {
background: #FFFFFF; background: #FFFFFF;
width: 690rpx;
// height: 360rpx; // height: 360rpx;
// justify-content: space-around; // justify-content: space-around;
margin: 30rpx; margin: 30rpx;
@ -888,6 +892,20 @@
text-overflow: ellipsis; text-overflow: ellipsis;
/* 使用省略号表示被截断的文本 */ /* 使用省略号表示被截断的文本 */
} }
.tofb {
margin-top: 50rpx;
width: 280rpx;
height: 70rpx;
background: #323232;
border-radius: 198rpx;
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
font-weight: 500;
font-size: 32rpx;
color: #BBFC5B;
display: flex;
align-items: center;
justify-content: center;
}
</style> </style>
<style lang="scss"> <style lang="scss">
.foot_btn { .foot_btn {

View File

@ -1,5 +1,5 @@
<template> <template>
<view class="box flex justify-center align-items flex-column"> <view class="box">
<view class="con-center flex flex-column justify-center align-items"> <view class="con-center flex flex-column justify-center align-items">
<view class="tabs"> <view class="tabs">
<u-tabs :activeStyle="{ <u-tabs :activeStyle="{
@ -31,156 +31,163 @@
</view> </view>
<view :class="['hot', 'flex', 'flex-column', status == 0 || status == -2 ? 'wsh_hot' : '']"> <view style="width: 100%;">
<view class="content flex align-items flex-column"> <view :class="['hot', status == 0 || status == -2 ? 'wsh_hot' : '']">
<view class="flex flex-column w-100 bbb" style="position: relative;" <view class="content flex align-items flex-column">
v-for="(item, index) in hotList" :key="index"> <view class="flex flex-column w-100 bbb" style="position: relative;"
<view v-if="status != -2" @click.stop="detail(item.id)"> v-for="(item, index) in hotList" :key="index">
<image v-if="item.auth_status == 0" src="/static/my/daishenhe.png" <view v-if="status != -2" @click.stop="detail(item.id)">
style="width: 134rpx; height: 106rpx;position: absolute;right: 0;"></image> <image v-if="item.auth_status == 0" src="/static/my/daishenhe.png"
<image v-if="item.auth_status == 2" src="/static/my/wtg.png" style="width: 134rpx; height: 106rpx;position: absolute;right: 0;"></image>
style="width: 134rpx; height: 106rpx;position: absolute;right: 0;"></image> <image v-if="item.auth_status == 2" src="/static/my/wtg.png"
<view class="flex" style="margin-top: 24rpx"> style="width: 134rpx; height: 106rpx;position: absolute;right: 0;"></image>
<view class="right flex flex-column" style="align-items: self-start;"> <view class="flex" style="margin-top: 24rpx">
<view class="right flex flex-column" style="align-items: self-start;">
<span class="title white-space" style="padding-left: 30rpx;">{{ item.title }}</span> <span class="title white-space" style="padding-left: 30rpx;font-weight: 600;">{{ item.title }}</span>
<span class="first-image flex align-items" <span class="first-image flex align-items"
style="margin-top: 20rpx; width: 100%;padding-left: 30rpx;"> style="margin-top: 20rpx; width: 100%;padding-left: 30rpx;">
<image :src="item.user.avatar" <image :src="item.user.avatar"
style="width: 36rpx; height: 36rpx;border-radius: 50%;"></image> style="width: 36rpx; height: 36rpx;border-radius: 50%;"></image>
<span style="color: #9c9c9c; margin-left: 10rpx;">{{ <span style="color: #9c9c9c; margin-left: 10rpx;">{{
item.user.nickname item.user.nickname
}}</span>
<view class="white-space" style="width: 60%">
<span style="color: #0ca013; margin-left: 20rpx"
v-for="items_t in item.classes_cate">#{{ items_t }}</span>
</view>
</span>
<view class="flex flex-column" style="margin-top: 20rpx;padding-left: 30rpx;">
<view class="time flex align-items white-space">
<span class="time_tex" v-if="item.status == 2">{{
"报名中"
}}</span> }}</span>
<span v-if="item.status == 2" <view class="white-space" style="width: 60%">
style="margin: 0 20rpx">{{ dateWeeks(item.sign_start_time) }}</span> <span style="color: #0ca013; margin-left: 20rpx"
<span v-if="item.status != 2" v-for="items_t in item.classes_cate">#{{ items_t }}</span>
style="margin: 0 20rpx 0 0">{{ dateWeeks(item.sign_start_time) }} </view>
</span><span style="width: 1rpx;height: 22rpx;background: #323232;"></span> </span>
<span class="white-space" style="margin-left: 20rpx; width: 260rpx">{{
item.address_detail }}</span>
</view> <view class="flex flex-column" style="margin-top: 20rpx;padding-left: 30rpx;">
</view> <view class="time flex align-items white-space">
<span class="time_tex" v-if="item.status == 2">{{
<view class="flex align-items justify-center" "报名中"
style="gap: 16rpx;width: 100%;margin-top: 20rpx;margin-bottom: 32rpx;">
<view class="imgs_con_div" v-for="(items_img, index) in item.images.slice(0, 3)"
:key="index">
<image class="imgs_con" :src="items_img"></image>
</view>
</view>
</view>
</view>
<view class="bottom flex align-items" v-if="item.auth_status != 0"
style="justify-content: space-between;padding: 0rpx 20rpx;">
<view v-if="item.status == 1">
<image src="/static/index/dian.png"
style="width: 60rpx;height: 60rpx;vertical-align: middle;"></image>
<text style="margin-left: 20rpx;vertical-align: middle;font-size: 26rpx;">未开始</text>
</view>
<view v-if="item.status == 2" style="display: flex;align-items: center;">
<u-avatar-group :urls="item.join_info.users" keyName="avatar" size="30" maxCount="1"
gap="0.4"></u-avatar-group>
<image src="/static/index/dian.png" style="
width: 60rpx;
height: 60rpx;
margin-left: -20rpx;
"></image>
<view style="margin-left: 20rpx;vertical-align: middle;font-size: 24rpx;">
{{ Number(item.join_info.people_number) + "人已上车" }}
</view>
</view>
<view style="font-size: 26rpx; width: 24%;">
<text>核销</text>
<text style="color: orangered;">{{ item.verification_num }}</text>
<text>/{{ item.stock }}</text>
</view>
<view style="display: flex;align-items: center;justify-content: flex-end;gap: 20rpx;">
<view v-if="item.status == 3 || item.status == 4"
class="part1 flex justify-center align-items" @click.stop="toHexiao"> 核销 </view>
<view class="part flex justify-center align-items" v-if="item.auth_status != 2"
@click.stop="detail(item.id)"> 详情 </view>
</view>
</view>
</view>
<view v-if="status == -2" @click.stop="detail(item.activity_id)">
<view class="flex" style="margin-top: 30rpx">
<view class="right flex flex-column"
style="align-items: self-start;padding-left: 15px;">
<view class="flex flex-column">
<view class="time flex align-items white-space">
<span style="color: #9C9C9C;">活动时间{{ dateWeeks(item.detail.sign_start_time)
}}</span> }}</span>
<span v-if="item.status == 2"
style="margin: 0 20rpx">{{ dateWeeks(item.sign_start_time) }}</span>
<span v-if="item.status != 2"
style="margin: 0 20rpx 0 0">{{ dateWeeks(item.sign_start_time) }}
</span><span style="width: 1rpx;height: 22rpx;background: #323232;"></span>
<span class="white-space" style="margin-left: 20rpx; width: 260rpx">{{
item.address_detail }}</span>
</view>
</view> </view>
</view>
<view style="height: 1px;width: 98%;background-color: #eeeeee;margin: 30rpx 0px;"> <view class="flex align-items justify-center"
</view> style="gap: 16rpx;width: 100%;margin-top: 20rpx;margin-bottom: 32rpx;">
<view class="flex align-items" style="width: 100%;">
<view> <view class="imgs_con_div" v-for="(items_img, index) in item.images.slice(0, 3)"
<image :key="index">
style="height: 130rpx;width: 130rpx;object-fit: cover;border-radius: 8rpx" <image class="imgs_con" :src="items_img"></image>
:src="item.detail.images[0]"></image>
</view>
<view class="title white-space" style="padding-left: 20rpx;">
<view>{{ item.detail.title }}</view>
<view
style="display: flex;justify-content: space-between;align-items: center;margin-top: 30rpx;padding-right: 30rpx;">
<view>
<text style="font-weight: 400;">退款金额</text>
<text v-if="server_status==3"
style="color: #FF4810;font-weight: 600;">{{ item.first_refundprice }}</text>
<text v-if="server_status==6"
style="color: #FF4810;font-weight: 600;">{{ item.real_refundprice }}</text>
</view>
<view v-if="item.before_status==-3"
style="font-size: 26rpx;color: #9C9C9C;">数量{{ item.num }}</view>
<view v-if="item.before_status!=-3"
style="font-size: 26rpx;color: #9C9C9C;">数量{{ item.auth_num }}
</view>
</view> </view>
</view> </view>
</view> </view>
<view </view>
style="height: 1px;width: 98%;background-color: #eeeeee;margin:30rpx 0px 0rpx 0px;"> <view class="bottom flex align-items" v-if="item.auth_status != 0"
style="justify-content: space-between;padding: 0rpx 20rpx;">
<view v-if="item.status == 1">
<image src="/static/index/dian.png"
style="width: 60rpx;height: 60rpx;vertical-align: middle;"></image>
<text style="margin-left: 20rpx;vertical-align: middle;font-size: 26rpx;">未开始</text>
</view>
<view v-if="item.status == 2" style="display: flex;align-items: center;">
<u-avatar-group :urls="item.join_info.users" keyName="avatar" size="30" maxCount="1"
gap="0.4"></u-avatar-group>
<image src="/static/index/dian.png" style="
width: 60rpx;
height: 60rpx;
margin-left: -20rpx;
"></image>
<view style="margin-left: 20rpx;vertical-align: middle;font-size: 24rpx;">
{{ Number(item.join_info.people_number) + "人已上车" }}
</view>
</view>
<view v-if="item.auth_status != 2" style="font-size: 26rpx; width: 24%;">
<text>核销</text>
<text style="color: orangered;">{{ item.verification_num }}</text>
<text>/{{ item.stock }}</text>
</view>
<view style="display: flex;align-items: center;justify-content: flex-end;gap: 20rpx;">
<view v-if="item.status == 3 || item.status == 4"
class="part1 flex justify-center align-items" @click.stop="toHexiao"> 核销 </view>
<view class="part flex justify-center align-items" v-if="item.auth_status != 2"
@click.stop="detail(item.id)"> 详情 </view>
</view>
</view>
<view style="padding: 30rpx;">
<view v-if="item.auth_status == 2" style="height: 160rpx;color: #323232;font-size: 26rpx;;padding: 20rpx;background: #F7F7F7;border: 1rpx solid #C1C1C1;border-radius: 18rpx 18rpx 18rpx 18rpx;">
未通过原因{{item.reason}}
</view> </view>
</view> </view>
</view> </view>
<view class="flex align-items" style="justify-content:space-between;padding: 30rpx"> <view v-if="status == -2" @click.stop="detail(item.activity_id)">
<view style="font-size: 28rpx;color: #323232;"> <view class="flex" style="margin-top: 30rpx">
<view v-if="item.auth_status == 1"> <view class="right flex flex-column"
已同意退款 style="align-items: self-start;padding-left: 15px;">
</view> <view class="flex flex-column">
<view v-if="item.auth_status == 2"> <view class="time flex align-items white-space">
已驳回 <span style="color: #9C9C9C;">活动时间{{ dateWeeks(item.detail.sign_start_time)
}}</span>
</view>
</view>
<view style="height: 1px;width: 98%;background-color: #eeeeee;margin: 30rpx 0px;">
</view>
<view class="flex align-items" style="width: 100%;">
<view>
<image
style="height: 130rpx;width: 130rpx;object-fit: cover;border-radius: 8rpx"
:src="item.detail.images[0]"></image>
</view>
<view class="title white-space" style="padding-left: 20rpx;">
<view>{{ item.detail.title }}</view>
<view
style="display: flex;justify-content: space-between;align-items: center;margin-top: 30rpx;padding-right: 30rpx;">
<view>
<text style="font-weight: 400;">退款金额</text>
<text v-if="server_status==3"
style="color: #FF4810;font-weight: 600;">{{ item.first_refundprice }}</text>
<text v-if="server_status==6"
style="color: #FF4810;font-weight: 600;">{{ item.real_refundprice }}</text>
</view>
<view v-if="item.before_status==-3"
style="font-size: 26rpx;color: #9C9C9C;">数量{{ item.num }}</view>
<view v-if="item.before_status!=-3"
style="font-size: 26rpx;color: #9C9C9C;">数量{{ item.auth_num }}
</view>
</view>
</view>
</view>
<view
style="height: 1px;width: 98%;background-color: #eeeeee;margin:30rpx 0px 0rpx 0px;">
</view>
</view> </view>
</view> </view>
<view <view class="flex align-items" style="justify-content:space-between;padding: 30rpx">
style="font-weight: 600;font-size: 28rpx;width: 180rpx;height: 70rpx;text-align: center;line-height: 70rpx;background: linear-gradient( 270deg, #FBF66D 0%, #9CEAA2 100%);border-radius: 276rpx;" <view style="font-size: 28rpx;color: #323232;">
@click.stop="goAfterInfo(item.id)"> 查看详情 </view> <view v-if="item.auth_status == 1">
已同意退款
</view>
<view v-if="item.auth_status == 2">
已驳回
</view>
</view>
<view
style="font-weight: 600;font-size: 28rpx;width: 180rpx;height: 70rpx;text-align: center;line-height: 70rpx;background: linear-gradient( 270deg, #FBF66D 0%, #9CEAA2 100%);border-radius: 276rpx;"
@click.stop="goAfterInfo(item.id)"> 查看详情 </view>
</view>
</view> </view>
</view> </view>
</view>
<view class="flex flex-column flex-start align-items" v-if="hotList.length == 0" <view class="flex flex-column flex-start align-items" v-if="hotList.length == 0"
style="margin-top: 300rpx;"> style="margin-top: 300rpx;">
<image src="/static/message/activen.png" mode="" style="width: 180rpx;height: 180rpx;"> <image src="/static/message/activen.png" mode="" style="width: 180rpx;height: 180rpx;">
</image> </image>
<view style="margin-top: 30rpx;font-size: 28rpx;color: #323232;">暂无发布活动</view> <view style="margin-top: 30rpx;font-size: 28rpx;color: #323232;">暂无发布活动</view>
<view class="tofb" @click="tofb">前往发布</view> <view class="tofb" @click="tofb">前往发布</view>
</view> </view>
</view>
</view> </view>
</view> </view>
</view> </view>
@ -309,7 +316,11 @@
}); });
this.page = 1; this.page = 1;
this.hotList = []; this.hotList = [];
this.getHotList(this.selected); if (this.status == -2) {
this.getAfterList();
} else {
this.getHotList(this.selected);
}
setTimeout(() => { setTimeout(() => {
uni.hideLoading(); uni.hideLoading();
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
@ -696,11 +707,11 @@
.shenhe { .shenhe {
width: 94%; width: 94%;
position: fixed; position: fixed;
top: 85rpx; top: 80rpx;
//background: #f7f7f7; //background: #f7f7f7;
background: #f7f7f7; background: #f7f7f7;
z-index: 100; z-index: 100;
padding: 30rpx 0rpx; padding: 30rpx 0rpx 25rpx 0rpx;
.span_s { .span_s {
width: 134rpx; width: 134rpx;
@ -1048,7 +1059,7 @@
margin-top: 80rpx; margin-top: 80rpx;
margin-bottom: 70rpx; margin-bottom: 70rpx;
min-height: 100vh; min-height: 100vh;
width: 94%; padding:0rpx 30rpx;
.hot-top { .hot-top {
@ -1082,7 +1093,7 @@
} }
.wsh_hot { .wsh_hot {
margin-top: 180rpx; margin-top: 175rpx;
} }
.content { .content {

View File

@ -9,11 +9,13 @@
<image class="head_img" v-if="detail.images.length > 0" :src="detail.images[0]" mode=""></image> <image class="head_img" v-if="detail.images.length > 0" :src="detail.images[0]" mode=""></image>
<view style="margin-left: 20rpx;"> <view style="margin-left: 20rpx;">
<view class="flex align-items"> <view class="flex align-items">
<span class="first-name">{{detail.title}}</span> <span class="first-name" style="font-weight: 600;">{{detail.title}}</span>
</view> </view>
<view class="first-image flex align-items white-space" style="margin-top: 25rpx;"> <view class="first-image flex align-items white-space" style="margin-top: 25rpx;">
<image :src="detailAny.user.avatar" mode="" style="width: 36rpx;height: 36rpx;border-radius: 50%;"></image> <image :src="detailAny.user.avatar" mode=""
style="width: 36rpx;height: 36rpx;border-radius: 50%;"></image>
<span style="color:#9C9C9C;margin-left: 10rpx;">{{ detailAny.user.nickname }}</span> <span style="color:#9C9C9C;margin-left: 10rpx;">{{ detailAny.user.nickname }}</span>
<text style="color:#9C9C9C;margin-left: 20rpx;">/</text>
<span <span
style="color:#0CA013;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</span> style="color:#0CA013;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</span>
<span style="color:#0CA013;margin-left: 20rpx;" <span style="color:#0CA013;margin-left: 20rpx;"
@ -39,7 +41,8 @@
<span>{{detail.address}}{{detail.address_detail}}</span> <span>{{detail.address}}{{detail.address_detail}}</span>
</view> </view>
<view> <view>
<image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;"> <image src="/static/detail/daohang.png" class="icon-size"
style="width: 50rpx; height: 50rpx;">
</image> </image>
</view> </view>
</span> </span>
@ -52,15 +55,15 @@
<view class="third-center"> <view class="third-center">
<view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;"> <view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;">
<span>订单状态</span> <span>订单状态</span>
<span>{{detailAny.status == 0 ? '待支付' : '' }}</span> <span style="color: #323232;">{{detailAny.status == 0 ? '待支付' : '' }}</span>
</view> </view>
<view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;"> <view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;">
<span>订单编号</span> <span>订单编号</span>
<span>{{detailAny.order_no}}</span> <span style="color: #323232;">{{detailAny.order_no}}</span>
</view> </view>
<view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;"> <view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;">
<span>创建时间</span> <span>创建时间</span>
<span>{{ formattime(detailAny.createtime)}}</span> <span style="color: #323232;">{{ formattime(detailAny.createtime)}}</span>
</view> </view>
<view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;"> <view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;">
<span>付款金额</span> <span>付款金额</span>
@ -68,12 +71,12 @@
</view> </view>
<view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;"> <view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;">
<span>付款方式</span> <span>付款方式</span>
<span>{{detailAny.pay_type=='wechat'?'微信支付':'余额'}}</span> <span style="color: #323232;">{{detailAny.pay_type=='wechat'?'微信支付':'余额'}}</span>
</view> </view>
<view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;"> <!-- <view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;">
<span>付款时间</span> <span>付款时间</span>
<span>{{ formattime(detailAny.paytime)}}</span> <span>{{ formattime(detailAny.paytime)}}</span>
</view> </view> -->
</view> </view>
</view> </view>
@ -81,13 +84,13 @@
<view class="footer flex align-items flex-column" style="justify-content: space-between;"> <view class="footer flex align-items flex-column" style="justify-content: space-between;">
<view class="footer-right flex justify-center align-items" @click="pament()"> <view class="footer-right flex justify-center align-items" @click="pament()">
<view class="spans" > <view class="spans">
去支付 <u-count-down :time="detailAny.cancel_last_seconds*1000"></u-count-down> 去支付 <u-count-down :time="detailAny.cancel_last_seconds*1000"></u-count-down>
</view> </view>
</view> </view>
<view class="footer-right1 flex justify-center align-items" @click="nobuy()"> <view class="footer-right1 flex justify-center align-items" @click="nobuy()">
<span class="spans" > 取消订单 </span> <span class="spans"> 取消订单 </span>
</view> </view>
</view> </view>
@ -952,15 +955,13 @@
.footer { .footer {
width: 100%; width: 100%;
height: 166rpx;
margin-top: 50rpx; margin-top: 50rpx;
.footer-right { .footer-right {
width: 690rpx; width: 690rpx;
height: 120rpx; height: 90rpx;
background: #323232; background: #323232;
border-radius: 148rpx; border-radius: 148rpx;
margin-bottom: 30rpx;
.spans { .spans {
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
@ -976,9 +977,10 @@
.footer-right1 { .footer-right1 {
width: 690rpx; width: 690rpx;
height: 120rpx; height: 90rpx;
background: #E4E4E4; background: #E4E4E4;
border-radius: 148rpx; border-radius: 148rpx;
margin-top: 30rpx;
.spans { .spans {
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;

View File

@ -9,12 +9,13 @@
<image class="head_img" v-if="detail.images.length > 0" :src="detail.images[0]" mode=""></image> <image class="head_img" v-if="detail.images.length > 0" :src="detail.images[0]" mode=""></image>
<view style="margin-left: 20rpx;"> <view style="margin-left: 20rpx;">
<view class="flex align-items"> <view class="flex align-items">
<text class="first-name">{{ detail.title }}</text> <text class="first-name" style="font-weight: 600;">{{ detail.title }}</text>
</view> </view>
<view class="first-image flex align-items" style="margin-top: 25rpx;"> <view class="first-image flex align-items" style="margin-top: 25rpx;">
<image :src="detailAny.user.avatar" mode="" <image :src="detailAny.user.avatar" mode=""
style="width: 36rpx;height: 36rpx;border-radius:50%;"></image> style="width: 36rpx;height: 36rpx;border-radius:50%;"></image>
<text style="color:#9C9C9C;margin-left: 10rpx;">{{ detailAny.user.nickname }}</text> <text style="color:#9C9C9C;margin-left: 10rpx;">{{ detailAny.user.nickname }}</text>
<text style="color:#9C9C9C;margin-left: 20rpx;">/</text>
<text style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number <text style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number
}}人玩过</text> }}人玩过</text>
</view> </view>
@ -122,13 +123,13 @@
</span> </span>
</view> </view>
<view <view
style="display: flex;align-items: center;justify-content: space-between;width: 89%;gap: 30rpx;padding-top: 120rpx;"> style="display: flex;align-items: center;justify-content: space-between;width: 89%;gap: 30rpx;padding-top: 30rpx;">
<view @click="closeCancels" class="btn_2">关闭</view> <view @click="closeCancels" class="btn_2">关闭</view>
<view @click="paidcancel(detailAny.id)" <view @click="paidcancel(detailAny.id)"
v-if="detailAny.detail.feel == 0 && detailAny.status == 2 && (detail.status==1 || detail.status==2 || detail.status==3)" v-if="detailAny.detail.feel == 1 && detailAny.status == 2 && (detail.status==1 || detail.status==2 || detail.status==3)"
class="btn_1">确认取消</view> class="btn_1">确认取消</view>
<view @click="cancelOrder(detailAny.id)" <view @click="cancelOrder(detailAny.id)"
v-if="detailAny.detail.feel == 1 && detailAny.status == 2 && (detail.status==1 || detail.status==2 || detail.status==3)" v-if="detailAny.detail.feel == 0 && detailAny.status == 2 && (detail.status==1 || detail.status==2 || detail.status==3)"
class="btn_1">确认取消</view> class="btn_1">确认取消</view>
<!-- <image src="../../static/center/price.png" mode="" style="width: 642rpx;height: 80rpx;"></image> --> <!-- <image src="../../static/center/price.png" mode="" style="width: 642rpx;height: 80rpx;"></image> -->
<!-- <u-loading-icon :vertical="true" v-if="uloadingShow"></u-loading-icon> --> <!-- <u-loading-icon :vertical="true" v-if="uloadingShow"></u-loading-icon> -->
@ -206,7 +207,7 @@
is_collect: 0, is_collect: 0,
popupStyleOk: { popupStyleOk: {
width: '640rpx', width: '640rpx',
height: '414rpx', height: '300rpx',
margin: '0 auto', // margin: '0 auto', //
display: 'flex', display: 'flex',
justifyContent: 'flex-start', justifyContent: 'flex-start',
@ -1123,12 +1124,11 @@
.popupBox { .popupBox {
width: 640rpx; width: 640rpx;
height: 414rpx;
background-image: url("https://naweigetetest2.hschool.com.cn/dyqc/confirm2.png"); background-image: url("https://naweigetetest2.hschool.com.cn/dyqc/confirm2.png");
background-size: 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
border-radius: 44rpx; border-radius: 44rpx;
padding-bottom: 30rpx;
.pop-header { .pop-header {
width: 100%; width: 100%;
@ -1162,7 +1162,7 @@
margin-top: 30rpx; margin-top: 30rpx;
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 28rpx;
color: #202020; color: #202020;
line-height: 34rpx; line-height: 34rpx;
text-align: center; text-align: center;

View File

@ -13,11 +13,12 @@
<image class="head_img" v-if="detail.images.length > 0" :src="detail.images[0]" mode="" ></image> <image class="head_img" v-if="detail.images.length > 0" :src="detail.images[0]" mode="" ></image>
<view style="margin-left: 20rpx;"> <view style="margin-left: 20rpx;">
<view class="flex align-items"> <view class="flex align-items">
<span class="first-name">{{detail.title}}</span> <span class="first-name" style="font-weight: 600;">{{detail.title}}</span>
</view> </view>
<view class="first-image flex align-items white-space" style="margin-top: 25rpx;"> <view class="first-image flex align-items white-space" style="margin-top: 25rpx;">
<image :src="detailAny.user.avatar" mode="" style="width: 36rpx;height: 36rpx;border-radius: 50%;"></image> <image :src="detailAny.user.avatar" mode="" style="width: 36rpx;height: 36rpx;border-radius: 50%;"></image>
<span style="color:#9C9C9C;margin-left: 10rpx;">{{ detailAny.user.nickname }}</span> <span style="color:#9C9C9C;margin-left: 10rpx;">{{ detailAny.user.nickname }}</span>
<text style="color:#9C9C9C;margin-left: 20rpx;">/</text>
<span style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</span> <span style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</span>
</view> </view>
@ -77,7 +78,9 @@
<span style="color: #323232;">{{ formattime(detailAny.paytime)}}</span> <span style="color: #323232;">{{ formattime(detailAny.paytime)}}</span>
</view> </view>
</view> </view>
<view class="third flex flex-column" style="justify-content: flex-start;" >
</view>
<view class="third flex flex-column" style="justify-content: flex-start;" >
<view class="third-center" v-if="detailAny.auth_status == 2"> <view class="third-center" v-if="detailAny.auth_status == 2">
<view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;"> <view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;">
<text>是否同意退款</text> <text>是否同意退款</text>
@ -109,8 +112,6 @@
</view> </view>
</view> </view>
</view>
<view class="footer flex align-items flex-column" style="justify-content: space-between;"> <view class="footer flex align-items flex-column" style="justify-content: space-between;">
<view @click="service(detailAny.id)" class="footer-right flex justify-center align-items" v-if="status == 9"> <view @click="service(detailAny.id)" class="footer-right flex justify-center align-items" v-if="status == 9">

View File

@ -4,11 +4,11 @@
<view class="container"> <view class="container">
<view class="card"> <view class="card">
<view class="list"> <view class="list">
<view class="list-item"> <view class="list-item" @click="setAvator">
<view class="left"> <view class="left">
头像设置 头像设置
</view> </view>
<view class="right" @click="setAvator"> <view class="right" >
<view> <view>
<u-avatar :src="avatar" shape="circle" size="35"></u-avatar> <u-avatar :src="avatar" shape="circle" size="35"></u-avatar>
</view> </view>
@ -17,11 +17,11 @@
</view> </view>
</view> </view>
</view> </view>
<view class="list-item"> <view class="list-item" @click="toName('nc')">
<view class="left"> <view class="left">
昵称设置 昵称设置
</view> </view>
<view class="right" @click="toName('nc')"> <view class="right">
<view> <view>
<text>{{ niName }}</text> <text>{{ niName }}</text>
</view> </view>
@ -30,11 +30,11 @@
</view> </view>
</view> </view>
</view> </view>
<view class="list-item"> <view class="list-item" @click="toName('qm')">
<view class="left"> <view class="left">
签名 签名
</view> </view>
<view class="right" @click="toName('qm')"> <view class="right">
<view> <view>
<text>{{ signature }}</text> <text>{{ signature }}</text>
</view> </view>

View File

@ -5,8 +5,8 @@
<view class="center"> <view class="center">
<span class="title">{{detail.title}}</span> <span class="title">{{detail.title}}</span>
<view style="margin-top: 15rpx;"> <view style="margin-top: 15rpx;">
<rich-text :nodes="detail.desc" selectable user-select style="font-weight: 400;font-size: 26rpx;"></rich-text> <rich-text :nodes="detail.desc" selectable user-select style="font-weight: 400;"></rich-text>
<view style="margin:16rpx 0;color: #9c9c9c;">{{detail.createtime_text}}</view> <view style="margin:16rpx 0;color: #9c9c9c;font-size: 26rpx;font-weight: 400;">{{detail.createtime_text}}</view>
</view> </view>
</view> </view>
</view> </view>

View File

@ -13,8 +13,7 @@
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "多样青春·活动", "navigationBarTitleText": "多样青春·活动",
"navigationStyle": "custom", // "navigationStyle": "custom" //
"enablePullDownRefresh": true
} }
}, },

View File

@ -60,6 +60,7 @@
}; };
}, },
onShow() { onShow() {
this.resetLists()
this.getDetail(); this.getDetail();
}, },
onLoad(option) { onLoad(option) {

View File

@ -353,7 +353,7 @@
<view style="padding: 0rpx 30rpx;"> <view style="padding: 0rpx 30rpx;">
<view style="padding: 30rpx 0rpx;border: 2px solid #EEEEEE;border-radius: 20rpx;"> <view style="padding: 30rpx 0rpx;border: 2px solid #EEEEEE;border-radius: 20rpx;">
<view> <view>
<input :focus="priceShow" :cursor-spacing="300" type="digit" placeholder="请输入" v-model="price" <input :focus="priceShow" :maxlength="5" :cursor-spacing="300" type="digit" placeholder="请输入" v-model="price"
style="text-align: center;" /> style="text-align: center;" />
</view> </view>
</view> </view>
@ -1353,26 +1353,15 @@ uni.hideShareMenu();
} }
uni.$u.http.post(url, params).then(res => { uni.$u.http.post(url, params).then(res => {
if (res.code == 1) { if (res.code == 1) {
uni.showToast({
title: '发布成功!',
icon: 'none',
duration: 2000,
complete: function () {
setTimeout(function () {
uni.navigateTo({
url: "/packageA/my/orderList"
})
}, 2000);
}
});
// //
this.fileList1 = []; this.fileList1 = [];
this.agree = false; this.agree = false;
this.list1 = ''; this.list1 = '';
this.price = ''; this.price = '';
this.priceName = '免费'; this.priceName = '免费';
this.qunQrcode='';
this.form = { this.form = {
qunQrcode: '',
cate_ids: '', cate_ids: '',
// //
cate_idsName: "", cate_idsName: "",
@ -1395,6 +1384,16 @@ uni.hideShareMenu();
birth1: '', // birth1: '', //
} }
uni.showToast({
title: '发布成功!',
icon: 'none',
duration: 2000,
});
setTimeout(function () {
uni.navigateTo({
url: "/packageA/my/orderList"
})
}, 1000);
} else { } else {
this.$u.toast(res.msg); this.$u.toast(res.msg);
// uni.showToast({ // uni.showToast({

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="recharge flex align-items justify-start flex-column"> <view class="recharge flex align-items justify-start flex-column">
<view class="nav"> <view class="nav">
<u-navbar :is-back="false" :autoBack='false' leftIconColor="#323232" bgColor="#FFFFFF"> <u-navbar :is-back="false" :autoBack='false' leftIconColor="#323232" bgColor="#FFFFFF">
<view class="serch_top" slot="left"> <view class="serch_top" slot="left">
<view class="serch_top1"> <view class="serch_top1">
<u-search class="u-search" v-model="keywords" placeholder="搜索您要找的内容" :showAction="false" <u-search class="u-search" v-model="keywords" placeholder="搜索您要找的内容" :showAction="false"
@ -16,8 +16,9 @@
<!-- 标签 --> <!-- 标签 -->
<view class="tab_all"> <view class="tab_all">
<scroll-view class="tabs" scroll-y="true"> <scroll-view class="tabs" scroll-y="true" :style="{'height':scrollHeightbt}">
<view v-for="(tab, index) in list" :key="index" :class="['tab-item', { active: current === index }]" <view v-for="(tab, index) in list" :key="index"
:class="['tab-item', { active: current === index }, { 'bottomBorder': (current-1) === index }]"
@click="handleClick(index, tab.id)"> @click="handleClick(index, tab.id)">
<span>{{ tab.name }}</span> <span>{{ tab.name }}</span>
</view> </view>
@ -37,7 +38,8 @@
<view class="first-image flex align-items" style="margin-top: 20rpx;width: 100%;"> <view class="first-image flex align-items" style="margin-top: 20rpx;width: 100%;">
<span class="time_tex" v-if="item.status == 2">{{ '报名中' }}</span> <span class="time_tex" v-if="item.status == 2">{{ '报名中' }}</span>
<image v-if="cate_ids != 1" :src="item.user.avatar" <image v-if="cate_ids != 1" :src="item.user.avatar"
style="width: 36rpx;height: 36rpx;border-radius: 80rpx;margin-left: 10rpx;"></image> style="width: 36rpx;height: 36rpx;border-radius: 80rpx;margin-left: 10rpx;">
</image>
<image v-else :src="item.headimage" <image v-else :src="item.headimage"
style="width: 36rpx;height: 36rpx;border-radius: 80rpx;"></image> style="width: 36rpx;height: 36rpx;border-radius: 80rpx;"></image>
<span v-if="cate_ids != 1" <span v-if="cate_ids != 1"
@ -66,7 +68,7 @@
style="margin-top: 20rpx;margin-bottom: 32rpx;"> style="margin-top: 20rpx;margin-bottom: 32rpx;">
<view class="imgs_con_div" v-for="(items_img, index) in item.images.slice(0, 3)" <view class="imgs_con_div" v-for="(items_img, index) in item.images.slice(0, 3)"
:key="index"> :key="index">
<image class="imgs_con" :src="items_img"></image> <image class="imgs_con" :src="items_img"></image>
</view> </view>
</view> </view>
</view> </view>
@ -97,7 +99,8 @@
</view> </view>
</view> </view>
<view class="bottom_box flex justify-center align-items" style="height: 1240rpx;width: 100%;" v-if="hotList.length == 0"> <view class="bottom_box flex justify-center align-items" style="height: 1240rpx;width: 100%;"
v-if="hotList.length == 0">
<view style="text-align: center;"> <view style="text-align: center;">
<image src="/static/no.png" style="width: 150rpx;height: 150rpx;"></image> <image src="/static/no.png" style="width: 150rpx;height: 150rpx;"></image>
<view>暂无数据</view> <view>暂无数据</view>
@ -157,11 +160,13 @@
enterprise_name: '', enterprise_name: '',
enterprise_addr: '', enterprise_addr: '',
outdoor_sport: '', outdoor_sport: '',
} },
scrollHeightbt:'',
}; };
}, },
onLoad() { onLoad() {
this.getinit(); this.onheight();
//this.getinit();
this.resetLists(); this.resetLists();
this.getHotList(); this.getHotList();
this.getBqList(); this.getBqList();
@ -194,6 +199,25 @@
}, 2000) }, 2000)
}, },
methods: { methods: {
onheight() {
uni.getSystemInfo({
success: res => {
console.log(res, 'data')
console.log(res.screenHeight) //
const custom = wx.getMenuButtonBoundingClientRect();
//
const navHeight = custom.bottom + custom.top - res.statusBarHeight;
//
let intHeight;
if (/iPad|iPhone|iPod/.test(res.model)) {
intHeight = res.screenHeight - navHeight - 80;
} else {
intHeight = res.screenHeight - navHeight - 55;
}
this.scrollHeightbt = intHeight + 'px';
}
});
},
dateWeeks(e) { dateWeeks(e) {
return dateWeek(e); return dateWeek(e);
}, },
@ -214,6 +238,11 @@
}, },
// //
search() { search() {
this.current = 0;
this.cate_ids = 0;
this.hotList = [];
this.page = 1;
this.limit = 6;
if (this.keywords == "") { if (this.keywords == "") {
this.tjShow = true; this.tjShow = true;
} else { } else {
@ -512,7 +541,7 @@
flex-flow: column; flex-flow: column;
margin-right: 20rpx; margin-right: 20rpx;
width: 188rpx; width: 188rpx;
height: 1290rpx; height: 1300rpx;
/* 优化滚动效果 */ /* 优化滚动效果 */
@ -531,7 +560,8 @@
height: 110rpx; height: 110rpx;
line-height: 110rpx; line-height: 110rpx;
background: #ffffff; background: #ffffff;
span{
span {
width: 100%; width: 100%;
} }
} }
@ -542,13 +572,15 @@
color: #323232; color: #323232;
background: #f7f7f7; background: #f7f7f7;
border-radius: 0 0 0 0; border-radius: 0 0 0 0;
&:before{
&:before {
content: ''; content: '';
width: 10rpx; width: 10rpx;
height: 46rpx; height: 46rpx;
background: linear-gradient( 270deg, #FBF66D 0%, #9CEAA2 100%); background: linear-gradient(270deg, #FBF66D 0%, #9CEAA2 100%);
border-radius: 91rpx 91rpx 91rpx 91rpx; border-radius: 91rpx 91rpx 91rpx 91rpx;
} }
+.tab-item { +.tab-item {
border-radius: 0 18rpx 0 0; border-radius: 0 18rpx 0 0;
} }
@ -556,56 +588,62 @@
} }
} }
.recharge { .recharge {
width: 750rpx; width: 750rpx;
background-color: #f7f7f7; background-color: #f7f7f7;
height: 100%; height: 100%;
min-height: 100vh; min-height: 100vh;
.serch_top {
display: flex;
align-items: center;
.serch_top1 {
// margin-top: 10rpx;
// margin-bottom: 30rpx;
position: relative;
width: 500rpx;
background: rgba(245, 245, 245,0.6);
border-radius: 32rpx 32rpx 32rpx 32rpx;
.searchBtn {
position: absolute;
width: 133rpx;
height: 60rpx;
background: #323232;
border-radius: 40rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
top: 0;
right: 0;
}
}
.imgstop_ye { .serch_top {
margin-left: 30rpx; display: flex;
width: 174rpx; align-items: center;
height: 76rpx;
.serch_top1 {
// margin-top: 10rpx;
// margin-bottom: 30rpx;
position: relative;
width: 500rpx;
background: rgba(245, 245, 245, 0.6);
border-radius: 32rpx 32rpx 32rpx 32rpx;
.searchBtn {
position: absolute; position: absolute;
width: 133rpx;
height: 60rpx;
background: #323232;
border-radius: 40rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
top: 0;
right: 0; right: 0;
} }
}
.imgstop_ye {
margin-left: 30rpx;
width: 174rpx;
height: 76rpx;
position: absolute;
right: 0;
}
} }
.box { .box {
width: 100%; width: 100%;
margin-top: 150rpx; margin-top: 150rpx;
height: 100%; height: 100%;
.hot { .hot {
margin-top: 30rpx; margin-top: 30rpx;
margin-bottom: 180rpx; margin-bottom: 180rpx;
margin-left: 208rpx; margin-left: 208rpx;
.content { .content {
// height: 462rpx; // height: 462rpx;
// overflow-x: auto; // overflow-x: auto;
@ -644,6 +682,7 @@
font-size: 26rpx; font-size: 26rpx;
color: #222222; color: #222222;
} }
.time_tex { .time_tex {
width: 106rpx; width: 106rpx;
height: 42rpx; height: 42rpx;
@ -801,6 +840,7 @@
margin-top: 18rpx; margin-top: 18rpx;
margin-right: 24rpx; margin-right: 24rpx;
} }
.part { .part {
width: 162rpx; width: 162rpx;
height: 70rpx; height: 70rpx;
@ -889,11 +929,9 @@
} }
} }
.bottomBorder {
border-radius: 0px 0px 18rpx 0;
}
</style> </style>
<style lang="scss"> <style lang="scss">
// .serch_top { // .serch_top {
@ -913,5 +951,4 @@
// } // }
// } // }
// } // }
</style> </style>

View File

@ -4,7 +4,7 @@
backgroundPosition: 'top', backgroundPosition: 'top',
backgroundRepeat: 'no-repeat', backgroundRepeat: 'no-repeat',
}"> }">
<view class="box"> <view class="box" style="position: relative;">
<!-- logo --> <!-- logo -->
<view> <view>
<image src="/static/index/logo1.png" mode="" class="logo_css"></image> <image src="/static/index/logo1.png" mode="" class="logo_css"></image>
@ -17,7 +17,7 @@
</u-search> </u-search>
<span class="searchBtn" @click.stop="search()">搜索</span> <span class="searchBtn" @click.stop="search()">搜索</span>
</view> </view>
<image src="/static/index/schoolNight.png" alt="" class="imgstop_ye" @click="toshool"></image> <image src="/static/index/schoolNight.png" mode="widthFix" class="imgstop_ye" @click="toshool"></image>
</view> </view>
<scroll-view @scrolltolower="onScrolltolower" :refresher-enabled="true" :refresher-triggered="homrS" @refresherrefresh="onS" scroll-y="true" class="flex align-items" style="height: 1250rpx;box-sizing: border-box;"> <scroll-view @scrolltolower="onScrolltolower" :refresher-enabled="true" :refresher-triggered="homrS" @refresherrefresh="onS" scroll-y="true" class="flex align-items" style="height: 1250rpx;box-sizing: border-box;">
@ -116,7 +116,7 @@
<view class="flex align-items toptext"> <view class="flex align-items toptext">
<span class="flex align-items"> <span class="flex align-items">
<u-avatar-group :urls="item.join_info.users" keyName="avatar" size="30" <u-avatar-group :urls="item.join_info.users" keyName="avatar" size="30"
maxCount="5" gap="0.4"></u-avatar-group> :maxCount="4" gap="0.4"></u-avatar-group>
<image src="/static/index/dian.png" <image src="/static/index/dian.png"
:class="item.join_info.users.length > 0 ? '' : 'smalld'" :class="item.join_info.users.length > 0 ? '' : 'smalld'"
style="width: 60rpx;height: 60rpx;margin-left:-20rpx;z-index: 1;"></image> style="width: 60rpx;height: 60rpx;margin-left:-20rpx;z-index: 1;"></image>
@ -138,8 +138,13 @@
</view> </view>
</view> </view>
</view> </view>
<u-loadmore :status="loadStatus" ></u-loadmore> <u-loadmore v-if="hotList.length > 0" :status="loadStatus" ></u-loadmore>
<view style="height: 100rpx;width: 100%;"></view> <view v-if="hotList.length > 0" style="height: 100rpx;width: 100%;"></view>
<view class="flex flex-column flex-start align-items" v-if="hotList.length == 0">
<image src="/static/message/activen.png" mode="" style="width: 180rpx;height: 180rpx;">
</image>
<view style="margin-top: 30rpx;font-size: 28rpx;color: #323232;">暂无发布活动</view>
</view>
</scroll-view> </scroll-view>
<!-- 全部标签 --> <!-- 全部标签 -->
<u-popup :show="showPopbq" mode="bottom" round="20" <u-popup :show="showPopbq" mode="bottom" round="20"
@ -189,9 +194,8 @@
</u-popup> </u-popup>
<view class="bottom_box flex justify-center align-items" style="height: 560rpx;" v-if="hotList.length == 0">
暂无数据
</view>
<!-- <u-loadmore v-else style="margin-bottom: 60rpx;" :status="loadStatus" /> --> <!-- <u-loadmore v-else style="margin-bottom: 60rpx;" :status="loadStatus" /> -->
</view> </view>
<u-popup @touchmove.native.stop.prevent :show="formShow" :round="10"> <u-popup @touchmove.native.stop.prevent :show="formShow" :round="10">
@ -1026,8 +1030,7 @@ export default {
.imgstop_ye { .imgstop_ye {
margin-left: 30rpx; margin-left: 30rpx;
width: 174rpx; width: 150rpx;
height: 76rpx;
position: absolute; position: absolute;
right: 0; right: 0;
} }

View File

@ -13,7 +13,7 @@
<image class="icons" src="/static/detail/xiangqing.png"></image> <image class="icons" src="/static/detail/xiangqing.png"></image>
</span> </span>
</view> </view>
<view style="padding:30rpx 30rpx;"> <view style="padding:60rpx 30rpx 30rpx 30rpx;">
<view class='text_fl'> <view class='text_fl'>
<view class="text_lab"> <view class="text_lab">
类型 类型