<template>
	<view class="box">
	
		<!-- 自定义导航 -->
		<!-- <view class="zdyNavBox">
			<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
			<view class="zdyNav">
				<view class="zdyNavLeft">
					<image src="../../../static/img/nav_icon_back.png" mode="aspectFit" class="backImg" @click="goback"></image>
					<image src="../../../static/img/nav_icon_home.png" mode="" class="homeImg" @click="gohome"></image>
				</view>
				<view class="zdyNavTitle">订单详情</view>
				<view style="width: 100px;"></view>
			</view>
		</view>
		<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
		<view style="height: 44px;"></view> -->
		<homenav :iStatusBarHeight="iStatusBarHeight" :title="'订单详情'" :cj="3"></homenav>
		<view class="shuaxin" v-if="orderData.data.sheetState == 1 &&sx" @click="shuaxinFn">
			如果支付状态未及时更新，请点击 <span style="color: #3F90F7;">刷新</span> 
		</view>
		<view class="topBox">
			<view class="top" >
				<view class="orderState">
					<view class="SheetState" v-if="orderData.data.sheetState == 1">待付款</view>
					<view class="SheetState" v-if="orderData.data.sheetState == 2">待服务</view>
					<view class="SheetState" v-if="orderData.data.sheetState == 3">已完成</view>
					<view class="SheetState" v-if="orderData.data.sheetState == 4">已取消</view>
				</view>
			</view>
		</view>
	

		<!-- 店铺信息 -->
		<view class="shopBox" v-if="orderData">
			<image src="../../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
			<view class="shopCont">
				<view class="shopName">{{orderData.shopInfo.shopName}}</view>
				<view class="Address">
					{{orderData.shopInfo.provinceName}}{{orderData.shopInfo.cityName}}{{orderData.shopInfo.areaName}}{{orderData.shopInfo.address}}
				</view>

			</view>
			<view class="shopRightBox" @click="map">

				<image src="../../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image>

				<view class="shopRihgtTxt">地图</view>
			</view>
			<view class="shopsx"></view>
			<view class="shopRightBox" @click="call">

				<image src="../../../static/img/icon_phone.png" mode="" class="shopRightImg"></image>

				<view class="shopRihgtTxt">电话</view>
			</view>
		</view>

		<!-- 订单内容 -->
		<view class="information">
			<view class="detailedTitle">订单内容</view>
			<view style="padding-bottom: 15rpx;" v-if="orderData.openSheetDetail.length>0" v-for="(item,index) in orderData.openSheetDetail" :key="index">
				
					<view class="goodsName">{{item.itemName}}</view>
					<view class="informationLine2">
						<view class="salePrice"><span
								class="informationNum">￥</span>{{item.salePrice}}</view>
						<view class="informationNum" style="color: #999999;">
							x{{item.itemQty}}</view>
					</view>
				
			</view>
			<!-- <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4" class="line"></view> -->
			<view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4">
			<!-- 	<view class="goodsName">
					券码信息（{{quanMaList.length?quanMaList.length:0}}张可用）
				</view>
				<view class="detailedLineBox" v-for="(v,index) in orderData.OpenSheetQRCode">
                   <view class="detailedLine">
                   	<view v-if="v.writeoffState==1" class="detailedName">
                   		<view class="redPoint"></view>
                   		<view class="code">{{v.qrCode}}</view>
                   		<view class="quanState">待使用</view>
                   	
                   	</view>
                   	<view v-if="v.writeoffState==3" class="detailedName">
                   		<view class="redPoint"></view>
                   		<view class="code old" >{{v.qrCode}}</view>
                   		<view class="quanState2">已使用</view>
                   	
                   	</view>
					<image src="../../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
						v-if="v.writeoffState==1" @click="isShowMaSHow(index)"></image>
                   </view>
					
					<view class="writeoffLineBox" v-if="v.writeoffState==3">
						<view class="writeoffLine">
							<view class="writeoffLineTxt">核销时间：{{v.writeoffTime}}</view>
							<view class="writeoffLineTxt">核销人：{{v.writeoffName}}</view>
						</view>
						<view class="writeoffLine">
							<view class="writeoffLineTxt">核销门店：{{v.writeoffShopName?v.writeoffShopName:''}}</view>
						</view>
					</view>
					
					
				</view> -->
				<view class="newCodeBox" v-if="sheetQRCodeList1.length>0">
					<view class="newQrcode">
						<swiper class="swiper" style="height: 400rpx;" circular :current='swiperIndex' :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#EC0F0A">
							<swiper-item v-for="(item,index) in sheetQRCodeList1" style="height: 400rpx;">
								<view class="swiper-item">
									
										<tki-qrcode cid="qrcode1" ref="qrcode" :val="item.qrCode" :size="300" :unit="unit"
											:pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
											:loadMake="loadMake" :usingComponents="true" @result="qrR" />
									
								</view>
							</swiper-item>
							
							
						</swiper>
					</view>
					<view class="newQrcodeTs"  @click="qmshowFn">
						待使用<span>{{orderData.unWriteoff}}</span>份券码
						<image src="../../../static/img2/jt1.png" mode="" class="jtImg1 dsyjt"></image>
					</view>
				</view>
			</view>

		</view>
		<view style="padding-left: 24rpx;padding-right: 24rpx;" v-if="orderData.writeoff!=0||orderData.refund!=0">
			<view class="ysyBox" v-if="orderData">
				<view class="ysyLeft" style="font-weight: 500;color: #222222;">
					<span v-if="orderData.writeoff!=0">已使用({{orderData.writeoff}})</span>
					<span v-if="orderData.writeoff!=0&&orderData.refund!=0">·</span>
					<span v-if="orderData.refund!=0">退款({{orderData.refund}})</span>
				</view>
				<view class="ysyRgiht" @click="sheetQRCode">
					<span style="color: #9A9A9A;padding-right: 16rpx;">查看详情</span> 
					<image src="../../../static/img2/jt1.png" mode="" class="jtImg1"></image>
				</view>
			</view>
		</view>

		<!-- 套餐内容 -->
		<view class="information tcinformation" v-if="SheetType==3">
			<view class="detailedTitle">套餐内容</view>
			<!-- 项目 -->
			<view class="itemBox" v-if="orderData.projectList.length>0">
				<!-- 头 -->
				<view class="itemTop">
					<view class="leftItem">项目名称</view>
					<view class="topTitle">数量</view>
					<view class="topTitle">有效期</view>
				</view>

				<view v-for="(item,index) in orderData.projectList" :key="index">
					<view class="itemContent">
						<view class="leftItem">{{item.flowName}}</view>
						<view class="topTitle">{{item.flowQty}}</view>
						<view class="topTitle">{{item.date}}</view>
					</view>
				</view>
			</view>

			<!-- 商品 -->
			<view class="itemBox" v-if="orderData.shopList.length>0">
				<!-- 头 -->
				<view class="itemTop">
					<view class="leftItem">商品名称</view>
					<view class="topTitle">数量</view>
					<view class="topTitle">有效期</view>
				</view>

				<view v-for="(item,index) in orderData.shopList" :key="index">
					<view class="itemContent">
						<view class="leftItem">{{item.flowName}}</view>
						<view class="topTitle">{{item.flowQty}}</view>
						<view class="topTitle">{{item.date}}</view>
					</view>
				</view>
			</view>

		</view>
		
		

		<!-- 实付款 -->
		<view class="money" v-if="orderData">
			<view style="display: flex;justify-content: space-between;border-bottom: 1px solid #EEEEEE;padding-bottom: 20rpx;">
				<view class="informationNum">商品费</view>
				<view class="informationNum" >￥{{orderData.data.totalMoney}}</view>
			</view>
			<view style="font-weight: bold;text-align: right;padding-top: 20rpx;">
				实付款 
				<span style="color: #CE0000;">￥{{orderData.data.realMoney}}</span>
			</view>
			
		</view>

		<!-- 订单信息 -->
		<view class="information">
		<!-- 	<view class="detailedTitle">订单信息</view> -->
			<view class="informationLine" v-if="orderData">
				<view class="informationTxt">订单单号：</view>
				<view class="informationNum" style="    display: flex;">
				<image src="../../../static/img2/copy.png" mode="" @click="copy(orderData.data.code)" class="copyIcon"></image>
				{{orderData.data.code}}
			<!-- 	<span class="codeCopy" @click="copy(orderData.data.code)">复制</span> -->
				</view>
			</view>
			<view class="informationLine">
				<view class="informationTxt">下单人：</view>
				<view class="informationNum">{{orderData.data.userMobilePhone}}</view>
			</view>
			<view class="informationLine">
				<view class="informationTxt">下单时间：</view>
				<view class="informationNum">{{orderData.data.createTime}}</view>
			</view>

			<view class="informationLine NoBorder">
				<view class="informationTxt">订单备注：</view>
				<view class="informationNum" style="width: 510rpx;">{{orderData.data.comment?orderData.data.comment:''}}</view>
			</view>

		</view>

		<!-- 支付信息 -->
		<view class="information">
			<!-- <view class="detailedTitle">支付信息</view> -->
			<view class="informationLine">
				<view class="informationTxt">支付状态：</view>
				<view class="informationNum" v-if="orderData.data.payState==1">未支付</view>
				<view class="informationNum" v-if="orderData.data.payState==2">已支付</view>
			</view>
			<view class="informationLine">
				<view class="informationTxt">支付方式：</view>
				<view class="informationNum" v-if="orderData.data.payType==1">在线支付</view>
				<view class="informationNum" v-if="orderData.data.payType==2">线下支付</view>
			</view>
			<view class="informationLine NoBorder">
				<view class="informationTxt">支付时间：</view>
				<view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
			</view>

		</view>
		
		<!-- 核销信息 -->
		<view class="information writeoffXx" v-if="orderData.data.sheetState == 3">
			<!-- <view class="detailedTitle">核销信息</view> -->
			<view class="informationLine">
				<view class="informationTxt">核销状态：</view>
				<view class="informationNum" v-if="orderData.data.writeoffState==1">未核销</view>
				<view class="informationNum" v-if="orderData.data.writeoffState==2">部分核销</view>
				<view class="informationNum" v-if="orderData.data.writeoffState==3">已核销</view>
			</view>
			
			<view class="informationLine">
				<view class="informationTxt">核销时间：</view>
				<view class="informationNum">{{orderData.data.writeoffTime?orderData.data.writeoffTime:'-'}} {{orderData.data.writeoffName}}</view>
			</view>
			<view class="informationLine NoBorder">
				<view class="informationTxt">核销门店：</view>
				<view class="informationNum">{{orderData.data.writeoffShopName?orderData.data.writeoffShopName:'-'}}</view>
			</view>
		</view>

		<view style="height: 50rpx;background-color: #F4F5F7;"></view>

		<view class="bottom" v-if="orderData.data.sheetState == 1">

			<view class="cancel" @click="cancelBespeak">取消订单</view>
			<view class="defer"   @click="pay">立即支付</view>
		</view>
		<view class="bottom" v-if="orderData.data.sheetState == 2||orderData.data.sheetState == 5">
		    <view class="cancel" @click="cancelOrder" >申请退款</view>
		</view>


		<!-- 券码 -->
		<view class="maBox" v-if="isShowMa==true" @click="isShowMaHide">
			<view class="querenMa">
				<view class="maTop">
					<view class="maTitle">请到店出示券码即可开始服务</view>
					<image @click="isShowMaHide" src="../../../static/img/icon_delete.png" mode=""
						style="width: 26rpx;height: 26rpx;margin-left: 10rpx;"></image>

				</view>
				<swiper class="swiper" circular :current='swiperIndex' :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#EC0F0A">
					<swiper-item v-for="(item,index) in quanMaList">
						<view class="swiper-item">
							<view class="maCode">{{item}}</view>
							<view class="maBoximg">
								<tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="400" :unit="unit"
									:pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
									:loadMake="loadMake" :usingComponents="true" @result="qrR" />
							</view>
						</view>
					</swiper-item>
					
					
				</swiper>
				
			
			</view>
		</view>
