rescueOrderOrderDetail.vue 35 KB

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