rescueOrderDetail.vue 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535
  1. <template>
  2. <view class="box">
  3. <!-- 自定义导航 -->
  4. <view class="zdyNavBox">
  5. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  6. <view class="zdyNav">
  7. <view class="zdyNavLeft">
  8. <image src="../../static/img/nav_icon_back.png" mode="aspectFit" class="backImg" @click="goback"></image>
  9. </view>
  10. <view class="zdyNavTitle">订单详情</view>
  11. <view style="width: 50px;"></view>
  12. </view>
  13. </view>
  14. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  15. <view style="height: 44px;"></view>
  16. <view class="top">
  17. <view class="orderState">
  18. <image src="../../static/img/icon_order_def.png" mode="" style="width: 44rpx;height: 44rpx;"></image>
  19. <view class="SheetState" v-if="orderData.openShopHelpSheet.sheetState == 0">待确认</view>
  20. <view class="SheetState" v-if="orderData.openShopHelpSheet.sheetState == 1">已接单</view>
  21. <view class="SheetState" v-if="orderData.openShopHelpSheet.sheetState == 2">已出发</view>
  22. <view class="SheetState" v-if="orderData.openShopHelpSheet.sheetState == 3">已完成</view>
  23. <view class="SheetState" v-if="orderData.openShopHelpSheet.sheetState == 4">已取消</view>
  24. <view class="SheetState" v-if="orderData.openShopHelpSheet.sheetState == 5">已评价</view>
  25. </view>
  26. </view>
  27. <!-- 拖车起始点 -->
  28. <view class="startPointBox" >
  29. <view class="hStartAddressBox" :class="{hStartAddressBox2:orderData.openShopHelpSheet.helpType==2}">
  30. <view class="hStartAddressYd"></view>
  31. <view class="startPointTitle">救援位置</view>
  32. <view class="hStartAddress">{{orderData.openShopHelpSheet.hStartAddress}}</view>
  33. <!-- <img src="../../static/img/icon_ditu.png" alt="" class="mapImg" @click="goMapStart"/> -->
  34. <view class="gomapDiv" @click="goMapStart">导航</view>
  35. </view>
  36. <view class="hEndAddressBox" v-if="orderData.openShopHelpSheet.helpType==2&&orderData.openShopHelpSheet.hEndAddress"><!-- v-if="orderData.openShopHelpSheet.helpType==2" -->
  37. <view class="hEndAddressYd"></view>
  38. <view class="startPointTitle">终点</view>
  39. <view class="hStartAddress">{{orderData.openShopHelpSheet.hEndAddress}}</view>
  40. <!-- <img src="../../static/img/icon_ditu.png" alt="" class="mapImg" @click="goMapEnd"/> -->
  41. <view class="gomapDiv" @click="goMapEnd">导航</view>
  42. </view>
  43. </view>
  44. <!-- 救援信息 -->
  45. <!-- 救援信息 -->
  46. <view class="information">
  47. <view class="detailedTitle">救援信息</view>
  48. <view class="informationLine">
  49. <view class="informationTxt">救援单号:</view>
  50. <view class="informationNum">{{orderData.openShopHelpSheet.code}}<span class="codeCopy"
  51. @click="copy(orderData.openShopHelpSheet.code)">复制</span></view>
  52. </view>
  53. <view class="informationLine">
  54. <view class="informationTxt">救援时间:</view>
  55. <view class="informationNum" v-if="orderData.openShopHelpSheet.orderType==1">立刻</view>
  56. <view class="informationNum" v-else>{{orderData.openShopHelpSheet.hTime}}</view>
  57. </view>
  58. <view class="informationLine">
  59. <view class="informationTxt">救援类型:</view>
  60. <view class="informationNum2" v-if="orderData.openShopHelpSheet.helpType==1">搭电</view>
  61. <view class="informationNum2" v-if="orderData.openShopHelpSheet.helpType==2">拖车</view>
  62. <view class="informationNum2" v-if="orderData.openShopHelpSheet.helpType==3">换胎</view>
  63. <view class="informationNum2" v-if="orderData.openShopHelpSheet.helpType==4">未知原因</view>
  64. <view class="informationNum2">-</view>
  65. <view class="informationNum2" v-if="orderData.openShopHelpSheet.hscene==1">地面</view>
  66. <view class="informationNum2" v-if="orderData.openShopHelpSheet.hscene==2">车库</view>
  67. <view class="informationNum2" v-if="orderData.openShopHelpSheet.hscene==3">其他</view>
  68. </view>
  69. <view class="informationLine" v-if="orderData.openShopHelpSheet.plateNumber">
  70. <view class="informationTxt">车牌号:</view>
  71. <view class="informationNum">{{orderData.openShopHelpSheet.plateNumber}}</view>
  72. </view>
  73. <view class="informationLine" v-if="orderData.openShopHelpSheet.carModel">
  74. <view class="informationTxt">车型:</view>
  75. <view class="informationNum">{{orderData.openShopHelpSheet.carModel}}</view>
  76. </view>
  77. <view class="informationLine">
  78. <view class="informationTxt">救援手机号:</view>
  79. <view class="informationNum">{{orderData.openShopHelpSheet.customerName}} <span v-if="orderData.openShopHelpSheet.customerName">/</span> {{orderData.openShopHelpSheet.mobilePhone}} <span class="callPhone" @click="callPhone(orderData.openShopHelpSheet.mobilePhone)">拨号</span> </view>
  80. </view>
  81. <view class="informationLine" >
  82. <view class="informationTxt">救援门店:</view>
  83. <view class="informationNum">{{orderData.shopInfo.shopName}}</view>
  84. </view>
  85. <view class="informationLine" >
  86. <view class="informationTxt">救援位置:</view>
  87. <view class="informationNum">{{orderData.openShopHelpSheet.hStartAddress}}</view>
  88. </view>
  89. <view class="informationLine" v-if="orderData.openShopHelpSheet.helpType==2">
  90. <view class="informationTxt">终点:</view>
  91. <view class="informationNum">{{orderData.openShopHelpSheet.hEndAddress}}</view>
  92. </view>
  93. </view>
  94. <view class="information">
  95. <view class="detailedTitle">订单信息</view>
  96. <view class="informationLine">
  97. <view class="informationTxt">下单时间:</view>
  98. <view class="informationNum" >{{orderData.openShopHelpSheet.createTime}}</view>
  99. </view>
  100. <view class="informationLine">
  101. <view class="informationTxt">下单人手机:</view>
  102. <view class="informationNum" ><span v-if="orderData.openUser.nickName">{{orderData.openUser.nickName|| '未知'}} /</span>{{orderData.openUser.mobilePhone}}<span v-if="orderData.openUser.mobilePhone" class="callPhone" @click="callPhone(orderData.openUser.mobilePhone)">拨号</span> </view>
  103. </view>
  104. <!-- <view class="informationLine">
  105. <view class="informationTxt">会员信息:</view>
  106. <view class="informationNum" >{{orderData.openShopHelpSheet.cardName|| '暂无'}} <span v-if="orderData.openShopHelpSheet.cardName">/</span> {{orderData.openShopHelpSheet.cardCode}}</view>
  107. </view> -->
  108. <view class="informationLine" v-if="orderData.openShopHelpSheet.confirmTime">
  109. <view class="informationTxt">确认时间:</view>
  110. <view class="informationNum" >{{orderData.openShopHelpSheet.confirmTime}}/{{orderData.openShopHelpSheet.confirmOperator}}</view>
  111. </view>
  112. <view class="informationLine" v-if="orderData.openShopHelpSheet.goingTime">
  113. <view class="informationTxt">出发时间:</view>
  114. <view class="informationNum" >{{orderData.openShopHelpSheet.goingTime}}/{{orderData.openShopHelpSheet.goingOperator}}</view>
  115. </view>
  116. <view class="informationLine" v-if="orderData.openShopHelpSheet.finishTime">
  117. <view class="informationTxt">完成时间:</view>
  118. <view class="informationNum" >{{orderData.openShopHelpSheet.finishTime}}/{{orderData.openShopHelpSheet.finishOperator}}</view>
  119. </view>
  120. <view class="informationLine" v-if="orderData.openShopHelpSheet.finishComment">
  121. <view class="informationTxt">完成备注:</view>
  122. <view class="informationNum" >{{orderData.openShopHelpSheet.finishComment}}</view>
  123. </view>
  124. <view class="informationLine" v-if="orderData.openShopHelpSheet.evaluateTime">
  125. <view class="informationTxt">评价时间:</view>
  126. <view class="informationNum">{{orderData.openShopHelpSheet.evaluateTime}}</view>
  127. </view>
  128. <view class="informationLine" v-if="orderData.openShopHelpSheet.evaluateComment">
  129. <view class="informationTxt">评价内容:</view>
  130. <view class="informationNum">{{orderData.openShopHelpSheet.evaluateComment}}</view>
  131. </view>
  132. <view class="informationLine" v-if="orderData.openShopHelpSheet.cancelTime">
  133. <view class="informationTxt">取消时间:</view>
  134. <view class="informationNum">{{orderData.openShopHelpSheet.cancelTime}}/{{orderData.openShopHelpSheet.cancelOperator}}</view>
  135. </view>
  136. <view class="informationLine" v-if="orderData.openShopHelpSheet.cancelComment">
  137. <view class="informationTxt">取消备注:</view>
  138. <view class="informationNum" >{{orderData.openShopHelpSheet.cancelComment}}</view>
  139. </view>
  140. </view>
  141. <!-- <view>iOSInfo</view>
  142. <view>{{iOSInfo}}</view> -->
  143. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  144. <!-- 待付款 -->
  145. <!-- <view class="bottom" v-if="orderData.openShopHelpSheet.sheetState == 0">
  146. <view class="cancel" @click="cancelBespeak">取消订单</view>
  147. </view> -->
  148. <!-- 待服务 -->
  149. <view class="bottom">
  150. <view v-if="iOSInfo.indexOf('Q060')!=-1||!iOSInfo">
  151. <view class="cancel" v-if="orderData.openShopHelpSheet.sheetState == 0||orderData.openShopHelpSheet.sheetState == 1||orderData.openShopHelpSheet.sheetState == 2" @click="cancelBespeak">取消订单</view>
  152. </view>
  153. <view v-if="iOSInfo.indexOf('Q061')!=-1||!iOSInfo">
  154. <view class="defer" v-if="orderData.openShopHelpSheet.sheetState == 0||orderData.openShopHelpSheet.sheetState == 1" @click="updateShop">更换门店</view>
  155. </view>
  156. <view v-if="iOSInfo.indexOf('Q057')!=-1||!iOSInfo">
  157. <view class="defer" v-if="orderData.openShopHelpSheet.sheetState == 0" @click="confirmOrder">确认</view>
  158. </view>
  159. <view v-if="iOSInfo.indexOf('Q059')!=-1||!iOSInfo">
  160. <view class="defer" v-if="orderData.openShopHelpSheet.sheetState == 1||orderData.openShopHelpSheet.sheetState == 2" @click="completeOrder">完成</view>
  161. </view>
  162. <view v-if="iOSInfo.indexOf('Q058')!=-1||!iOSInfo">
  163. <view class="defer" v-if="orderData.openShopHelpSheet.sheetState == 1" @click="goingOrder">出发</view>
  164. </view>
  165. </view>
  166. <!-- 完成-->
  167. <view class="tuikuanBox" v-if="completeShow">
  168. <view class="tuikuan">
  169. <view class="tuiTop">
  170. <view class="tuiTitle">完成</view>
  171. <image @click="completeShow=false" src="../../static/img/icon_close.png" mode="" style="width: 26rpx; height: 26rpx;"></image>
  172. </view>
  173. <view class="contLine">
  174. <view class="contlineRight">
  175. <textarea placeholder-style="color:#999999" placeholder="备注" v-model="finishComment"
  176. class="contlineRightInput" maxlength="-1" auto-height="true" />
  177. </view>
  178. </view>
  179. <view class="tuiBtns">
  180. <view class="btn" @click="completeShow=false">取消</view>
  181. <view class="btn2" @click="complete">确认完成</view>
  182. </view>
  183. </view>
  184. </view>
  185. <!-- 更换门店 -->
  186. <view class="tuikuanBox" v-if="updateShopShow">
  187. <view class="shopGhBox">
  188. <view class="shopGhTitle">更换门店</view>
  189. <view class="">
  190. <picker @change="bindPickerChange" :value="pickerindex" :range-key="'shopName'" :range="pickerarray">
  191. <view class="uniPicker">
  192. <view class="uniPickerName">
  193. {{shopName}}
  194. </view>
  195. <image src="../../static/img/arrow_down.png" mode=" " class="jtShopImg"></image>
  196. </view>
  197. </picker>
  198. </view>
  199. <view class="tuiBtns">
  200. <view class="btn" @click="updateShopShow=false">取消</view>
  201. <view class="btn2" @click="completeupdateShop">更换门店</view>
  202. </view>
  203. </view>
  204. </view>
  205. </view>
  206. </template>
  207. <script>
  208. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  209. export default {
  210. components: {
  211. tkiQrcode
  212. },
  213. data() {
  214. return {
  215. id: '',
  216. iStatusBarHeight:'',
  217. orderData: '',
  218. onval: true, // val值变化时自动重新生成二维码
  219. loadMake: true, // 组件加载完成后自动生成二维码
  220. size: 500,
  221. qrcodeShow: false,
  222. qrcodeTop: '-100vh',
  223. qrcodeTopVal: '',
  224. ifShow: false,
  225. val: '二维码', // 要生成的二维码值
  226. unit: 'upx', // 单位
  227. background: '#b4e9e2', // 背景色
  228. foreground: '#309286', // 前景色
  229. pdground: '#262637', // 角标色
  230. icon: '', // 二维码图标
  231. iconsize: 40, // 二维码图标大小
  232. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  233. src: '', // 二维码生成后的图片地址或base64
  234. isShowMa: false,
  235. quanMaList:[],
  236. completeShow: false,
  237. tuicauseList:[],
  238. tuikuanContent:'',
  239. index: 0,
  240. iOSInfo:'',
  241. swiperIndex:0,
  242. back:'',
  243. finishComment:'',
  244. shopName:'',
  245. shopId:'',
  246. pickerarray:'',
  247. pickerindex:'',
  248. changeOldShopID:'',
  249. updateShopShow:false,
  250. }
  251. },
  252. onLoad(opt) {
  253. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  254. this.id = opt.id
  255. this.back=opt.back;
  256. if (this.id) {
  257. this.getData()
  258. }
  259. //this.getTuiKuanData()
  260. this.getShopinfo();
  261. /* var qxnum = uni.getStorageSync("quanxian");
  262. if (qxnum == 1) {
  263. this.iOSInfo = JSON.parse(JSON.stringify(window.iOSInfo));
  264. }else if(qxnum==2){
  265. window.getAndroid=this.getAndroid;
  266. } */
  267. /* var standalone = window.navigator.standalone
  268. var userAgent = window.navigator.userAgent.toLowerCase()
  269. var safari = /safari/.test(userAgent)
  270. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  271. var android = /android/.test(userAgent)
  272. if (ios) {
  273. this.iOSInfo = JSON.parse(JSON.stringify(window.iOSInfo));
  274. } else if (android) {
  275. window.getAndroid=this.getAndroid;
  276. } */
  277. this.getpermission()
  278. },
  279. methods: {
  280. callPhone(Phone){
  281. if(Phone){
  282. uni.makePhoneCall({
  283. phoneNumber: Phone
  284. });
  285. }
  286. },
  287. getpermission(){
  288. this.$http('openH5ShopHelpSheetOrder/permission', {
  289. },'POST').then(res => {
  290. this.iOSInfo=res.data;
  291. })
  292. },
  293. getAndroid(e){
  294. this.iOSInfo=e
  295. },
  296. goMapStart(){
  297. var obj={
  298. Lat:this.orderData.openShopHelpSheet.startLat,
  299. Lng:this.orderData.openShopHelpSheet.startLng,
  300. Address:this.orderData.openShopHelpSheet.hStartAddress
  301. }
  302. //app交互
  303. var standalone = window.navigator.standalone
  304. var userAgent = window.navigator.userAgent.toLowerCase()
  305. var safari = /safari/.test(userAgent)
  306. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  307. var android = /android/.test(userAgent)
  308. if (ios) {
  309. if ( true) {//!standalone&& !safari
  310. window.webkit.messageHandlers.goMap.postMessage(obj)
  311. }
  312. } else if (android) {
  313. window.android.goMap(JSON.stringify(obj))
  314. }
  315. },
  316. goMapEnd(){
  317. var obj={
  318. Lat:this.orderData.openShopHelpSheet.endLat,
  319. Lng:this.orderData.openShopHelpSheet.endLng,
  320. Address:this.orderData.openShopHelpSheet.hEndAddress
  321. }
  322. //app交互
  323. var standalone = window.navigator.standalone
  324. var userAgent = window.navigator.userAgent.toLowerCase()
  325. var safari = /safari/.test(userAgent)
  326. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  327. var android = /android/.test(userAgent)
  328. if (ios) {
  329. if ( true) {//!standalone&& !safari
  330. window.webkit.messageHandlers.goMap.postMessage(obj)
  331. }
  332. } else if (android) {
  333. window.android.goMap(JSON.stringify(obj))
  334. }
  335. },
  336. goingOrder(){
  337. var that = this
  338. uni.showModal({
  339. title: '提示',
  340. content: '是否出发',
  341. cancelText:'否',
  342. confirmText:'是',
  343. success: function (res) {
  344. if (res.confirm) {
  345. uni.showLoading({
  346. title: '加载中'
  347. })
  348. that.$http('openH5ShopHelpSheetOrder/goingOrder', {
  349. id: that.id,
  350. }, 'POST').then(res => {
  351. uni.hideLoading();
  352. if(res.code==0){
  353. uni.showToast({
  354. title: '操作成功',
  355. icon: 'none',
  356. duration: 2000
  357. });
  358. }else{
  359. uni.showToast({
  360. title: res.msg,
  361. icon: 'none',
  362. duration: 2000
  363. });
  364. }
  365. setTimeout(function() {
  366. that.getData();
  367. }, 1000);
  368. })
  369. } else if (res.cancel) {
  370. }
  371. }
  372. });
  373. },
  374. completeOrder(){
  375. var that = this
  376. uni.showModal({
  377. title: '提示',
  378. content: '是否完成该订单',
  379. cancelText:'否',
  380. confirmText:'是',
  381. success: function (res) {
  382. if (res.confirm) {
  383. uni.showLoading({
  384. title: '加载中'
  385. })
  386. that.$http('openH5ShopHelpSheetOrder/completeOrder', {
  387. id: that.id,
  388. }, 'POST').then(res => {
  389. uni.hideLoading();
  390. if(res.code==0){
  391. uni.showToast({
  392. title: '完成成功',
  393. icon: 'none',
  394. duration: 2000
  395. });
  396. }else{
  397. uni.showToast({
  398. title: res.msg,
  399. icon: 'none',
  400. duration: 2000
  401. });
  402. }
  403. setTimeout(function() {
  404. that.getData();
  405. }, 1000);
  406. })
  407. } else if (res.cancel) {
  408. }
  409. }
  410. });
  411. },
  412. bindPickerChange(e){
  413. console.log(e)
  414. this.shopName=this.pickerarray[e.detail.value].shopName
  415. this.shopId=this.pickerarray[e.detail.value].id
  416. },
  417. completeupdateShop(){
  418. uni.showLoading({
  419. title: '加载中'
  420. })
  421. this.$http('openH5ShopHelpSheetOrder/updateShop', {
  422. id: this.id,shopID:this.shopId,changeOldShopID:this.changeOldShopID,
  423. }, 'POST').then(res => {
  424. uni.hideLoading();
  425. this.updateShopShow=false;
  426. if(res.code==0){
  427. uni.showToast({
  428. title: '更换成功',
  429. icon: 'none',
  430. duration: 2000
  431. });
  432. }else{
  433. uni.showToast({
  434. title: res.msg,
  435. icon: 'none',
  436. duration: 2000
  437. });
  438. }
  439. setTimeout(function() {
  440. this.getData();
  441. }, 1000);
  442. })
  443. },
  444. confirmOrder(){
  445. var that = this
  446. uni.showModal({
  447. title: '提示',
  448. content: '是否确定该订单',
  449. cancelText:'否',
  450. confirmText:'是',
  451. success: function (res) {
  452. if (res.confirm) {
  453. uni.showLoading({
  454. title: '加载中'
  455. })
  456. that.$http('openH5ShopHelpSheetOrder/confirmOrder', {
  457. id: that.id,
  458. }, 'POST').then(res => {
  459. uni.hideLoading();
  460. // var list = res.data.Items
  461. uni.showToast({
  462. title: '确定成功',
  463. icon: 'none',
  464. duration: 2000
  465. });
  466. setTimeout(function() {
  467. that.getData();
  468. }, 1000);
  469. })
  470. } else if (res.cancel) {
  471. this.updateShopShow=false;
  472. }
  473. }
  474. });
  475. },
  476. getShopinfo(){
  477. this.$http('openH5SetTheGuest/getShopInfo',{},'GET').then(res => {
  478. this.shopName=res.data.shopName;
  479. this.shopId=res.data.id
  480. this.getShopList();
  481. })
  482. },
  483. getShopList(){
  484. this.$http('openH5SetTheGuest/getShopList', {
  485. },'GET').then(res => {
  486. this.pickerarray=res.data;
  487. })
  488. },
  489. complete(){
  490. this.completeShow=false;
  491. },
  492. updateShop(){
  493. this.updateShopShow=true;
  494. },
  495. isShowMaSHow(index){
  496. this.swiperIndex=index
  497. this.isShowMa=true
  498. },
  499. payDone(){
  500. var that = this
  501. uni.showModal({
  502. title: '提示',
  503. content: '确认已支付完成吗',
  504. success: function (res) {
  505. if (res.confirm) {
  506. uni.showLoading({
  507. title: '加载中'
  508. })
  509. that.$http('openH5Indent/complete', {
  510. id: that.id,
  511. }, 'POST').then(res => {
  512. uni.hideLoading();
  513. // var list = res.data.Items
  514. setTimeout(function() {
  515. that.getData();
  516. }, 1000);
  517. })
  518. } else if (res.cancel) {
  519. }
  520. }
  521. });
  522. },
  523. goTui(){
  524. let yuanyin = this.tuicauseList[this.index].contents
  525. if (!yuanyin) {
  526. uni.showToast({
  527. title: '请选择退款原因',
  528. icon: 'none',
  529. duration: 3000
  530. });
  531. return false;
  532. }
  533. uni.showLoading({
  534. title: '加载中'
  535. })
  536. var that = this
  537. this.$http('openH5Indent/reimburse', {
  538. id: this.id,
  539. refundReason: yuanyin,
  540. refundComment: this.tuikuanContent,
  541. realMoney:this.orderData.data.realMoney
  542. }, 'GET').then(res => {
  543. uni.hideLoading();
  544. // var list = res.data.Items
  545. // var list = res.data
  546. console.log("result+=", res);
  547. if (res.code == 1) {
  548. that.isShowTui = false
  549. uni.showToast({
  550. title: '退款成功',
  551. icon: 'none',
  552. duration: 2000
  553. });
  554. setTimeout(function() {
  555. that.getData();
  556. }, 1000);
  557. }
  558. })
  559. },
  560. bindChange(e) {
  561. console.log(e);
  562. this.index = e.detail.value
  563. },
  564. feedDone(e) {
  565. this.tuikuanContent = e.target.value
  566. },
  567. // 核销
  568. goHeXiao(){
  569. //app交互
  570. var standalone = window.navigator.standalone
  571. var userAgent = window.navigator.userAgent.toLowerCase()
  572. var safari = /safari/.test(userAgent)
  573. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  574. var android = /android/.test(userAgent)
  575. if (ios) {
  576. if ( true) {//!standalone&& !safari
  577. window.webkit.messageHandlers.goHeXiao.postMessage({"id":this.id?this.id:''})
  578. }
  579. } else if (android) {
  580. window.android.writeoff(this.id)
  581. }
  582. },
  583. getTuiKuanData() {
  584. uni.showLoading({
  585. title: '加载中'
  586. });
  587. this.$http('openH5Indent/getOpenReason', {
  588. // id: this.id,
  589. }, 'GET').then(res => {
  590. uni.hideLoading();
  591. this.tuicauseList = res.data;
  592. })
  593. },
  594. copy(txt) {
  595. uni.setClipboardData({
  596. data: txt,
  597. success: function() {
  598. uni.showToast({
  599. title: '复制成功',
  600. icon: 'none',
  601. duration: 2000
  602. });
  603. }
  604. });
  605. },
  606. upTime() {
  607. uni.showLoading({
  608. title: '加载中'
  609. })
  610. var that = this
  611. this.$http('openH5Indent/carOwner/updateTimeOfAppointment', {
  612. id: this.id,
  613. shopId: this.orderData.shopInfo.id,
  614. billDate: this.billDate
  615. }, 'POST').then(res => {
  616. uni.hideLoading();
  617. // var list = res.data.Items
  618. var list = res.data
  619. console.log("result+=", res.data);
  620. uni.showToast({
  621. title: '延期成功',
  622. icon: 'none',
  623. duration: 2000
  624. });
  625. setTimeout(function() {
  626. that.getData();
  627. }, 1000);
  628. })
  629. },
  630. cancelBespeak(){
  631. var that = this
  632. uni.showModal({
  633. title: '提示',
  634. content: '是否取消该订单',
  635. cancelText:'否',
  636. confirmText:'是',
  637. success: function (res) {
  638. if (res.confirm) {
  639. uni.showLoading({
  640. title: '加载中'
  641. })
  642. that.$http('openH5ShopHelpSheetOrder/cancelOrder', {
  643. id: that.id,
  644. }, 'POST').then(res => {
  645. uni.hideLoading();
  646. // var list = res.data.Items
  647. uni.showToast({
  648. title: '取消成功',
  649. icon: 'none',
  650. duration: 2000
  651. });
  652. setTimeout(function() {
  653. that.getData();
  654. }, 1000);
  655. })
  656. } else if (res.cancel) {
  657. }
  658. }
  659. });
  660. },
  661. map() {
  662. console.log("打开地图")
  663. var that = this;
  664. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  665. uni.showToast({
  666. title: '该店铺未设置定位',
  667. icon: 'none',
  668. duration: 3000
  669. });
  670. } else {
  671. uni.openLocation({
  672. latitude: Number(that.orderData.shopInfo.lat),
  673. longitude: Number(that.orderData.shopInfo.lng),
  674. name: that.orderData.shopInfo.shopName,
  675. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  676. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  677. success: function() {
  678. console.log('success');
  679. },
  680. fail(err) {
  681. console.log(err)
  682. }
  683. });
  684. }
  685. },
  686. call() {
  687. uni.makePhoneCall({
  688. phoneNumber: this.orderData.shopInfo.mobilePhone
  689. });
  690. },
  691. getData() {
  692. uni.showLoading({
  693. title: '加载中'
  694. });
  695. this.$http('openH5ShopHelpSheetOrder/getOpenShopHelpSheetOrderInfo', {
  696. id: this.id,
  697. }, 'GET').then(res => {
  698. uni.hideLoading();
  699. this.orderData = res.data;
  700. this.changeOldShopID=res.data.shopInfo.id;
  701. if (this.quanMaList) {
  702. this.quanMaList = [];
  703. }
  704. let maList = this.orderData.OpenSheetQRCode;
  705. if (maList) {
  706. maList.forEach(item =>{
  707. if (item.writeoffState==1) {
  708. this.quanMaList.push(item.qrCode);
  709. }
  710. })
  711. }
  712. console.log('可用券码--',this.quanMaList);
  713. })
  714. },
  715. goback() {
  716. if(this.back==1){
  717. uni.navigateBack({
  718. delta: 1
  719. })
  720. }else{
  721. var standalone = window.navigator.standalone
  722. var userAgent = window.navigator.userAgent.toLowerCase()
  723. var safari = /safari/.test(userAgent)
  724. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  725. var android = /android/.test(userAgent)
  726. if (ios) {
  727. if ( true) {//!standalone&& !safari
  728. window.webkit.messageHandlers.goMyNav.postMessage(null)
  729. }
  730. } else if (android) {
  731. window.android.postMessage()
  732. }
  733. }
  734. },
  735. gohome(){
  736. uni.switchTab({
  737. url:'../../index/index'
  738. })
  739. },
  740. },
  741. onPullDownRefresh() {
  742. this.getData()
  743. setTimeout(function() {
  744. uni.stopPullDownRefresh();
  745. }, 1000);
  746. },
  747. }
  748. </script>
  749. <style scoped>
  750. .informationNum2{
  751. color: #333333;
  752. font-size: 26rpx;
  753. }
  754. .startPointBox{
  755. width: 678rpx;
  756. background: #FFFFFF;
  757. border-radius: 10rpx;
  758. margin-top: 20rpx;
  759. margin-left: 24rpx;
  760. padding:30rpx 12rpx ;
  761. }
  762. .mapImg{
  763. width: 44rpx;height: 44rpx;
  764. }
  765. .hStartAddressBox{
  766. display: flex;
  767. }
  768. .hStartAddressBox2{
  769. padding-bottom: 30rpx;
  770. }
  771. .hEndAddressBox{
  772. border-top: 1px solid #EEEEEE;
  773. display: flex;padding-top: 30rpx;
  774. }
  775. .hEndAddressYd{
  776. width: 14rpx;
  777. height: 14rpx;
  778. background: #F03B3B;
  779. border-radius: 50%;
  780. margin-top: 12rpx;
  781. margin-right: 20rpx;
  782. }
  783. .hStartAddressYd{
  784. width: 14rpx;
  785. height: 14rpx;
  786. background: #3F90F7;
  787. border-radius: 50%;
  788. margin-top: 12rpx;
  789. margin-right: 20rpx;
  790. }
  791. .hStartAddress{
  792. font-weight: 400;font-size: 28rpx;
  793. color: #333333;padding-left: 30rpx;
  794. line-height: 40rpx;
  795. width: 400rpx;
  796. }
  797. .gomapDiv{
  798. font-weight: 400;font-size: 24rpx;
  799. color: #F03B3B;
  800. border-radius: 8rpx;
  801. border: 1px solid #F03B3B;
  802. height: 38rpx;
  803. line-height: 38rpx;
  804. padding:2rpx 12rpx;
  805. margin-left: 4rpx;
  806. }
  807. .startPointTitle{
  808. color: #666666;line-height: 40rpx;font-size: 28rpx;
  809. width: 120rpx;
  810. }
  811. .shopGhTitle{
  812. font-size: 30rpx;color: #333333;padding: 24rpx;
  813. }
  814. .jtShopImg{
  815. width: 24rpx;height: 24rpx;margin-top: 26rpx;margin-right: 26rpx;
  816. }
  817. .uniPicker{
  818. display: flex;
  819. }
  820. .uniPickerName{
  821. padding: 16rpx;font-size: 28rpx;color: #666666;
  822. }
  823. .box {
  824. min-height: 100vh;
  825. background: #F4F5F7;
  826. padding-bottom: 135rpx;
  827. }
  828. .zdyNavBox{
  829. width: 100vw;
  830. background: #FFFFFF;
  831. position: fixed;
  832. top: 0;
  833. left: 0;
  834. z-index: 9999999;
  835. }
  836. .zdyNav{
  837. height: 44px;
  838. display: flex;
  839. justify-content: space-between;
  840. align-items: center;
  841. }
  842. .backImg{
  843. width: 44rpx;
  844. height: 44rpx;
  845. margin-left: 10rpx;
  846. margin-right: 20rpx;
  847. }
  848. .homeImg{
  849. width: 44rpx;
  850. height: 44rpx;
  851. }
  852. .zdyNavLeft{
  853. display: flex;
  854. align-items: center;
  855. }
  856. .zdyNavTitle{
  857. height: 44px;
  858. background: #FFFFFF;
  859. text-align: center;
  860. font-size: 34rpx;
  861. line-height: 44px;
  862. }
  863. .top {
  864. height: 190rpx;
  865. background-color: #FF0000;
  866. }
  867. .orderState {
  868. display: flex;
  869. justify-content: center;
  870. align-items: center;
  871. padding-top: 40rpx;
  872. }
  873. .SheetState {
  874. display: flex;
  875. justify-content: center;
  876. font-size: 36rpx;
  877. font-weight: 500;
  878. color: #FFFFFF;
  879. margin-left: 15rpx;
  880. }
  881. .timeEditImg {
  882. width: 25rpx;
  883. height: 25rpx;
  884. padding-left: 20rpx;
  885. }
  886. .shopBoximg {
  887. width: 40rpx;
  888. height: 40rpx;
  889. }
  890. .shopRightImg {
  891. width: 44rpx;
  892. height: 45rpx;
  893. }
  894. .shopsx {
  895. width: 1px;
  896. height: 50rpx;
  897. background: #EEEEEE;
  898. margin-top: 30rpx;
  899. margin-left: 28rpx;
  900. }
  901. .shopBox {
  902. display: flex;
  903. padding: 30rpx 20rpx;
  904. margin: 0rpx 24rpx;
  905. margin-top: -60rpx;
  906. background-color: #FFFFFF;
  907. border-radius: 10rpx;
  908. }
  909. .shopCont {
  910. width: 405rpx;
  911. padding-left: 20rpx;
  912. }
  913. .shopName {
  914. font-size: 30rpx;
  915. font-weight: bold;
  916. color: #3C3C3C;
  917. line-height: 42rpx;
  918. }
  919. .Address {
  920. color: #999999;
  921. font-size: 24rpx;
  922. margin-top: 10rpx;
  923. }
  924. .shopRihgtTxt {
  925. color: #999999;
  926. font-size: 24rpx;
  927. }
  928. .shopRightBox {
  929. padding-left: 28rpx;
  930. }
  931. .detailedTitle {
  932. padding: 23rpx 20rpx;
  933. display: flex;
  934. text-align: center;
  935. align-content: flex-start;
  936. border-bottom: 1rpx solid #EEEEEE;
  937. font-size: 30rpx;
  938. font-weight: bold;
  939. color: #3C3C3C;
  940. }
  941. .detailedLine {
  942. display: flex;
  943. padding: 16rpx 20rpx;
  944. justify-content: space-between;
  945. align-items: center;
  946. }
  947. .detailedImg {
  948. width: 120rpx;
  949. height: 120rpx;
  950. border-radius: 10rpx;
  951. }
  952. .detailedName {
  953. display: flex;
  954. align-items: center;
  955. }
  956. .code {
  957. font-size: 26rpx;
  958. color: #333333;
  959. font-weight: bold;
  960. width: 180rpx
  961. }
  962. .old {
  963. color: #999999;
  964. font-weight: 400;
  965. text-decoration: line-through;
  966. }
  967. .redPoint {
  968. width: 10rpx;
  969. height: 10rpx;
  970. background: #FF0000;
  971. border-radius: 10rpx;
  972. margin-right: 10rpx;
  973. }
  974. .quanState {
  975. font-size: 22rpx;
  976. color: #F19D01;
  977. padding: 0 10rpx;
  978. border: 1rpx solid #F19D01;
  979. border-radius: 4rpx;
  980. margin-left: 20rpx;
  981. }
  982. .quanState2{
  983. font-size: 22rpx;
  984. color: #999999;
  985. padding: 0 10rpx;
  986. border: 1rpx solid #DDDDDD;
  987. border-radius: 4rpx;
  988. margin-left: 20rpx;
  989. }
  990. .information {
  991. background: #FFFFFF;
  992. border-radius: 10rpx;
  993. margin: 20rpx 24rpx;
  994. padding-bottom: 15rpx;
  995. }
  996. .informationLine {
  997. display: flex;
  998. padding: 15rpx 20rpx;
  999. }
  1000. .informationLine2 {
  1001. display: flex;
  1002. justify-content: space-between;
  1003. font-size: 26rpx;
  1004. padding: 20rpx;
  1005. align-items: center;
  1006. padding-bottom: 0;
  1007. }
  1008. .salePrice {
  1009. font-size: 26rpx;
  1010. font-weight: 500;
  1011. color: #333333;
  1012. line-height: 45rpx;
  1013. }
  1014. .money {
  1015. background: #FFFFFF;
  1016. border-radius: 10rpx;
  1017. margin: 20rpx 24rpx;
  1018. display: flex;
  1019. justify-content: space-between;
  1020. font-size: 26rpx;
  1021. padding: 30rpx 20rpx;
  1022. }
  1023. .informationTxt {
  1024. width: 190rpx;
  1025. font-size: 26rpx;
  1026. color: #999999;
  1027. }
  1028. .line {
  1029. height: 20rpx;
  1030. background-color: #FFFFFF;
  1031. border-bottom: 1rpx solid #EEEEEE;
  1032. }
  1033. .goodsName {
  1034. width: 80%;
  1035. color: #333333;
  1036. font-size: 26rpx;
  1037. }
  1038. .goodsName2{
  1039. padding: 20rpx 20rpx 15rpx;
  1040. color: #333333;
  1041. font-size: 26rpx;
  1042. }
  1043. .informationNum {
  1044. color: #333333;
  1045. font-size: 26rpx;
  1046. width: 470rpx;
  1047. }
  1048. .codeCopy {
  1049. width: 77rpx;
  1050. height: 36rpx;
  1051. background: #F4F5F7;
  1052. border-radius: 22rpx;
  1053. font-size: 24rpx;
  1054. color: #333333;
  1055. text-align: center;
  1056. line-height: 33rpx;
  1057. padding: 0 15rpx;
  1058. margin-left: 20rpx;
  1059. }
  1060. .bottom {
  1061. display: flex;
  1062. justify-content: flex-end;
  1063. padding: 20rpx;
  1064. background-color: #FFFFFF;
  1065. align-items: center;
  1066. height: 98rpx;
  1067. width: 100vw;
  1068. position: fixed;
  1069. bottom: 0rpx;
  1070. padding-bottom: constant(safe-area-inset-bottom);
  1071. padding-bottom: env(safe-area-inset-bottom);
  1072. }
  1073. .cancel {
  1074. color: #3C3C3C;
  1075. font-size: 28rpx;
  1076. width: 150rpx;
  1077. height: 56rpx;
  1078. border-radius: 36rpx;
  1079. border: 1rpx solid #DDDDDD;
  1080. text-align: center;
  1081. line-height: 56rpx;
  1082. margin-right: 40rpx;
  1083. }
  1084. .defer {
  1085. color: #D53533;
  1086. font-size: 28rpx;
  1087. width: 150rpx;
  1088. height: 56rpx;
  1089. border-radius: 36rpx;
  1090. border: 1rpx solid #D53533;
  1091. text-align: center;
  1092. line-height: 56rpx;
  1093. margin-right: 40rpx;
  1094. }
  1095. .itemBox {
  1096. margin: 20rpx;
  1097. border-radius: 10rpx;
  1098. border: 2rpx solid #EEEEEE;
  1099. }
  1100. .itemTop {
  1101. padding: 18rpx 20rpx;
  1102. padding-right: 0;
  1103. background-color: #FFEFD5;
  1104. display: flex;
  1105. justify-content: space-between;
  1106. align-content: center;
  1107. }
  1108. .topTitle {
  1109. width: 104rpx;
  1110. font-size: 26rpx;
  1111. color: #333333;
  1112. margin-right: 20rpx;
  1113. text-align: right;
  1114. }
  1115. .leftItem {
  1116. font-size: 26rpx;
  1117. color: #333333;
  1118. margin-right: 20rpx;
  1119. flex-grow: 1;
  1120. /* 隐藏文字显示 ...不换行 */
  1121. overflow: hidden;
  1122. text-overflow: ellipsis;
  1123. white-space: nowrap;
  1124. }
  1125. .itemContent {
  1126. padding: 20rpx;
  1127. padding-right: 0;
  1128. background-color: #FFFFFF;
  1129. display: flex;
  1130. justify-content: space-between;
  1131. align-content: center;
  1132. }
  1133. .maBox {
  1134. width: 100%;
  1135. height: 100vh;
  1136. background: rgba(0, 0, 0, 0.4);
  1137. position: fixed;
  1138. left: 0;
  1139. top: 0;
  1140. z-index: 9999;
  1141. }
  1142. .querenMa {
  1143. width: 578;
  1144. height: 640rpx;
  1145. background: #ffffff;
  1146. margin: 0 86rpx;
  1147. margin-top: 50%;
  1148. border-radius: 24rpx;
  1149. }
  1150. .maTop {
  1151. display: flex;
  1152. justify-content: space-between;
  1153. align-items: center;
  1154. padding: 30rpx 20rpx 15rpx;
  1155. }
  1156. .maTitle {
  1157. color: #666666;
  1158. font-size: 26rpx;
  1159. text-align: center;
  1160. padding-left: 100rpx;
  1161. }
  1162. .swiper{
  1163. width: 100%;
  1164. height: 85%;
  1165. background: #FFFFFF;
  1166. }
  1167. .swiper-item{
  1168. width: 100%;
  1169. height: 100%;
  1170. }
  1171. .maCode {
  1172. font-size: 30rpx;
  1173. font-weight: 500;
  1174. color: #333333;
  1175. line-height: 42rpx;
  1176. margin-bottom: 40rpx;
  1177. text-align: center;
  1178. }
  1179. .maBoximg {
  1180. width: 400rpx;
  1181. height: 400rpx;
  1182. margin-left: 86rpx;
  1183. }
  1184. .tuikuanBox {
  1185. width: 100%;
  1186. height: 100vh;
  1187. background: rgba(0, 0, 0, 0.4);
  1188. position: fixed;
  1189. left: 0;
  1190. top: 0;
  1191. z-index: 999;
  1192. }
  1193. .shopGhBox{
  1194. width: 638rpx;
  1195. height: 300rpx;
  1196. background: #ffffff;
  1197. margin: 0 36rpx;
  1198. margin-top: 50%;
  1199. border-radius: 24rpx;
  1200. padding: 30rpx 20rpx;
  1201. }
  1202. .tuikuan {
  1203. width: 638rpx;
  1204. height: 500rpx;
  1205. background: #ffffff;
  1206. margin: 0 36rpx;
  1207. margin-top: 50%;
  1208. border-radius: 24rpx;
  1209. padding: 30rpx 20rpx;
  1210. }
  1211. .tuiTop {
  1212. display: flex;
  1213. justify-content: space-between;
  1214. margin-bottom: 36rpx;
  1215. }
  1216. .tuiTitle {
  1217. width: 56rpx;
  1218. height: 40rpx;
  1219. font-size: 28rpx;
  1220. font-weight: 500;
  1221. color: #3C3C3C;
  1222. line-height: 40rpx;
  1223. }
  1224. .contLine {
  1225. display: flex;
  1226. justify-content: space-between;
  1227. font-size: 28rpx;
  1228. padding: 30rpx 0;
  1229. border-bottom: 1px solid #EEEEEE;
  1230. }
  1231. .contlineLeft {
  1232. color: #666666;
  1233. line-height: 40rpx;
  1234. align-items: center;
  1235. }
  1236. .star {
  1237. width: 14rpx;
  1238. height: 14rpx;
  1239. padding-bottom: 5rpx;
  1240. }
  1241. .carModel {
  1242. width: 350rpx;
  1243. text-align: left;
  1244. }
  1245. .noColor {
  1246. color: #CCCCCC;
  1247. }
  1248. .carModelRight {
  1249. display: flex;
  1250. justify-content: flex-start;
  1251. align-items: center;
  1252. }
  1253. .contlineRight {
  1254. color: #333333;
  1255. line-height: 40rpx;
  1256. width: 400rpx;
  1257. text-align: right;
  1258. }
  1259. .contlineRightInput {
  1260. color: #333333;
  1261. text-align: left;
  1262. font-size: 28rpx;
  1263. min-height: 182rpx;
  1264. width: 600rpx;
  1265. }
  1266. .contlineRightJt {
  1267. width: 30rpx;
  1268. height: 30rpx;
  1269. }
  1270. .tuiBtns {
  1271. display: flex;
  1272. padding: 40rpx 20rpx 10rpx;
  1273. }
  1274. .btn {
  1275. width: 288rpx;
  1276. height: 98rpx;
  1277. background: #F4F5F7;
  1278. border-radius: 10rpx;
  1279. margin-right: 22rpx;
  1280. font-size: 30rpx;
  1281. font-weight: 500;
  1282. color: #3C3C3C;
  1283. line-height: 98rpx;
  1284. text-align: center;
  1285. }
  1286. .btn2 {
  1287. width: 288rpx;
  1288. height: 98rpx;
  1289. background: #3F90F7;
  1290. border-radius: 10rpx;
  1291. font-size: 30rpx;
  1292. font-weight: 500;
  1293. color: #FFFFFF;
  1294. line-height: 98rpx;
  1295. text-align: center;
  1296. }
  1297. .writeoffLine{
  1298. display: flex;justify-content: space-between;
  1299. color: #999999;font-size: 24rpx;
  1300. line-height: 33rpx;padding-top: 8rpx;
  1301. }
  1302. .writeoffLineBox{
  1303. padding: 0 20rpx;
  1304. }
  1305. .detailedLineBox .detailedLine{
  1306. padding-bottom: 0rpx;
  1307. }
  1308. .writeoffXx .informationNum{
  1309. width: 500rpx;
  1310. }
  1311. .detailedLineBox{
  1312. padding-bottom: 10rpx;
  1313. }
  1314. .callPhone{
  1315. font-weight: 400;font-size: 24rpx;
  1316. color: #F03B3B;
  1317. border-radius: 8rpx;
  1318. border: 1px solid #F03B3B;
  1319. height: 38rpx;
  1320. line-height: 38rpx;
  1321. padding:2rpx 12rpx;
  1322. margin-left: 10rpx;
  1323. }
  1324. </style>