<!-- 手机号授权 -->
	<view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
		<view class="authorizCont" @click.stop="">
			<view class="authorizName">{{wxOpenData.miniAppName}}</view>
			<view class="authorizMs">未注册的手机号登录后将自动创建会员账号，如果您不同意授权获取手机号，会影响您使用我们的产品和服务。</view>
			<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
		</view>
		<view style="text-align: center;padding-top: 56rpx;">
			<image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
		</view>
	</view>

<!-- 退款原因 -->
	<view class="tuikuanBox" v-if="isShowTui==true">
		<view class="tuikuan">
			<view class="tuiTop">
				<view class="tuiTitle">退款</view>
				<image @click="isShowTuiHide" src="../../../static/img/icon_delete.png" mode=""
					style="width: 26rpx; height: 26rpx;"></image>
	
			</view>
			<view class="contLine">
				<view class="contlineLeft">
					<image src="../../static/img/icon_star.png" mode="" class="star"></image>
					退款原因
				</view>
				<view class="contlineRight carModelRight" @click="">
	
					<picker class="carModel" @change="bindChange" mode="selector" :value="index"
						:range="tuicauseList" range-key="contents">
						<view class="uni-input">{{tuicauseList[index].contents}}</view>
						<!-- <view class="uni-input noColor" v-else>请选择</view> -->
					</picker>
					<image src="../../static/img/little_rightArrow.png" mode="" class="contlineRightJt"></image>
				</view>
			</view>
	
			<view class="contLine">
				<view class="contlineLeft">
					<image src="../../static/img/icon_star.png" mode="" class="star"></image>
					退款金额
				</view>
				<view class="contlineRight carModelRight" @click="cktime">
					<span class="carModel">{{orderData.data.realMoney}}</span>
	
				</view>
			</view>
	
			<view class="contLine">
				<view class="contlineLeft">
					<image src="" mode="" class="star"></image>
					补充描述
				</view>
	
				<view class="contlineRight">
					<textarea placeholder-style="color:#999999" placeholder="请输入" v-model="tuikuanContent"
						class="contlineRightInput" maxlength="-1" auto-height="true" @confirm="feedDone" />
				</view>
			</view>
	
			<view class="tuiBtns">
				<view class="btn" @click="isShowTuiHide">取消</view>
				<view class="btn2" @click="goTui">确认退款</view>
			</view>
	
		</view>
	</view>



