123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906 |
- <!-- 退款详情页面 -->
- <template>
- <scroll-view class="container" scroll-y v-if="allData && isShow">
- <view class="main_content">
- <!--
- 退货退款状态:100-买家申请仅退款;101-买家申请退货退款;102-买家退货给商家;200-商家同意退款申请;201-商家同意退货退款申请;202-商家拒绝退款申请(退款关闭/拒收关闭);203-商家确认收货;300-平台确认退款(已完成)
- afsType 售后服务端类型,1-退货退款单(需关联处理退款金额),2-换货单,3-仅退款单
- -->
- <!-- 退款状态 start -->
- <view class="order_state" :style="{backgroundImage:'url('+imgUrl+'order-detail/refund_header_bg.png)'}">
- <!-- 等待商家处理 待发货 - 退款中 start-->
- <block v-if="allData.state == 100 || allData.state == 101">
- <view class="state_title">
- <image :src="imgUrl+'order-detail/refund_progress.png'" mode=""></image>
- <text>{{$L('等待商家处理')}}</text>
- </view>
- <view class="state_time" v-if="deadline">{{$L('还剩')}}{{deadline}}{{$L('自动确认')}}</view>
- </block>
- <!-- 等待商家处理 待发货 - 退款中 end-->
- <!-- 等待商家收货 start-->
- <block v-if="allData.state == 102">
- <view class="state_title">
- <image :src="imgUrl+'order-detail/refund_progress.png'" mode=""></image>
- <text>{{$L('等待商家收货')}}</text>
- </view>
- <view class="state_time" v-if="deadline">{{$L('还剩')}}{{deadline}}{{$L('自动确认')}}</view>
- </block>
- <!-- 等待商家收货 end-->
- <!-- 商家同意退款申请 start-->
- <block v-if="allData.state == 200">
- <view class="state_title">
- <image :src="imgUrl+'order-detail/refund_progress.png'" mode=""></image>
- <text>{{$L('等待平台审核退款')}}</text>
- </view>
- </block>
- <!-- 商家同意退款申请 end-->
- <!-- 卖家同意申请 start -->
- <block v-if="allData.state == 201">
- <view class="state_title">
- <image :src="imgUrl+'order-detail/refund_progress.png'" mode=""></image>
- <text>{{allData.stateValue}}</text>
- <text>{{$L('请退货并填写物流信息')}}</text>
- </view>
- <view class="state_time" v-if="deadline">{{$L('还剩')}}{{deadline}}{{$L('自动确认')}}</view>
- </block>
- <!-- 卖家同意申请 end-->
- <!-- 卖家拒绝申请 start-->
- <block v-if="allData.state == 202">
- <view class="state_title">
- <image :src="imgUrl+'goods_detail/poster_share_close.png'" mode=""></image>
- <text>{{allData.stateValue}}</text>
- </view>
- <view class="state_time refund_reason" v-if="allData.refuseReason">{{allData.refuseReason}}</view>
- </block>
- <!-- 卖家拒绝申请 end-->
- <!-- 商家确认收货 等待平台同意 start-->
- <block v-if="allData.state == 203">
- <view class="state_title">
- <image :src="imgUrl+'goods_detail/refund_progress.png'" mode=""></image>
- <text>{{allData.stateValue}}</text>
- </view>
- </block>
- <!-- 商家确认收货 end-->
- <!-- 退款退货 退款成功 -->
- <block v-if="allData.state == 300">
- <view class="state_title">
- <image :src="imgUrl+'order-detail/dagou.png'" mode=""></image>
- <text>{{$L('退款成功')}}</text>
- </view>
- <view class="state_time" v-if="allData.completeTime">{{allData.completeTime}}</view>
- </block>
- </view>
- <!-- 退款状态 end -->
- <!-- 退货地址 及 换货地址 -->
- <view class="refund_address" v-if="allData.afsAddress && allData.afsAddress != 'null' && (allData.afsType == 1 || allData.afsType == 2)">
- <image :src="imgUrl+'order-detail/map.png'" mode="" class="refund_address_map"></image>
- <view class="refund_address_des">
- <text class="refund_address_title">{{sourceType == '' ? '退' : '换'}}{{$L('货地址')}}</text>
- <view class="refund_address_con">
- <text>{{allData.platformContactPerson}}</text>
- <text>{{allData.platformContactPhone}}</text>
- </view>
- <view class="refund_address_info">{{allData.afsAddress}}</view>
- </view>
- </view>
- <!-- 退款 退款金额 start -->
- <view class="refund_amount" v-if="allData.afsType == 1 || allData.afsType == 3 || sourceType == ''">
- <view class="refund_amount_left">{{$L('退款金额')}}</view>
- <view class="refund_amout_right">
- <text class="sum">{{$L('总计')}}:</text>
- <view class="refund_amout_price">
- <text class="unit">¥</text>
- <text class="price_int">{{$getPartNumber(allData.returnMoneyAmount,'int')}}</text>
- <text class="price_decimal">{{$getPartNumber(allData.returnMoneyAmount,'decimal')}}</text>
- </view>
- </view>
- </view>
- <!-- 退款 退款金额 end -->
- <!-- 换货 换货数量 start -->
- <view class="refund_amount" v-if="allData.afsType == 2 || sourceType == 'exchange'">
- <view class="refund_amount_left">{{$L('换货数量')}}</view>
- <view class="refund_amout_right">
- <view class="refund_amout_price">
- <text>{{replacementNum}}</text>
- </view>
- </view>
- </view>
- <!-- 换货 换货数量 end -->
- <view class="speed_det" @click="progressDetails">
- <text>{{$L('进度详情')}}</text>
- <image :src="imgUrl+'order-detail/to_right.png'" mode=""></image>
- </view>
- <!-- 平台审核 及审核备注 start -->
- <view class="platform_audit" v-if="allData.state == 200 || allData.state == 203 || allData.state == 300">
- <view class="platform_audit_status">
- <text>{{$L('平台审核')}}</text>
- <text>{{allData.platformAudit ? allData.platformAudit : '--'}}</text>
- </view>
- <view class="platform_audit_remark">
- <text>{{$L('审核备注')}}</text>
- <text>{{allData.platformRemark ? allData.platformRemark : '--'}}</text>
- </view>
- </view>
- <!-- 平台审核 及审核备注 end -->
- <!-- 填写物流单号 start 201商家审核通过,才能发货-->
- <view class="logistics_bill" v-if="(allData.afsType == 1 || allData.afsType == 2) && allData.state == 201">
- <text @click="goLogisticsBill">{{$L('填写物流单号')}} >></text>
- </view>
- <!-- 填写物流单号 end -->
- <!-- 退款失败,平台拒绝审核,重新申请 202 start -->
- <view class="logistics_bill" v-if="(allData.afsType == 1 || allData.afsType == 3) && allData.state == 202">
- <text @click="goApplyRefund" class="re_apply_refund">{{$L('重新申请')}}</text>
- </view>
- <!-- 退款失败,平台拒绝审核,重新申请 start -->
- <!-- 等待商家收货并退款 -->
- <view class="refund_logisticsBill" @click="lookLogistics" v-if="allData.afsType == 1 && (allData.state == 102 || allData.state == 203 || allData.state == 300)">
- <text>{{$L('退货物流')}}</text>
- <image :src="imgUrl+'order-detail/to_right.png'" mode=""></image>
- </view>
- <!-- 订单内商品信息 start -->
- <view class="order_goods">
- <view class="order_goods_title">{{$L('退款信息')}}</view>
- <view class="goods_list">
- <view class="goods_pre" @click="goProductDetail(allData.productId)">
- <view class="goods_image">
- <image :src="allData.productImage" mode="aspectFit"></image>
- </view>
- <view class="goods_pre_right">
- <view class="goods_des">
- <view class="goods_name">{{allData.goodsName}}</view>
- <view class="goods_spec" v-if="allData.specValues">{{allData.specValues}}</view>
- </view>
- <view class="goods_prices">
- <view class="goods_price">
- <text class="unit">¥</text>
- <text class="price_int">{{$getPartNumber(allData.productPrice,'int')}}</text>
- <text class="price_decimal">{{$getPartNumber(allData.productPrice,'decimal')}}</text>
- </view>
- <view class="goods_num">*{{allData.returnNum}}</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 订单内商品信息 end -->
- <!-- 退款信息 start-->
- <view class="order_des">
- <view class="order_des_pre">
- <text>{{$L('退款原因')}}:</text>
- <text>{{allData.applyReasonContent}}</text>
- </view>
- <view class="order_des_pre">
- <text style="white-space: nowrap;">{{$L('退款说明')}}:</text>
- <text>{{allData.afsDescription==''?'--':allData.afsDescription}}</text>
- </view>
- <view class="refund_voucher" v-if="applyImageList && applyImageList.length > 0">
- <text>{{$L('退款凭证')}}:</text>
- <view class="refund_img_wrap">
- <view class="refund_vouhcer_list">
- <view class="refund_voucher_pre" v-for="(item,index) in applyImageList">
- <image :src="item" mode="aspectFit" @click="preRefundVoucher(index)"></image>
- </view>
- </view>
- </view>
- </view>
- <view class="order_des_pre">
- <text>{{$L('退款金额')}}:</text>
- <text>¥{{allData.returnMoneyAmount}}</text>
- </view>
- <view class="order_des_pre">
- <text>{{$L('申请时间')}}:</text>
- <text>{{allData.applyTime}}</text>
- </view>
- <view class="order_des_pre">
- <text>{{$L('退款编号')}}:</text>
- <text>{{allData.afsSn}}</text>
- </view>
- </view>
- <!-- 退款信息 end-->
- </view>
- </scroll-view>
- </template>
- <script>
- import {
- mapState
- } from 'vuex';
- import recommendGoods from "@/components/recommend-goods.vue";
- import uniPopup from '@/components/uni-popup/uni-popup.vue';
- import uniPopupMessage from '@/components/uni-popup/uni-popup-message.vue';
- import uniPopupDialog from '@/components/uni-popup/uni-popup-dialog.vue';
- let startY = 0,
- moveY = 0,
- pageAtTop = true;
- export default {
- components: {
- recommendGoods,
- uniPopup,
- uniPopupMessage,
- uniPopupDialog
- },
- data() {
- return {
- imgUrl: getApp().globalData.imgUrl,
- coverTransform: 'translateY(0px)',
- coverTransition: '0s',
- moving: false,
- afsSn:'', //退款单号
- allData:{}, //订单详细信息
- orderProductList:[], //订单商品列表
- cancelList:[], //取消原因列表
- current:'0', //取消原因当前点击的是第0项
- reasonId:-1, //取消原因当前点击的原因id
- sourceType:'', //从订单详情页面进入, 来源是换货 :'exchange' 或退货 :''
- deadline:'', //截止日期(根据售后状态,待卖家审核--审核截止时间;待买家发货--发货截止时间;待商家收货--收货退款截止时间)
- isShow:false, //数据是否已完全加载
- orderState:'', //订单状态来源
- applyImageList:[], //退款凭证
- returnLogList:[], //退款日志列表
- secInterval:'',
- }
- },
- async onLoad(option) {
- //退款单号
- this.afsSn = option.afsSn;
- this.sourceType = option.sourceType;
- this.orderState = option.orderState;
- this.getOrderDetail();
- },
- // #ifndef MP
- onNavigationBarButtonTap(e) {
- const index = e.index;
- if (index === 0) {
- this.navTo('/pages/set/set');
- } else if (index === 1) {
- // #ifdef APP-PLUS
- const pages = getCurrentPages();
- const page = pages[pages.length - 1];
- const currentWebview = page.$getAppWebview();
- currentWebview.hideTitleNViewButtonRedDot({
- index
- });
- // #endif
- uni.navigateTo({
- url: '/pages/notice/notice'
- })
- }
- },
- // #endif
- computed: {
- ...mapState(['hasLogin', 'userCenterData'])
- },
- methods: {
- navTo(url) {
- if (!this.hasLogin) {
- url = '/pages/public/login';
- }
- uni.navigateTo({
- url
- })
- },
- //获取订单详情信息
- getOrderDetail(){
- let that = this;
- let param = {};
- param.url = that.sourceType == 'exchange' ? 'v1/front/member/afterSale/replacementDetail' : 'v3/business/front/after/sale/detail'; //获取退货详情接口
- param.method = 'GET';
- param.data = {};
- param.data.afsSn = that.afsSn;
- that.$request(param).then(res => {
- if (res.state == 200) {
- let result = res.data;
- that.orderProductList = result.orderProductList;
- that.applyImageList = result.applyImageList;
- that.returnLogList = result.returnLogList;
- that.allData = result || {};
- that.isShow = true;
- that.countup();
- } else {
- this.$api.msg(res.msg);
- }
- }).catch((e) => {
- //异常处理
- })
- },
- //计算时间差
- countup(){
- let that = this;
- let endTime = that.allData.deadline; //结束时间
- let endStrs = endTime.split(" ");
- let endTimeStamp = that.strtotime(endStrs[0],endStrs[1]); //结束时间时间戳(毫秒)
- that.countDown(endTimeStamp);
- },
- //倒计时
- countDown(endTimeStamp){
- let that = this;
- that.secInterval = setInterval(()=>{
- let currentTimestamp = new Date().getTime(); //当前时间时间戳 (毫秒数)
- let diffrentTimeStamp = endTimeStamp - currentTimestamp; //相差时间 毫秒数
- if(diffrentTimeStamp == 0){
- that.deadline = '';
- clearInterval(that.secInterval);
- that.getOrderDetail();
- }else if(diffrentTimeStamp > 0){
- //将时间戳转换为天,时,分,秒 并倒计时
- that.deadline = that.formatDuring(diffrentTimeStamp)
- }else{
- that.deadline = ''
- }
- },1000)
- },
- //将标准格式(2014-08-02 11:23:12)转化为时间戳 函数 参数:time_str为(2014-08-02) fix_time为(11:23:12)
- strtotime(time_str,fix_time){
- let time = (new Date()).getTime();
- if(time_str){
- let str = time_str.split('-');
- if(3 === str.length){
- let year = str[0] - 0;
- let month = str[1] - 0 - 1;
- var day = str[2] - 0;
- if(fix_time){
- let fix = fix_time.split(':');
- if(3 === fix.length){
- let hour = fix[0] - 0;
- let minute = fix[1] - 0;
- time = (new Date(year,month,day,hour,minute)).getTime();
- }
- }else{
- time = (new Date(year,month,day)).getTime();
- }
- }
- }
- return time;
- },
- //将时间戳转换为时分秒
- formatDuring(mss){
- let days = parseInt(mss / (1000 * 60 * 60 * 24));
- let hours = parseInt((mss % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
- let minutes = parseInt((mss % (1000 * 60 * 60)) / (1000 * 60));
- let seconds = ((mss % (1000 * 60)) / 1000).toFixed(0);
- if(days > 0){
- return days + " 天 " + hours + " 小时 " + minutes + " 分钟 ";
- }else if(hours > 0){
- return hours + " 小时 " + minutes + " 分钟 ";
- }else if(minutes > 1){
- return minutes + " 分钟 " ;
- }else{ //如果剩 1分钟之内就不让显示
- return ''
- }
- },
- //去填写物流单号页面
- goLogisticsBill(){
- uni.navigateTo({
- url:'/pages/order/logisticsBill?afsSn=' + this.afsSn
- })
- },
- //去查看物流页面
- lookLogistics(){
- uni.navigateTo({
- url:'/pages/order/lookLogistics?orderSn=' + this.allData.orderSn
- })
- },
- //去进度详情页面
- progressDetails(){
- uni.navigateTo({
- url:'/pages/order/progressDetail?afsSn='+this.afsSn
- })
- },
- //退款失败,重新申请退款
- goApplyRefund(){
- let that = this;
- if (that.orderState == 20) { //待发货直接进入申请退款页面
- uni.redirectTo({
- url:'/pages/order/applyRefund?orderProductId='+that.allData.orderProductId + '&sourceType=orderDetail'
- })
- } else if (that.orderState == 30 || that.orderState == 40) {
- //待收货和待评价进入到选择服务页面
- uni.redirectTo({
- url:'/pages/order/selectService?orderProductId='+that.allData.orderProductId + '&orderSn=' + that.allData.orderSn
- })
- }
- },
- // 退款凭证图片预览
- preRefundVoucher(index){
- uni.previewImage({
- current:this.applyImageList[index],
- urls:this.applyImageList
- })
- },
- //去商品详情页
- goProductDetail(productId){
- uni.navigateTo({
- url:'/pages/product/detail?productId=' + productId
- })
- }
- }
- }
- </script>
- <style lang='scss'>
- page {
- background: $bg-color-split;
- }
- .container {
- display: flex;
- flex: 1;
- height: 100vh;
- position: relative;
- background-color: #FFFFFF;
- width: 750rpx;
- margin: 0 auto;
- .main_content{
- width: 100%;
- .order_state{
- /* background: url('/static/order-detail/refund_bg.png') no-repeat; */
- background-repeat: no-repeat;
- background-size:750rpx 340rpx;
- height: 340rpx;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width: 100%;
- .state_title{
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- image{
- width: 45rpx;
- height: 45rpx;
- margin-right: 20rpx;
- }
- text{
- font-size: 38rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 32rpx;
- }
- }
- .await{
- margin-bottom: 139rpx;
- }
- .state_time{
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- line-height: 32rpx;
- margin: 22rpx 0 32rpx;
- }
- .refund_reason{
- width: 640rpx;
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- line-clamp: 2;
- -webkit-box-orient: vertical;
- margin-bottom: 0;
- }
- }
- .refund_address{
- display: flex;
- align-items: flex-end;
- border-bottom: 20rpx solid #F5F5F5;
- padding: 37rpx 0 37rpx 40rpx;
- box-sizing: border-box;
- .refund_address_map{
- width: 34rpx;
- height: 34rpx;
- margin-right: 30rpx;
- }
- .refund_address_des{
- display: flex;
- flex-direction: column;
- .refund_address_title{
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- line-height: 42rpx;
- }
- .refund_address_con{
- display: flex;
- align-items: center;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 45rpx;
- margin: 38rpx 0 29rpx;
- text:nth-child(2){
- color: #666666;
- margin-left: 40rpx;
- }
- }
- .refund_address_info{
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 42rpx;
- }
- }
- }
- .refund_amount{
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 100rpx;
- margin-left: 20rpx;
- padding-right: 20rpx;
- box-sizing: border-box;
- border-bottom: 1rpx solid #E6E6E6;
- .refund_amount_left{
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #343434;
- line-height: 45rpx;
- }
- .refund_amout_right{
- display: flex;
- align-items: center;
- .sum{
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #949494;
- line-height: 45rpx;
- }
- .refund_amout_price{
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FC1C1C;
- /* line-height: 45rpx; */
- display: inline-block;
- text:nth-child(2){
- font-size: 26rpx;
- }
- }
- }
- }
- .speed_det{
- display: flex;
- align-items: center;
- width: 100%;
- height: 100rpx;
- justify-content: space-between;
- padding: 0 20rpx;
- box-sizing: border-box;
- text{
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #343434;
- line-height: 45rpx;
- }
- image{
- width: 14rpx;
- height: 24rpx;
- }
- }
- .platform_audit{
- border-top: 20rpx solid #F5F5F5;
- .platform_audit_status{
- display: flex;
- justify-content: space-between;
- padding: 0 20rpx;
- height: 100rpx;
- align-items: center;
- text{
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #343434;
- line-height: 45rpx;
- }
- }
- .platform_audit_remark{
- display: flex;
- justify-content: space-between;
- padding-right: 20rpx;
- margin-left: 20rpx;
- height: 100rpx;
- align-items: center;
- border-top: 1rpx solid #E6E6E6;
- text{
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #343434;
- line-height: 45rpx;
- }
- text:nth-child(2){
- width: 560rpx;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- word-break: break-all;
- text-align: right;
- }
- }
- }
- .logistics_bill{
- padding: 30rpx 20rpx 30rpx 0;
- box-sizing: border-box;
- display: flex;
- justify-content: flex-end;
- margin-left: 20rpx;
- border-top: 1rpx solid #E6E6E6;
- text{
- width: 304rpx;
- height: 68rpx;
- background: #FFFFFF;
- border: 1rpx solid #FC1C1C;
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #F40903;
- line-height: 68rpx;
- text-align: center;
- border-radius: 34rpx;
- }
- .re_apply_refund{
- width: 176rpx;
- height: 60rpx;
- background: #FFFFFF;
- border: 1rpx solid #FC1C1C;
- border-radius: 30rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- .refund_logisticsBill{
- height: 100rpx;
- padding: 0 20rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-top: 20rpx solid #F5F5F5;
- text{
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #343434;
- line-height: 45rpx;
- }
- image{
- width: 14rpx;
- height: 24rpx;
- }
- }
- .order_goods{
- border-top: 20rpx solid #F5F5F5;
- .order_goods_title{
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #343434;
- line-height: 74rpx;
- padding-left: 20rpx;
- box-sizing: border-box;
- }
- .goods_list{
- padding-top: 20rpx;
- border-bottom: 1rpx dashed #F2F2F2;
- .goods_pre{
- display: flex;
- padding: 0 20rpx;
- box-sizing: border-box;
- margin-bottom: 22rpx;
- .goods_image{
- width: 200rpx;
- height: 200rpx;
- background: #F3F3F3;
- border-radius: 14px;
- image{
- width: 200rpx;
- height: 200rpx;
- border-radius: 14rpx;
- }
- }
- .goods_pre_right{
- display: flex;
- justify-content: space-between;
- width: 585rpx;
- .goods_des{
- margin-left: 25rpx;
- padding-top: 8rpx;
- box-sizing: border-box;
- .goods_name{
- width: 340rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #343434;
- line-height: 39rpx;
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .goods_spec{
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #949494;
- line-height: 30rpx;
- margin-top: 20rpx;
- }
- }
- .goods_prices{
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: flex-end;
- .goods_price{
- text{
- display: inline-block;
- font-family: PingFang SC;
- font-weight: 500;
- color: #343434;
- line-height: 30rpx;
- }
- .unit{
- font-size: 24rpx;
- }
- .price_int{
- font-size: 32rpx;
- }
- .price_decimal{
- font-size: 24rpx;
- }
- }
- .goods_num{
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #2D2D2D;
- line-height: 30rpx;
- }
- .refund_btn{
- padding: 12rpx 15rpx;
- box-sizing: border-box;
- border: 1rpx solid #2D2D2D;
- border-radius: 25rpx;
- font-size: 26rpx;
- line-height: 26rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #333333;
- margin-top: 22rpx;
- }
- }
- }
- }
- }
- }
- .order_des{
- box-sizing: border-box;
- margin-top: 30rpx;
- padding-bottom:60rpx;
- .order_des_pre{
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #9A9A9A;
- line-height: 24rpx;
- display: flex;
- margin-bottom: 30rpx;
- padding: 0 20rpx;
- box-sizing: border-box;
- text:nth-child(2){
- width: 560rpx;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- word-break: break-all;
- }
- }
- .refund_voucher{
- display: flex;
- margin-bottom: 30rpx;
- padding-left: 20rpx;
- text{
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #9A9A9A;
- line-height: 24rpx;
- display: flex;
- margin-bottom: 30rpx;
- }
- .refund_img_wrap{
- max-width: 600rpx;
- margin-right:20rpx;
- }
- .refund_vouhcer_list{
- max-width: 580rpx;
- padding-right: 20rpx;
- box-sizing: border-box;
- display: flex;
- flex-wrap: nowrap;
- overflow-x: auto;
- .refund_voucher_pre{
- width: 156rpx;
- height: 156rpx;
- margin-right: 10rpx;
- image{
- width: 156rpx;
- height: 156rpx;
- }
- }
- }
- }
- }
- .share_btn{
- width: 100%;
- height: 100rpx;
- background: #FFFFFF;
- border-top: 1rpx solid #EDEDED;
- display: flex;
- align-items: center;
- padding: 0 118rpx;
- box-sizing: border-box;
- justify-content: space-between;
- .share_btn_pre{
- display: flex;
- align-items: center;
- image{
- width: 28rpx;
- height: 28rpx;
- margin-right: 9rpx;
- }
- image:nth-of-type(2){
- width: 24rpx;
- height: 29rpx;
- }
- text{
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 24rpx;
- }
- }
- }
- }
- }
- </style>
|