添加消息详情 修改售后订单

This commit is contained in:
张凯 2025-06-14 15:51:45 +08:00
parent fbfd89f2ec
commit b24f8904f6
5 changed files with 53 additions and 49 deletions

View File

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

View File

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

View File

@ -89,8 +89,8 @@
<u-avatar-group :urls="item.join_info.users" keyName="avatar" size="30" maxCount="1" <u-avatar-group :urls="item.join_info.users" keyName="avatar" size="30" maxCount="1"
gap="0.4"></u-avatar-group> gap="0.4"></u-avatar-group>
<image src="/static/index/dian.png" style=" <image src="/static/index/dian.png" style="
width: 60rpx; width: 58rpx;
height: 60rpx; height: 58rpx;
margin-left: -20rpx; margin-left: -20rpx;
"></image> "></image>
<view style="margin-left: 20rpx;vertical-align: middle;font-size: 24rpx;"> <view style="margin-left: 20rpx;vertical-align: middle;font-size: 24rpx;">
@ -148,7 +148,7 @@
</view> </view>
</view> </view>
<view class="flex align-items" <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 <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;" 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> @click.stop="goAfterInfo(item.id)"> 查看详情 </view>
@ -1070,7 +1070,7 @@
// padding: 20rpx 0; // padding: 20rpx 0;
.title { .title {
width: 95%; width: 85%;
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
font-weight: bold; font-weight: bold;
font-size: 30rpx; font-size: 30rpx;
@ -1182,7 +1182,7 @@
} }
.bottom { .bottom {
margin: 20rpx 10rpx 30rpx 10rpx; margin: 0rpx 10rpx 30rpx 10rpx;
.number { .number {
font-family: Source Han Sans CN, Source Han Sans CN; font-family: Source Han Sans CN, Source Han Sans CN;

View File

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

View File

@ -54,9 +54,11 @@
count:0 count:0
}; };
}, },
onShow() {
this.getDetail();
},
onLoad(option) { onLoad(option) {
console.log(option) console.log(option)
this.getDetail();
this.resetLists() this.resetLists()
}, },
onReachBottom() { onReachBottom() {
@ -68,29 +70,35 @@
methods: { methods: {
// //
only(id,type){ 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();
} else {
uni.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
}
}).catch(error => {});
}
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.detail(id);
} else {
uni.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
}
}).catch(error => {});
},
//
detail(id){
uni.navigateTo({
url:"/packageA/my/stationDetail?id=" + id
})
}, },
getDetail() { getDetail() {
uni.$u.http.get('/api/school/message/message_list', { uni.$u.http.get('/api/school/message/message_list', {