2020-06-11 17:54:15 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view class="details">
|
2020-08-06 11:48:45 +08:00
|
|
|
|
<view class="box" v-if="type<4">
|
|
|
|
|
<view class="goods-info" v-for="list in info.extend_order_goods">
|
2020-08-10 20:24:58 +08:00
|
|
|
|
<image :src="list.image_480_url"></image>
|
2020-08-06 11:48:45 +08:00
|
|
|
|
<view class="info-right">
|
|
|
|
|
<view class="name u-line-1">{{ list.goods_name }}</view>
|
|
|
|
|
<view class="info">
|
|
|
|
|
<view class="num">共{{ list.goods_num }}件商品</view>
|
|
|
|
|
<view class="price">
|
|
|
|
|
实付
|
|
|
|
|
<span>¥{{ list.goods_pay_price }}</span>
|
|
|
|
|
</view>
|
2020-08-05 17:42:06 +08:00
|
|
|
|
</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
2020-08-06 11:48:45 +08:00
|
|
|
|
</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
2020-08-06 11:48:45 +08:00
|
|
|
|
<u-radio-group class="box" v-model="value" v-if="type>3">
|
|
|
|
|
<view class="goods-info" v-for="list in info.refund_list">
|
|
|
|
|
<image :src="list.goods_image"></image>
|
|
|
|
|
<view class="info-right">
|
|
|
|
|
<view class="name u-line-1">{{ list.goods_name }}</view>
|
|
|
|
|
<view class="info">
|
|
|
|
|
<view class="num">共{{ list.goods_num }}件商品</view>
|
|
|
|
|
<view class="price">
|
|
|
|
|
实付
|
|
|
|
|
<span>¥{{ list.refund_amount }}</span>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2020-08-06 17:02:11 +08:00
|
|
|
|
<u-radio :name="list.refund_id" v-if="type==4" shape="circle" @change="radioGroupChange">
|
|
|
|
|
</u-radio >
|
2020-08-06 11:48:45 +08:00
|
|
|
|
</view>
|
|
|
|
|
</u-radio-group>
|
2020-08-06 10:04:38 +08:00
|
|
|
|
<!-- 待处理 -->
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="user-info" v-if="type == 1">
|
2020-06-11 17:54:15 +08:00
|
|
|
|
<view class="info-title">收件人信息</view>
|
|
|
|
|
<view class="info-container">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="title">姓名</view>
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="value">{{ info.extend_order_common.reciver_name }}</view>
|
2020-08-10 20:24:58 +08:00
|
|
|
|
<image src="/static/image/home/chat.png" @click="tochat(info.buyer_id)"></image>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<view class="title">手机号</view>
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="value">{{ info.extend_order_common.reciver_info.mob_phone }}</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<view class="title">收货地址</view>
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="value u-line-1">{{ info.extend_order_common.reciver_info.address }}</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
2020-09-02 14:05:08 +08:00
|
|
|
|
<view>
|
|
|
|
|
<view class="title">派送方式</view>
|
|
|
|
|
<view class="value u-line-1">{{ cur == 0 ? "快递" : cur == 1 ? "骑手" : "自提" }}</view>
|
2020-09-04 19:52:43 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view @click="showInvoice">
|
|
|
|
|
<view class="title">开具发票</view>
|
|
|
|
|
<view class="invoice">
|
|
|
|
|
<text>{{ is_invoice ? "是" : "否" }}</text>
|
|
|
|
|
<u-icon name="arrow-right" color="#999" size="20" style="margin-left: 10rpx;"></u-icon>
|
|
|
|
|
</view>
|
2020-09-02 14:05:08 +08:00
|
|
|
|
</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2020-08-06 10:04:38 +08:00
|
|
|
|
<!-- 待处理之后的 -->
|
2020-08-06 11:48:45 +08:00
|
|
|
|
<view class="refunds-title" v-if="type!=1">收件人信息</view>
|
2020-08-06 17:02:11 +08:00
|
|
|
|
<view class="refunds-user" v-if="type == 2 || type == 3 || type == 4 || type == 5 || type == 6|| type == 7">
|
2020-08-06 10:04:38 +08:00
|
|
|
|
<view>
|
|
|
|
|
<image src="/static/image/home/2.png"></image>
|
|
|
|
|
<view>{{ info.extend_order_common.reciver_name }}</view>
|
2020-08-06 11:48:45 +08:00
|
|
|
|
<image src="/static/image/home/chat.png" @click="tochat(info.buyer_id)"></image>
|
2020-08-06 10:04:38 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<image src="/static/image/home/3.png"></image>
|
|
|
|
|
<view>{{ info.extend_order_common.reciver_info.mob_phone }}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<image src="/static/image/home/4.png"></image>
|
|
|
|
|
<view class="address u-line-1">{{ info.extend_order_common.reciver_info.address }}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 待处理 -->
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="delivery" v-if="type == 1">
|
2020-06-11 17:54:15 +08:00
|
|
|
|
<view class="title">派送方式</view>
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="methods">
|
|
|
|
|
<view :class="{ active: cur == 0 }" @click="pushstyleA">快递</view>
|
|
|
|
|
<view :class="{ active: cur == 1 }" @click="pushstyleB">骑手</view>
|
2020-09-02 14:05:08 +08:00
|
|
|
|
<view :class="{ active: cur == 2 }" @click="pushstyleC">自提</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
2020-08-14 17:09:31 +08:00
|
|
|
|
<view v-if="cur != 2 && (pushid || selctcar)">
|
|
|
|
|
<view class="title">{{cur == 0 ? '快递单号':'骑手信息'}}</view>
|
|
|
|
|
<view class="value">{{ cur == 0 ? pushid ? companyidA.express_name + ": " + pushid : '' : selctcar ? selctcar.label : '' }}</view>
|
|
|
|
|
</view>
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="btn" @click="confirmpushstyle">确认</view>
|
|
|
|
|
</view>
|
2020-08-06 10:04:38 +08:00
|
|
|
|
<!-- 已发货 -->
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="pushtimeline" v-if="type == 2">
|
|
|
|
|
<view class="timelinetitle">物流信息</view>
|
2020-08-12 15:17:48 +08:00
|
|
|
|
<view class="timelineid">订单单号: {{ info.order_sn }}</view>
|
2020-08-05 20:03:53 +08:00
|
|
|
|
<view class="timelinebox" v-for="list in info.express_list">
|
|
|
|
|
<view class="timelinecontent">{{list.content}}</view>
|
|
|
|
|
<view class="timelinetime">{{list.kd_time}}</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2020-08-06 10:04:38 +08:00
|
|
|
|
<!-- 已完成 -->
|
|
|
|
|
<!-- 退款处理 -->
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="refunds-option" v-if="type == 4">
|
|
|
|
|
<view :class="{ active: cur == 0 }" @click="unrefuse">不处理</view>
|
|
|
|
|
<view :class="{ active: cur == 1 }" @click="refuse">确定处理</view>
|
2020-06-12 14:46:46 +08:00
|
|
|
|
</view>
|
2020-08-06 10:04:38 +08:00
|
|
|
|
<!-- 同意退款/拒绝退款 -->
|
2020-08-06 17:02:11 +08:00
|
|
|
|
<view class="refund" v-if="type == 5 ">退款状态:同意退款,请注意查收!</view>
|
|
|
|
|
<view class="refund" v-if="type == 6 ">退款状态:商家同意退款,等待后台处理!</view>
|
|
|
|
|
<view class="refund" v-if="type == 7 ">退款状态:商家拒绝退款,请等待客服联系!</view>
|
2020-06-12 14:46:46 +08:00
|
|
|
|
<u-popup v-model="showDelivery" mode="center" border-radius="10" class="delivery-popup">
|
2020-06-11 17:54:15 +08:00
|
|
|
|
<view class="title">骑手信息</view>
|
|
|
|
|
<view class="input-info">
|
|
|
|
|
<input type="text" placeholder="请输入您的姓名" v-model="name" />
|
|
|
|
|
<input type="text" placeholder="请输入您的手机号" v-model="phone" />
|
|
|
|
|
<input type="text" placeholder="请输入您的公司名称" v-model="company" />
|
|
|
|
|
</view>
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="btn" @click="showDelivery = false">确认</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</u-popup>
|
2020-08-11 20:37:54 +08:00
|
|
|
|
<!-- <u-picker mode="selector" v-model="show" :default-selector="[0]" :range="list" range-key="content" @confirm="getselect" confirm-color="#ff780f;"></u-picker> -->
|
|
|
|
|
<u-select v-model="show" :list="list" @confirm="getselect" confirm-color="#FF780F"></u-select>
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<!-- companylist -->
|
|
|
|
|
<u-picker
|
|
|
|
|
mode="selector"
|
|
|
|
|
v-model="showcompany"
|
|
|
|
|
:default-selector="[0]"
|
|
|
|
|
:range="companylist"
|
|
|
|
|
range-key="express_name"
|
|
|
|
|
@confirm="getselectcompany"
|
|
|
|
|
title="请选择公司"
|
|
|
|
|
confirm-text="下一步"
|
|
|
|
|
></u-picker>
|
2020-09-02 14:05:08 +08:00
|
|
|
|
<u-popup v-model="showExpress" :mask-close-able="false" mode="center" border-radius="10" class="delivery-popup">
|
2020-06-11 17:54:15 +08:00
|
|
|
|
<view class="title">填写快递单号</view>
|
2020-08-27 11:28:17 +08:00
|
|
|
|
<view class="input-info"><input type="text" style="color: #333; line-height: 1;" placeholder="请输入快递单号" v-model="pushid" /></view>
|
2020-09-01 20:32:15 +08:00
|
|
|
|
<view class="btn" @click="saveDelivery">确认</view>
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</u-popup>
|
2020-06-12 14:46:46 +08:00
|
|
|
|
<u-popup v-model="showRefunds" mode="center" border-radius="10" class="refunds-popup">
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view v-if="cur == 1" class="popup-tips">
|
|
|
|
|
确定处理
|
|
|
|
|
<br />
|
|
|
|
|
平台将进行退款
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="cur == 0" class="popup-tips">
|
|
|
|
|
确定不处理
|
|
|
|
|
<br />
|
|
|
|
|
平台将进行联系
|
|
|
|
|
</view>
|
2020-06-12 14:46:46 +08:00
|
|
|
|
<view class="popup-btn">
|
2020-08-05 17:42:06 +08:00
|
|
|
|
<view class="cancel" @click="cancel">取消</view>
|
|
|
|
|
<view class="determine" @click="confirm">确定</view>
|
2020-06-12 14:46:46 +08:00
|
|
|
|
</view>
|
|
|
|
|
</u-popup>
|
2020-09-04 19:52:43 +08:00
|
|
|
|
<u-popup class="invoice-box" v-model="show_invoice" :mask-close-able="false" mode="center" length="540rpx" border-radius="10">
|
|
|
|
|
<view class="title">
|
|
|
|
|
<text>发票信息</text>
|
|
|
|
|
<u-icon class="close" name="close" @click="show_invoice=false"></u-icon>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info">
|
|
|
|
|
<view>
|
|
|
|
|
<text>发票抬头:</text>
|
|
|
|
|
<text>{{ invoiceList.invoice_title }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="invoice_type!=2">
|
|
|
|
|
<text>税号:</text>
|
|
|
|
|
<text>{{ invoiceList.invoice_code }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="invoice_type!=2">
|
|
|
|
|
<text>单位地址:</text>
|
|
|
|
|
<view class="u-line-2">{{ invoiceList.invoice_goto_addr }}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<text>电话号码:</text>
|
|
|
|
|
<text>{{ invoiceList.invoice_reg_mobphone }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="invoice_type!=2">
|
|
|
|
|
<text>开户银行:</text>
|
|
|
|
|
<text>{{ invoiceList.invoice_reg_bname }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="invoice_type!=2">
|
|
|
|
|
<text>银行账户:</text>
|
|
|
|
|
<text>{{ invoiceList.invoice_reg_baccount }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="invoice_type==2">
|
|
|
|
|
<text>省份证号:</text>
|
|
|
|
|
<text>111</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</u-popup>
|
2020-07-30 10:12:27 +08:00
|
|
|
|
<u-toast ref="uToast" />
|
2020-06-11 17:54:15 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
status: 1, // 订单状态
|
2020-09-02 14:05:08 +08:00
|
|
|
|
cur: null,
|
2020-09-04 19:52:43 +08:00
|
|
|
|
show_invoice: false, // 发票
|
2020-06-12 14:46:46 +08:00
|
|
|
|
showDelivery: false, // 填写骑手信息
|
|
|
|
|
showExpress: false, // 填写快递单号
|
|
|
|
|
showRefunds: false, // 平台退货处理
|
2020-08-05 17:42:06 +08:00
|
|
|
|
showcompany: false, // 平台退货处理
|
|
|
|
|
companylist: [],
|
|
|
|
|
show: false, // 骑手列表
|
2020-06-11 17:54:15 +08:00
|
|
|
|
name: '',
|
|
|
|
|
phone: '',
|
2020-06-12 14:46:46 +08:00
|
|
|
|
company: '',
|
2020-08-05 17:42:06 +08:00
|
|
|
|
express: '',
|
|
|
|
|
type: '',
|
|
|
|
|
orderid: 0,
|
2020-08-06 11:48:45 +08:00
|
|
|
|
info: {
|
|
|
|
|
extend_order_goods:[{}],
|
|
|
|
|
extend_order_common:{
|
|
|
|
|
reciver_info:{
|
|
|
|
|
mob_phone:"",
|
|
|
|
|
address:""
|
|
|
|
|
},
|
|
|
|
|
receive_name:""
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-08-05 17:42:06 +08:00
|
|
|
|
list: [],
|
|
|
|
|
pushid: null,
|
|
|
|
|
pushstate: false, //显示物流单号
|
|
|
|
|
selctcar: null, //骑手信息
|
|
|
|
|
companyidA: null, //物流派送公司id
|
2020-08-06 11:48:45 +08:00
|
|
|
|
companyidB: null, //骑手派送公司id
|
|
|
|
|
value:"",
|
2020-09-04 19:52:43 +08:00
|
|
|
|
refundid:null,
|
|
|
|
|
is_invoice: 0, // 判断发票
|
|
|
|
|
invoice_type: null,
|
|
|
|
|
invoiceList: {}, // 发票数据
|
2020-08-05 17:42:06 +08:00
|
|
|
|
};
|
2020-06-11 17:54:15 +08:00
|
|
|
|
},
|
2020-06-12 14:46:46 +08:00
|
|
|
|
onLoad(option) {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
this.type = option.type;
|
2020-08-06 11:48:45 +08:00
|
|
|
|
console.log(this.type)
|
2020-08-05 17:42:06 +08:00
|
|
|
|
this.orderid = option.id;
|
|
|
|
|
this.resetinfo();
|
|
|
|
|
if (this.type == 1) {
|
2020-08-06 11:48:45 +08:00
|
|
|
|
// 获取快递公司
|
2020-08-05 17:42:06 +08:00
|
|
|
|
this.getcompanyinfo();
|
|
|
|
|
}
|
|
|
|
|
if (this.type == 2) {
|
2020-08-06 11:48:45 +08:00
|
|
|
|
// 获取物流信息
|
2020-08-05 17:42:06 +08:00
|
|
|
|
this.getcarinfo();
|
|
|
|
|
}
|
|
|
|
|
// 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货 6拒绝退款/退货
|
2020-06-11 17:54:15 +08:00
|
|
|
|
},
|
|
|
|
|
methods: {
|
2020-08-06 11:48:45 +08:00
|
|
|
|
// 跳转详情页面
|
|
|
|
|
tochat(ID){
|
2020-08-10 16:47:27 +08:00
|
|
|
|
function Friend(uuid, name, avatar,time = "", text = "",date = "") {
|
|
|
|
|
this.uuid = uuid;
|
|
|
|
|
this.name = name;
|
|
|
|
|
this.avatar = avatar;
|
|
|
|
|
this.online = false;
|
|
|
|
|
this.unReadMessage = 0;
|
|
|
|
|
this.text = text;
|
|
|
|
|
this.time = time;
|
|
|
|
|
this.date = date
|
|
|
|
|
}
|
2020-08-06 11:48:45 +08:00
|
|
|
|
console.log(ID)
|
2020-08-10 16:47:27 +08:00
|
|
|
|
const token = uni.getStorageSync('token');
|
|
|
|
|
let that = this
|
|
|
|
|
uni.request({
|
2020-08-18 15:31:03 +08:00
|
|
|
|
url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
|
2020-08-10 16:47:27 +08:00
|
|
|
|
data:{
|
|
|
|
|
userId: ID
|
|
|
|
|
},
|
|
|
|
|
method:"POST",
|
|
|
|
|
header:{
|
|
|
|
|
"Authorization" : 'Bearer' + " " + token
|
|
|
|
|
},
|
|
|
|
|
success(res){
|
|
|
|
|
console.log(res)
|
|
|
|
|
res = res.data
|
|
|
|
|
let user = new Friend(res.data.member_id,res.data.member_nickname,res.data.member_avatar)
|
|
|
|
|
that.$u.route({
|
|
|
|
|
url:"/pages/messages/privateChat",
|
|
|
|
|
params:{
|
|
|
|
|
id:JSON.stringify(user)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
2020-08-06 11:48:45 +08:00
|
|
|
|
},
|
|
|
|
|
// 退款单选
|
|
|
|
|
radioGroupChange(e) {
|
|
|
|
|
this.refundid = e
|
|
|
|
|
console.log(e);
|
|
|
|
|
},
|
2020-08-05 17:42:06 +08:00
|
|
|
|
// 人工配送
|
|
|
|
|
pushstyleA() {
|
|
|
|
|
this.cur = 0;
|
|
|
|
|
this.showcompany = true;
|
|
|
|
|
},
|
|
|
|
|
// 选择骑手
|
|
|
|
|
pushstyleB() {
|
|
|
|
|
this.cur = 1;
|
|
|
|
|
this.show = true;
|
|
|
|
|
},
|
2020-09-02 14:05:08 +08:00
|
|
|
|
// 选择骑手
|
|
|
|
|
pushstyleC() {
|
|
|
|
|
this.cur = 2;
|
|
|
|
|
},
|
2020-08-05 17:42:06 +08:00
|
|
|
|
// 获取物流公司列表
|
|
|
|
|
getcompanyinfo() {
|
|
|
|
|
let that = this;
|
|
|
|
|
this.$u.api.pushcompany({}).then(res => {
|
|
|
|
|
if (res.errCode != 0) {
|
|
|
|
|
} else {
|
|
|
|
|
that.companylist = res.data;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2020-09-04 19:52:43 +08:00
|
|
|
|
// 查询物流
|
|
|
|
|
getcarinfo() {
|
|
|
|
|
this.$u.api.getcarinfo({
|
|
|
|
|
order_id: this.orderid
|
|
|
|
|
}).then(res => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
})
|
|
|
|
|
},
|
2020-09-01 20:32:15 +08:00
|
|
|
|
// 保存订单号
|
|
|
|
|
saveDelivery() {
|
|
|
|
|
if (!this.pushid) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: "请填写快递单号!",
|
|
|
|
|
icon: "none"
|
|
|
|
|
})
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
this.showExpress = false;
|
|
|
|
|
},
|
2020-08-05 17:42:06 +08:00
|
|
|
|
// 取消退款
|
|
|
|
|
cancel() {
|
|
|
|
|
this.showRefunds = false;
|
|
|
|
|
// cur
|
|
|
|
|
},
|
|
|
|
|
//
|
|
|
|
|
confirm() {
|
|
|
|
|
this.showRefunds = false;
|
2020-08-14 20:48:14 +08:00
|
|
|
|
if (!this.refundid) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: "请选择商品",
|
|
|
|
|
type: "warning"
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
2020-08-05 17:42:06 +08:00
|
|
|
|
if (this.cur == 0) {
|
|
|
|
|
// 确定退款
|
2020-08-05 20:10:55 +08:00
|
|
|
|
this.$u.api.refund({
|
2020-08-06 11:48:45 +08:00
|
|
|
|
refund_id: this.refundid,
|
2020-08-14 20:48:14 +08:00
|
|
|
|
seller_state: 3,
|
2020-08-14 12:17:28 +08:00
|
|
|
|
seller_message: ""
|
2020-08-05 20:10:55 +08:00
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.errCode != 0) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'error'
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'success'
|
|
|
|
|
});
|
2020-08-14 20:48:14 +08:00
|
|
|
|
let pages = getCurrentPages();
|
|
|
|
|
let prePage = pages[pages.length - 2];
|
|
|
|
|
console.log(prePage.$vm);
|
|
|
|
|
prePage.$vm.del_id = this.orderid;
|
2020-08-06 10:04:38 +08:00
|
|
|
|
uni.navigateBack({
|
|
|
|
|
delta: 1
|
|
|
|
|
});
|
2020-08-05 20:10:55 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
2020-08-05 17:42:06 +08:00
|
|
|
|
} else {
|
|
|
|
|
// 不进行退款
|
2020-08-05 20:10:55 +08:00
|
|
|
|
this.$u.api.refund({
|
2020-08-06 11:48:45 +08:00
|
|
|
|
refund_id: this.refundid,
|
2020-08-14 20:48:14 +08:00
|
|
|
|
seller_state: 2,
|
|
|
|
|
seller_message: ""
|
2020-08-05 20:10:55 +08:00
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.errCode != 0) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'error'
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'success'
|
|
|
|
|
});
|
2020-08-06 10:04:38 +08:00
|
|
|
|
uni.navigateBack({
|
|
|
|
|
delta: 1
|
|
|
|
|
});
|
2020-08-05 20:10:55 +08:00
|
|
|
|
console.log(res);
|
|
|
|
|
}
|
|
|
|
|
});
|
2020-08-05 17:42:06 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 同意退款
|
|
|
|
|
refuse() {
|
|
|
|
|
this.cur = 1;
|
|
|
|
|
this.showRefunds = true;
|
|
|
|
|
},
|
|
|
|
|
// 同意退款
|
|
|
|
|
unrefuse() {
|
|
|
|
|
this.cur = 0;
|
|
|
|
|
this.showRefunds = true;
|
|
|
|
|
},
|
2020-08-05 20:10:55 +08:00
|
|
|
|
// 选择快递公司
|
|
|
|
|
getselectcompany(e) {
|
|
|
|
|
let obj = this.companylist[e[0]];
|
2020-08-14 17:09:31 +08:00
|
|
|
|
this.companyidA = obj;
|
2020-08-05 20:10:55 +08:00
|
|
|
|
this.showExpress = true;
|
|
|
|
|
},
|
|
|
|
|
// 绑定配送方式
|
|
|
|
|
confirmpushstyle() {
|
2020-09-02 14:05:08 +08:00
|
|
|
|
// console.log(this.cur);
|
|
|
|
|
if (this.cur < 0) {
|
2020-08-14 08:26:50 +08:00
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: '请选择派送方式!',
|
|
|
|
|
type: 'warning ',
|
|
|
|
|
})
|
|
|
|
|
return;
|
|
|
|
|
}
|
2020-08-05 20:10:55 +08:00
|
|
|
|
if (this.cur == 0) {
|
2020-08-14 08:26:50 +08:00
|
|
|
|
if (!this.companyidA) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: '请选择派送方式!',
|
|
|
|
|
type: 'warning ',
|
|
|
|
|
})
|
|
|
|
|
return;
|
|
|
|
|
}
|
2020-09-02 14:05:08 +08:00
|
|
|
|
// console.log(this.pushid);
|
2020-08-05 20:10:55 +08:00
|
|
|
|
this.$u.api.bindpushid({
|
|
|
|
|
order_id: this.orderid,
|
|
|
|
|
shipping_code: this.pushid,
|
2020-08-14 17:09:31 +08:00
|
|
|
|
shipping_express_id: this.companyidA.express_id
|
2020-08-05 20:10:55 +08:00
|
|
|
|
}).then(res => {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
if (res.errCode != 0) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'error'
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'success'
|
|
|
|
|
});
|
2020-08-05 20:10:55 +08:00
|
|
|
|
uni.navigateBack({
|
|
|
|
|
delta: 1
|
|
|
|
|
});
|
2020-08-05 17:42:06 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
2020-09-02 14:05:08 +08:00
|
|
|
|
} else if (this.cur == 1) {
|
2020-08-14 08:26:50 +08:00
|
|
|
|
if (!this.selctcar) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: '请选择派送方式!',
|
|
|
|
|
type: 'warning ',
|
|
|
|
|
})
|
|
|
|
|
return;
|
|
|
|
|
}
|
2020-08-05 20:10:55 +08:00
|
|
|
|
this.$u.api.bindcarer({
|
|
|
|
|
order_id: this.orderid,
|
|
|
|
|
takeawayer_id: this.selctcar.takeawayer_id
|
|
|
|
|
}).then(res => {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
console.log(res);
|
|
|
|
|
if (res.errCode != 0) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'error'
|
|
|
|
|
});
|
|
|
|
|
} else {
|
2020-08-05 20:10:55 +08:00
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'success'
|
|
|
|
|
});
|
2020-08-06 10:04:38 +08:00
|
|
|
|
uni.navigateBack({
|
|
|
|
|
delta: 1
|
|
|
|
|
});
|
2020-08-05 17:42:06 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
2020-09-02 14:05:08 +08:00
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: "mention?id=" + this.orderid
|
|
|
|
|
})
|
|
|
|
|
}
|
2020-08-05 20:10:55 +08:00
|
|
|
|
},
|
2020-09-04 19:52:43 +08:00
|
|
|
|
// 显示发票
|
|
|
|
|
showInvoice() {
|
|
|
|
|
if (this.is_invoice) {
|
|
|
|
|
this.show_invoice = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-08-05 20:10:55 +08:00
|
|
|
|
// 选择骑手
|
|
|
|
|
getselect(e) {
|
2020-08-11 20:37:54 +08:00
|
|
|
|
this.selctcar = this.list[e[0].value];
|
2020-08-05 20:10:55 +08:00
|
|
|
|
},
|
|
|
|
|
// 获取订单信息
|
|
|
|
|
resetinfo() {
|
|
|
|
|
this.$u.api.orderdetail({
|
|
|
|
|
order_id: this.orderid
|
|
|
|
|
}).then(res => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
if (res.errCode != 0) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'error'
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.info = res.data;
|
2020-09-03 10:26:55 +08:00
|
|
|
|
this.cur = res.data.is_selfraising;
|
2020-09-04 19:52:43 +08:00
|
|
|
|
this.invoiceList = res.data.extend_order_common.invoice_info;
|
|
|
|
|
this.is_invoice = this.invoiceList.invoice_id || false;
|
|
|
|
|
this.invoice_type = this.invoiceList.invoice_type;
|
|
|
|
|
// console.log(this.invoiceList,this.is_invoice,this.invoice_type);
|
2020-08-05 20:10:55 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
2020-08-05 17:42:06 +08:00
|
|
|
|
this.$u.api.takeawayerlist({}).then(res => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
if (res.errCode != 0) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
type: 'error'
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
let arr = res.data;
|
|
|
|
|
for (let index in arr) {
|
2020-08-11 20:37:54 +08:00
|
|
|
|
arr[index].value = index;
|
|
|
|
|
arr[index].label = arr[index].company_name + ' ' + arr[index].contacts + ' ' + arr[index].contact_number;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
}
|
|
|
|
|
this.list = arr;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-11 17:54:15 +08:00
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.details {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: calc(100vh - var(--window-top));
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background-color: #ececec;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
.goods-info {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background-color: #ffffff;
|
2020-08-06 17:02:11 +08:00
|
|
|
|
width: 750rpx;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
padding: 30rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 2rpx 0 20rpx;
|
|
|
|
|
> image {
|
|
|
|
|
width: 160rpx;
|
|
|
|
|
height: 160rpx;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
margin-right: 26rpx;
|
|
|
|
|
}
|
|
|
|
|
.info-right {
|
|
|
|
|
.name {
|
|
|
|
|
width: 439rpx;
|
|
|
|
|
font-size: 28rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(51, 51, 51, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
margin-bottom: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
.info {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 26rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(102, 102, 102, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
.price {
|
|
|
|
|
margin-left: 10rpx;
|
|
|
|
|
> span {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: #ff780f;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-08-05 17:42:06 +08:00
|
|
|
|
}
|
2020-06-11 17:54:15 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-08-06 11:48:45 +08:00
|
|
|
|
.refunds-title{
|
|
|
|
|
padding: 25rpx 30rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #333333;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
2020-06-12 14:46:46 +08:00
|
|
|
|
.refunds-user {
|
|
|
|
|
padding: 25rpx 30rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background-color: #ffffff;
|
2020-06-12 14:46:46 +08:00
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
> view {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2020-08-06 11:48:45 +08:00
|
|
|
|
justify-content: space-between;
|
2020-06-12 14:46:46 +08:00
|
|
|
|
margin-bottom: 30rpx;
|
|
|
|
|
@mixin image-class($width, $right) {
|
|
|
|
|
> image {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: $width;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
margin-right: $right;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&:first-child {
|
|
|
|
|
@include image-class($width: 40rpx, $right: 20rpx);
|
|
|
|
|
}
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
|
margin-left: 4rpx;
|
|
|
|
|
@include image-class($width: 32rpx, $right: 24rpx);
|
|
|
|
|
}
|
|
|
|
|
&:last-child {
|
|
|
|
|
margin-left: 2rpx;
|
|
|
|
|
@include image-class($width: 36rpx, $right: 22rpx);
|
|
|
|
|
}
|
|
|
|
|
> view {
|
2020-08-06 11:48:45 +08:00
|
|
|
|
flex: 1;
|
2020-06-12 14:46:46 +08:00
|
|
|
|
font-size: 26rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(51, 51, 51, 1);
|
2020-06-12 14:46:46 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-11 17:54:15 +08:00
|
|
|
|
.user-info {
|
|
|
|
|
.info-title {
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-weight: 500;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(51, 51, 51, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
height: 88rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background-color: #ffffff;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
margin-bottom: 2rpx;
|
|
|
|
|
padding: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
.info-container {
|
|
|
|
|
padding: 0 30rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background-color: #ffffff;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
> view {
|
|
|
|
|
height: 88rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(51, 51, 51, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
&:not(:last-child) {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border-bottom: 2rpx solid #ececec;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
}
|
|
|
|
|
.title {
|
|
|
|
|
width: 150rpx;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
.value {
|
|
|
|
|
font-size: 26rpx;
|
2020-08-10 20:24:58 +08:00
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
2020-09-04 19:52:43 +08:00
|
|
|
|
.invoice {
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
2020-08-10 20:24:58 +08:00
|
|
|
|
image{
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.delivery {
|
|
|
|
|
flex: 1;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background-color: #ffffff;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
padding: 30rpx;
|
|
|
|
|
position: relative;
|
|
|
|
|
.title {
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-weight: 500;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(51, 51, 51, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
margin-bottom: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
.methods {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
2020-09-02 14:05:08 +08:00
|
|
|
|
justify-content: space-around;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
> view {
|
|
|
|
|
font-size: 30rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(0, 0, 51, 1);
|
2020-09-02 14:05:08 +08:00
|
|
|
|
width: 30%;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
height: 80rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border: 1rpx solid rgba(236, 236, 236, 1);
|
|
|
|
|
background: rgba(236, 236, 236, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
border-radius: 6rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
.active {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border: 1rpx solid #ff780f;
|
|
|
|
|
color: #ff780f;
|
|
|
|
|
background: #fff1e6;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.btn {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 40rpx;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, 0);
|
|
|
|
|
width: 690rpx;
|
|
|
|
|
height: 98rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background: rgba(255, 120, 15, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
border-radius: 49rpx;
|
|
|
|
|
font-size: 36rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(255, 255, 255, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 98rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-08-05 17:42:06 +08:00
|
|
|
|
.pushtimeline {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0 30rpx;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
.timelinetitle {
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
line-height: 40rpx;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: rgba(51, 51, 51, 1);
|
|
|
|
|
}
|
|
|
|
|
.timelineid {
|
2020-09-02 14:05:08 +08:00
|
|
|
|
margin: 18rpx 0;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
min-height: 40rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: rgba(102, 102, 102, 1);
|
|
|
|
|
}
|
|
|
|
|
.timelinebox {
|
|
|
|
|
margin: 20rpx 0;
|
|
|
|
|
}
|
|
|
|
|
.timelinecontent {
|
|
|
|
|
line-height: 40rpx;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: rgba(51, 51, 51, 1);
|
|
|
|
|
}
|
|
|
|
|
.timelinetime {
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: rgba(153, 153, 153, 1);
|
|
|
|
|
line-height: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.refund {
|
|
|
|
|
padding: 88rpx 30rpx;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
line-height: 40rpx;
|
|
|
|
|
}
|
2020-06-12 14:46:46 +08:00
|
|
|
|
.refunds-option {
|
|
|
|
|
flex: 1;
|
|
|
|
|
padding: 88rpx 30rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background-color: #ffffff;
|
2020-06-12 14:46:46 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
> view {
|
|
|
|
|
width: 335rpx;
|
|
|
|
|
height: 80rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border: 1rpx solid rgba(236, 236, 236, 1);
|
|
|
|
|
background: rgba(236, 236, 236, 1);
|
2020-06-12 14:46:46 +08:00
|
|
|
|
border-radius: 6rpx;
|
|
|
|
|
font-size: 30rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(0, 0, 51, 1);
|
2020-06-12 14:46:46 +08:00
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
.active {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border: 1rpx solid #ff780f;
|
|
|
|
|
color: #ff780f;
|
|
|
|
|
background: #fff1e6;
|
2020-06-12 14:46:46 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-11 17:54:15 +08:00
|
|
|
|
.delivery-popup {
|
|
|
|
|
.title {
|
|
|
|
|
width: 420rpx;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-weight: 500;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(51, 51, 51, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 88rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border-bottom: 2rpx solid #ececec;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
}
|
|
|
|
|
.input-info {
|
|
|
|
|
> input {
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
line-height: 88rpx;
|
|
|
|
|
padding: 30rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border-bottom: 2rpx solid #ececec;
|
2020-06-11 17:54:15 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.btn {
|
|
|
|
|
margin: 20rpx auto;
|
|
|
|
|
width: 200rpx;
|
|
|
|
|
height: 60rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
background: rgba(255, 120, 15, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
border-radius: 30rpx;
|
|
|
|
|
font-size: 28rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(255, 255, 255, 1);
|
2020-06-11 17:54:15 +08:00
|
|
|
|
line-height: 60rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-12 14:46:46 +08:00
|
|
|
|
.refunds-popup {
|
|
|
|
|
.popup-tips {
|
|
|
|
|
width: 420rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 28rpx;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: rgba(102, 102, 102, 1);
|
2020-06-12 14:46:46 +08:00
|
|
|
|
line-height: 42rpx;
|
|
|
|
|
padding: 30rpx 0;
|
|
|
|
|
}
|
|
|
|
|
.popup-btn {
|
|
|
|
|
width: 420rpx;
|
|
|
|
|
display: flex;
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border-top: 2rpx solid #ececec;
|
2020-06-12 14:46:46 +08:00
|
|
|
|
> view {
|
|
|
|
|
flex: 1;
|
|
|
|
|
height: 98rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 98rpx;
|
|
|
|
|
&:first-child {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
border-right: 2rpx solid #ececec;
|
2020-06-12 14:46:46 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.determine {
|
2020-08-05 17:42:06 +08:00
|
|
|
|
color: #ff780f;
|
2020-06-12 14:46:46 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-04 19:52:43 +08:00
|
|
|
|
.invoice-box {
|
|
|
|
|
.title {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
padding: 20rpx 20rpx 0 20rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
.close {
|
|
|
|
|
margin-left: 180rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.info {
|
|
|
|
|
padding: 30rpx;
|
|
|
|
|
& > view {
|
|
|
|
|
display: flex;
|
|
|
|
|
margin: 10rpx 0;
|
|
|
|
|
& > text:first-child {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 140rpx !important;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
& > text:last-child {
|
|
|
|
|
width: 320rpx !important;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-11 17:54:15 +08:00
|
|
|
|
}
|
2020-08-05 17:42:06 +08:00
|
|
|
|
</style>
|