activityOrderDetail.vue 38 KB

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