<view class="tkBox" v-if="qmShow" @click="qmHide">
	<view class="tkContBox" @click.stop="">
		<view class="tkTop">
			<view style="width: 22rpx;"></view>
			<view class="tkTitle">券码信息（{{orderData.unWriteoff}}）</view>
			<image @click="qmHide" src="../../../static/img2/chahao.png" mode="" class="chahaoIMg"></image>
		</view>
		<view class="tkLineBox3">
			<view class="tkLine" v-for="(item,index) in sheetQRCodeList1">
				<view class="tkLineLeft">
					<span style="color: #9A9A9A;">券码</span>
					<span style="color: #222222;padding-left: 66rpx;">{{item.qrCode}}</span>
				</view>
				<view class="tkLineRight" style="color: #576B95;" @click="copy(item.qrCode)">复制</view>
			</view>
		</view>
	</view>
</view>

<view class="tkBox" v-if="syShow"  @click="syHide" >
	<view class="tkContBox2" @click.stop="">
		<view class="tkTop">
			<view style="width: 22rpx;"></view>
			<view class="tkTitle">详情</view>
			<image @click="syHide" src="../../../static/img2/chahao.png" mode="" class="chahaoIMg"></image>
		</view>
		<view class="tklineBox2">
			<view class="tkline2" v-for="(item,index) in sheetQRCodeList">
				<view class="tklineTop2">
					<view class="tkZt">
							<!-- 已使用无退款：orderType=1 已使用有退款：orderType=3  未使用有退款：orderType=2 -->
						<span v-if="item.orderType==3||item.orderType==1">已使用</span>
						<span v-if="item.orderType==2">未使用</span>
						<span v-if="item.refundState==0"></span>
						<span v-if="item.refundState==1">·退款中</span>
						<span v-if="item.refundState==2">·退款成功</span>
						<span v-if="item.refundState==3">·退款拒绝</span>
						<span v-if="item.refundState==4">·退款失败</span>
					
					</view>
					<view class="tkSeeD" @click="refundDetail(item)" v-if="item.orderType!=1">
						<span>退款详情</span>
						<image src="../../../static/img2/jt1.png" mode="" class="jtImg1"></image>
					</view>
					<view class="tkSeeD" @click="goSh(item)" v-if="item.orderType==1">
						<span>申请售后</span>
						<image src="../../../static/img2/jt1.png" mode="" class="jtImg1"></image>
					</view>
					
					
					
				</view>
				<view class="tkRow">
					<view class="tlRowLeft" v-if="item.orderType==3||item.orderType==1">使用份数</view>
					<view class="tlRowLeft" v-else>退款份数</view>
					<view style="color: #222222;" v-if="item.orderType==3||item.orderType==1">1份</view>
					<view style="color: #222222;" v-else>{{item.couponCount}}份</view>
				</view>
				<view class="tkRow" v-if="item.orderType==3||item.orderType==1">
					<view class="tlRowLeft">消费门店</view>
					<view style="color: #222222;">{{item.writeoffShopName?item.writeoffShopName:''}}</view>
				</view>
				<view class="tkRow" v-if="item.orderType==3||item.orderType==1">
					<view class="tlRowLeft">消费时间</view>
					<view style="color: #222222;">{{item.writeoffTime?item.writeoffTime:''}}</view>
				</view>
				<view class="tkRow" v-if="item.orderType==1">
					<view class="tlRowLeft">券&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
					<view style="color: #222222;" class="xiahuaxian">{{item.qrCode}}</view>
				</view>
				<view class="tkRow" v-if="item.orderType==3">
					<view class="tlRowLeft">券&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
					<view style="color: #222222;width: 480rpx; white-space: normal; word-break: break-all;" class="xiahuaxian">{{item.couponCode}}</view>
				</view>
				
				<view class="tkRow" v-if="item.orderType==2">
					<view class="tlRowLeft">退款金额</view>
					<view style="color: #222222;">{{item.money?item.money:''}}</view>
				</view>
				<view class="tkRow" v-if="item.orderType==2">
					<view class="tlRowLeft">退款方式</view>
					<view style="color: #222222;">原路返回</view>
				</view>
				<view class="tkRow" v-if="item.orderType==2">
					<view class="tlRowLeft">到账时间</view>
					<view style="color: #222222;">{{item.refundTime?item.refundTime:''}}</view>
				</view>
				<view class="tkRow" v-if="item.orderType==2">
					<view class="tlRowLeft">券&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
					<view style="color: #222222;width: 480rpx; white-space: normal; word-break: break-all;" class="">{{item.couponCode}}</view>
				</view>
			
			</view>
			<nodata v-if="sheetQRCodeList.length==0"></nodata>
		</view>
	
	</view>
