activityOrderDetail.vue 41 KB

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