同步
This commit is contained in:
parent
0339d44d16
commit
687b040931
@ -245,14 +245,13 @@
|
||||
title: '核销成功',
|
||||
icon: 'success',
|
||||
duration: 2000,
|
||||
complete: function() {
|
||||
setTimeout(function() {
|
||||
uni.redirectTo({
|
||||
url: "/packageA/my/orderList?status=" + 4
|
||||
})
|
||||
}, 2000);
|
||||
}
|
||||
});
|
||||
setTimeout(function() {
|
||||
// uni.redirectTo({
|
||||
// url: "/packageA/my/orderList?status=" + 4
|
||||
// })
|
||||
uni.navigateBack();
|
||||
}, 1500);
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
|
@ -115,8 +115,8 @@
|
||||
@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;">
|
||||
<view style="padding: 30rpx;" v-if="item.auth_status == 2">
|
||||
<view 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>
|
||||
|
@ -285,13 +285,13 @@
|
||||
url: "/packageA/center/detail?id=" + id
|
||||
})
|
||||
},
|
||||
// 取消订单 (1)
|
||||
// 取消订单 (1) 免费活动
|
||||
paidcancel() {
|
||||
uni.showLoading({
|
||||
title: '处理中...'
|
||||
});
|
||||
this.cancelsShow = false;
|
||||
uni.$u.http.post('/api/school.newactivity.order/paidcancel', {
|
||||
uni.$u.http.post('/api/school.newactivity.order/freecancel', {
|
||||
order_no: this.order_no
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
@ -330,10 +330,10 @@
|
||||
});
|
||||
});
|
||||
},
|
||||
// 取消订单 (0)
|
||||
// 取消订单 (0) 付费
|
||||
cancelOrder() {
|
||||
this.cancelsShow = false;
|
||||
uni.$u.http.post('/api/school.newactivity.order/freecancel', {
|
||||
uni.$u.http.post('/api/school.newactivity.order/paidcancel', {
|
||||
order_no: this.order_no
|
||||
}).then(res => {
|
||||
if (res.code == 1) {
|
||||
|
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<view class="detail_all">
|
||||
<view class="nav">
|
||||
<u-navbar :is-back="true" leftIconColor="#323232" :autoBack='true' :title="toptitle + '订单'" bgColor="#FFFFFF"
|
||||
:titleStyle='titleStyle'> </u-navbar>
|
||||
<u-navbar :is-back="true" leftIconColor="#323232" :autoBack='true' :title="toptitle + '订单'"
|
||||
bgColor="#FFFFFF" :titleStyle='titleStyle'> </u-navbar>
|
||||
</view>
|
||||
<view class="box flex justify-start flex-column align-items">
|
||||
|
||||
@ -16,10 +16,12 @@
|
||||
<span class="first-name" style="font-weight: 600;">{{detail.title}}</span>
|
||||
</view>
|
||||
<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>
|
||||
<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 class="flex align-items" style="margin-top: 20rpx;">
|
||||
@ -35,16 +37,17 @@
|
||||
</span>
|
||||
<span class="line"></span>
|
||||
|
||||
<view class="first-image flex align-items space-between"
|
||||
style="width: 100%;margin-top: 10rpx;"
|
||||
<view class="first-image flex align-items space-between" style="width: 100%;margin-top: 10rpx;"
|
||||
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
|
||||
<view style="display: flex;">
|
||||
<view>
|
||||
<image src="/static/center/address.png" mode="" class="icon-size"></image>
|
||||
</view>
|
||||
<view class="white-space" style="font-size: 26rpx;color: #222222;font-weight: 400;">{{detail.address}}{{detail.address_detail}}</view>
|
||||
<view class="white-space" style="font-size: 26rpx;color: #222222;font-weight: 400;">
|
||||
{{detail.address}}{{detail.address_detail}}</view>
|
||||
</view>
|
||||
<image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;"></image>
|
||||
<image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;">
|
||||
</image>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -81,6 +84,14 @@
|
||||
|
||||
</view>
|
||||
<view class="third flex flex-column" style="justify-content: flex-start;">
|
||||
|
||||
<view class="third-center" v-if="detailAny.auth_reason != '' && detailAny.auth_reason != null">
|
||||
<view class="flex w-100 space-between hui align-items">
|
||||
<text>退款原因</text>
|
||||
<text style="color: #323232;">{{ detailAny.auth_reason }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="third-center" v-if="detailAny.auth_status == 2">
|
||||
<view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;">
|
||||
<text>是否同意退款</text>
|
||||
@ -114,7 +125,8 @@
|
||||
</view>
|
||||
|
||||
<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">
|
||||
<span> 申请售后 </span>
|
||||
</view>
|
||||
</view>
|
||||
@ -346,6 +358,7 @@
|
||||
background-color: #f7f7f7;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.w-100 {
|
||||
width: 100%;
|
||||
}
|
||||
@ -416,6 +429,7 @@
|
||||
padding: 30rpx;
|
||||
border-radius: 44rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
.head_img {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
@ -447,6 +461,7 @@
|
||||
font-size: 26rpx;
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
.xieyi {
|
||||
background-color: #BBFC5B;
|
||||
width: 156rpx;
|
||||
@ -488,8 +503,10 @@
|
||||
background: #ffffff;
|
||||
margin-top: 30rpx;
|
||||
border-radius: 44rpx;
|
||||
|
||||
.third-center {
|
||||
padding: 30rpx;
|
||||
|
||||
.hui {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 500;
|
||||
@ -527,6 +544,7 @@
|
||||
background: #323232;
|
||||
border-radius: 148rpx;
|
||||
margin-bottom: 30rpx;
|
||||
|
||||
span {
|
||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||
font-weight: 400;
|
||||
@ -534,11 +552,13 @@
|
||||
color: #BBFC5B;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-right1 {
|
||||
width: 690rpx;
|
||||
height: 90rpx;
|
||||
background: #E4E4E4;
|
||||
border-radius: 148rpx;
|
||||
|
||||
span {
|
||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||
font-weight: 400;
|
||||
@ -908,9 +928,11 @@
|
||||
<style lang="scss">
|
||||
.value_slide {
|
||||
width: 50%;
|
||||
|
||||
::v-deep .uni-slider-handle-wrapper {
|
||||
height: 10rpx;
|
||||
}
|
||||
|
||||
::v-deep .uni-slider-handle {
|
||||
background: url('@/static/detail/qiu.png') !important;
|
||||
border-radius: 0;
|
||||
@ -920,16 +942,20 @@
|
||||
top: 14rpx;
|
||||
margin-left: -18rpx !important;
|
||||
}
|
||||
|
||||
::v-deep .uni-slider-value {
|
||||
color: #323232;
|
||||
|
||||
&::after {
|
||||
content: '%';
|
||||
}
|
||||
}
|
||||
|
||||
// #ifdef MP-WEIXIN
|
||||
.wx-slider-handle-wrapper {
|
||||
height: 8rpx;
|
||||
}
|
||||
|
||||
.wx-slider-handle {
|
||||
background: url('@/static/detail/qiu.png') !important;
|
||||
border-radius: 0;
|
||||
@ -939,14 +965,17 @@
|
||||
top: 18rpx;
|
||||
margin-left: -14rpx !important;
|
||||
}
|
||||
|
||||
.wx-slider-value {
|
||||
display: flex;
|
||||
width: 30rpx;
|
||||
color: #323232;
|
||||
|
||||
&::after {
|
||||
content: '%';
|
||||
}
|
||||
}
|
||||
|
||||
// #endif
|
||||
}
|
||||
</style>
|
Loading…
x
Reference in New Issue
Block a user