This commit is contained in:
王创世 2025-06-13 15:16:23 +08:00
parent 5844d45e65
commit 962aa339e2
7 changed files with 1360 additions and 1357 deletions

View File

@ -206,6 +206,9 @@
selectItem(index,item) {
this.currents = index;
this.reasons = item;
if(index==5){
this.tuikuan = false
}
},
closetuikuan() {
this.tuikuan = false
@ -594,7 +597,7 @@
.textarea_fb{
margin:0 auto;
padding: 30rpx;
width: 642rpx;
width: 92%;
::v-deep .u-textarea {
height: 100%;
padding: 0;

View File

@ -129,11 +129,11 @@
<!-- v-if="detailAny.feel == 0" -->
<view v-if="info.server_status == 3" class="footer"
style="display: flex;align-items: center;;justify-content: space-between;gap: 30rpx;">
<view class="footer-right1 flex justify-center align-items">
<text @click="noShow = true"> 驳回退款 </text>
<view class="footer-right1 flex justify-center align-items" @click="noShow = true">
<text> 驳回退款 </text>
</view>
<view class="footer-right flex justify-center align-items">
<text @click="okShow = true"> 同意退款 </text>
<view class="footer-right flex justify-center align-items" @click="okShow = true">
<text> 同意退款 </text>
</view>
</view>

View File

@ -31,25 +31,21 @@
<span class="first-image flex align-items" style="margin-top: 25rpx;width: 100%;">
<view class="first-image flex align-items" style="margin-top: 25rpx;width: 100%;">
<image :src="detail.user.avatar" mode=""
style="width: 36rpx;height: 36rpx;margin-right: 12rpx;border-radius: 80rpx;">
</image>
<span style="color: #9C9C9C ;width: auto;">{{ detail.user.nickname }}</span>
<span class="flex justify-center align-items xieyi"
:style="{width: detail.refund_info.status!=5?'190rpx':'156rpx'}">
<view style="color: #9C9C9C ;width: auto;margin-right: 20rpx;">{{ detail.user.nickname }}</view>
<view class="flex justify-center align-items xieyi">
<image src="/static/detail/baohu.png" mode=""
style="width: 28rpx;height: 28rpx;margin-right: 0;"></image>
<span v-if="detail.refund_info.status!=5" class="white-space"
style="width: 120rpx;text-align: center;">{{
detail.refund_info.title }}</span>
<span v-if="detail.refund_info.status==5" class="white-space"
style="width: 90rpx;text-align: center;">{{
detail.refund_info.title }}</span>
<view
style="text-align: center;color: #323232;padding: 0rpx 10rpx;">{{
detail.refund_info.title }}</view>
<image src="/static/detail/zidong.png" mode=""
style="width: 20rpx;height: 20rpx;margin-right: 0;"></image>
</span>
</span>
</view>
</view>
<span class="first-image flex align-items" style="margin-top: 20rpx;">
<image src="../../static/center/Alarm.png" mode="" class="icon-size"></image>
@ -1156,10 +1152,9 @@
.xieyi {
background-color: #BBFC5B;
width: 156rpx;
height: 48rpx;
border-radius: 8rpx;
margin-left: 20rpx;
padding: 0px 10rpx;
}
}
}

View File

@ -6,8 +6,9 @@
</view>
<view class="box flex justify-start flex-column align-items" :class="overlay ? 'no-scroll' : ''">
<view class="swiper">
<u-swiper :list="detail.images" indicator indicatorInactiveColor="#D8D8D8" indicatorActiveColor="#323232" indicatorMode="dot"
:indicator-style="{ bottom: '60rpx',zIndex: 999}" height="580rpx" circular></u-swiper>
<u-swiper :list="detail.images" indicator indicatorInactiveColor="#D8D8D8"
indicatorActiveColor="#323232" indicatorMode="dot" :indicator-style="{ bottom: '60rpx', zIndex: 999 }"
height="580rpx" circular></u-swiper>
</view>
<view class="con-center w-100 flex justify-center flex-column align-items flex-start">
@ -26,40 +27,36 @@
</view>
<view class="first-box flex flex-start flex-column justify-start">
<view class="flex align-items">
<span class="first-name">{{detail.title}}</span>
<span class="first-name">{{ detail.title }}</span>
</view>
<span class="first-image flex align-items" style="margin-top: 25rpx;width: 100%;">
<view class="first-image flex align-items" style="margin-top: 25rpx;width: 100%;">
<image :src="detail.user.avatar" mode=""
style="width: 36rpx;height: 36rpx;margin-right: 12rpx;border-radius: 80rpx;">
</image>
<span style="color: #9C9C9C ;width: auto;margin-right: 20rpx;">{{ detail.user.nickname }}</span>
<span class="flex justify-center align-items xieyi"
:style="{width: detail.refund_info.status!=5?'190rpx':'156rpx'}">
<view style="color: #9C9C9C ;width: auto;margin-right: 20rpx;">{{ detail.user.nickname }}</view>
<view class="flex justify-center align-items xieyi">
<image src="/static/detail/baohu.png" mode=""
style="width: 28rpx;height: 28rpx;margin-right: 0;"></image>
<span v-if="detail.refund_info.status!=5" class="white-space"
style="width: 120rpx;text-align: center;">{{
detail.refund_info.title }}</span>
<span v-if="detail.refund_info.status==5" class="white-space"
style="width: 90rpx;text-align: center;">{{
detail.refund_info.title }}</span>
<view
style="text-align: center;color: #323232;padding: 0rpx 10rpx;">{{
detail.refund_info.title }}</view>
<image src="/static/detail/zidong.png" mode=""
style="width: 20rpx;height: 20rpx;margin-right: 0;"></image>
</span>
</span>
</view>
</view>
<span class="first-image flex align-items" style="margin-top: 20rpx;">
<image src="../../static/center/Alarm.png" mode="" class="icon-size"></image>
<span>{{formattedTime.formattedTime}}</span>
<span>{{ formattedTime.formattedTime }}</span>
</span>
<span class="line"></span>
<span class="first-image flex align-items"
@click.stop="toMap(detail.latitude,detail.longitude,detail.address_detail)">
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
<image src="/static/center/address.png" mode="" class="icon-size"></image>
<span>{{detail.address_detail}}</span>
<span>{{ detail.address_detail }}</span>
<image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;">
</image>
</span>
@ -71,7 +68,8 @@
<image src="/static/index/dian.png"
:class="detail.join_info.users && detail.join_info.users.length > 0 ? '' : 'smalld'"
style="width: 58rpx;height: 58rpx;margin-left:-20rpx;z-index: 1;"></image>
<span class="number">{{ detail.join_info.people_number }}/{{ detail.join_info.stock >= 10000 ?
<span class="number">{{ detail.join_info.people_number }}/{{ detail.join_info.stock >= 10000
?
'9999+' : detail.join_info.stock}}
人数</span>
</view>
@ -98,24 +96,24 @@
</view>
<view v-if="detail.some_people" class="flex third-center-gro"
style="justify-content: space-between; position: relative;height: 100%;">
<view v-if="detail.some_people.peoples.length>0" style="width: 100%;">
<view v-if="detail.some_people.peoples.length > 0" style="width: 100%;">
<view v-for="(item, index) in detail.some_people.peoples" :key="index">
<view class="flex align-items" style="justify-content: space-between;">
<view class="">
<view style="font-size: 28rpx;color: #323232;">{{item.name}}</view>
<view style="font-size: 24rpx;color: #9C9C9C;margin-top: 10rpx;">身份证号{{item.idnum}}
<view style="font-size: 28rpx;color: #323232;">{{ item.name }}</view>
<view style="font-size: 24rpx;color: #9C9C9C;margin-top: 10rpx;">身份证号{{ item.idnum }}
</view>
</view>
<view class="">
<text v-if="item.status==3" style="font-size: 28rpx;color: #999999;">未核销</text>
<text v-if="item.status==6" style="font-size: 28rpx;color: #FF4810;">已核销</text>
<text v-if="item.status == 3" style="font-size: 28rpx;color: #999999;">未核销</text>
<text v-if="item.status == 6" style="font-size: 28rpx;color: #FF4810;">已核销</text>
</view>
</view>
<view v-if="index<detail.some_people.peoples.length-1"
<view v-if="index < detail.some_people.peoples.length - 1"
style="height: 1px;background-color: #F0F0F0;width: 100%;margin: 30rpx 0rpx;"></view>
</view>
</view>
<view v-if="detail.some_people.peoples.length==0" style="text-align: center;margin: 0 auto;">
<view v-if="detail.some_people.peoples.length == 0" style="text-align: center;margin: 0 auto;">
<image src="/static/detail/no_info.png" style="width: 180rpx;height: 180rpx"></image>
<view style="font-size: 28rpx;font-weight: 300;">暂无报名信息</view>
</view>
@ -132,7 +130,7 @@
<view style="margin-left: 20rpx;">
<view style="font-size: 28rpx;color: #3D3D3D;">群二维码</view>
<view style="margin-top: 10rpx;font-size: 24rpx;color: #9C9C9C;">
上传时间{{formatTimestamp(detail.updatetime)}}</view>
上传时间{{ formatTimestamp(detail.updatetime) }}</view>
</view>
</view>
<view style="display: flex;align-items: center;">
@ -163,7 +161,7 @@
<view class="v_html">
<rich-text :nodes="detail.content"></rich-text>
</view>
<image mode="widthFix" class="imgs" v-for="(item,index) in detail.images" :key="index" :src="item">
<image mode="widthFix" class="imgs" v-for="(item, index) in detail.images" :key="index" :src="item">
</image>
</view>
</view>
@ -209,16 +207,16 @@
<view v-if="overlay" class="pos">
<image @click="closeoo" src="/static/center/close.png" mode=""
style="z-index: 10000;width: 64rpx;height: 64rpx;position: absolute;top: 0rpx;right: 45rpx;">
style="z-index: 10000;width: 64rpx;height: 64rpx;position: absolute;top: 50rpx;right: 45rpx;">
</image>
<l-painter isCanvasToTempFilePath :after-delay="500" @success="sunccessimg"
css="width:661rpx;height: 1072rpx;background-image:url(https://naweigetetest2.hschool.com.cn/dyqc/fenxiang.png);"
custom-style="position:absolute;left:45rpx;right:44rpx;top:0rpx;z-index:100">
custom-style="position:absolute;left:45rpx;right:44rpx;top:50rpx;z-index:100">
<l-painter-image :src="detail.user.avatar"
css="z-index:300;margin-left: 15rpx; margin-top: 120rpx;border: 2rpx solid #FFFFFF; width: 60rpx; height: 60rpx; border-radius: 50%;" />
<l-painter-view css="margin-top: 130rpx; padding-left: 20rpx; display: inline-block">
<l-painter-text :text="detail.user.nickname+'的邀请'"
<l-painter-text :text="detail.user.nickname + '的邀请'"
css="display: block; height: 36rpx;color: #3D3D3D; font-size: 28rpx; fontWeight: 600;" />
</l-painter-view>
<l-painter-view
@ -234,10 +232,10 @@
:text="detail.title"></l-painter-text>
<l-painter-text
css="line-clamp: 1; color:#FF4810;font-size: 35rpx;width:220rpx;margin-top: 20rpx;line-height: 38rpx;fontWeight: 600;"
:text="'¥'+detail.price"></l-painter-text>
:text="'¥' + detail.price"></l-painter-text>
<l-painter-text
css="line-clamp: 2; color:#9C9C9C;font-size: 26rpx;margin-top: 20rpx;line-height: 36rpx;width: 360rpx;"
:text="'地址:'+detail.address"></l-painter-text>
:text="'地址:' + detail.address"></l-painter-text>
</l-painter-view>
<l-painter-view
css="background: #ffffff;border-radius: 18rpx;width: 200rpx; height: 200rpx;margin-right: 50rpx;">
@ -278,11 +276,11 @@
</template>
<script>
import dayjs from 'dayjs';
import {
import dayjs from 'dayjs';
import {
dateWeek
} from '../../utils/dateFormat'
export default {
} from '../../utils/dateFormat'
export default {
computed: {
formattedTimeList() {
@ -498,7 +496,7 @@
title: '海报生成中...',
icon: 'none',
duration: 2000,
complete: function() {
complete: function () {
//
setTimeout(() => {
//
@ -512,8 +510,8 @@
title: '请登录',
icon: 'none',
duration: 2000,
complete: function() {
setTimeout(function() {
complete: function () {
setTimeout(function () {
uni.switchTab({
url: '/pages/my/index',
});
@ -609,9 +607,11 @@
icon: 'success',
duration: 2000
})
setTimeout(() => {
uni.redirectTo({
url: "/packageA/my/orderList?status=-1"
url: "/packageA/my/orderList"
})
}, 1000)
} else {
uni.showToast({
title: res.msg,
@ -619,7 +619,7 @@
duration: 2000
})
}
}).catch(error => {});
}).catch(error => { });
},
//
getDetail() {
@ -649,7 +649,7 @@
duration: 2000
})
}
}).catch(error => {});
}).catch(error => { });
},
sign() {
@ -712,8 +712,8 @@
title: res.msg,
icon: 'none',
duration: 2000,
complete: function() {
setTimeout(function() {
complete: function () {
setTimeout(function () {
uni.reLaunch({
url: "/packageA/my/makeList?status=" + -1
})
@ -741,7 +741,7 @@
latitude: parseFloat(latitude),
longitude: parseFloat(longitude),
name: name,
success: function() {
success: function () {
console.log('success');
}
});
@ -870,7 +870,7 @@
timeSelected(time) {
return this.selectedTime === time;
},
moveScroll() {},
moveScroll() { },
//
getMoney() {
uni.$u.http.post('/api/school.newactivity.order/confirm', {
@ -896,43 +896,43 @@
});
},
},
}
}
</script>
<style lang="scss" scoped>
.detail_all {
.detail_all {
background-color: #f7f7f7;
}
}
.w-100 {
.w-100 {
width: 100%;
}
}
.flex {
.flex {
display: flex;
}
}
.flex-start {
.flex-start {
align-items: flex-start;
}
}
.justify-center {
.justify-center {
justify-content: center;
}
}
.align-items {
.align-items {
align-items: center;
}
}
.flex-column {
.flex-column {
flex-flow: column;
}
}
.justify-start {
.justify-start {
justify-content: start;
}
}
.white-space {
.white-space {
overflow: hidden;
/* 确保超出容器的文本被隐藏 */
white-space: nowrap;
@ -940,47 +940,47 @@
text-overflow: ellipsis;
/* 使用省略号表示被截断的文本 */
width: 100%;
}
}
.con-center {
.con-center {
background: white;
border-radius: 44rpx;
position: relative;
}
}
.space-between {
.space-between {
justify-content: space-between;
}
}
.swiper {
.swiper {
width: 100%;
height: 580rpx;
}
}
.box {
.box {
padding-top: 175rpx;
position: relative;
}
}
.topimgs_rmb {
.topimgs_rmb {
position: absolute;
top: -168rpx;
right: 30rpx;
width: 201rpx;
height: 118rpx;
z-index: 0;
}
}
.topimgs {
.topimgs {
position: absolute;
top: -120rpx;
width: 100%;
z-index: 0;
}
}
.top_texts {
.top_texts {
position: absolute;
top: -148rpx;
right: 30rpx;
@ -996,9 +996,9 @@
font-size: 22rpx;
font-weight: 400;
}
}
}
.first-box {
.first-box {
width: 690rpx;
background: #FFFFFF;
// background: url('@/static/detail/conbg.png');
@ -1064,14 +1064,14 @@
.xieyi {
background-color: #BBFC5B;
width: 156rpx;
height: 48rpx;
border-radius: 8rpx;
padding: 0px 10rpx;
}
}
}
}
.second-box {
.second-box {
width: 690rpx;
height: 64rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx;
@ -1115,9 +1115,9 @@
// }
// }
}
}
.third {
.third {
width: 100%;
background: #ffffff;
border-radius: 44rpx;
@ -1220,23 +1220,23 @@
}
}
.line {
.line {
width: 690rpx;
height: 2rpx;
background: #F0F0F0;
margin: 19rpx 0;
}
}
.icon-size {
.icon-size {
width: 32rpx;
height: 32rpx;
margin-right: 12rpx;
}
}
.footer {
.footer {
width: 93%;
height: 185rpx;
background: #ffffff;
@ -1302,10 +1302,10 @@
font-size: 48rpx;
color: #BBFC5B;
}
}
}
.popupBox {
.popupBox {
width: 640rpx;
height: 414rpx;
background-image: url("https://naweigetetest2.hschool.com.cn/dyqc/confirm2.png");
@ -1414,9 +1414,9 @@
margin: 24rpx 32rpx 0 0;
}
}
}
.share {
.share {
position: fixed;
color: #FFFFFF;
right: 0;
@ -1426,9 +1426,9 @@
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
box-shadow: 0 0 20upx rgba(0, 0, 0, .09);
}
}
.cancel {
.cancel {
width: 100vw;
padding: 30rpx;
text-align: center;
@ -1436,49 +1436,49 @@
color: red;
font-weight: bold;
font-size: 30rpx;
}
}
.md-content {
.md-content {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 50rpx 0;
background-color: white;
}
}
.md-content-item {
.md-content-item {
margin: 0 70rpx;
position: relative;
}
}
.md-content-item image {
.md-content-item image {
width: 100rpx;
height: 100rpx;
}
}
.md-content-item view {
.md-content-item view {
margin-top: 15rpx;
font-size: 28rpx;
}
}
.sharebtn {
.sharebtn {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
}
}
.cu-modal {
.cu-modal {
position: fixed;
bottom: 166rpx;
left: 0;
z-index: 999999;
}
}
.gj {
.gj {
.title {
font-family: PingFang SC, PingFang SC;
font-weight: 800;
@ -1529,9 +1529,9 @@
}
}
}
}
}
::v-deep ::-webkit-scrollbar {
::v-deep ::-webkit-scrollbar {
/*滚动条整体样式*/
width: 4px !important;
height: 1px !important;
@ -1539,46 +1539,46 @@
background: #ccc !important;
-webkit-appearance: auto !important;
display: block;
}
}
::v-deep ::-webkit-scrollbar-thumb {
::v-deep ::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 10px !important;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
background: #7b7979 !important;
}
}
::v-deep ::-webkit-scrollbar-track {
::v-deep ::-webkit-scrollbar-track {
/*滚动条里面轨道*/
// box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
// border-radius: 10px !important;
background: #FFFFFF !important;
}
}
.Poster {
.Poster {
position: relative;
top: 21rpx;
left: 30rpx;
width: 690rpx;
}
}
.posterClose {
.posterClose {
position: absolute;
right: 8rpx;
top: 8rpx;
}
}
.no-scroll {
.no-scroll {
overflow: hidden;
height: 100vh;
}
}
::v-deep ._root {
::v-deep ._root {
padding: 0 10rpx;
}
}
</style>
<style lang="scss">
.value_slide {
.value_slide {
width: 40%;
::v-deep .uni-slider-handle-wrapper {
@ -1629,9 +1629,9 @@
}
// #endif
}
}
.pos {
.pos {
position: fixed;
width: 100%;
height: 100%;
@ -1642,9 +1642,9 @@
// right: 8rpx;
top: 200rpx;
}
}
}
.btnList {
.btnList {
position: absolute;
bottom: 173rpx;
display: flex;
@ -1666,8 +1666,10 @@
justify-content: center;
align-items: center;
}
}
}
</style>
<style scoped>
.no-border-button {
background-color: transparent;
/* 去掉背景色 */

View File

@ -363,7 +363,10 @@
// prevPage.onLoad(prevPage.options)
// }
// });
setTimeout(()=>{
uni.hideLoading();
},2000)
} else {
uni.showToast({
title: res.msg,

View File

@ -208,7 +208,7 @@
<view @click="formShow = false" style="font-family: PingFang SC, PingFang SC;font-size: 32rpx;">关闭
</view>
</view>
<view style="width: 100%;height: 1px;background-color: #D8D8D8;"></view>
<view style="width: 100%;height: 1px;background-color: #eeeeee;"></view>
<view style="padding:30rpx 30rpx;">
<view style="display: flex;align-items: center;justify-content: space-between;">
<view style="color: #3D3D3D;font-weight: 400;font-family: PingFang SC, PingFang SC;">
@ -1507,7 +1507,7 @@ export default {
margin: 40rpx 0rpx;
height: 1rpx;
width: 100%;
background: #F0F0F0;
background: #eeeeee;
}
.input {

View File

@ -25,7 +25,7 @@ export const dateWeek = time =>{
return dayjs.unix(time).format('ddd MM-DD HH:mm')
}
export const dateWeekData = time =>{
return dayjs(time).format('ddd MM-DD HH:mm')
return dayjs(time).format('MM-DD HH:mm')
}
export const dateWeekbeg = time =>{
return dayjs.unix(time).format('MM-DD(ddd) HH:mm')