</view>


<view class="tkBox" v-if="xsShow" @click="xsHide">
	<view class="tkContBox"  @click.stop="">
		<view class="tkTop">
			<view style="width: 22rpx;"></view>
			<view class="tkTitle">申请售后</view>
			<image @click="xsHide" src="../../../static/img2/chahao.png" mode="" class="chahaoIMg"></image>
		</view>
		<view class="zxSj">
			<view class="zxSjleft">
				<view class="zxTitle">咨询商家</view>
				<view class="zxTitle2">联系商家，提高退款效率</view>
			</view>
			<view class="zxSjRgiht"  @click="call">
				<image src="/static/timg/wgcall.png" mode="" class="zxCallImg"></image>
			</view>
		</view>
		<view class="zkRefund" @click="goshFn">
			<span>已与商家协商一致，发起退款</span>
			<image src="../../../static/img2/jt1.png" mode="" class="jtImg1"></image>
		</view>
	</view>
</view>

	</view>
</template>

<script>
	import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
	import homenav from "@/components/homenav/nav.vue"
	import nodata from '@/components/nodata/nodata.vue'
	export default {
		components: {
			tkiQrcode,homenav,nodata
		},
		data() {
			return {

				id: '',
				iStatusBarHeight:'',
				SheetType: '', //SheetType 1 商品2项目3套餐4救援5钣喷6集客
				orderData: '',

				onval: true, // val值变化时自动重新生成二维码
				loadMake: true, // 组件加载完成后自动生成二维码
				size: 500,
				qrcodeShow: false,
				qrcodeTop: '-100vh',
				qrcodeTopVal: '',
				ifShow: false,
				val: '二维码', // 要生成的二维码值
				unit: 'upx', // 单位
				background: '#b4e9e2', // 背景色
				foreground: '#309286', // 前景色
				pdground: '#262637', // 角标色
				icon: '', // 二维码图标
				iconsize: 40, // 二维码图标大小
				lv: 3, // 二维码容错级别 ， 一般不用设置，默认就行
				src: '', // 二维码生成后的图片地址或base64
				isShowMa: false,
				quanMaList:[],
				themeColor:'',
				authorizShow:false,
				userInfo:'',
				ext:'',
				isShowTui:false,
				index:0,
				tuicauseList: [],
				tuikuanContent: '',
				swiperIndex:0,
				sx:'',
				qmShow:false,
				syShow:false,
				sheetQRCodeList:'',
				sheetQRCodeList1:'',
				xsShow:false,
				shItem:'',
			}
		},
		onLoad(opt) {
			this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
			this.id = opt.id
			//this.id='2D524C99-BE6F-4E63-93FC-B76172C118E0'
			this.SheetType = opt.SheetType
			this.themeColor = uni.getStorageSync("themeColor");
			this.userInfo=this.$store.state.userInfo;
			this.ext=this.$common.getExtStoreId();
			
			if(this.userInfo){
				if (this.id) {
					this.getData();
					this.getTuiKuanData()
				}
			}else{
				this.$common.automaticlogin().then(val => {
					this.userInfo=this.$store.state.userInfo;
					this.wxOpenData=this.$store.state.wxOpenData;
					this.themeColor = uni.getStorageSync("themeColor");
					if (this.id) {
						this.getData();
						this.getTuiKuanData()
					}
					if(!this.userInfo){
						this.authorizShow=true
					}
				})
			}
			this.sx=opt.sx
		   // this.getsheetQRCode()

		},
		

		methods: {
			getsheetQRCode(){
				this.$http('openOrderManagement/sheetQRCodeList', {
					 type:1,		
					 sheetID: this.id,
				}, 'GET').then(res => {
				  
				})
			},
			sheetQRCode(){
				uni.showLoading({
					title: '加载中'
				})
				this.$http('openOrderManagement/sheetQRCodeList', {
					 type:2,		
					 sheetID: this.id,
				}, 'GET').then(res => {
				   uni.hideLoading();
				   this.syShow=true;
				   this.sheetQRCodeList=res.data
				})
			},
			qmshowFn(){
				uni.showLoading({
					title: '加载中'
				})
				this.$http('openOrderManagement/sheetQRCodeList', {
					 type:1,		
					 sheetID: this.id,
				}, 'GET').then(res => {
				   uni.hideLoading();
				   this.qmShow=true;
				   this.sheetQRCodeList1=res.data
				})
				//this.qmShow=true
			},
			qmHide(){
				this.qmShow=false
			},
			syHide(){
			  this.syShow=false;
			},
			shuaxinFn(){
				this.sxNum=1
				this.getData();
				//this.getTuiKuanData()
			},
			cancelOrder(){
				//this.isShowTui=true;
				uni.navigateTo({
					url:'../../subPack/refund?type=1&id='+this.id
				})
			},
			goSh(item){
				this.shItem=item
				var that=this
				uni.setStorage({
					key: 'shData',
					data: item,
					 success: function () {
					    that.xsShow=true
					 
					 }
				}); 
				
			},
			goshFn(){
				uni.navigateTo({
					url:'../../subPack/refund?type=2&id='+this.id
				})
			},
			refundDetail(item){
				uni.navigateTo({
					url:'../../subPack/refundDetail?id='+item.refundSheetID
				})
			},
			xsHide(){
				 this.xsShow=false
			},
			goTui(){
				var that=this;
				uni.showLoading({
					title: '加载中'
				})
				let yuanyin = this.tuicauseList[this.index].contents
				that.$http('openMallOrder/cancelOrder', {
				    realMoney:that.orderData.data.realMoney,
					sheetId: that.id,
					refundReason:yuanyin,
					refundComment:this.tuikuanContent,
				}, 'POST').then(res => {
					uni.hideLoading();
					// var list = res.data.Items
					this.isShowTui=false;
					if(res.code==0){
						uni.showToast({
							title: '取消成功',
							icon: 'none',
							duration: 2000
						});
						setTimeout(function() {
							that.getData();
						}, 1000);
					}else{
						uni.showToast({
							title: res.msg,
							icon: 'none',
							duration: 3000
						});
					}
					
				})
			},
			isShowTuiHide(){
				this.isShowTui=false;
			},
			bindChange(e) {
				console.log(e);
				this.index = e.detail.value
			},
			getTuiKuanData() {
				console.log("退款原因")
				this.$http('openMallOrder/getOpenReason', {
			
					// id: this.id,
				}, 'GET').then(res => {
				
					this.tuicauseList = res.data;
			
				})
			},
			isShowMaSHow(index){
				this.swiperIndex=index
				 this.isShowMa=true
			},
			isShowMaHide(){
				this.isShowMa=false
			},
			decryptPhoneNumber: function(e) {
			  console.log(e);
			  this.code=e.detail.code
			  this.wxPhoneLogin()
			  this.authorizShow=false;
			},
			wxPhoneLogin(){
					 var that=this;
					 this.$http('miniApp2/sys/wxPhoneLogin', {
					   appId:this.ext.appId,
					   unionId:this.ext.unionId,
					   code:this.code,
					   openId:this.wxOpenData.openid
					  },'POST').then(res => {
						var data = res.data;
						if(data.loginInfo){
							this.userInfo=data.loginInfo.openUser;
							this.wxOpenData=data.loginInfo;
							this.$store.commit('mutationswxOpenData', data)
							this.$store.commit('mutationsuserInfo', this.userInfo)
						    this.getData()
						}	
					  })
			},
			pay(){
				this.$http('openMallOrder/unifiedPay', {
					sheetId:this.id
				},'POST').then(res => {
					
					if(res.code==0){
						
						this.requestPayment(res.data)
					}else{
						uni.showToast({
							title: res.msg,
							icon: 'none',
							duration: 3000
						});
					}
				 })
			},
			requestPayment(res){
				var payInfo=res;
				//console.log(payInfo)
				//console.log(String(Date.now()))
				var that=this;
				uni.requestPayment({
					provider: 'wxpay',
					//timeStamp: String(Date.now()),
					timeStamp: payInfo.timeStamp,
					nonceStr: payInfo.nonceStr,
					package:payInfo.package,
					signType: payInfo.signType,
					paySign: payInfo.paySign,
					appid:payInfo.appId,	
				
				    success: function (res) {
				        console.log('success:' + JSON.stringify(res));
						 uni.showToast({
							 title: '支付成功',
							 icon:'none',
							 duration: 2000
						 });
						that.getData()
				    },
				    fail: function (err) {
					  console.log(err)
				      uni.showToast({
						 title: '支付失败',
						 icon:'none',
						 duration: 2000
				      });
					
				    }
				}); 
			},
			copy(txt) {
				uni.setClipboardData({
					data: txt,
					success: function() {
						uni.showToast({
							title: '复制成功',
							icon: 'none',
							duration: 2000
						});
					}
				});
			},
			upTime() {
				uni.showLoading({
					title: '加载中'
				})
				var that = this
				this.$http('openreservation/carOwner/updateTimeOfAppointment', {

					id: this.id,
					shopId: this.orderData.shopInfo.id,
					billDate: this.billDate
				}, 'POST').then(res => {
					uni.hideLoading();
					// var list = res.data.Items
					var list = res.data
					if(res.code==0){
						uni.showToast({
							title: '延期成功',
							icon: 'none',
							duration: 2000
						});
						setTimeout(function() {
							that.getData();
						}, 1000);
					}else{
						uni.showToast({
							title: res.msg,
							icon: 'none',
							duration: 3000
						});
					}
					


				})
			},
			cancelBespeak(){
				var that = this
				uni.showModal({
				    title: '提示',
				    content: '是否取消该订单',
					cancelText:'否',
					confirmText:'是',
				    success: function (res) {
				        if (res.confirm) {
							
								uni.showLoading({
									title: '加载中'
								})
								
								that.$http('openOrderManagement/updateSheetState', {
							
									id: that.id,
							
								}, 'POST').then(res => {
									uni.hideLoading();
									if(res.code==0){
										uni.showToast({
											title: '取消成功',
											icon: 'none',
											duration: 2000
										});
										setTimeout(function() {
											that.getData();
										}, 1000);
									}else{
										uni.showToast({
											title: res.msg,
											icon: 'none',
											duration: 3000
										});
									}
									
									
								})
							
				          
				        } else if (res.cancel) {
				           
				        }
				    }
				});
			},
			
			map() {
				console.log("打开地图")
				var that = this;
				if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
					uni.showToast({
						title: '该店铺未设置定位',
						icon: 'none',
						duration: 3000
					});
				} else {
					uni.openLocation({
						latitude: Number(that.orderData.shopInfo.lat),
						longitude: Number(that.orderData.shopInfo.lng),
						name: that.orderData.shopInfo.shopName,
						address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
							.orderData.shopInfo.areaName + that.orderData.shopInfo.address,
						success: function() {
							console.log('success');
						},
						fail(err) {
							console.log(err)
						}
					});
				}

			},

			call() {
				//this.shItem
				uni.makePhoneCall({
					phoneNumber:this.shItem.mobilePhone// this.orderData.shopInfo.mobilePhone
				});
			},


			getData() {
				uni.showLoading({
					title: '加载中'
				});

				this.$http('openOrderManagement/queryOpenSheet', {

					id: this.id,
				}, 'GET').then(res => {
					uni.hideLoading();
					this.orderData = res.data;
					if (this.quanMaList) {
						this.quanMaList = [];
					}
					let maList = this.orderData.OpenSheetQRCode;
					if (maList) {
						maList.forEach(item =>{
							if (item.writeoffState==1) {
								this.quanMaList.push(item.qrCode);
							}
						})
					}
					if(this.sx&&this.sxNum){
						uni.showToast({
							title: '刷新成功',
							icon: 'none',
							duration: 3000
						});
					}
					//console.log('可用券码--',this.quanMaList);
					uni.setStorage({
						key: 'orderData',
						data: this.orderData,
						 success: function () {
						    
						 
						 }
					}); 
				})
				this.$http('openOrderManagement/sheetQRCodeList', {
					 type:1,		
					 sheetID: this.id,
				}, 'GET').then(res => {
				 
				   this.sheetQRCodeList1=res.data
				})
			},
			
			goback() {
				uni.navigateBack({
				 	delta: 1
				})
			},
			gohome(){
				uni.switchTab({
					url:'../../index/index'
				})
			},

		},
		onPullDownRefresh() {

			this.getData()
			setTimeout(function() {
				uni.stopPullDownRefresh();
			}, 1000);
		},

	}
