添加消息详情 修改售后订单
This commit is contained in:
parent
fbfd89f2ec
commit
b24f8904f6
@ -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>
|
||||
|
@ -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">
|
||||
取消活动
|
||||
|
@ -89,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;">
|
||||
@ -148,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>
|
||||
@ -1070,7 +1070,7 @@
|
||||
// padding: 20rpx 0;
|
||||
|
||||
.title {
|
||||
width: 95%;
|
||||
width: 85%;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
@ -1182,7 +1182,7 @@
|
||||
}
|
||||
|
||||
.bottom {
|
||||
margin: 20rpx 10rpx 30rpx 10rpx;
|
||||
margin: 0rpx 10rpx 30rpx 10rpx;
|
||||
|
||||
.number {
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
|
@ -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>
|
||||
<rich-text :nodes="detail.desc" selectable user-select></rich-text>
|
||||
<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;
|
||||
}
|
||||
@ -92,19 +92,15 @@
|
||||
}
|
||||
|
||||
.center {
|
||||
margin-top: 42rpx;
|
||||
margin-top: 42rpx;
|
||||
width: 640rpx;
|
||||
height: 308rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
||||
padding: 25rpx;
|
||||
|
||||
span {
|
||||
padding: 25rpx;
|
||||
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;
|
||||
|
@ -54,9 +54,11 @@
|
||||
count:0
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
this.getDetail();
|
||||
},
|
||||
onLoad(option) {
|
||||
console.log(option)
|
||||
this.getDetail();
|
||||
this.resetLists()
|
||||
},
|
||||
onReachBottom() {
|
||||
@ -68,29 +70,35 @@
|
||||
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();
|
||||
} 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() {
|
||||
uni.$u.http.get('/api/school/message/message_list', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user