|
|
@@ -4,29 +4,202 @@
|
|
|
* @Author: dream
|
|
|
* @Date: 2021-03-26 16:21:43
|
|
|
* @LastEditors: dream
|
|
|
- * @LastEditTime: 2021-03-26 16:22:13
|
|
|
+ * @LastEditTime: 2021-04-12 10:43:19
|
|
|
-->
|
|
|
<template>
|
|
|
- <view>Refund Detail</view>
|
|
|
+ <view class="after-sale-detail-main">
|
|
|
+ <view class="head-area"><text class="status-title">已退款</text></view>
|
|
|
+ <view class="body-main">
|
|
|
+ <view class="sale-info iph-bg-fff">
|
|
|
+ <view class="u-flex">
|
|
|
+ <view>退费单号:</view>
|
|
|
+ <view class="u-flex-1 u-text-right">退货退费</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-flex u-m-t-24">
|
|
|
+ <view>退费名称:</view>
|
|
|
+ <view class="u-flex-1 u-text-right">3312423132112</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-flex u-m-t-24">
|
|
|
+ <view>退费时间:</view>
|
|
|
+ <view class="u-flex-1 u-text-right">03-09 14:08</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-flex u-m-t-24 u-p-b-28 u-border-bottom">
|
|
|
+ <view>退款金额:</view>
|
|
|
+ <view class="u-flex-1 u-text-right price-color">¥-1404.00</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-m-t-24">
|
|
|
+ <view class="u-m-b-24">退费描述:已确认退款</view>
|
|
|
+ <image class="note-img" src="https://up.enterdesk.com/edpic_360_360/e8/5a/f6/e85af6483c9088d238185d1def6c786f.jpg" mode="aspectFill" @click="look" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="fee-detail iph-bg-fff">
|
|
|
+ <view class="u-flex">
|
|
|
+ <view class="u-font-32 u-line-44 text-weight-500">退款详情</view>
|
|
|
+ <view class="total-good u-flex-1 u-text-right">共计2笔退款</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-flex u-m-t-32">
|
|
|
+ <view>退款1:</view>
|
|
|
+ <view class="u-flex-1 u-text-right">¥1395.34</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-flex u-m-t-24">
|
|
|
+ <view>退费名称:</view>
|
|
|
+ <view class="u-flex-1 u-text-right">¥8.43</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="good-detail iph-bg-fff">
|
|
|
+ <view class="u-flex">
|
|
|
+ <view class="u-font-32 u-line-44 text-weight-500">退货详情</view>
|
|
|
+ <view class="total-good u-flex-1 u-text-right">共计2项商品</view>
|
|
|
+ </view>
|
|
|
+ <view class="good-list">
|
|
|
+ <block v-for="(item, index) in goodList" :key="index">
|
|
|
+ <view class="list-item u-p-t-32 u-border-bottom">
|
|
|
+ <iph-good-card :showType="3" :value="item" />
|
|
|
+ <view class="u-flex u-row-between u-m-t-32">
|
|
|
+ <view class="u-font-28 u-line-40">退货:<text class="price-color">2</text></view>
|
|
|
+ <view class="u-font-28 u-line-40">退款:<text class="price-color">¥1403.40</text></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="fee-detail iph-bg-fff">
|
|
|
+ <view class="u-flex">
|
|
|
+ <view class="u-font-32 u-line-44 text-weight-500">退运费详情</view>
|
|
|
+ <view class="total-good u-flex-1 u-text-right">共计1笔退款</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-flex u-m-t-32">
|
|
|
+ <view>浙江仓库:</view>
|
|
|
+ <view class="u-flex-1 u-text-right">¥200</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-flex u-m-t-24">
|
|
|
+ <view>云东仓库:</view>
|
|
|
+ <view class="u-flex-1 u-text-right">¥200</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import iphGoodCard from '@/components/iphGoodCard.vue'
|
|
|
export default {
|
|
|
- name: 'refundDetail',
|
|
|
+ components: { iphGoodCard },
|
|
|
+ name: 'refundResult',
|
|
|
data () {
|
|
|
return {
|
|
|
-
|
|
|
+ goodList: [{
|
|
|
+ img: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=288400877,2749955263&fm=26&gp=0.jpg',
|
|
|
+ name: '华硕天选',
|
|
|
+ spce: '一件',
|
|
|
+ salesPrice: 46800,
|
|
|
+ originalPrice: 48000,
|
|
|
+ num: 1,
|
|
|
+ checked: false,
|
|
|
+ problemDesc: ''
|
|
|
+ }, {
|
|
|
+ img: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=288400877,2749955263&fm=26&gp=0.jpg',
|
|
|
+ name: '华硕天选',
|
|
|
+ spce: '一件',
|
|
|
+ salesPrice: 46800,
|
|
|
+ originalPrice: 48000,
|
|
|
+ num: 1,
|
|
|
+ checked: false,
|
|
|
+ problemDesc: ''
|
|
|
+ }]
|
|
|
}
|
|
|
},
|
|
|
onLoad () {
|
|
|
|
|
|
},
|
|
|
+ onPageScroll (obj) {
|
|
|
+ if (obj.scrollTop < 48) {
|
|
|
+ uni.setNavigationBarColor({
|
|
|
+ frontColor: '#ffffff',
|
|
|
+ backgroundColor: '#1677FF',
|
|
|
+ animation: { duration: 0.5, timingFunc: 'linear' }
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ uni.setNavigationBarColor({
|
|
|
+ frontColor: '#000000',
|
|
|
+ backgroundColor: '#ffffff',
|
|
|
+ animation: { duration: 0.5, timingFunc: 'linear' }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
-
|
|
|
+ look () {
|
|
|
+ uni.previewImage({
|
|
|
+ urls: ['https://up.enterdesk.com/edpic_360_360/e8/5a/f6/e85af6483c9088d238185d1def6c786f.jpg']
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-
|
|
|
+.after-sale-detail-main {
|
|
|
+ padding-bottom: calc(env(safe-area-inset-bottom) + 16px);
|
|
|
+ .head-area {
|
|
|
+ padding: 0 32px;
|
|
|
+ height: 282px;
|
|
|
+ background: linear-gradient(180deg, $u-type-primary 0%, $iph-type-light 55%, $iph-base-bg 100%);
|
|
|
+ .status-title {
|
|
|
+ font-size: 56px;
|
|
|
+ font-weight: 500;
|
|
|
+ line-height: 80px;
|
|
|
+ color: $iph-standby-text;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .body-main {
|
|
|
+ margin: -186px 24px 0;
|
|
|
+ .sale-info {
|
|
|
+ padding: 32px 32px 24px;
|
|
|
+ border-radius: 12px;
|
|
|
+ .note-img {
|
|
|
+ width: 204px;
|
|
|
+ height: 204px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .audit-info {
|
|
|
+ margin-top: 16px;
|
|
|
+ padding: 32px;
|
|
|
+ border-radius: 12px;
|
|
|
+ .look-btn {
|
|
|
+ margin-left: 16px;
|
|
|
+ color: $u-type-primary;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .good-detail {
|
|
|
+ margin-top: 16px;
|
|
|
+ padding: 48px 32px 16px;
|
|
|
+ border-radius: 12px;
|
|
|
+ .total-good {
|
|
|
+ color: $iph-desc-text;
|
|
|
+ }
|
|
|
+ .good-list {
|
|
|
+ .list-item {
|
|
|
+ padding-bottom: 32px;
|
|
|
+ &:last-child {
|
|
|
+ padding-bottom: 0;
|
|
|
+ &::after {
|
|
|
+ border-bottom-width: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /deep/ .good-price {
|
|
|
+ color: $iph-base-text;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .fee-detail {
|
|
|
+ margin-top: 16px;
|
|
|
+ padding: 32px;
|
|
|
+ border-radius: 12px;
|
|
|
+ .total-good {
|
|
|
+ color: $iph-desc-text;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|