rescueOrderOrderDetail.vue 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561
  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. <image src="../../../static/img/nav_icon_home.png" mode="" class="homeImg" @click="gohome"></image>
  10. </view>
  11. <view class="zdyNavTitle">订单详情</view>
  12. <view style="width: 100px;"></view>
  13. </view>
  14. </view>
  15. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  16. <view style="height: 44px;"></view> -->
  17. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'订单详情'" :cj="3"></homenav>
  18. <view class="top" :style="{background:'#'+themeColor}">
  19. <view class="orderState">
  20. <image src="../../../static/img/icon_order_def.png" mode="" style="width: 44rpx;height: 44rpx;"></image>
  21. <view class="SheetState" v-if="orderData.data.sheetState == 1">待付款</view>
  22. <view class="SheetState" v-if="orderData.data.sheetState == 2">待服务</view>
  23. <view class="SheetState" v-if="orderData.data.sheetState == 3">已完成</view>
  24. <view class="SheetState" v-if="orderData.data.sheetState == 4">已取消</view>
  25. <view class="SheetState" v-if="orderData.data.sheetState == 5">待成团</view>
  26. </view>
  27. </view>
  28. <!-- 拼团信息 -->
  29. <!-- 店铺信息 -->
  30. <view class="shopBox" :class="{shopBoxpt:orderData.data.sheetState == 5}">
  31. <image src="../../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
  32. <view class="shopCont">
  33. <view class="shopName">{{orderData.shopInfo.shopName}}</view>
  34. <view class="Address">
  35. {{orderData.shopInfo.provinceName}}{{orderData.shopInfo.cityName}}{{orderData.shopInfo.areaName}}{{orderData.shopInfo.address}}
  36. </view>
  37. </view>
  38. <view class="shopRightBox" @click="map">
  39. <image src="../../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image>
  40. <view class="shopRihgtTxt">地图</view>
  41. </view>
  42. <view class="shopsx"></view>
  43. <view class="shopRightBox" @click="call">
  44. <image src="../../../static/img/icon_phone.png" mode="" class="shopRightImg"></image>
  45. <view class="shopRihgtTxt">电话</view>
  46. </view>
  47. </view>
  48. <!-- 救援信息 -->
  49. <view class="information">
  50. <view class="detailedTitle">救援信息</view>
  51. <view class="informationLine">
  52. <view class="informationTxt">救援单号:</view>
  53. <view class="informationNum">{{orderData.data.code}}<span class="codeCopy"
  54. @click="copy(orderData.data.code)">复制</span></view>
  55. </view>
  56. <view class="informationLine">
  57. <view class="informationTxt">救援类型:</view>
  58. <view class="informationNum">塔电/轮胎/拖车-救援场景</view>
  59. </view>
  60. <view class="informationLine" v-if="orderData.data.plateNumber">
  61. <view class="informationTxt">车牌号:</view>
  62. <view class="informationNum">{{orderData.data.plateNumber}}</view>
  63. </view>
  64. <view class="informationLine">
  65. <view class="informationTxt">车型:</view>
  66. <view class="informationNum">奥迪 A5 2.0 双离合变速器(DCT) 2017 3.0FSI尊</view>
  67. </view>
  68. <view class="informationLine">
  69. <view class="informationTxt">救援联系人:</view>
  70. <view class="informationNum">王家山</view>
  71. </view>
  72. <view class="informationLine" v-if="orderData.data.customerName">
  73. <view class="informationTxt">联系人:</view>
  74. <view class="informationNum">{{orderData.data.customerName}}</view>
  75. </view>
  76. <view class="informationLine" v-if="orderData.data.mobilePhone">
  77. <view class="informationTxt">手机号:</view>
  78. <view class="informationNum">{{orderData.data.mobilePhone}}</view>
  79. </view>
  80. <view class="informationLine" >
  81. <view class="informationTxt">起点:</view>
  82. <view class="informationNum">{{orderData.data.unit}}</view>
  83. </view>
  84. <view class="informationLine">
  85. <view class="informationTxt">终点:</view>
  86. <view class="informationNum">{{orderData.data.createTime}}</view>
  87. </view>
  88. </view>
  89. <!-- 支付信息 -->
  90. <view class="information">
  91. <view class="detailedTitle">订单信息</view>
  92. <view class="informationLine">
  93. <view class="informationTxt">下单时间:</view>
  94. <view class="informationNum" >2020-01-21 12:32:23</view>
  95. </view>
  96. <view class="informationLine">
  97. <view class="informationTxt">下单人:</view>
  98. <view class="informationNum" >王家山</view>
  99. </view>
  100. <view class="informationLine">
  101. <view class="informationTxt">下单时间:</view>
  102. <view class="informationNum" >2020-01-21 12:32:23</view>
  103. </view>
  104. <view class="informationLine">
  105. <view class="informationTxt">下单人:</view>
  106. <view class="informationNum" >王家山</view>
  107. </view>
  108. <view class="informationLine">
  109. <view class="informationTxt">确认时间:</view>
  110. <view class="informationNum" >2020-01-21 12:32:23</view>
  111. </view>
  112. <view class="informationLine">
  113. <view class="informationTxt">确认人:</view>
  114. <view class="informationNum" >王家山</view>
  115. </view>
  116. <view class="informationLine">
  117. <view class="informationTxt">出发时间:</view>
  118. <view class="informationNum" >2020-01-21 12:32:23</view>
  119. </view>
  120. <view class="informationLine">
  121. <view class="informationTxt">完成人:</view>
  122. <view class="informationNum" >王家山</view>
  123. </view>
  124. <view class="informationLine">
  125. <view class="informationTxt">完成备注:</view>
  126. <view class="informationNum" >王家山</view>
  127. </view>
  128. <view class="informationLine">
  129. <view class="informationTxt">取消时间:</view>
  130. <view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
  131. </view>
  132. <view class="informationLine">
  133. <view class="informationTxt">取消人:</view>
  134. <view class="informationNum" >王家山</view>
  135. </view>
  136. <view class="informationLine">
  137. <view class="informationTxt">取消备注:</view>
  138. <view class="informationNum" >王家山</view>
  139. </view>
  140. </view>
  141. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  142. <view class="bottom">
  143. <!-- <view class="cancel" @click="cancelBespeak" v-if="orderData.data.groupType==1">取消订单</view> -->
  144. <view class="cancel" @click="cancelBespeak" >取消订单</view>
  145. <view class="defer" :style="{border:'1rpx solid #'+themeColor,color:'#'+themeColor}" @click="pay">评价</view>
  146. <view class="defer" :style="{border:'1rpx solid #'+themeColor,color:'#'+themeColor}" @click="pay">查看评价</view>
  147. </view>
  148. <!-- 手机号授权 -->
  149. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  150. <view class="authorizCont" @click.stop="">
  151. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  152. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  153. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  154. </view>
  155. <view style="text-align: center;padding-top: 56rpx;">
  156. <image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  157. </view>
  158. </view>
  159. <!-- 全部团员 -->
  160. <view class="maBox" v-if="seeTyshow" @click="seeTyHide">
  161. <view class="grouptk" @click.stop="">
  162. <view class="maTop">
  163. <view class="maTitle maTitle2 ">全部团员</view>
  164. <image src="../../../static/img/icon_delete.png" mode=""
  165. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;" @click="seeTyHide"></image>
  166. </view>
  167. <view class="grouptkCobt">
  168. <view class="grouptkLIne" v-for="(item,index) in orderData.groupList">
  169. <view class="grouptkLIneLeft">
  170. <view class="groupTz" v-if="item.groupMemberLevel==1">团长</view>
  171. <view class="groupTy" v-else>团员</view>
  172. <view class="groupmobilePhone">{{item.mobilePhone}}</view>
  173. </view>
  174. <view class="grouptkLIneTime">{{item.payTime}}</view>
  175. </view>
  176. </view>
  177. </view>
  178. </view>
  179. <!-- 退款原因 -->
  180. <view class="tuikuanBox" v-if="isShowTui==true">
  181. <view class="tuikuan">
  182. <view class="tuiTop">
  183. <view class="tuiTitle">退款</view>
  184. <image @click="isShowTuiHide" src="../../../static/img/icon_delete.png" mode=""
  185. style="width: 26rpx; height: 26rpx;"></image>
  186. </view>
  187. <view class="contLine">
  188. <view class="contlineLeft">
  189. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  190. 退款原因
  191. </view>
  192. <view class="contlineRight carModelRight" @click="">
  193. <picker class="carModel" @change="bindChange" mode="selector" :value="index"
  194. :range="tuicauseList" range-key="contents">
  195. <view class="uni-input">{{tuicauseList[index].contents}}</view>
  196. <!-- <view class="uni-input noColor" v-else>请选择</view> -->
  197. </picker>
  198. <image src="../../static/img/little_rightArrow.png" mode="" class="contlineRightJt"></image>
  199. </view>
  200. </view>
  201. <view class="contLine">
  202. <view class="contlineLeft">
  203. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  204. 退款金额
  205. </view>
  206. <view class="contlineRight carModelRight" @click="cktime">
  207. <span class="carModel">{{orderData.data.realMoney}}</span>
  208. </view>
  209. </view>
  210. <view class="contLine">
  211. <view class="contlineLeft">
  212. <image src="" mode="" class="star"></image>
  213. 补充描述
  214. </view>
  215. <view class="contlineRight">
  216. <textarea placeholder-style="color:#999999" placeholder="请输入" v-model="tuikuanContent"
  217. class="contlineRightInput" maxlength="-1" auto-height="true" @confirm="feedDone" />
  218. </view>
  219. </view>
  220. <view class="tuiBtns">
  221. <view class="btn" @click="isShowTuiHide">取消</view>
  222. <view class="btn2" @click="goTui">确认退款</view>
  223. </view>
  224. </view>
  225. </view>
  226. </view>
  227. </template>
  228. <script>
  229. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  230. import homenav from "@/components/homenav/nav.vue"
  231. export default {
  232. components: {
  233. tkiQrcode,homenav
  234. },
  235. data() {
  236. return {
  237. id: '',
  238. iStatusBarHeight:'',
  239. orderData: '',
  240. onval: true, // val值变化时自动重新生成二维码
  241. loadMake: true, // 组件加载完成后自动生成二维码
  242. size: 500,
  243. qrcodeShow: false,
  244. qrcodeTop: '-100vh',
  245. qrcodeTopVal: '',
  246. ifShow: false,
  247. val: '二维码', // 要生成的二维码值
  248. unit: 'upx', // 单位
  249. background: '#b4e9e2', // 背景色
  250. foreground: '#309286', // 前景色
  251. pdground: '#262637', // 角标色
  252. icon: '', // 二维码图标
  253. iconsize: 40, // 二维码图标大小
  254. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  255. src: '', // 二维码生成后的图片地址或base64
  256. isShowMa: false,
  257. quanMaList:[],
  258. themeColor:'',
  259. authorizShow:false,
  260. userInfo:'',
  261. ext:'',
  262. wxOpenData:'',
  263. dh:'',
  264. dm:'',
  265. ds:'',
  266. seeTyshow:false,
  267. isShowTui:false,
  268. index:0,
  269. tuicauseList: [],
  270. tuikuanContent: '',
  271. swiperIndex:0,
  272. }
  273. },
  274. //0拼团取消1拼团失败 2拼团中3拼团成功4自动成团 groupState
  275. onLoad(opt) {
  276. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  277. this.id = 'AF587F01-26A6-4560-AF7A-13AEE59B3CDF'
  278. this.themeColor = uni.getStorageSync("themeColor");
  279. this.userInfo=this.$store.state.userInfo;
  280. this.ext=this.$common.getExtStoreId();
  281. if(this.userInfo){
  282. if (this.id) {
  283. this.getData();
  284. this.getTuiKuanData()
  285. }
  286. }else{
  287. this.$common.automaticlogin().then(val => {
  288. this.userInfo=this.$store.state.userInfo;
  289. this.wxOpenData=this.$store.state.wxOpenData;
  290. this.themeColor = uni.getStorageSync("themeColor");
  291. if (this.id) {
  292. this.getData();
  293. this.getTuiKuanData()
  294. }
  295. if(!this.userInfo){
  296. this.authorizShow=true
  297. }
  298. })
  299. }
  300. },
  301. methods: {
  302. isShowTuiHide(){
  303. this.isShowTui=false;
  304. },
  305. bindChange(e) {
  306. console.log(e);
  307. this.index = e.detail.value
  308. },
  309. getTuiKuanData() {
  310. console.log("退款原因")
  311. this.$http('openMallOrder/getOpenReason', {
  312. // id: this.id,
  313. }, 'GET').then(res => {
  314. this.tuicauseList = res.data;
  315. })
  316. },
  317. goTui(){
  318. var that=this;
  319. uni.showLoading({
  320. title: '加载中'
  321. })
  322. let yuanyin = this.tuicauseList[this.index].contents
  323. that.$http('openMallOrder/cancelOrder', {
  324. realMoney:that.orderData.data.realMoney,
  325. sheetId: that.id,
  326. refundReason:yuanyin,
  327. refundComment:this.tuikuanContent,
  328. }, 'POST').then(res => {
  329. uni.hideLoading();
  330. // var list = res.data.Items
  331. this.isShowTui=false;
  332. uni.showToast({
  333. title: '取消成功',
  334. icon: 'none',
  335. duration: 2000
  336. });
  337. setTimeout(function() {
  338. that.getData();
  339. }, 1000);
  340. })
  341. },
  342. cancelOrder(){
  343. this.isShowTui=true;
  344. },
  345. seeTyHide(){
  346. this.seeTyshow=false;
  347. },
  348. seeTyshowBtn(){
  349. this.seeTyshow=true;
  350. },
  351. decryptPhoneNumber: function(e) {
  352. console.log(e);
  353. this.code=e.detail.code
  354. this.wxPhoneLogin()
  355. this.authorizShow=false;
  356. },
  357. wxPhoneLogin(){
  358. var that=this;
  359. this.$http('miniApp2/sys/wxPhoneLogin', {
  360. appId:this.ext.appId,
  361. unionId:this.ext.unionId,
  362. code:this.code,
  363. openId:this.wxOpenData.openid
  364. },'POST').then(res => {
  365. var data = res.data;
  366. if(data.loginInfo){
  367. this.userInfo=data.loginInfo.openUser;
  368. this.wxOpenData=data.loginInfo;
  369. this.$store.commit('mutationswxOpenData', data)
  370. this.$store.commit('mutationsuserInfo', this.userInfo)
  371. this.getData()
  372. }
  373. })
  374. },
  375. isShowMaSHow(index){
  376. this.swiperIndex=index
  377. this.isShowMa=true
  378. },
  379. isShowMaHide(){
  380. this.isShowMa=false
  381. },
  382. goDetail(id) {
  383. console.log('id--',id);
  384. uni.navigateTo({
  385. url: '../../activity/jkDetail?id=' + id
  386. })
  387. },
  388. pay(){
  389. this.$http('openMallOrder/unifiedPay', {
  390. sheetId:this.id
  391. },'POST').then(res => {
  392. if(res.code==0){
  393. this.requestPayment(res.data)
  394. }else{
  395. uni.showToast({
  396. title: res.msg,
  397. icon: 'none',
  398. duration: 3000
  399. });
  400. }
  401. })
  402. },
  403. requestPayment(res){
  404. var payInfo=res;
  405. //console.log(payInfo)
  406. //console.log(String(Date.now()))
  407. var that=this;
  408. uni.requestPayment({
  409. provider: 'wxpay',
  410. //timeStamp: String(Date.now()),
  411. timeStamp: payInfo.timeStamp,
  412. nonceStr: payInfo.nonceStr,
  413. package:payInfo.package,
  414. signType: payInfo.signType,
  415. paySign: payInfo.paySign,
  416. appid:payInfo.appId,
  417. success: function (res) {
  418. console.log('success:' + JSON.stringify(res));
  419. uni.showToast({
  420. title: '支付成功',
  421. icon:'none',
  422. duration: 2000
  423. });
  424. that.getData()
  425. },
  426. fail: function (err) {
  427. console.log(err)
  428. uni.showToast({
  429. title: '支付失败',
  430. icon:'none',
  431. duration: 2000
  432. });
  433. }
  434. });
  435. },
  436. copy(txt) {
  437. uni.setClipboardData({
  438. data: txt,
  439. success: function() {
  440. uni.showToast({
  441. title: '复制成功',
  442. icon: 'none',
  443. duration: 2000
  444. });
  445. }
  446. });
  447. },
  448. upTime() {
  449. uni.showLoading({
  450. title: '加载中'
  451. })
  452. var that = this
  453. this.$http('openreservation/carOwner/updateTimeOfAppointment', {
  454. id: this.id,
  455. shopId: this.orderData.shopInfo.id,
  456. billDate: this.billDate
  457. }, 'POST').then(res => {
  458. uni.hideLoading();
  459. // var list = res.data.Items
  460. var list = res.data
  461. console.log("result+=", res.data);
  462. uni.showToast({
  463. title: '延期成功',
  464. icon: 'none',
  465. duration: 2000
  466. });
  467. setTimeout(function() {
  468. that.getData();
  469. }, 1000);
  470. })
  471. },
  472. cancelBespeak(){
  473. var that = this
  474. uni.showModal({
  475. title: '提示',
  476. content: '是否取消该订单',
  477. cancelText:'否',
  478. confirmText:'是',
  479. success: function (res) {
  480. if (res.confirm) {
  481. uni.showLoading({
  482. title: '加载中'
  483. })
  484. that.$http('openOrderManagement/updateSheetState', {
  485. id: that.id,
  486. }, 'POST').then(res => {
  487. uni.hideLoading();
  488. // var list = res.data.Items
  489. uni.showToast({
  490. title: '取消成功',
  491. icon: 'none',
  492. duration: 2000
  493. });
  494. setTimeout(function() {
  495. that.getData();
  496. }, 1000);
  497. })
  498. } else if (res.cancel) {
  499. }
  500. }
  501. });
  502. },
  503. map() {
  504. console.log("打开地图")
  505. var that = this;
  506. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  507. uni.showToast({
  508. title: '该店铺未设置定位',
  509. icon: 'none',
  510. duration: 3000
  511. });
  512. } else {
  513. uni.openLocation({
  514. latitude: Number(that.orderData.shopInfo.lat),
  515. longitude: Number(that.orderData.shopInfo.lng),
  516. name: that.orderData.shopInfo.shopName,
  517. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  518. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  519. success: function() {
  520. console.log('success');
  521. },
  522. fail(err) {
  523. console.log(err)
  524. }
  525. });
  526. }
  527. },
  528. call() {
  529. uni.makePhoneCall({
  530. phoneNumber: this.orderData.shopInfo.mobilePhone
  531. });
  532. },
  533. getData() {
  534. uni.showLoading({
  535. title: '加载中'
  536. });
  537. this.$http('openOrderManagement/queryOpenSheet', {
  538. id: this.id,
  539. }, 'GET').then(res => {
  540. uni.hideLoading();
  541. this.orderData = res.data;
  542. if (this.quanMaList) {
  543. this.quanMaList = [];
  544. }
  545. let maList = this.orderData.OpenSheetQRCode;
  546. if (maList) {
  547. maList.forEach(item =>{
  548. if (item.writeoffState==1) {
  549. this.quanMaList.push(item.qrCode);
  550. }
  551. })
  552. }
  553. this.clock()
  554. console.log('可用券码--',this.quanMaList);
  555. })
  556. },
  557. getData2() {
  558. uni.showLoading({
  559. title: '加载中'
  560. });
  561. this.$http('openOrderManagement/queryOpenSheet', {
  562. id: this.id,
  563. }, 'GET').then(res => {
  564. uni.hideLoading();
  565. this.orderData = res.data;
  566. if (this.quanMaList) {
  567. this.quanMaList = [];
  568. }
  569. let maList = this.orderData.OpenSheetQRCode;
  570. if (maList) {
  571. maList.forEach(item =>{
  572. if (item.writeoffState==1) {
  573. this.quanMaList.push(item.qrCode);
  574. }
  575. })
  576. }
  577. })
  578. },
  579. clock(){
  580. let _this = this
  581. let today = new Date() // 当前时间
  582. let h = today.getHours()
  583. let m = today.getMinutes()
  584. let s = today.getSeconds()
  585. let startTime = new Date(_this.orderData.openGroup.endTime.replace(/-/g, '/')) // 结束时间
  586. if (Number(new Date(_this.orderData.openGroup.endTime).getTime()) < Number(new Date().getTime())) {
  587. //this.activityNoOpen = true
  588. this.dh=0;
  589. this.dm=0;
  590. this.ds=0;
  591. _this.getData2();
  592. return false
  593. }
  594. let stopH = startTime.getHours()
  595. let stopM = startTime.getMinutes()
  596. let stopS = startTime.getSeconds()
  597. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  598. //console.log(shenyu)
  599. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  600. // let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  601. let D = parseInt(shenyu)
  602. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  603. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  604. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  605. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  606. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  607. //console.log(S)
  608. // this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  609. // setTimeout("clock()",500);
  610. this.dh=shengyuH;
  611. this.dm=shengyuM;
  612. this.ds=S;
  613. if(this.dh<10){
  614. this.dh='0'+this.dh
  615. }
  616. if(this.dm<10){
  617. this.dm='0'+this.dm
  618. }
  619. if(this.ds<10){
  620. this.ds='0'+this.ds
  621. }
  622. setTimeout(_this.clock, 1000)
  623. },
  624. goback() {
  625. uni.navigateBack({
  626. delta: 1
  627. })
  628. },
  629. gohome(){
  630. uni.switchTab({
  631. url:'../../index/index'
  632. })
  633. },
  634. },
  635. onPullDownRefresh() {
  636. this.getData()
  637. setTimeout(function() {
  638. uni.stopPullDownRefresh();
  639. }, 1000);
  640. },
  641. onShareAppMessage(res) {
  642. console.log(this.userInfo)
  643. var img='';
  644. /* if(this.info.ImgList.length>0){
  645. img=this.info.ImgList[0].url
  646. } */
  647. return {
  648. title: this.orderData.data.sheetContent,
  649. //imageUrl:this.mainImg,
  650. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  651. path: 'pages/subPack/jkDetail?id=' + this.orderData.openSheetDetail[0].itemId+'&shareId='+this.userInfo.openId+'&groupID='+this.orderData.data.groupID+'&shareName='+this.userInfo.nickName,
  652. success(res){
  653. uni.showToast({
  654. title:'分享成功'
  655. })
  656. },
  657. fail(res){
  658. uni.showToast({
  659. title:'分享失败',
  660. icon:'none',
  661. duration: 3000
  662. })
  663. }
  664. }
  665. },
  666. }
  667. </script>
  668. <style scoped>
  669. .groupStateIcon{
  670. width: 28rpx;height: 28rpx;
  671. }
  672. .groupStateTxt{
  673. font-weight: 400;padding-left: 8rpx;
  674. color: #3C3C3C;line-height: 28rpx;
  675. font-size: 26rpx;
  676. }
  677. .groupStateBox{
  678. display: flex;
  679. }
  680. .detailedTitle{
  681. display: flex;justify-content: space-between;
  682. }
  683. .grouptk{
  684. width: 638rpx;
  685. height: 750rpx;
  686. background: #FFFFFF;
  687. border-radius: 24rpx;
  688. margin-top: 300rpx;
  689. margin-left: 56rpx;
  690. }
  691. .grouptkLIneLeft{
  692. display: flex;
  693. }
  694. .groupTz{
  695. border-radius: 15rpx;padding: 0 10rpx;margin-right: 8rpx;
  696. border: 1rpx solid #FF9D00;color: #FF9D00;font-size: 22rpx;
  697. }
  698. .groupTy{
  699. border-radius: 15rpx;padding: 0 10rpx;margin-right: 8rpx;
  700. border: 1rpx solid #764D49;color: #764D49;font-size: 22rpx;
  701. }
  702. .grouptkLIne{
  703. display: flex;padding: 15rpx 24rpx;
  704. justify-content: space-between;font-weight: 400;
  705. color: #3C3C3C;font-size: 26rpx;line-height: 32rpx;
  706. }
  707. .grouptk .maTitle{
  708. padding-left: 4rpx;
  709. color: #333333;font-weight: 500;
  710. }
  711. .ptCont{
  712. width: 702rpx;
  713. height: 297rpx;
  714. background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
  715. border-radius: 10rpx;
  716. margin-left: 24rpx;
  717. margin-top: -60rpx;
  718. }
  719. .ptTimeBox{
  720. display: flex;font-weight: 400;justify-content: center;padding-top: 24rpx;
  721. }
  722. .ptTimeTxt{
  723. font-weight: 400;font-size: 24rpx;line-height: 42rpx;
  724. color: #764D49;padding-right: 18rpx;
  725. }
  726. .ptdd{
  727. font-size: 24rpx;padding:0 8rpx;
  728. line-height: 42rpx;
  729. font-weight: 400;
  730. color: #764D49;
  731. }
  732. .ptTime{
  733. width: 42rpx;font-size: 24rpx;
  734. height: 42rpx;text-align: center;line-height: 42rpx;
  735. background: #FF0000;
  736. border-radius: 6rpx;
  737. font-weight: 500;
  738. color: #FFFFFF;
  739. }
  740. .DiffBNumber{
  741. color: #764D49;font-size: 24rpx;text-align: center;padding-top:16rpx;padding-bottom: 30rpx;
  742. }
  743. .ptmobilePhoneLine{
  744. display: flex;font-weight: 400;justify-content: center;
  745. color: #764D49;font-size: 26rpx;padding-top:20rpx;
  746. }
  747. .vipIcon{
  748. width: 32rpx;height: 32rpx;margin-right: 8rpx;
  749. }
  750. .seeTy{
  751. width: 260rpx;line-height: 62rpx;text-align: center;
  752. height: 62rpx;color: #FF0000;
  753. border-radius: 36rpx;font-size: 26rpx;
  754. border: 2rpx solid #FF0000;
  755. margin-right: 15rpx;
  756. }
  757. .ptBtnBox{
  758. display: flex;
  759. justify-content: center;
  760. }
  761. .yqhypt{
  762. width: 260rpx;color: #FFFFFF;line-height: 66rpx;text-align: center;
  763. height: 66rpx;font-size: 26rpx;
  764. background: linear-gradient(132deg, #FD5C05 0%, #FD0323 100%);
  765. border-radius: 36rpx;
  766. margin-left: 15rpx;
  767. }
  768. .box {
  769. min-height: 100vh;
  770. background: #F4F5F7;
  771. padding-bottom: 135rpx;
  772. }
  773. .zdyNavBox{
  774. width: 100vw;
  775. background: #FFFFFF;
  776. position: fixed;
  777. top: 0;
  778. left: 0;
  779. z-index: 9999999;
  780. }
  781. .zdyNav{
  782. height: 44px;
  783. display: flex;
  784. justify-content: space-between;
  785. align-items: center;
  786. }
  787. .backImg{
  788. width: 44rpx;
  789. height: 44rpx;
  790. margin-left: 10rpx;
  791. margin-right: 20rpx;
  792. }
  793. .homeImg{
  794. width: 44rpx;
  795. height: 44rpx;
  796. }
  797. .zdyNavLeft{
  798. display: flex;
  799. align-items: center;
  800. }
  801. .zdyNavTitle{
  802. width: 100vw;
  803. height: 44px;
  804. background: #FFFFFF;
  805. text-align: center;
  806. font-size: 34rpx;
  807. line-height: 44px;
  808. }
  809. .top {
  810. height: 190rpx;
  811. background: #FF0000;
  812. }
  813. .orderState {
  814. display: flex;
  815. justify-content: center;
  816. align-items: center;
  817. padding-top: 40rpx;
  818. }
  819. .SheetState {
  820. display: flex;
  821. justify-content: center;
  822. font-size: 36rpx;
  823. font-weight: 500;
  824. color: #FFFFFF;
  825. margin-left: 15rpx;
  826. }
  827. .timeEditImg {
  828. width: 25rpx;
  829. height: 25rpx;
  830. padding-left: 20rpx;
  831. }
  832. .shopBoximg {
  833. width: 40rpx;
  834. height: 40rpx;
  835. }
  836. .shopRightImg {
  837. width: 44rpx;
  838. height: 45rpx;
  839. }
  840. .shopsx {
  841. width: 1px;
  842. height: 50rpx;
  843. background: #EEEEEE;
  844. margin-top: 30rpx;
  845. margin-left: 28rpx;
  846. }
  847. .shopBox {
  848. display: flex;
  849. padding: 30rpx 20rpx;
  850. margin: 0rpx 24rpx;
  851. margin-top: -60rpx;
  852. background-color: #FFFFFF;
  853. border-radius: 10rpx;
  854. }
  855. .shopCont {
  856. width: 405rpx;
  857. padding-left: 20rpx;
  858. }
  859. .shopName {
  860. font-size: 30rpx;
  861. font-weight: bold;
  862. color: #3C3C3C;
  863. line-height: 42rpx;
  864. }
  865. .Address {
  866. color: #999999;
  867. font-size: 24rpx;
  868. margin-top: 10rpx;
  869. }
  870. .shopRihgtTxt {
  871. color: #999999;
  872. font-size: 24rpx;
  873. }
  874. .shopRightBox {
  875. padding-left: 28rpx;
  876. }
  877. .detailedTitle {
  878. padding: 23rpx 20rpx;
  879. display: flex;
  880. text-align: center;
  881. align-content: flex-start;
  882. border-bottom: 1rpx solid #EEEEEE;
  883. font-size: 30rpx;
  884. font-weight: bold;
  885. color: #3C3C3C;
  886. }
  887. .detailedLine {
  888. display: flex;
  889. padding: 16rpx 20rpx;
  890. justify-content: space-between;
  891. align-items: center;
  892. }
  893. .detailedImg {
  894. width: 120rpx;
  895. height: 120rpx;
  896. border-radius: 10rpx;
  897. }
  898. .detailedName {
  899. display: flex;
  900. align-items: center;
  901. }
  902. .code {
  903. font-size: 26rpx;
  904. color: #333333;
  905. font-weight: bold;
  906. width: 180rpx
  907. }
  908. .old {
  909. color: #999999;
  910. font-weight: 400;
  911. text-decoration: line-through;
  912. }
  913. .redPoint {
  914. width: 10rpx;
  915. height: 10rpx;
  916. background: #FF0000;
  917. border-radius: 10rpx;
  918. margin-right: 10rpx;
  919. }
  920. .quanState {
  921. font-size: 22rpx;
  922. color: #F19D01;
  923. padding: 0 10rpx;
  924. border: 1rpx solid #F19D01;
  925. border-radius: 4rpx;
  926. margin-left: 20rpx;
  927. }
  928. .quanState2{
  929. font-size: 22rpx;
  930. color: #999999;
  931. padding: 0 10rpx;
  932. border: 1rpx solid #DDDDDD;
  933. border-radius: 4rpx;
  934. margin-left: 20rpx;
  935. }
  936. .information {
  937. background: #FFFFFF;
  938. border-radius: 10rpx;
  939. margin: 20rpx 24rpx;
  940. padding-bottom: 15rpx;
  941. }
  942. .informationLine {
  943. display: flex;
  944. padding: 15rpx 20rpx;
  945. }
  946. .informationLine2 {
  947. display: flex;
  948. justify-content: space-between;
  949. font-size: 26rpx;
  950. padding: 20rpx;
  951. align-items: center;
  952. padding-bottom: 0;
  953. }
  954. .salePrice {
  955. padding-left: 20rpx;
  956. padding-top: 15rpx;
  957. font-size: 26rpx;
  958. font-weight: 500;
  959. color: #333333;
  960. line-height: 45rpx;
  961. }
  962. .money {
  963. background: #FFFFFF;
  964. border-radius: 10rpx;
  965. margin: 20rpx 24rpx;
  966. display: flex;
  967. justify-content: space-between;
  968. font-size: 26rpx;
  969. padding: 30rpx 20rpx;
  970. }
  971. .informationTxt {
  972. width: 190rpx;
  973. font-size: 26rpx;
  974. color: #999999;
  975. }
  976. .line {
  977. height: 20rpx;
  978. background-color: #FFFFFF;
  979. border-bottom: 1rpx solid #EEEEEE;
  980. }
  981. .goodsName {
  982. width: 70%;
  983. color: #333333;
  984. font-size: 26rpx;
  985. }
  986. .huodong{
  987. display: flex;
  988. align-items: center;
  989. }
  990. .goodsName3{
  991. color: #333333;
  992. font-size: 26rpx;
  993. }
  994. .goodsName2{
  995. padding: 20rpx 20rpx 15rpx;
  996. color: #333333;
  997. font-size: 26rpx;
  998. }
  999. .informationNum {
  1000. color: #333333;
  1001. font-size: 26rpx;
  1002. }
  1003. .codeCopy {
  1004. width: 77rpx;
  1005. height: 36rpx;
  1006. background: #F4F5F7;
  1007. border-radius: 22rpx;
  1008. font-size: 24rpx;
  1009. color: #333333;
  1010. text-align: center;
  1011. line-height: 33rpx;
  1012. padding: 0 15rpx;
  1013. margin-left: 20rpx;
  1014. }
  1015. .orderBottom {
  1016. width: 750rpx;
  1017. height: 98rpx;
  1018. background: #FFFFFF;
  1019. position: fixed;
  1020. left: 0;
  1021. bottom: 0;
  1022. display: flex;
  1023. justify-content: flex-end;
  1024. }
  1025. .bottom {
  1026. display: flex;
  1027. justify-content: flex-end;
  1028. padding: 20rpx;
  1029. background-color: #FFFFFF;
  1030. align-items: center;
  1031. height: 98rpx;
  1032. width: 100vw;
  1033. position: fixed;
  1034. bottom: 0rpx;
  1035. padding-bottom: constant(safe-area-inset-bottom);
  1036. padding-bottom: env(safe-area-inset-bottom);
  1037. }
  1038. .cancel {
  1039. color: #3C3C3C;
  1040. font-size: 28rpx;
  1041. width: 150rpx;
  1042. height: 56rpx;
  1043. border-radius: 36rpx;
  1044. border: 1rpx solid #DDDDDD;
  1045. text-align: center;
  1046. line-height: 56rpx;
  1047. margin-right: 40rpx;
  1048. }
  1049. .defer {
  1050. color: #D53533;
  1051. font-size: 28rpx;
  1052. width: 150rpx;
  1053. height: 56rpx;
  1054. border-radius: 36rpx;
  1055. border: 1rpx solid #D53533;
  1056. text-align: center;
  1057. line-height: 56rpx;
  1058. margin-right: 40rpx;
  1059. }
  1060. .itemBox {
  1061. margin: 20rpx;
  1062. border-radius: 10rpx;
  1063. border: 2rpx solid #EEEEEE;
  1064. }
  1065. .itemTop {
  1066. padding: 18rpx 20rpx;
  1067. padding-right: 0;
  1068. background-color: #FFEFD5;
  1069. display: flex;
  1070. justify-content: space-between;
  1071. align-content: center;
  1072. }
  1073. .topTitle {
  1074. width: 104rpx;
  1075. font-size: 26rpx;
  1076. color: #333333;
  1077. margin-right: 20rpx;
  1078. text-align: right;
  1079. }
  1080. .leftItem {
  1081. font-size: 26rpx;
  1082. color: #333333;
  1083. margin-right: 20rpx;
  1084. flex-grow: 1;
  1085. /* 隐藏文字显示 ...不换行 */
  1086. overflow: hidden;
  1087. text-overflow: ellipsis;
  1088. white-space: nowrap;
  1089. }
  1090. .itemContent {
  1091. padding: 20rpx;
  1092. padding-right: 0;
  1093. background-color: #FFFFFF;
  1094. display: flex;
  1095. justify-content: space-between;
  1096. align-content: center;
  1097. }
  1098. .maBox {
  1099. width: 100%;
  1100. height: 100vh;
  1101. background: rgba(0, 0, 0, 0.4);
  1102. position: fixed;
  1103. left: 0;
  1104. top: 0;
  1105. z-index: 9999;
  1106. }
  1107. .querenMa {
  1108. width: 578;
  1109. height: 640rpx;
  1110. background: #ffffff;
  1111. margin: 0 86rpx;
  1112. margin-top: 50%;
  1113. border-radius: 24rpx;
  1114. }
  1115. .maTop {
  1116. display: flex;
  1117. justify-content: space-between;
  1118. align-items: center;
  1119. padding: 30rpx 20rpx 15rpx;
  1120. }
  1121. .maTitle {
  1122. color: #666666;
  1123. font-size: 26rpx;
  1124. text-align: center;
  1125. padding-left: 100rpx;
  1126. }
  1127. .swiper{
  1128. width: 100%;
  1129. height: 85%;
  1130. background: #FFFFFF;
  1131. }
  1132. .swiper-item{
  1133. width: 100%;
  1134. height: 100%;
  1135. }
  1136. .maCode {
  1137. font-size: 30rpx;
  1138. font-weight: 500;
  1139. color: #333333;
  1140. line-height: 42rpx;
  1141. margin-bottom: 40rpx;
  1142. text-align: center;
  1143. }
  1144. .maBoximg {
  1145. width: 400rpx;
  1146. height: 400rpx;
  1147. margin-left: 86rpx;
  1148. }
  1149. .authorizBox{
  1150. width: 100vw;
  1151. height: 100vh;
  1152. background: rgba(0, 0, 0, 0.5);
  1153. position: fixed;
  1154. top: 0;
  1155. left: 0;
  1156. }
  1157. .authorizCont{
  1158. margin-top: 30vh;
  1159. width: 564rpx;
  1160. height: 408rpx;
  1161. background: #FFFFFF;
  1162. border-radius: 24rpx;
  1163. margin-left: 93rpx;
  1164. position: relative;
  1165. }
  1166. .authorizCloseImg{
  1167. width: 62rpx;
  1168. height: 62rpx;
  1169. }
  1170. .sqLogoBox{
  1171. width: 180rpx;
  1172. height: 180rpx;
  1173. background: #FFFFFF;
  1174. border-radius: 90rpx;
  1175. text-align: center;
  1176. position: absolute;
  1177. top: -50rpx;
  1178. left: 192rpx;
  1179. }
  1180. .authorizName{
  1181. color: #333333;
  1182. line-height: 42rpx;
  1183. font-size: 30rpx;
  1184. text-align: center;
  1185. padding-top: 58rpx;
  1186. }
  1187. .authorizMs{
  1188. color: #999999;
  1189. line-height: 36rpx;
  1190. font-size: 26rpx;
  1191. width: 452rpx;
  1192. padding-top: 24rpx;
  1193. text-align: center;
  1194. margin-left: 56rpx;
  1195. }
  1196. .authorizContbutton{
  1197. width: 422rpx;
  1198. height: 88rpx;
  1199. background: #D53533;
  1200. border-radius: 44rpx;
  1201. line-height: 88rpx;
  1202. text-align: center;
  1203. font-size:30rpx;
  1204. color: #FFFFFF;
  1205. margin-top: 62rpx;
  1206. margin-left:71rpx;
  1207. }
  1208. .shopBoxpt{
  1209. margin-top: 20rpx;
  1210. }
  1211. button::after{
  1212. border: none;
  1213. }
  1214. button{
  1215. position: relative;
  1216. display: block;
  1217. margin-left: 0;
  1218. margin-right: 0;
  1219. padding-left: 0px;
  1220. padding-right: 0px;
  1221. box-sizing: border-box;
  1222. // font-size: 18px;
  1223. text-align: center;
  1224. text-decoration: none;
  1225. // line-height: 1;
  1226. line-height: 1.35;
  1227. // border-radius: 5px;
  1228. -webkit-tap-highlight-color: transparent;
  1229. overflow: hidden;
  1230. color: #000000;
  1231. background-color: #fff;
  1232. height: 100%;
  1233. }
  1234. .tuikuanBox {
  1235. width: 100%;
  1236. height: 100vh;
  1237. background: rgba(0, 0, 0, 0.4);
  1238. position: fixed;
  1239. left: 0;
  1240. top: 0;
  1241. z-index: 999;
  1242. }
  1243. .tuikuan {
  1244. width: 638rpx;
  1245. height: 664rpx;
  1246. background: #ffffff;
  1247. margin: 0 36rpx;
  1248. margin-top: 50%;
  1249. border-radius: 24rpx;
  1250. padding: 30rpx 20rpx;
  1251. }
  1252. .tuiTop {
  1253. display: flex;
  1254. justify-content: space-between;
  1255. margin-bottom: 36rpx;
  1256. }
  1257. .tuiTitle {
  1258. width: 56rpx;
  1259. height: 40rpx;
  1260. font-size: 28rpx;
  1261. font-weight: 500;
  1262. color: #3C3C3C;
  1263. line-height: 40rpx;
  1264. }
  1265. .contLine {
  1266. display: flex;
  1267. justify-content: space-between;
  1268. font-size: 28rpx;
  1269. padding: 30rpx 0;
  1270. border-bottom: 1px solid #EEEEEE;
  1271. }
  1272. .contlineLeft {
  1273. color: #666666;
  1274. line-height: 40rpx;
  1275. align-items: center;
  1276. }
  1277. .star {
  1278. width: 14rpx;
  1279. height: 14rpx;
  1280. padding-bottom: 5rpx;
  1281. }
  1282. .carModel {
  1283. width: 350rpx;
  1284. text-align: left;
  1285. }
  1286. .noColor {
  1287. color: #CCCCCC;
  1288. }
  1289. .carModelRight {
  1290. display: flex;
  1291. justify-content: flex-start;
  1292. align-items: center;
  1293. }
  1294. .contlineRight {
  1295. color: #333333;
  1296. line-height: 40rpx;
  1297. width: 400rpx;
  1298. text-align: right;
  1299. }
  1300. .contlineRightInput {
  1301. color: #333333;
  1302. text-align: left;
  1303. font-size: 28rpx;
  1304. min-height: 182rpx;
  1305. width: 400rpx;
  1306. }
  1307. .contlineRightJt {
  1308. width: 30rpx;
  1309. height: 30rpx;
  1310. }
  1311. .tuiBtns {
  1312. display: flex;justify-content: space-around;
  1313. padding: 40rpx 20rpx 10rpx;
  1314. }
  1315. .btn {
  1316. width: 250rpx;
  1317. height: 70rpx;
  1318. background: #F4F5F7;
  1319. border-radius: 10rpx;
  1320. font-size: 28rpx;
  1321. font-weight: 500;
  1322. color: #3C3C3C;
  1323. line-height: 70rpx;
  1324. text-align: center;
  1325. }
  1326. .btn2 {
  1327. width: 250rpx;
  1328. height: 70rpx;
  1329. background: #3F90F7;
  1330. border-radius: 10rpx;
  1331. font-size: 28rpx;
  1332. font-weight: 500;
  1333. color: #FFFFFF;
  1334. line-height: 70rpx;
  1335. text-align: center;
  1336. }
  1337. .writeoffLine{
  1338. display: flex;justify-content: space-between;
  1339. color: #999999;font-size: 24rpx;
  1340. line-height: 33rpx;padding-top: 8rpx;
  1341. }
  1342. .writeoffLineBox{
  1343. padding: 0 20rpx;
  1344. }
  1345. .detailedLineBox .detailedLine{
  1346. padding-bottom: 0rpx;
  1347. }
  1348. .writeoffXx .informationNum{
  1349. width: 500rpx;
  1350. }
  1351. .detailedLineBox{
  1352. padding-bottom: 10rpx;
  1353. }
  1354. </style>