You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong_qianduan/pages/order/refund/freight.vue

175 lines
3.8 KiB

<template>
<view class="fright">
<view class="fright-hd">
<view class="a">
<view class="title">退货运费</view>
<view class="desc">
平台秉承谁过错谁承担的原则如商品存在质量问题发错货等情况退货运费由商家承担
</view>
</view>
<view class="b">
<view class="title">商家责任</view>
<view class="desc">无需消费者承担退货运费您需向商家发起退货退款/换货申请商家同意申请后寄件时请您先垫付运费退货/换货完成后审核通过将自动打款运费给您
</view>
</view>
<view class="b">
<view class="title">非商家责任</view>
<view class="desc">消费者承担退货运费
</view>
</view>
</view>
<view class="fright-bd">
<image class="icon" src="/static/home/phone.jpg"></image>
<view class="info">
<view class="a">我要退货退款我要退货退款我要退货退款我要退货退款我要退货退款</view>
<view class="b">已收货</view>
</view>
<view class="btn" @click="openPage">申请售后</view>
</view>
<view class="fright-fd">
运费常见问题<image class="arrow" src="/static/news/icon-arrow.png"></image>
</view>
</view>
</template>
<script>
export default {
data() {
return {
orderId: '',
order: '',
deliveryStatus: '',
receiptStatus: '',
};
},
onLoad(op) {
console.log(op)
this.orderId = op.orderId;
this.order = op.order ? JSON.parse(op.order) : ''
this.deliveryStatus = op.deliveryStatus;
this.receiptStatus = op.receiptStatus
},
methods: {
openPage() {
uni.navigateTo({
url: '/pages/order/refund/refund?orderId=' + this.orderId + '&order=' + JSON.stringify(this
.order) +
"&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus
})
},
}
}
</script>
<style lang="scss" scoped>
.fright {
overflow: hidden;
.arrow {
width: 30rpx;
height: 30rpx;
}
&-hd {
padding: 40rpx;
box-sizing: border-box;
margin-top: 20rpx;
background: linear-gradient(180deg, #FFE0E0 0%, #FFFFFF 100%);
border-radius: 0px 0px 0px 0px;
.a {
overflow: hidden;
.title {
font-size: 36rpx;
font-weight: 500;
color: #F55349;
line-height: 42rpx;
}
.desc {
padding: 30rpx 0;
font-size: 28rpx;
color: #212121;
line-height: 50rpx;
}
}
.b {
overflow: hidden;
.title {
font-size: 36rpx;
font-weight: 500;
color: #212121;
line-height: 42rpx;
}
.desc {
padding: 30rpx 0;
font-size: 28rpx;
color: #212121;
line-height: 50rpx;
}
}
}
&-bd {
padding: 40rpx;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #FFFFFF;
margin-top: 20rpx;
.icon {
width: 135rpx;
height: 132rpx;
margin-right: 30rpx;
border-radius: 10rpx;
}
.info {
flex: 1;
.a {
font-size: 30rpx;
color: #212121;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
max-width: 300rpx;
}
.b {
font-size: 26rpx;
margin-top: 20rpx;
color: #F55349;
}
}
.btn {
padding: 0 20rpx;
line-height: 70rpx;
border: 1px solid #ddd;
border-radius: 12rpx;
font-size: 30rpx;
color: #555;
}
}
&-fd {
padding: 40rpx;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 30rpx;
color: #212121;
background-color: #FFFFFF;
margin-top: 20rpx;
}
}
</style>