rescueOrderOrderDetail.vue 36 KB

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