</script>

<style scoped>
	.box {
		min-height: 100vh;
		background: #F4F5F7;
		padding-bottom: 135rpx;
	}
	.zdyNavBox{
		width: 100vw;
		background: #FFFFFF;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999999;
	}
	.zdyNav{
		height: 44px;
		display: flex;
		justify-content: space-between;
		
		align-items: center;
	}
	
	.backImg{
		width: 44rpx;
		height: 44rpx;
		margin-left: 10rpx;
		margin-right: 20rpx;
	}
	.homeImg{
		width: 44rpx;
		height: 44rpx;
		
	}
	.zdyNavLeft{
		display: flex;
		align-items: center;
	}
	.zdyNavTitle{
		width: 100vw;
		height: 44px;
		background: #FFFFFF;
		text-align: center;
		font-size: 34rpx;
		line-height: 44px;
	}
	
.topBox{
	padding: 24rpx;
}
	.top {
		height: 100rpx;
		background: #FFFFFF;
        border-radius: 11rpx;
		text-align: center;
		line-height: 100rpx;
		font-weight: 500;
		font-size: 30rpx;
		color: #EC0F0A;
		line-height: 100rpx;
	}

	.orderState {
		display: flex;
		justify-content: center;
		align-items: center;
		
	}

	/* .SheetState {
		display: flex;
		justify-content: center;
		font-size: 36rpx;
		font-weight: 500;
		color: #FFFFFF;
		margin-left: 15rpx;

	} */



	.timeEditImg {
		width: 25rpx;
		height: 25rpx;
		padding-left: 20rpx;
	}



	.shopBoximg {
		width: 40rpx;
		height: 40rpx;
	}

	.shopRightImg {
		width: 44rpx;
		height: 45rpx;
	}

	.shopsx {
		width: 1px;
		height: 50rpx;
		background: #EEEEEE;
		margin-top: 30rpx;
		margin-left: 28rpx;
	}

	.shopBox {

		display: flex;
		padding: 30rpx 20rpx;
		margin: 0rpx 24rpx;
		
		background-color: #FFFFFF;
		border-radius: 10rpx;

	}

	.shopCont {
		width: 405rpx;
		padding-left: 20rpx;

	}

	.shopName {
		font-size: 30rpx;
		font-weight: bold;
		color: #3C3C3C;
		line-height: 42rpx;
	}

	.Address {
		color: #999999;
		font-size: 24rpx;
		margin-top: 10rpx;
	}

	.shopRihgtTxt {
		color: #999999;
		font-size: 24rpx;

	}

	.shopRightBox {

		padding-left: 28rpx;
	}





	.detailedTitle {
		padding: 23rpx 20rpx 23rpx 0;
		display: flex;
		text-align: center;
		align-content: flex-start;
		border-bottom: 1rpx solid #EEEEEE;

		font-size: 30rpx;
		font-weight: bold;
		color: #3C3C3C;
	}


	.detailedLine {
		display: flex;
		padding: 16rpx 20rpx;
		justify-content: space-between;
		align-items: center;
	}

	.detailedImg {
		width: 120rpx;
		height: 120rpx;
		border-radius: 10rpx;
	}



	.detailedName {
		display: flex;
		align-items: center;


	}

	.code {
		font-size: 26rpx;
		color: #333333;
		font-weight: bold;
		width: 180rpx
	}

	.old {
		color: #999999;

		font-weight: 400;
		text-decoration: line-through;
	}

	.redPoint {
		width: 10rpx;
		height: 10rpx;
		background: #EC0F0A;
		border-radius: 10rpx;
		margin-right: 10rpx;
	}

	.quanState {
		font-size: 22rpx;
		color: #F19D01;
		padding: 0 10rpx;

		border: 1rpx solid #F19D01;

		border-radius: 4rpx;
		margin-left: 20rpx;
	}
	.quanState2{
		font-size: 22rpx;
		color: #999999;
		padding: 0 10rpx;
		
		border: 1rpx solid #DDDDDD;
		
		border-radius: 4rpx;
		margin-left: 20rpx;
	}



	.information {

		background: #FFFFFF;
		border-radius: 10rpx;

		margin: 20rpx 24rpx;
		padding-bottom: 15rpx;
	}
    .information{
		padding: 0 20rpx;
	}
	.informationLine {
		display: flex;
        justify-content: space-between;
		padding:20rpx 0rpx;
		border-bottom: 1px solid #EEEEEE;
		color: #222222;
	}

	.informationLine2 {
		display: flex;
		justify-content: space-between;
		font-size: 26rpx;
		/* padding: 0 20rpx; */
	}

	.salePrice {

		font-size: 26rpx;
		font-weight: 500;
		color: #333333;
		line-height: 45rpx;
	}

	.money {
		background: #FFFFFF;
		border-radius: 10rpx;

		margin: 20rpx 24rpx;

		/* display: flex;
		justify-content: space-between; */
		font-size: 26rpx;
		padding: 30rpx 20rpx;
	}

	.informationTxt {
		width: 190rpx;
		font-size: 26rpx;
		/* color: #999999; */
	}

	.line {
		height: 20rpx;
		background-color: #FFFFFF;
		border-bottom: 1rpx solid #EEEEEE;
	}

	.goodsName {
		padding: 20rpx 20rpx 15rpx 0;

		color: #333333;
		font-size: 26rpx;
	}

	.informationNum {
		/* color: #333333; */
		font-size: 26rpx;
		text-align: right;
	}

	.codeCopy {
		width: 77rpx;
		height: 36rpx;
		background: #F4F5F7;
		border-radius: 22rpx;
		font-size: 24rpx;
		color: #333333;
		text-align: center;
		line-height: 33rpx;
		padding: 0 15rpx;
		margin-left: 20rpx;
	}

	.orderBottom {
		width: 750rpx;
		height: 98rpx;
		background: #FFFFFF;
		position: fixed;
		left: 0;
		bottom: 0;
		display: flex;
		justify-content: flex-end;
	}






	.bottom {
		display: flex;
		justify-content: flex-end;
		padding: 20rpx;
		background-color: #FFFFFF;
	/* 	align-items: center; */
		height: 98rpx;
		width: 100vw;
		position: fixed;
		bottom: 0rpx;
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom);
	}

	.cancel {
		color: #3C3C3C;
		font-size: 28rpx;
		width: 130rpx;
		height: 56rpx;
		border-radius: 8rpx;
		border: 2rpx solid #DDDDDD;
		text-align: center;
		line-height: 56rpx;
		margin-right: 40rpx;
	}

	.defer {
		color: #EC0F0A;
		font-size: 28rpx;
		width: 130rpx;
		height: 56rpx;
		border-radius: 8rpx;
		border: 2rpx solid #EC0F0A;
		text-align: center;
		line-height: 56rpx;
		margin-right: 40rpx;
	}

	.itemBox {
		margin: 20rpx;
		border-radius: 10rpx;
		border: 2rpx solid #EEEEEE;
	}

	.itemTop {
		padding: 18rpx 20rpx;
		padding-right: 0;
		background-color: #FFEFD5;

		display: flex;
		justify-content: space-between;
		align-content: center;
	}

	.topTitle {
		width: 104rpx;
		font-size: 26rpx;
		color: #333333;
		margin-right: 20rpx;
		text-align: right;
	}
	

	.leftItem {
		font-size: 26rpx;
		color: #333333;
		margin-right: 20rpx;
		flex-grow: 1;
		/* 隐藏文字显示 ...不换行 */
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.itemContent {
		padding: 20rpx;
		padding-right: 0;
		background-color: #FFFFFF;

		display: flex;
		justify-content: space-between;
		align-content: center;
	}

	.maBox {
		width: 100%;
		height: 100vh;
		background: rgba(0, 0, 0, 0.4);
		position: fixed;
		left: 0;
		top: 0;
		z-index: 9999;
	}

	.querenMa {
		width: 578;
		height: 640rpx;
		background: #ffffff;
		margin: 0 86rpx;
		margin-top: 50%;
		border-radius: 24rpx;
	}

	.maTop {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 30rpx 20rpx 15rpx;
	}


	.maTitle {
		color: #666666;
		font-size: 26rpx;
		text-align: center;
		padding-left: 100rpx;
	}
	.swiper{
		width: 100%;
		height: 85%;
		background: #FFFFFF;
		
	}
	.swiper-item{
		width: 100%;
		height: 100%;
	}
	
	
	.maCode {

		font-size: 30rpx;
		font-weight: 500;
		color: #333333;
		line-height: 42rpx;
		margin-bottom: 40rpx;
		text-align: center;
	}

	.maBoximg {
		width: 400rpx;
		height: 400rpx;
		margin-left: 86rpx;
	}
	.authorizBox{
			width: 100vw;
			height: 100vh;
			background: rgba(0, 0, 0, 0.5);
			position: fixed;
			top: 0;
			left: 0;
		}
		.authorizCont{
			margin-top: 30vh;
			width: 564rpx;
			height: 408rpx;
			background: #FFFFFF;
			border-radius: 24rpx;
			margin-left: 93rpx;
			position: relative;
		}
		.authorizCloseImg{
			width: 62rpx;
			height: 62rpx;
		}
		.sqLogoBox{
			width: 180rpx;
			height: 180rpx;
			background: #FFFFFF;
			border-radius: 90rpx;
			text-align: center;
			position: absolute;
			top: -50rpx;
			left: 192rpx;
		}
		.authorizName{
			color: #333333;
			line-height: 42rpx;
			font-size: 30rpx;
			text-align: center;
			padding-top: 58rpx;
		}
		.authorizMs{
			color: #999999;
			line-height: 36rpx;
			font-size: 26rpx;
			width: 452rpx;
			padding-top: 24rpx;
			text-align: center;
			margin-left: 56rpx;
		}
		.authorizContbutton{
			width: 422rpx;
			height: 88rpx;
			background: #EC0F0A;
			border-radius: 44rpx;
			line-height: 88rpx;
			text-align: center;
			font-size:30rpx;
			color: #FFFFFF;
			margin-top: 62rpx;
			margin-left:71rpx;
		}
		.tuikuanBox {
				width: 100%;
				height: 100vh;
				background: rgba(0, 0, 0, 0.4);
				position: fixed;
				left: 0;
				top: 0;
				z-index: 999;
			}
			
			.tuikuan {
				width: 638rpx;
				height: 720rpx;
				background: #ffffff;
				margin: 0 36rpx;
				margin-top: 50%;
				border-radius: 24rpx;
				padding: 30rpx 20rpx;
			}
			
			.tuiTop {
				display: flex;
				justify-content: space-between;
				margin-bottom: 36rpx;
			}
			
			.tuiTitle {
				width: 56rpx;
				height: 40rpx;
				font-size: 28rpx;
				font-weight: 500;
				color: #3C3C3C;
				line-height: 40rpx;
			
			}
			
			.contLine {
				display: flex;
				justify-content: space-between;
				font-size: 28rpx;
				padding: 30rpx 0;
				border-bottom: 1px solid #EEEEEE;
			}
			
			.contlineLeft {
				color: #666666;
				line-height: 40rpx;
				align-items: center;
			}
			
			.star {
				width: 14rpx;
				height: 14rpx;
				padding-bottom: 5rpx;
			}
			
			.carModel {
				width: 350rpx;
				text-align: left;
			}
			
			.noColor {
				color: #CCCCCC;
			}
			
			.carModelRight {
				display: flex;
				justify-content: flex-start;
				align-items: center;
			}
			
			.contlineRight {
				color: #333333;
				line-height: 40rpx;
			
				width: 400rpx;
				text-align: right;
			}
			
			.contlineRightInput {
				color: #333333;
				text-align: left;
				font-size: 28rpx;
				min-height: 182rpx;
				width: 400rpx;
			}
			
			.contlineRightJt {
				width: 30rpx;
				height: 30rpx;
			
			}
			
			.tuiBtns {
				display: flex;justify-content: space-around;
				padding: 40rpx 20rpx 10rpx;
			
			}
			.btn {
				width: 250rpx;
				height: 70rpx;
				background: #F4F5F7;
				border-radius: 10rpx;
				font-size: 28rpx;
				font-weight: 500;
				color: #3C3C3C;
				line-height: 70rpx;
				text-align: center;
			}
			
			.btn2 {
				width: 250rpx;
				height: 70rpx;
				background: #3F90F7;
				border-radius: 10rpx;
				font-size: 28rpx;
				font-weight: 500;
				color: #FFFFFF;
				line-height: 70rpx;
				text-align: center;
			}
			.writeoffLine{
				display: flex;justify-content: space-between;
				color: #999999;font-size: 24rpx;
				line-height: 33rpx;padding-top: 8rpx;
			}
			.writeoffLineBox{
				padding: 0 20rpx;
			}
			
			.detailedLineBox .detailedLine{
				padding-bottom: 0rpx;
			}
			.writeoffXx .informationNum{
				width: 500rpx;
			}
			.detailedLineBox{
				padding-bottom: 10rpx;
			}
			.shuaxin{
				color: #333333;
				height: 72rpx;
				background: #FDF7EB;
				line-height: 72rpx;
				padding-left: 24rpx;
				font-size: 26rpx;
			}
.newQrcode{
	text-align: center;padding-top: 30rpx;
}
.newQrcodeTs{
	font-size: 28rpx;
	color: #222222;
}
.jtImg1{
	width: 10rpx;height: 20rpx;
}
.newQrcodeTs {
	text-align: center;
	padding-top: 10rpx;
	padding-bottom: 30rpx;
}
.ysyBox{
	background: #ffffff;
	border-radius: 16rpx;
	display: flex;
	justify-content: space-between;
	font-size: 26rpx;
	padding: 30rpx 24rpx;
}
.copyIcon{
	width: 30rpx;height: 30rpx;
	margin-top: 4rpx;margin-right: 6rpx;
}
.newQrcode .swiper-item{
	text-align: center;
}
.chahaoIMg{
	width: 22rpx;height: 22rpx;
	padding-top: 4rpx;
	    padding-left: 10px;
	    padding-right: 10rpx;
	    padding-bottom: 10rpx;
}
.tkBox{
	position: fixed;
	background: rgba(0, 0, 0, 0.4);
	width: 100%;height: 100%;
	top: 0;
	left: 0;
}
.tkContBox{
	width: 750rpx;
	height: 483rpx;
	background: #F8F8F8;
	border-radius: 28rpx 28rpx 0rpx 0rpx;
	position: absolute;
	left: 0;
	bottom: 0;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
}
.tkContBox2{
	width: 750rpx;
	height: 60vh;
	background: #F8F8F8;
	border-radius: 28rpx 28rpx 0rpx 0rpx;
	position: absolute;
	left: 0;
	bottom: 0;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
}
.tkTop{
	display: flex;justify-content: space-between;
	padding: 30rpx 40rpx 30rpx 40rpx;
	font-weight: 500;
	font-size: 28rpx;
	color: #222222;
}
.tkLineBox{
	background: #FFFFFF;
	border-radius: 16rpx;
	margin: 0 33rpx;
	height: 380rpx;
	overflow: scroll;
}
.tkLineBox3{
	border-radius: 16rpx;
	margin: 0 33rpx;
	height: 380rpx;
	overflow: scroll;
}
.tkLine{
	display: flex;justify-content: space-between;
	font-size: 26rpx;
	padding: 24rpx 30rpx;
	border-bottom: 1px solid #EEEEEE;
	
}
.tkLineBox3 .tkLine{
	background: #FFFFFF;
	font-size: 28rpx;
}
.tkLine:last-child {
  border:none;
}
.tklineBox2{
	padding:0 24rpx;
	height: 55vh;
	overflow: scroll;
}
.tkline2{
	background: #FFFFFF;
	border-radius: 16rpx;
	padding: 32rpx 24rpx;
	margin-bottom: 20rpx;
}
.tklineTop2{
	display: flex;justify-content: space-between;
}
.tkZt{
	font-weight: 500;
	font-size: 28rpx;
	color: #222222;
	line-height: 40rpx;
}
.tkSeeD{
	font-weight: 400;
	font-size: 28rpx;
	color: #9A9A9A;
	line-height: 40rpx;
}
.tkSeeD .jtImg1{
	margin-left: 4rpx;
}
.tkRow{
	display: flex;
	font-size: 28rpx;
	padding-top: 18rpx;
	
}
.tlRowLeft{
	color: #9A9A9A;width: 140rpx;
	
}
.zxSj{
	background: #FFFFFF;
	border-radius: 16rpx;
	margin: 0 24rpx;
	display: flex;justify-content: space-between;
}
.zxCallImg{
	width: 34rpx;height: 34rpx;
}
.zxTitle{
	font-weight: 500;
	font-size: 28rpx;
	color: #222222;
	line-height: 40rpx;
}
.zxTitle2{
	font-size: 24rpx;
	color: #9A9A9A;
	padding-top: 12rpx;
}
.zxSjleft{
	padding: 32rpx;
}
.zxSjRgiht{
	width: 79rpx;
	height: 79rpx;
	border: 2rpx solid #EEEEEE;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 32rpx;
	margin-right: 32rpx;
}
.zkRefund{
	display: flex;justify-content: center;
	font-size: 28rpx;
	color: #333333;
	padding-top: 30rpx;
}
.zkRefund .jtImg1{
	margin-left: 6rpx;margin-top: 12rpx;
}
.dsyjt{
	margin-left: 10rpx;margin-top: 10rpx;
}
.newQrcodeTs{
	display: flex;
	justify-content: center;
}
.NoBorder{
	border: none !important;
}
.xiahuaxian{
	text-decoration: line-through;
}
.tcinformation{
	padding: 0 0 30rpx 0;
}
</style>
