12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853 |
- <template>
- <view :style="colorStyle">
- <view class='order-details'>
- <view v-if="isGoodsReturn == false">
- <view v-if="orderInfo.userAddress != ''">
- <view class='address' v-if="orderInfo.userAddress">
- <u-row customStyle="margin-bottom: 10px">
- <u-col span="1">
- <view class="demo-layout bg-purple-light">
- <u-icon name="map-fill" color="#2979ff" size="25"></u-icon>
- </view>
- </u-col>
- <u-col span="11">
- <view class='name'>{{ orderInfo.userName }}<text class='phone'>{{ orderInfo.telPhone
- }}</text>
- </view>
- <view>{{ orderInfo.userAddress }}</view>
- </u-col>
- </u-row>
- </view>
- <view class='address' v-else>
- <view class='name' @tap="makePhone">{{ orderInfo.system_store.name }}<text class='phone'>{{
- orderInfo.system_store.phone
- }}</text><text class="iconfont icon-tonghua font-num"></text></view>
- <view>{{ orderInfo.system_store.detailed_address }}</view>
- </view>
- <view class='line'>
- <image src='@/static/images/line.jpg'></image>
- </view>
- </view>
- <view v-if="orderInfo.virtual_type != 0" style="paddingTop: 6px;"></view>
- </view>
- <view v-else>
- <!-- 拒绝退款 -->
- <view class="refund" v-if="orderInfo.refund_type == 3">
- <view class="title">
- <image src="../static/shuoming.png" mode=""></image>
- {{ $t(`拒绝退款`) }}
- </view>
- <view class="con">{{ $t(`拒绝原因`) }}:{{ orderInfo.refuse_reason }}</view>
- </view>
- </view>
- <orderGoods :evaluate='evaluate' :deliveryType="orderInfo.shipping_type" :statusType="status.type"
- :sendType="orderInfo.delivery_type" :orderId="order_id" :oid="orderInfo.id" :cartInfo="cartInfo"
- :pid="pid" :jump="true" :refund_status="orderInfo.refund_status" :paid="orderInfo.paid"
- @openSubcribe="openSubcribe">
- </orderGoods>
- <view class='wrapper'>
- <view class='item acea-row row-between'>
- <view>{{ $t(`订单号`) }}:</view>
- <view class='conter acea-row row-middle row-right'>
- <text>{{ orderInfo.id }}</text>
- <!-- #ifndef H5 -->
- <text class='copy' @tap='copy'>{{ $t(`复制`) }}</text>
- <!-- #endif -->
- <!-- #ifdef H5 -->
- <text class='copy copy-data' :data-clipboard-text="orderInfo.order_id">{{ $t(`复制`) }}</text>
- <!-- #endif -->
- </view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`下单时间`) }}:</view>
- <view class='conter'>{{ (orderInfo.createTime || '') }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`支付状态`) }}:</view>
- <view class='conter'>{{ orderInfo.payFlagDisplayName }}</view>
- </view>
- <view class='item acea-row row-between' v-if="orderInfo.payTime">
- <view>{{ $t(`支付时间`) }}:</view>
- <view class='conter'>{{ orderInfo.payTime }}</view>
- </view>
- <view class='item acea-row row-between' v-if="orderInfo.remark">
- <view>{{ $t(`发货时间`) }}:</view>
- <view class='conter'>{{ $t(orderInfo._status._payType) }}</view>
- </view>
- <view class='item acea-row row-between' v-if="orderInfo.remark">
- <view>{{ $t(`完成时间`) }}:</view>
- <view class='conter'>{{ $t(orderInfo._status._payType) }}</view>
- </view>
- <view class='item acea-row row-between' v-if="orderInfo.remark">
- <view v-if="orderInfo.pid">{{ $t(`买家备注`) }}:</view>
- <view v-else>买家备注:</view>
- <view class='conter'>{{ orderInfo.remark }}</view>
- </view>
- <!-- <view class='item acea-row row-between' v-if="orderInfo.remark">
- <view>{{$t(`商家备注`)}}:</view>
- <view class='conter'>{{orderInfo.remark}}</view>
- </view> -->
- </view>
- <view class='wrapper' v-if="customForm && customForm.length">
- <view class='item acea-row row-between' v-for="(item, index) in customForm" :key="index">
- <view class='upload' v-if="item.label == 'img'">
- <view>{{ item.title }}:</view>
- <view class='pictrue' v-for="(img, index) in item.value" :key="index">
- <image :src='img'></image>
- </view>
- </view>
- <view v-if="item.label !== 'img'">{{ item.title }}:</view>
- <view v-if="item.label !== 'img'" class='conter'>{{ item.value }}</view>
- </view>
- </view>
- <!-- 退款订单详情 -->
- <view class='wrapper' v-if="isGoodsReturn && orderInfo.cartInfo[0].productInfo.virtual_type != 3">
- <view class='item acea-row row-between'>
- <view>{{ $t(`收货人`) }}:</view>
- <view class='conter'>{{ orderInfo.real_name }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`联系电话`) }}:</view>
- <view class='conter'>{{ orderInfo.user_phone }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`收货地址`) }}:</view>
- <view class='conter'>{{ orderInfo.user_address }}</view>
- </view>
- </view>
- <view v-if="orderInfo.status != 0">
- <view class='wrapper' v-if='orderInfo.delivery_type == "express"'>
- <view class='item acea-row row-between'>
- <view>{{ $t(`配送方式`) }}:</view>
- <view class='conter'>{{ $t(`发货`) }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`快递公司`) }}:</view>
- <view class='conter'>{{ orderInfo.delivery_name || '' }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`快递单号`) }}:</view>
- <view class='conter'>{{ orderInfo.delivery_id || '' }}</view>
- </view>
- </view>
- <view class='wrapper' v-else-if='orderInfo.delivery_type == "send"'>
- <view class='item acea-row row-between'>
- <view>{{ $t(`配送方式`) }}:</view>
- <view class='conter'>{{ $t(`送货`) }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`配送人姓名`) }}:</view>
- <view class='conter'>{{ orderInfo.delivery_name || '' }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`送货人电话`) }}:</view>
- <view class='conter acea-row row-middle row-right'>{{ orderInfo.delivery_id || '' }}<text
- class='copy' @tap='goTel'>{{ $t(`拨打`) }}</text></view>
- </view>
- </view>
- <view class='wrapper' v-else-if='orderInfo.delivery_type == "fictitious"'>
- <view class='item acea-row row-between'>
- <view>{{ $t(`虚拟发货`) }}:</view>
- <view class='conter'>{{ $t(`已发货,请注意查收`) }}</view>
- </view>
- <view class='item acea-row row-between' v-if="orderInfo.fictitious_content">
- <view>{{ $t(`虚拟备注`) }}:</view>
- <view class='conter'>{{ orderInfo.fictitious_content }}</view>
- </view>
- </view>
- </view>
- <view class='wrapper'>
- <view class='item acea-row row-between'>
- <view>{{ $t(`商品总价`) }}:</view>
- <view class='conter'>
- {{ $t(`¥`) }}{{ orderInfo.totalFee }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`运费`) }}:</view>
- <view class='conter'>{{ $t(`¥`) }}{{ orderInfo.wlPrice }}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>{{ $t(`积分到账方式`) }}:</view>
- <view class='conter'>{{ orderInfo.settleTypeDisplayName }}</view>
- </view>
- <view v-if="orderInfo.vip_true_price > 0" class='item acea-row row-between'>
- <view>{{ $t(`会员商品优惠`) }}:</view>
- <view class='conter'>-{{ $t(`¥`) }}{{ parseFloat(orderInfo.vip_true_price).toFixed(2) }}</view>
- </view>
- <view class='item acea-row row-between' v-if='orderInfo.coupon_price > 0'>
- <view>{{ $t(`优惠券抵扣`) }}:</view>
- <view class='conter'>-{{ $t(`¥`) }}{{ parseFloat(orderInfo.coupon_price).toFixed(2) }}</view>
- </view>
- <view class='item acea-row row-between' v-if="orderInfo.use_integral > 0">
- <view>{{ $t(`积分抵扣`) }}:</view>
- <view class='conter'>-{{ $t(`¥`) }}{{ parseFloat(orderInfo.deduction_price).toFixed(2) }}</view>
- </view>
- <view class='actualPay acea-row row-right' v-if="orderInfo.payFee">{{ $t(`应付金额`) }}:<text
- class='money font-color'>{{ $t(`¥`) }}{{ orderInfo.payFee }}</text></view>
- </view>
- <view class='wrapper'>
- <u--text text="物流信息:"></u--text>
- <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png">
- </u-empty>
- </view>
- </view>
- </view>
- </template>
- <script>
- import {
- getOrderDetailById,
- } from '@/api/home.js';
- import {
- getOrderDetail,
- refundOrderDetail,
- orderAgain,
- orderTake,
- orderDel,
- refundOrderDel,
- orderCancel,
- refundExpress,
- cancelRefundOrder
- } from '@/api/order.js';
- import {
- openOrderRefundSubscribe
- } from '@/utils/SubscribeMessage.js';
- import {
- getCustomerType
- } from '@/api/api.js';
- import {
- getCustomer
- } from '@/utils/index.js'
- import {
- getUserInfo,
- invoiceList,
- makeUpinvoice
- } from '@/api/user.js';
- import home from '@/components/home';
- import payment from '@/components/payment';
- import orderGoods from "@/pages/goods/orderGoods/index_details_mall";
- import ClipboardJS from "@/plugin/clipboard/clipboard.js";
- import {
- toLogin
- } from '@/libs/login.js';
- import {
- mapGetters
- } from "vuex";
- // #ifdef MP
- import authorize from '@/components/Authorize';
- // #endif
- import colors from "@/mixins/color";
- import invoicePicker from '../components/invoicePicker/index.vue';
- // import invoiceModal from '../components/invoiceModal/index.vue'
- import zbCode from '@/components/zb-code/zb-code.vue'
- export default {
- components: {
- payment,
- home,
- invoicePicker,
- // invoiceModal,
- orderGoods,
- zbCode,
- // #ifdef MP
- authorize
- // #endif
- },
- mixins: [colors],
- data() {
- return {
- customForm: '', //自定义留言
- //二维码参数
- codeShow: false,
- cid: '1',
- ifShow: true,
- val: "", // 要生成的二维码值
- size: 200, // 二维码大小
- unit: 'upx', // 单位
- background: '#FFF', // 背景色
- foreground: '#000', // 前景色
- pdground: '#000', // 角标色
- icon: '', // 二维码图标
- iconsize: 40, // 二维码图标大小
- lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
- onval: true, // val值变化时自动重新生成二维码
- loadMake: true, // 组件加载完成后自动生成二维码
- src: '', // 二维码生成后的图片地址或base64
- codeSrc: "",
- wd: 0,
- hg: 0,
- mpUrl: "",
- order: {},
- order_id: '',
- evaluate: 0,
- cartInfo: [], //购物车产品
- pid: 0, //上级订单ID
- split: [], //分单商品
- orderInfo: {
- help_info: {},
- system_store: {},
- _status: {},
- cartInfo: []
- }, //订单详情
- system_store: {},
- isGoodsReturn: false, //是否为退款订单
- status: {}, //订单底部按钮状态
- refund_close: false,
- isClose: false,
- payMode: [{
- name: this.$t(`微信支付`),
- icon: "icon-weixinzhifu",
- value: 'weixin',
- title: this.$t(`使用微信快捷支付`),
- payStatus: true,
- },
- // #ifdef H5 || APP-PLUS
- {
- name: this.$t(`支付宝支付`),
- icon: 'icon-zhifubao',
- value: 'alipay',
- title: this.$t(`使用支付宝支付`),
- payStatus: true
- },
- // #endif
- {
- name: this.$t(`余额支付`),
- icon: "icon-yuezhifu",
- value: 'yue',
- title: this.$t(`可用余额`),
- number: 0,
- payStatus: true
- }, {
- "name": this.$t(`好友代付`),
- "icon": "icon-haoyoudaizhifu",
- value: 'friend',
- title: this.$t(`找微信好友支付`),
- payStatus: 1,
- }
- ],
- pay_close: false,
- pay_order_id: '',
- totalPrice: '0',
- isAuto: false, //没有授权的不会自动授权
- isShowAuth: false, //是否隐藏授权
- routineContact: 0,
- express_num: '',
- invoice_func: false,
- invoiceData: {},
- invoice_id: 0,
- invChecked: '',
- moreBtn: false,
- invShow: false,
- aleartStatus: false, //发票弹窗
- special_invoice: false,
- invList: [],
- customerInfo: {},
- userInfo: {},
- isReturen: '',
- urlQuery: ''
- };
- },
- computed: mapGetters(['isLogin']),
- onLoad: function (options) {
- if (options.order_id) {
- this.$set(this, 'order_id', options.order_id);
- this.isReturen = options.isReturen;
- } else {
- this.$util.Tips({
- title: this.$t(`订单信息不存在`)
- }, '/pages/goods/order_list/index');
- }
- },
- onShow() {
- if (this.isLogin) {
- this.getOrderInfo();
- // this.getUserInfo();
- // this.getCustomerType();
- } else {
- toLogin();
- }
- },
- onHide: function () {
- this.isClose = true;
- },
- onReady: function () {
- // #ifdef H5
- this.$nextTick(function () {
- const clipboard = new ClipboardJS(".copy-data");
- clipboard.on("success", () => {
- this.$util.Tips({
- title: this.$t(`复制成功`)
- });
- });
- const address = new ClipboardJS(".copy-refund-msg");
- address.on("success", () => {
- this.$util.Tips({
- title: this.$t(`复制成功`)
- });
- });
- });
- // #endif
- },
- methods: {
- qrR(res) {
- this.codeSrc = res
- },
- cancelRefundOrder(orderId) {
- let that = this;
- uni.showModal({
- title: that.$t(`取消申请`),
- content: that.$t(`您确认放弃此次申请吗`),
- success: (res) => {
- if (res.confirm) {
- cancelRefundOrder(that.order_id).then(res => {
- return that.$util.Tips({
- title: that.$t(`操作成功`),
- icon: 'success'
- }, {
- tab: 4,
- url: '/pages/users/user_return_list/index'
- });
- }).catch(err => {
- return that.$util.Tips({
- title: err
- });
- })
- }
- }
- })
- },
- refundInput() {
- uni.navigateTo({
- url: `/pages/goods/order_refund_goods/index?orderId=` + this.order_id
- })
- },
- getCustomerType() {
- getCustomerType().then(res => {
- this.customerInfo = res.data;
- }).catch(err => {
- this.$util.Tips({
- title: err
- });
- })
- },
- goGoodCall() {
- getCustomer(`/pages/extension/customer_list/chat?orderId=${this.order_id}&isReturen=${this.isReturen}`)
- },
- openSubcribe(e) {
- let page = e;
- console.log(page)
- // #ifndef MP
- uni.navigateTo({
- url: page,
- });
- // #endif
- // #ifdef MP
- uni.showLoading({
- title: this.$t(`正在加载中`),
- })
- openOrderRefundSubscribe().then(res => {
- uni.hideLoading();
- uni.navigateTo({
- url: page,
- });
- }).catch((err) => {
- uni.hideLoading();
- });
- // #endif
- },
- goReturnGoods() {
- },
- /**
- * 事件回调
- *
- */
- onChangeFun: function (e) {
- let opt = e;
- let action = opt.action || null;
- let value = opt.value != undefined ? opt.value : null;
- (action && this[action]) && this[action](value);
- },
- /**
- * 拨打电话
- */
- makePhone: function () {
- uni.makePhoneCall({
- phoneNumber: this.system_store.phone
- })
- },
- /**
- * 打开地图
- *
- */
- showMaoLocation: function () {
- if (!this.system_store.latitude || !this.system_store.longitude) return this.$util.Tips({
- title: this.$t(`缺少经纬度信息无法查看地图`)
- });
- uni.openLocation({
- latitude: parseFloat(this.system_store.latitude),
- longitude: parseFloat(this.system_store.longitude),
- scale: 8,
- name: this.system_store.name,
- address: this.system_store.address + this.system_store.detailed_address,
- success: function () {
- },
- });
- },
- /**
- * 关闭支付组件
- *
- */
- payClose: function () {
- this.pay_close = false;
- },
- /**
- * 打开支付组件
- *
- */
- pay_open: function () {
- this.pay_close = true;
- this.pay_order_id = this.orderInfo.order_id;
- this.totalPrice = this.orderInfo.pay_price;
- },
- /**
- * 支付成功回调
- *
- */
- pay_complete: function () {
- this.pay_close = false;
- this.pay_order_id = '';
- uni.navigateTo({
- url: '/pages/goods/order_pay_status/index?order_id=' + this.orderInfo.order_id + '&msg=' +
- this.$t(`支付成功`) +
- '&type=3' + '&totalPrice=' + this.totalPrice
- })
- this.getOrderInfo();
- },
- /**
- * 支付失败回调
- *
- */
- pay_fail: function () {
- this.pay_close = false;
- this.pay_order_id = '';
- },
- /**
- * 登录授权回调
- *
- */
- onLoadFun: function () {
- this.getOrderInfo();
- this.getUserInfo();
- },
- /**
- * 获取用户信息
- *
- */
- getUserInfo: function () {
- let that = this;
- getUserInfo().then(res => {
- that.userInfo = res.data
- // #ifdef H5
- that.payMode[2].number = res.data.now_money;
- // #endif
- // #ifdef APP-PLUS
- that.payMode[2].number = res.data.now_money;
- // #endif
- // #ifdef MP
- that.payMode[1].number = res.data.now_money;
- // #endif
- that.$set(that, 'payMode', that.payMode);
- })
- },
- /**
- * 获取订单详细信息
- *
- */
- getOrderInfo: function () {
- let that = this;
- uni.showLoading({
- title: this.$t(`正在加载中`)
- });
- let obj = '';
- if (that.isReturen) {
- obj = refundOrderDetail(this.order_id);
- } else {
- obj = getOrderDetailById({ orderId: this.order_id });
- }
- obj.then(res => {
- if (!res.data || !res.data.id) {
- that.$util.Tips({
- title: this.$t(`订单信息不存在`)
- }, '/pages/goods/order_list/index');
- }
- const item = res.data;
- if (item) {
- this.$set(this, 'order', item);
- this.orderInfo = item
- this.$set(this, 'cartInfo', item.orderGoods);
- }
- uni.hideLoading();
- }).catch(err => {
- uni.hideLoading();
- that.$util.Tips({
- title: err
- }, '/pages/goods/order_list/index');
- });
- },
- // 不开发票
- invCancel() {
- this.invChecked = '';
- this.invTitle = this.$t(`不开发票`);
- this.invShow = false;
- },
- // 选择发票
- invSub(id) {
- this.invChecked = id;
- let data = {
- order_id: this.order_id,
- invoice_id: this.invChecked
- }
- makeUpinvoice(data).then(res => {
- uni.showToast({
- title: this.$t(`申请成功`),
- icon: 'success'
- });
- this.invShow = false;
- this.aleartStatus = true;
- this.getOrderInfo()
- }).catch(err => {
- uni.showToast({
- title: err,
- icon: 'none'
- });
- });
- },
- // 关闭发票
- invClose() {
- this.invShow = false;
- this.getInvoiceList()
- },
- //申请开票
- invoiceApply() {
- this.urlQuery = `&specialInvoice=${this.userInfo.special_invoice}`;
- this.getInvoiceList()
- this.moreBtn = false;
- this.invShow = true;
- },
- aleartStatusChange() {
- this.moreBtn = false;
- this.aleartStatus = true
- },
- getInvoiceList() {
- uni.showLoading({
- title: this.$t(`正在加载中`)
- })
- invoiceList().then(res => {
- uni.hideLoading();
- this.invList = res.data.map(item => {
- item.id = item.id.toString();
- return item;
- });
- const result = this.invList.find(item => item.id == this.invChecked);
- if (result) {
- let name = '';
- name += result.header_type === 1 ? this.$t(`个人`) : this.$t(`企业`);
- name += result.type === 1 ? this.$t(`普通`) : this.$t(`专用`);
- name += this.$t(`发票`);
- this.invTitle = name;
- }
- }).catch(err => {
- uni.showToast({
- title: err,
- icon: 'none'
- });
- });
- },
- more() {
- this.moreBtn = !this.moreBtn
- },
- /**
- *
- * 剪切订单号
- */
- // #ifndef H5
- copy: function () {
- let that = this;
- uni.setClipboardData({
- data: this.orderInfo.order_id
- });
- },
- // #endif
- // #ifndef H5
- copyAddress() {
- uni.setClipboardData({
- data: this.orderInfo._status.refund_name + this.orderInfo._status.refund_phone + this.orderInfo
- ._status
- .refund_address,
- success() {
- uni.Tips({
- title: this.$t(`复制成功`),
- icon: 'success'
- })
- }
- });
- },
- // #endif
- // #ifdef H5
- copyAddress() {
- // console.log('1111111111111')
- // let msg =
- // console.log(msg)
- // return msg
- },
- // #endif
- /**
- * 打电话
- */
- goTel: function () {
- uni.makePhoneCall({
- phoneNumber: this.orderInfo.delivery_id
- })
- },
- /**
- * 设置底部按钮
- *
- */
- getOrderStatus: function () {
- let orderInfo = this.orderInfo || {},
- _status = orderInfo._status || {
- _type: 0
- },
- status = {};
- let type = parseInt(_status._type),
- delivery_type = orderInfo.delivery_type,
- seckill_id = orderInfo.seckill_id ? parseInt(orderInfo.seckill_id) : 0,
- bargain_id = orderInfo.bargain_id ? parseInt(orderInfo.bargain_id) : 0,
- discount_id = orderInfo.discount_id ? parseInt(orderInfo.discount_id) : 0,
- combination_id = orderInfo.combination_id ? parseInt(orderInfo.combination_id) : 0;
- status = {
- type: type == 9 ? -9 : type,
- class_status: 0
- };
- if (type == 1 && combination_id > 0) status.class_status = 1; //查看拼团
- if (type == 2 && delivery_type == 'express') status.class_status = 2; //查看物流
- if (type == 2) status.class_status = 3; //确认收货
- if (type == 4 || type == 0) status.class_status = 4; //删除订单
- if (!seckill_id && !bargain_id && !combination_id && !discount_id && !orderInfo.type && (type == 3 ||
- type == 4)) status
- .class_status =
- 5; //再次购买
- this.$set(this, 'status', status);
- },
- /**
- * 去拼团详情
- *
- */
- goJoinPink: function () {
- uni.navigateTo({
- url: '/pages/activity/goods_combination_status/index?id=' + this.orderInfo.pink_id,
- });
- },
- /**
- * 再此购买
- *
- */
- goOrderConfirm: function () {
- let that = this;
- orderAgain(that.orderInfo.order_id).then(res => {
- return uni.navigateTo({
- url: '/pages/goods/order_confirm/index?new=1&cartId=' + res.data.cateId
- });
- }).catch(err => {
- return that.$util.Tips({
- title: err
- });
- })
- },
- confirmOrder(orderId) {
- let that = this;
- uni.showModal({
- title: that.$t(`确认收货`),
- content: that.$t(`为保障权益,请收到货确认无误后,再确认收货`),
- success: function (res) {
- if (res.confirm) {
- orderTake(orderId ? orderId : that.order_id).then(res => {
- return that.$util.Tips({
- title: that.$t(`操作成功`),
- icon: 'success'
- }, function () {
- that.getOrderInfo();
- });
- }).catch(err => {
- return that.$util.Tips({
- title: err
- });
- })
- }
- }
- })
- },
- /**
- *
- * 删除订单
- */
- delOrder() {
- let that = this;
- uni.showModal({
- title: this.$t(`删除订单`),
- content: this.$t(`确定删除该订单`),
- success: (res) => {
- if (res.confirm) {
- (that.isReturen ? refundOrderDel : orderDel)(that.order_id).then(res => {
- if (that.status.type == -2) {
- return that.$util.Tips({
- title: that.$t(`删除成功`),
- icon: 'success'
- }, {
- tab: 5,
- url: '/pages/users/user_return_list/index'
- });
- } else {
- return that.$util.Tips({
- title: that.$t(`删除成功`),
- icon: 'success'
- }, {
- tab: 5,
- url: '/pages/goods/order_list/index'
- });
- }
- }).catch(err => {
- return that.$util.Tips({
- title: err
- });
- });
- } else if (res.cancel) {
- return that.$util.Tips({
- title: that.$t(`已取消`)
- });
- }
- }
- });
- },
- cancelOrder() {
- let self = this
- uni.showModal({
- title: this.$t(`提示`),
- content: this.$t(`确认取消该订单`),
- success: function (res) {
- if (res.confirm) {
- orderCancel(self.orderInfo.order_id)
- .then((data) => {
- // #ifndef MP
- self.$util.Tips({
- title: data.msg
- }, {
- tab: 3
- })
- // #endif
- // #ifdef MP
- self.$util.Tips({
- title: data.msg
- }, '/pages/goods/order_list/index');
- // #endif
- })
- .catch(() => {
- self.getOrderInfo();
- });
- } else if (res.cancel) {
- }
- }
- });
- },
- }
- }
- </script>
- <style scoped lang="scss">
- .refund-tip {
- font-size: 24rpx;
- margin-top: 10rpx;
- color: var(--view-theme);
- .iconfont {
- font-size: 24rpx;
- margin-right: 6rpx;
- }
- }
- .refund-tip1 {
- font-size: 24rpx;
- color: var(--view-theme);
- .iconfont {
- font-size: 24rpx;
- margin-right: 6rpx;
- }
- }
- .qs-btn {
- width: auto;
- height: 60rpx;
- text-align: center;
- line-height: 60rpx;
- border-radius: 50rpx;
- font-size: 27rpx;
- padding: 0 3%;
- color: #666;
- border: 1px solid #ccc;
- margin-right: 20rpx;
- }
- .refund-input {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- border-radius: 16rpx 16rpx 0 0;
- background-color: #fff;
- z-index: 99;
- padding: 40rpx 0 70rpx 0;
- transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
- transform: translate3d(0, 100%, 0);
- .refund-input-title {
- font-size: 32rpx;
- margin-bottom: 60rpx;
- color: #282828;
- }
- .refund-input-sty {
- border: 1px solid #ddd;
- padding: 20rpx 20rpx;
- border-radius: 40rpx;
- width: 100%;
- margin: 20rpx 65rpx;
- }
- .input-msg {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- position: relative;
- margin: 0 65rpx;
- .iconfont {
- position: absolute;
- font-size: 32rpx;
- color: #282828;
- top: 8rpx;
- right: -30rpx;
- }
- }
- .refund-bth {
- display: flex;
- margin: 0 65rpx;
- margin-top: 20rpx;
- justify-content: space-around;
- width: 100%;
- .close-refund {
- padding: 24rpx 80rpx;
- border-radius: 80rpx;
- color: #fff;
- background-color: #ccc;
- }
- .submit-refund {
- width: 100%;
- padding: 24rpx 0rpx;
- text-align: center;
- border-radius: 80rpx;
- color: #fff;
- background-color: var(--view-theme);
- }
- }
- }
- .refund-input.on {
- transform: translate3d(0, 0, 0);
- }
- .goodCall {
- color: var(--view-theme);
- text-align: center;
- width: 100%;
- height: 86rpx;
- padding: 0 30rpx;
- border-top: 1rpx solid #eee;
- font-size: 30rpx;
- line-height: 86rpx;
- background: #fff;
- .icon-kefu {
- font-size: 36rpx;
- margin-right: 15rpx;
- }
- /* #ifdef MP */
- button {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 86rpx;
- font-size: 30rpx;
- color: var(--view-theme);
- }
- /* #endif */
- }
- .order-details .header {
- padding: 0 30rpx;
- height: 150rpx;
- display: flex;
- align-items: center;
- flex-wrap: nowrap;
- }
- .order-details .header.on {
- background-color: #666 !important;
- }
- .order-details .header .pictrue {
- width: 110rpx;
- height: 110rpx;
- }
- .order-details .header .pictrue image {
- width: 100%;
- height: 100%;
- }
- .order-details .header .data {
- color: rgba(255, 255, 255, 0.8);
- font-size: 24rpx;
- margin-left: 27rpx;
- }
- .order-details .header .data.on {
- margin-left: 0;
- }
- .order-details .header .data .state {
- font-size: 30rpx;
- font-weight: bold;
- color: #fff;
- margin-bottom: 7rpx;
- }
- .order-details .header .data .time {
- margin-left: 20rpx;
- }
- .order-details .nav {
- background-color: #fff;
- font-size: 26rpx;
- color: #282828;
- padding: 25rpx 0;
- }
- .order-details .nav .navCon {
- padding: 0 40rpx;
- }
- .order-details .nav .on {
- color: var(--view-theme);
- }
- .order-details .nav .progress {
- padding: 0 65rpx;
- margin-top: 10rpx;
- }
- .order-details .nav .progress .line {
- width: 100rpx;
- height: 2rpx;
- background-color: #939390;
- }
- .order-details .nav .progress .iconfont {
- font-size: 25rpx;
- color: #939390;
- margin-top: -2rpx;
- }
- .order-details .address {
- font-size: 26rpx;
- color: #868686;
- background-color: #fff;
- margin-top: 13rpx;
- padding: 35rpx 30rpx;
- margin-bottom: 12rpx;
- }
- .order-details .address .name {
- font-size: 30rpx;
- color: #282828;
- margin-bottom: 15rpx;
- }
- .order-details .address .name .phone {
- margin-left: 40rpx;
- }
- .order-details .line {
- width: 100%;
- height: 3rpx;
- }
- .order-details .line image {
- width: 100%;
- height: 100%;
- display: block;
- }
- .order-details .wrapper {
- background-color: #fff;
- margin-top: 12rpx;
- padding: 30rpx;
- }
- .order-details .wrapper .acea-row {
- display: flex;
- flex-wrap: nowrap;
- }
- .order-details .wrapper .item {
- font-size: 28rpx;
- color: #282828;
- }
- .order-details .wrapper .item~.item {
- margin-top: 20rpx;
- white-space: normal;
- word-break: break-all;
- word-wrap: break-word;
- }
- .order-details .wrapper .item .conter {
- color: #868686;
- width: 380srpx;
- display: flex;
- flex-wrap: nowrap;
- justify-content: flex-end;
- }
- .order-details .wrapper .item .conter .copy {
- font-size: 20rpx;
- color: #333;
- border-radius: 3rpx;
- border: 1rpx solid #666;
- padding: 3rpx 15rpx;
- margin-left: 24rpx;
- white-space: nowrap;
- }
- .order-details .wrapper .actualPay {
- border-top: 1rpx solid #eee;
- margin-top: 30rpx;
- padding-top: 30rpx;
- display: flex;
- align-items: center;
- .pay-people {
- display: flex;
- align-items: center;
- image {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- }
- .pay-nickname {
- margin-right: 20rpx;
- padding: 0 10rpx;
- }
- }
- }
- .order-details .wrapper .actualPay .money {
- font-weight: bold;
- font-size: 30rpx;
- }
- .order-details .footer {
- width: 100%;
- height: 100rpx;
- position: fixed;
- bottom: 0;
- left: 0;
- background-color: #fff;
- padding: 0 30rpx;
- box-sizing: border-box;
- .more {
- position: absolute;
- left: 30rpx;
- font-size: 26rpx;
- color: #333;
- .icon-xiangshang {
- margin-left: 6rpx;
- font-size: 22rpx;
- }
- }
- .more-box {
- color: #333;
- position: absolute;
- left: 30rpx;
- bottom: 110rpx;
- background-color: #fff;
- padding: 18rpx 24rpx;
- border-radius: 4rpx;
- font-size: 28rpx;
- -webkit-box-shadow: 0px 0px 3px 0px rgba(200, 200, 200, 0.75);
- -moz-box-shadow: 0px 0px 3px 0px rgba(200, 200, 200, 0.75);
- box-shadow: 0px 0px 3px 0px rgba(200, 200, 200, 0.75);
- .more-btn {
- color: #333;
- padding: 4rpx;
- z-index: 9999;
- }
- }
- .more-box:before {
- content: "";
- width: 0rpx;
- height: 0rpx;
- border-top: 20rpx solid rgba(200, 200, 200, 0.4);
- border-bottom: 0rpx solid transparent;
- border-top: 20rpx solid rgba(200, 200, 200, 0.4);
- border-left: 20rpx solid rgba(0, 0, 0, 0);
- border-right: 20rpx solid rgba(0, 0, 0, 0);
- position: absolute;
- bottom: -20rpx;
- left: 20rpx;
- }
- .more-box::after {
- content: "";
- width: 0rpx;
- height: 0rpx;
- border-top: 20rpx solid #fff;
- border-bottom: 0rpx solid rgba(0, 0, 0, 0);
- border-left: 20rpx solid rgba(0, 0, 0, 0);
- border-right: 20rpx solid rgba(0, 0, 0, 0);
- position: absolute;
- bottom: -18rpx;
- left: 20rpx;
- z-index: 9;
- }
- }
- .order-details .footer .bnt {
- width: 200rpx;
- height: 60rpx;
- text-align: center;
- line-height: 60rpx;
- border-radius: 50rpx;
- color: #fff;
- font-size: 27rpx;
- }
- .order-details .footer .bnt.refundBnt {
- width: 210rpx;
- }
- .order-details .footer .bnt.cancel {
- color: #666;
- border: 1rpx solid #ccc;
- }
- .order-details .footer .bnt~.bnt {
- margin-left: 18rpx;
- }
- .order-details .writeOff {
- background-color: #fff;
- margin-top: 13rpx;
- padding-bottom: 30rpx;
- }
- .order-details .writeOff .title {
- font-size: 30rpx;
- color: #282828;
- height: 87rpx;
- border-bottom: 1px solid #f0f0f0;
- padding: 0 30rpx;
- line-height: 87rpx;
- }
- .order-details .writeOff .grayBg {
- background-color: #f2f5f7;
- width: 590rpx;
- height: 384rpx;
- border-radius: 20rpx 20rpx 0 0;
- margin: 50rpx auto 0 auto;
- padding-top: 55rpx;
- position: relative;
- }
- .order-details .writeOff .grayBg .written {
- position: absolute;
- top: 0;
- right: 0;
- width: 60rpx;
- height: 60rpx;
- }
- .order-details .writeOff .grayBg .written image {
- width: 100%;
- height: 100%;
- }
- .order-details .writeOff .grayBg .pictrue {
- width: 290rpx;
- height: 290rpx;
- margin: 0 auto;
- }
- .order-details .writeOff .grayBg .pictrue image {
- width: 100%;
- height: 100%;
- display: block;
- }
- .order-details .writeOff .gear {
- width: 590rpx;
- height: 30rpx;
- margin: 0 auto;
- }
- .order-details .writeOff .gear image {
- width: 100%;
- height: 100%;
- display: block;
- }
- .order-details .writeOff .num {
- background-color: #f0c34c;
- width: 590rpx;
- height: 84rpx;
- color: #282828;
- font-size: 48rpx;
- margin: 0 auto;
- border-radius: 0 0 20rpx 20rpx;
- text-align: center;
- padding-top: 4rpx;
- }
- .order-details .writeOff .rules {
- margin: 46rpx 30rpx 0 30rpx;
- border-top: 1px solid #f0f0f0;
- padding-top: 10rpx;
- }
- .order-details .writeOff .rules .item {
- margin-top: 20rpx;
- }
- .order-details .writeOff .rules .item .rulesTitle {
- font-size: 28rpx;
- color: #282828;
- }
- .order-details .writeOff .rules .item .rulesTitle .iconfont {
- font-size: 30rpx;
- color: #333;
- margin-right: 8rpx;
- margin-top: 5rpx;
- }
- .order-details .writeOff .rules .item .info {
- font-size: 28rpx;
- color: #999;
- margin-top: 7rpx;
- }
- .order-details .writeOff .rules .item .info .time {
- margin-left: 20rpx;
- }
- .order-details .map {
- height: 86rpx;
- font-size: 30rpx;
- color: #282828;
- line-height: 86rpx;
- border-bottom: 1px solid #f0f0f0;
- margin-top: 13rpx;
- background-color: #fff;
- padding: 0 30rpx;
- }
- .order-details .map .place {
- font-size: 26rpx;
- // width: 176rpx;
- height: 50rpx;
- border-radius: 25rpx;
- line-height: 50rpx;
- text-align: center;
- padding: 0 10rpx;
- }
- .order-details .map .place .iconfont {
- font-size: 27rpx;
- height: 27rpx;
- line-height: 27rpx;
- margin: 2rpx 3rpx 0 0;
- }
- .order-details .address .name .iconfont {
- font-size: 34rpx;
- margin-left: 10rpx;
- }
- .refund {
- padding: 0 30rpx 30rpx;
- margin: 12rpx 0;
- background-color: #fff;
- .title {
- display: flex;
- align-items: center;
- font-size: 30rpx;
- color: #333;
- height: 86rpx;
- border-bottom: 1px solid #f5f5f5;
- image {
- width: 32rpx;
- height: 32rpx;
- margin-right: 10rpx;
- }
- }
- .con {
- padding-top: 25rpx;
- font-size: 28rpx;
- color: #868686;
- }
- }
- </style>
- <style scoped lang="scss">
- .invoice-mask {
- background-color: #999999;
- opacity: 1;
- }
- .more-mask {
- background-color: #fff;
- opacity: 0;
- left: 300rpx;
- }
- .goodCall {
- color: var(--view-theme);
- text-align: center;
- width: 100%;
- height: 86rpx;
- padding: 0 30rpx;
- border-bottom: 1rpx solid #eee;
- font-size: 30rpx;
- line-height: 86rpx;
- background: #fff;
- .icon-kefu {
- font-size: 36rpx;
- margin-right: 15rpx;
- }
- /* #ifdef MP */
- button {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 86rpx;
- font-size: 30rpx;
- color: var(--view-theme);
- }
- /* #endif */
- }
- .order-details .header {
- padding: 0 30rpx;
- height: 150rpx;
- }
- .order-details .header.on {
- background-color: #666 !important;
- }
- .order-details .header .pictrue {
- width: 110rpx;
- height: 110rpx;
- }
- .order-details .header .pictrue image {
- width: 100%;
- height: 100%;
- }
- .order-details .header .data {
- color: rgba(255, 255, 255, 0.8);
- font-size: 24rpx;
- margin-left: 27rpx;
- }
- .order-details .header .data.on {
- margin-left: 0;
- }
- .order-details .header .data .state {
- font-size: 30rpx;
- font-weight: bold;
- color: #fff;
- margin-bottom: 7rpx;
- }
- .order-details .header .data .time {
- margin-left: 20rpx;
- }
- .order-details .nav {
- background-color: #fff;
- font-size: 26rpx;
- color: #282828;
- padding: 25rpx 0;
- }
- .order-details .nav .navCon {
- padding: 0 40rpx;
- }
- .order-details .nav .on {
- color: var(--view-theme);
- }
- .order-details .nav .progress {
- padding: 0 65rpx;
- margin-top: 10rpx;
- }
- .order-details .nav .progress .line {
- width: 100rpx;
- height: 2rpx;
- background-color: #939390;
- }
- .order-details .nav .progress .iconfont {
- font-size: 25rpx;
- color: #939390;
- margin-top: -2rpx;
- }
- .order-details .address {
- font-size: 26rpx;
- color: #868686;
- background-color: #fff;
- margin-top: 13rpx;
- padding: 35rpx 30rpx;
- }
- .order-details .address .name {
- font-size: 30rpx;
- color: #282828;
- margin-bottom: 15rpx;
- }
- .order-details .address .name .phone {
- margin-left: 40rpx;
- }
- .order-details .line {
- width: 100%;
- height: 3rpx;
- }
- .order-details .line image {
- width: 100%;
- height: 100%;
- display: block;
- }
- .order-details .wrapper {
- background-color: #fff;
- margin-top: 12rpx;
- padding: 30rpx;
- }
- .order-details .wrapper .item {
- font-size: 28rpx;
- color: #282828;
- }
- .order-details .wrapper .item~.item {
- margin-top: 20rpx;
- }
- .order-details .wrapper .item .conter {
- color: #868686;
- width: 380rpx;
- text-align: justify;
- }
- .order-details .wrapper .item .conter .copy {
- font-size: 20rpx;
- color: #333;
- border-radius: 3rpx;
- border: 1rpx solid #666;
- padding: 3rpx 15rpx;
- margin-left: 24rpx;
- }
- .order-details .wrapper .actualPay {
- border-top: 1rpx solid #eee;
- margin-top: 30rpx;
- padding-top: 30rpx;
- }
- .order-details .wrapper .actualPay .money {
- font-weight: bold;
- font-size: 30rpx;
- }
- .order-details .footer {
- width: 100%;
- height: 100rpx;
- position: fixed;
- bottom: 0;
- left: 0;
- background-color: #fff;
- padding: 0 30rpx;
- box-sizing: border-box;
- }
- .order-details .footer .bnt {
- width: 160rpx;
- height: 60rpx;
- text-align: center;
- line-height: 60rpx;
- border-radius: 50rpx;
- color: #fff;
- font-size: 27rpx;
- }
- .order-details .footer .bnt~.bnt {
- margin-left: 18rpx;
- }
- .order-details .writeOff {
- background-color: #fff;
- margin-top: 13rpx;
- padding-bottom: 30rpx;
- }
- .order-details .writeOff .title {
- font-size: 30rpx;
- color: #282828;
- height: 87rpx;
- border-bottom: 1px solid #f0f0f0;
- padding: 0 30rpx;
- line-height: 87rpx;
- }
- .order-details .writeOff .grayBg {
- background-color: #f2f5f7;
- width: 590rpx;
- height: 384rpx;
- border-radius: 20rpx 20rpx 0 0;
- margin: 50rpx auto 0 auto;
- padding-top: 55rpx;
- position: relative;
- }
- .order-details .writeOff .grayBg .written {
- position: absolute;
- top: 0;
- right: 0;
- width: 60rpx;
- height: 60rpx;
- }
- .order-details .writeOff .grayBg .written image {
- width: 100%;
- height: 100%;
- }
- .order-details .writeOff .grayBg .pictrue {
- width: 290rpx;
- height: 290rpx;
- margin: 0 auto;
- }
- .order-details .writeOff .grayBg .pictrue image {
- width: 100%;
- height: 100%;
- display: block;
- }
- .order-details .writeOff .gear {
- width: 590rpx;
- height: 30rpx;
- margin: 0 auto;
- }
- .order-details .writeOff .gear image {
- width: 100%;
- height: 100%;
- display: block;
- }
- .order-details .writeOff .num {
- background-color: #f0c34c;
- width: 590rpx;
- height: 84rpx;
- color: #282828;
- font-size: 48rpx;
- margin: 0 auto;
- border-radius: 0 0 20rpx 20rpx;
- text-align: center;
- padding-top: 4rpx;
- }
- .order-details .writeOff .rules {
- margin: 46rpx 30rpx 0 30rpx;
- border-top: 1px solid #f0f0f0;
- padding-top: 10rpx;
- }
- .order-details .writeOff .rules .item {
- margin-top: 20rpx;
- }
- .order-details .writeOff .rules .item .rulesTitle {
- font-size: 28rpx;
- color: #282828;
- }
- .order-details .writeOff .rules .item .rulesTitle .iconfont {
- font-size: 30rpx;
- color: #333;
- margin-right: 8rpx;
- margin-top: 5rpx;
- }
- .order-details .writeOff .rules .item .info {
- font-size: 28rpx;
- color: #999;
- margin-top: 7rpx;
- }
- .order-details .writeOff .rules .item .info .time {
- margin-left: 20rpx;
- }
- .order-details .map {
- height: 86rpx;
- font-size: 30rpx;
- color: #282828;
- line-height: 86rpx;
- border-bottom: 1px solid #f0f0f0;
- margin-top: 13rpx;
- background-color: #fff;
- padding: 0 30rpx;
- }
- .order-details .map .place {
- font-size: 26rpx;
- // width: 176rpx;
- height: 50rpx;
- border-radius: 25rpx;
- line-height: 50rpx;
- text-align: center;
- }
- .order-details .map .place .iconfont {
- font-size: 27rpx;
- height: 27rpx;
- line-height: 27rpx;
- margin: 2rpx 3rpx 0 0;
- }
- .order-details .address .name .iconfont {
- font-size: 34rpx;
- margin-left: 10rpx;
- }
- .refund {
- padding: 0 30rpx 30rpx;
- margin: 12rpx 0;
- background-color: #fff;
- .title {
- display: flex;
- align-items: center;
- font-size: 30rpx;
- color: #333;
- height: 86rpx;
- border-bottom: 1px solid #f5f5f5;
- image {
- width: 32rpx;
- height: 32rpx;
- margin-right: 10rpx;
- }
- }
- .con {
- padding-top: 25rpx;
- font-size: 28rpx;
- color: #868686;
- }
- }
- .refund-msg {
- background-color: #fff;
- padding: 20rpx 40rpx;
- font-size: 28rpx;
- .refund-msg-user {
- font-weight: bold;
- margin-bottom: 10rpx;
- .copy-refund-msg {
- font-size: 10px;
- border-radius: 1px;
- border: 0.5px solid #666;
- padding: 1px 7px;
- margin-left: 12px;
- }
- .name {
- margin-right: 20rpx;
- }
- }
- .refund-address {
- color: #868686;
- }
- }
- .upload .pictrue {
- display: inline-block;
- margin: 22rpx 17rpx 20rpx 0;
- width: 156rpx;
- height: 156rpx;
- color: #bbb;
- }
- .upload .pictrue image {
- width: 100%;
- height: 100%;
- }
- </style>
|