This commit is contained in:
王创世 2025-06-14 15:51:59 +08:00
commit e8523899ee
5 changed files with 84 additions and 65 deletions

View File

@ -106,7 +106,7 @@
<view class="third-center">
<view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;">
<text>退款数量</text>
<text style="color: #323232;">{{ info.num }}</text>
<text style="color: #323232;">{{ info.auth_num }}</text>
</view>
<view class="flex w-100 space-between hui align-items" style="margin-top: 40rpx;">
<text>退款金额</text>

View File

@ -168,9 +168,9 @@
<view class="footer" style="display: flex;align-items: center;;justify-content: space-between;gap: 30rpx;">
<view @click="overlayShow()" style="width: 173rpx;height: 90rpx;background-image: url('/static/detail/fenxiangsys.png');background-size: 100% 100%;background-repeat: no-repeat;">
<!-- <image src="@/static/detail/fenxiangsys.png" style="width: 100%;height: 100%;" mode="widthFix">
</image> -->
<view @click="overlayShow()" style="width: 220rpx;height: 90rpx;">
<image src="@/static/detail/fenxiangsys.png" style="width: 100%;height: 100%;" mode="widthFix">
</image>
</view>
<view class="footer-right" @click="cancelsOpen">
取消活动

View File

@ -58,16 +58,23 @@
<span class="time_tex" v-if="item.status == 2">{{
"报名中"
}}</span>
<span style="margin: 0 8rpx">{{ dateWeeks(item.sign_start_time) }}
</span>|<span class="white-space"
style="margin-left: 8rpx; width: 260rpx">{{
<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 class="flex align-items" style="margin-top: 20rpx">
<image class="imgs_con" v-for="(items_img, index) in item.images.slice(0, 3)"
:key="index" :src="items_img"></image>
<view class="flex align-items justify-center" style="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>
@ -82,8 +89,8 @@
<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;
width: 58rpx;
height: 58rpx;
margin-left: -20rpx;
"></image>
<view style="margin-left: 20rpx;vertical-align: middle;font-size: 24rpx;">
@ -141,7 +148,7 @@
</view>
</view>
<view class="flex align-items"
style="justify-content: flex-end;padding: 0rpx 30rpx 30rpx 0rpx;">
style="justify-content: flex-end;padding: 30rpx 30rpx 30rpx 0rpx;">
<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>
@ -1053,19 +1060,19 @@
// white-space: nowrap;
.bbb {
background: #ffffff;
margin-top: 30rpx;
margin-top: 24rpx;
border-radius: 36rpx;
}
.right {
margin-left: 24rpx;
margin-left: 30rpx;
width: 100%;
padding: 20rpx 0;
// padding: 20rpx 0;
.title {
width: 95%;
width: 85%;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
font-weight: bold;
font-size: 30rpx;
color: #323232;
}
@ -1135,7 +1142,7 @@
font-weight: 400;
font-size: 26rpx;
color: #323232;
line-height: 30rpx;
// line-height: 30rpx;
.time_tex {
width: 116rpx;
@ -1145,16 +1152,18 @@
font-weight: 400;
font-size: 24rpx;
color: #323232;
line-height: 42rpx;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
line-height: 30rpx;
}
}
.imgs_con {
.imgs_con_div {
margin-right: 12rpx;
width: 202rpx;
height: 202rpx;
margin-right: 20rpx;
object-fit: cover;
overflow: hidden;
&:first-child {
border-radius: 18rpx 0 0 18rpx;
@ -1163,11 +1172,17 @@
&:nth-child(3) {
border-radius: 0 18rpx 18rpx 0;
}
.imgs_con {
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
.bottom {
margin: 20rpx 10rpx 30rpx 10rpx;
margin: 0rpx 10rpx 30rpx 10rpx;
.number {
font-family: Source Han Sans CN, Source Han Sans CN;

View File

@ -1,13 +1,13 @@
<template>
<view class="box flex justify-center ">
<view class="center flex flex-column flex-start">
<span class="title">{{detail.title}}</span>
<span style="margin-bottom: 16rpx;">{{detail.createtime_text}}</span>
<span >
<view class="center">
<!-- <span class="title">{{detail.title}}</span> -->
<view>
<!-- <u-parse :content="detail.desc" :selectable="true"></u-parse> -->
<rich-text :nodes="detail.desc" selectable user-select></rich-text>
</span>
<view style="margin:16rpx 0;">{{detail.createtime_text}}</view>
</view>
</view>
</view>
@ -49,7 +49,7 @@
<style lang="scss" scoped>
.box {
background: #F1F2F8;
background: #f5f5f5;
width: 750rpx;
height: 100vh;
}
@ -94,17 +94,13 @@
.center {
margin-top: 42rpx;
width: 640rpx;
height: 308rpx;
background: #FFFFFF;
border-radius: 20rpx 20rpx 20rpx 20rpx;
padding: 25rpx;
span {
font-family: PingFang SC, PingFang SC;
font-weight: 500;
font-size: 26rpx;
color: #7A7A7A;
}
font-size: 32rpx;
color: #323232;
.title {
font-family: PingFang SC, PingFang SC;

View File

@ -54,9 +54,11 @@
count:0
};
},
onShow() {
this.getDetail();
},
onLoad(option) {
console.log(option)
this.getDetail();
this.resetLists()
},
onReachBottom() {
@ -68,19 +70,19 @@
methods: {
//
only(id,type){
if (type == 1) {
uni.$u.http.get('/api/school/message/detail', {
params: {
id: id,
}
}).then(res => {
if (res.code == 1) {
uni.showToast({
title: '确认已读',
icon: 'none',
duration: 2000
});
this.getDetail();
// uni.showToast({
// title: '',
// icon: 'none',
// duration: 2000
// });
this.detail(id);
} else {
uni.showToast({
title: res.msg,
@ -89,8 +91,14 @@
});
}
}).catch(error => {});
}
},
//
detail(id){
uni.navigateTo({
url:"/packageA/my/stationDetail?id=" + id
})
},
getDetail() {
uni.$u.http.get('/api/school/message/message_list', {