|
|
@@ -0,0 +1,316 @@
|
|
|
+<config>
|
|
|
+{
|
|
|
+ "navigationBarTitleText": "退款详情",
|
|
|
+ "navigationBarBackgroundColor": "#ffffff",
|
|
|
+}
|
|
|
+</config>
|
|
|
+<template>
|
|
|
+ <div class="apply">
|
|
|
+ <div class="top">
|
|
|
+ <img
|
|
|
+ src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-09-17-13-59-28rUgbNkZY.png"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <p>退款审核中</p>
|
|
|
+ <span> 退款审核中,请耐心等待,退款将在72小 时内按照原支付渠道返回,请注意查收</span>
|
|
|
+ </div>
|
|
|
+ <div class="border2"></div>
|
|
|
+ <div class="price">
|
|
|
+ <p>退款总金额</p>
|
|
|
+ <span>¥111</span>
|
|
|
+ </div>
|
|
|
+ <div class="border2"></div>
|
|
|
+ <div class="conBox">
|
|
|
+ <div class="store">
|
|
|
+ <div class="title">
|
|
|
+ <img
|
|
|
+ src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-09-03-15-53-18gjxoMYNY.png"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <div class="tit">益禾堂(一食堂)</div>
|
|
|
+ </div>
|
|
|
+ <div class="store1">联系卖家</div>
|
|
|
+ </div>
|
|
|
+ <div class="border"></div>
|
|
|
+ <div v-for="(item, index) in takeout" :key="index">
|
|
|
+ <div class="content">
|
|
|
+ <div class="ImgBox">
|
|
|
+ <img :src="item.image" alt="" />
|
|
|
+ <div>
|
|
|
+ <div class="name">{{ item.name }}</div>
|
|
|
+ <div class="name1">共{{ item.num }}件</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="money">¥{{ item.price }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="order">
|
|
|
+ <div class="text1">打包费</div>
|
|
|
+ <div class="text2">¥{{ list.packPrice }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="order order2">
|
|
|
+ <div class="text1">配送费</div>
|
|
|
+ <div class="text2">¥{{ list.distributionPrice }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="text">
|
|
|
+ <div class="text1">合计:</div>
|
|
|
+ <div class="text2">¥{{ list.total }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="border2"></div>
|
|
|
+ <div class="box">
|
|
|
+ <div class="box-con">
|
|
|
+ <p>订单编号</p>
|
|
|
+ <div class="text1">
|
|
|
+ <span @click="orderCopy">复制</span>
|
|
|
+ <div class="text2">{{ list.transactionId }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="box">
|
|
|
+ <div class="box-con">
|
|
|
+ <p>下单时间</p>
|
|
|
+ <div class="text1">
|
|
|
+ <div class="text2">{{ list.createdAt }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ minters: 0,
|
|
|
+ seconds: 0,
|
|
|
+ allTime: 5 * 60 - 1,
|
|
|
+ closeTime: '',
|
|
|
+ takeout: [],
|
|
|
+ list: {
|
|
|
+ transactionId: '2019052035464',
|
|
|
+ createdAt: '2021-09-03 14:18:26',
|
|
|
+ remark: '加急',
|
|
|
+ packPrice: '2',
|
|
|
+ distributionPrice: '2',
|
|
|
+ total: '37',
|
|
|
+ lists: [
|
|
|
+ {
|
|
|
+ price: '11',
|
|
|
+ name: '寿司',
|
|
|
+ id: 2,
|
|
|
+ num: '1',
|
|
|
+ image:
|
|
|
+ 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-08-13-15-54-36URxMKUXs.jpg'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ price: '22',
|
|
|
+ name: '寿司,八宝粥',
|
|
|
+ id: 5,
|
|
|
+ num: '2',
|
|
|
+ image:
|
|
|
+ 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-08-13-15-54-36URxMKUXs.jpg'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ };
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ orderCopy() {
|
|
|
+ wx.setClipboardData({
|
|
|
+ data: this.list.transactionId + '',
|
|
|
+ success(res) {
|
|
|
+ wx.getClipboardData({
|
|
|
+ success(res) {
|
|
|
+ wx.showToast({
|
|
|
+ title: '复制成功'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.takeout = this.list.lists;
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+.apply {
|
|
|
+ .top {
|
|
|
+ margin: 30px 60px 50px;
|
|
|
+ img {
|
|
|
+ width: 60px;
|
|
|
+ height: 60px;
|
|
|
+ margin-left: 98px;
|
|
|
+ }
|
|
|
+ p {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #000000;
|
|
|
+ line-height: 24px;
|
|
|
+ text-align: center;
|
|
|
+ margin: 20px 0 16px 0px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ width: 255px;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .price {
|
|
|
+ .flex();
|
|
|
+ padding: 0 16px;
|
|
|
+ line-height: 70px;
|
|
|
+ color: #ff7f1f;
|
|
|
+ justify-content: space-between;
|
|
|
+ p {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .border2 {
|
|
|
+ height: 5px;
|
|
|
+ background: #f5f7fa;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .conBox {
|
|
|
+ margin-top: 20px;
|
|
|
+ .store {
|
|
|
+ .flex();
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 0 16px;
|
|
|
+ .title {
|
|
|
+ .flex();
|
|
|
+ img {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ }
|
|
|
+ .tit {
|
|
|
+ .span();
|
|
|
+ font-weight: 400;
|
|
|
+ padding-left: 6px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .store1 {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #000000;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .border {
|
|
|
+ padding: 0 16px;
|
|
|
+ border-bottom: 1px solid @bg;
|
|
|
+ margin: 10px 16px 16px;
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 0 16px;
|
|
|
+ margin-bottom: 16px;
|
|
|
+ .ImgBox {
|
|
|
+ display: flex;
|
|
|
+ img {
|
|
|
+ width: 80px;
|
|
|
+ height: 80px;
|
|
|
+ border-radius: 8px;
|
|
|
+ margin-right: 18px;
|
|
|
+ }
|
|
|
+ .name {
|
|
|
+ .span();
|
|
|
+ color: #1c1c1c;
|
|
|
+ }
|
|
|
+ .name1 {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #c8c9cc;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .money {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #1c1c1c;
|
|
|
+ line-height: 26px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .order {
|
|
|
+ margin-bottom: 4px;
|
|
|
+ .flex();
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 0 16px;
|
|
|
+ .text1 {
|
|
|
+ .text13();
|
|
|
+ }
|
|
|
+ .text2 {
|
|
|
+ .span();
|
|
|
+ color: #1c1c1c;
|
|
|
+ }
|
|
|
+ &.order2 {
|
|
|
+ margin-bottom: 14px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .text {
|
|
|
+ .flex();
|
|
|
+ padding-right: 16px;
|
|
|
+ place-content: flex-end;
|
|
|
+ font-weight: bold;
|
|
|
+ .text1 {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #c8c9cc;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ .text2 {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #ff7f1f;
|
|
|
+ line-height: 26px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .border2 {
|
|
|
+ height: 5px;
|
|
|
+ margin: 20px 0 15px;
|
|
|
+ background: @bg;
|
|
|
+ }
|
|
|
+ .box {
|
|
|
+ margin-bottom: 16px;
|
|
|
+ padding: 0 16px;
|
|
|
+ .box-con {
|
|
|
+ .flex();
|
|
|
+ justify-content: space-between;
|
|
|
+ .text1 {
|
|
|
+ display: flex;
|
|
|
+ span {
|
|
|
+ width: 38px;
|
|
|
+ height: 18px;
|
|
|
+ border-radius: 2px;
|
|
|
+ border: 1px solid #c8c9cc;
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #c8c9cc;
|
|
|
+ line-height: 18px;
|
|
|
+ text-align: center;
|
|
|
+ margin-right: 3px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ p {
|
|
|
+ .text13();
|
|
|
+ }
|
|
|
+ .text2 {
|
|
|
+ height: 22px;
|
|
|
+ font-size: 13px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #000000;
|
|
|
+ line-height: 22px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|