storeOrderDetail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955
  1. <template>
  2. <view>
  3. <view class="top-cont">
  4. <!-- 背景图片 -->
  5. <image class="bg" src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/order_top_bg.png" mode="">
  6. </image>
  7. <view class="top-inner">
  8. <!-- 这里是状态栏 -->
  9. <view class="fixed-top-box">
  10. <view class="status_bar" :style="{height: statusBarHeight}"></view>
  11. <view class="back-box" @click="back">
  12. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/back_white.png" mode="">
  13. </image>
  14. <text class="title">订单详情</text>
  15. <text></text>
  16. </view>
  17. </view>
  18. <!-- 顶部固定后站位元素 -->
  19. <view style="padding-bottom: 88upx;">
  20. <view :style="{height: statusBarHeight}"></view>
  21. </view>
  22. <!-- 订单状态 -->
  23. <view class="order-status">
  24. <!-- 待付款 -->
  25. <view v-if="order.status == 0" class="inner">
  26. <view class="img-box">
  27. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/pag96.png" mode="">
  28. </image>
  29. </view>
  30. <view class="status-box">
  31. <text class="status">待付款</text>
  32. <text class="desc">请在{{payLimitTime}}前完成支付</text>
  33. </view>
  34. </view>
  35. <!-- 待发货 -->
  36. <view v-if="order.status == 1" class="inner">
  37. <view class="img-box">
  38. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/pag96.png" mode="">
  39. </image>
  40. </view>
  41. <view class="status-box">
  42. <text class="status">待发货</text>
  43. <text class="desc">等待后台发货</text>
  44. </view>
  45. </view>
  46. <!-- 已发货、待收货 -->
  47. <view v-if="order.status == 2" class="inner">
  48. <view class="img-box">
  49. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/receipt.png" mode="">
  50. </image>
  51. </view>
  52. <view class="status-box">
  53. <text class="status">待收货</text>
  54. <text class="desc">运输中</text>
  55. </view>
  56. </view>
  57. <!-- 已完成 -->
  58. <view v-if="order.status == 3" class="inner">
  59. <view class="img-box">
  60. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/finish96.png" mode="">
  61. </image>
  62. </view>
  63. <view class="status-box">
  64. <text class="status">已完成</text>
  65. <text class="desc">订单已确认收货,交易完成</text>
  66. </view>
  67. </view>
  68. <!-- 交易取消 -->
  69. <!--交易取消 -->
  70. <view v-if="order.status == -3" class="inner">
  71. <view class="img-box">
  72. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/close_trade.png"
  73. mode=""></image>
  74. </view>
  75. <view class="status-box">
  76. <text class="status">交易关闭</text>
  77. <text class="desc">订单已取消</text>
  78. </view>
  79. </view>
  80. <view v-if="order.status == -1" class="inner">
  81. <view class="img-box">
  82. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/close_trade.png"
  83. mode=""></image>
  84. </view>
  85. <view class="status-box">
  86. <text class="status">申请售后</text>
  87. <text class="desc">请等待客服审核</text>
  88. </view>
  89. </view>
  90. <view v-if="order.status == -2" class="inner">
  91. <view class="img-box">
  92. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/close_trade.png"
  93. mode=""></image>
  94. </view>
  95. <view class="status-box">
  96. <text class="status">退款成功</text>
  97. <text class="desc">已成功退款</text>
  98. </view>
  99. </view>
  100. </view>
  101. <!-- 下单人信息 -->
  102. <view class="order-placer">
  103. <view class="inner">
  104. <image class="location"
  105. src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/location.png" mode="">
  106. </image>
  107. <view class="info">
  108. <view class="name-phone">
  109. <text class="text">{{order.realName}}</text>
  110. <text class="text" v-if="order.userPhone!=null">{{$parsePhone(order.userPhone)}}</text>
  111. </view>
  112. <view class="address ellipsis2">
  113. {{order.userAddress}}
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. <view class="content">
  119. <!-- 药品列表 -->
  120. <view class="goods-list">
  121. <view v-if="order.isPackage!=1" v-for="(item,index) in items" :key="index" class="item">
  122. <view class="img-box">
  123. <image :src="JSON.parse(item.jsonInfo).image" mode="aspectFill"></image>
  124. </view>
  125. <view class="info-box">
  126. <view>
  127. <view class="name-box ellipsis2">
  128. <view v-if="item.isPrescribe==1" class="tag">处方药</view>
  129. {{JSON.parse(item.jsonInfo).productName}}
  130. </view>
  131. <view class="spec">{{JSON.parse(item.jsonInfo).sku}}</view>
  132. </view>
  133. <view class="price-num">
  134. <view class="price">
  135. <text class="unit">¥</text>
  136. <text class="num">{{JSON.parse(item.jsonInfo).price.toFixed(2)}}</text>
  137. </view>
  138. <view class="num">x{{JSON.parse(item.jsonInfo).num}}</view>
  139. </view>
  140. </view>
  141. </view>
  142. <view v-if="order.isPackage==1&&order.packageJson!=null" class="item">
  143. <view class="img-box">
  144. <image :src="JSON.parse(order.packageJson).imgUrl" mode="aspectFill"></image>
  145. </view>
  146. <view class="info-box">
  147. <view>
  148. <view class="name-box ellipsis2">
  149. <view class="tag">套餐</view>{{JSON.parse(order.packageJson).title}}
  150. </view>
  151. <view class="spec">{{JSON.parse(order.packageJson).descs}}</view>
  152. </view>
  153. </view>
  154. </view>
  155. <!-- 已优惠、小计 -->
  156. <view class="sub-total">
  157. <view class="discount">
  158. 订单金额:¥{{order.totalPrice}}
  159. </view>
  160. <text class="label">实付金额:</text>
  161. <view class="price">
  162. <text class="unit">¥</text>
  163. <text class="num">{{order.payPrice}}</text>
  164. </view>
  165. </view>
  166. </view>
  167. <!-- 订单信息 -->
  168. <view class="order-info">
  169. <view class="title">订单信息</view>
  170. <view class="item">
  171. <text class="label">订单编号</text>
  172. <view class="sn-box">
  173. <text class="text">{{order.orderCode}}</text>
  174. <view class="copy-btn" @click="copyOrderSn(order.orderCode)">复制</view>
  175. </view>
  176. </view>
  177. <view class="item">
  178. <text class="label">下单时间</text>
  179. <text class="text">{{order.createTime}}</text>
  180. </view>
  181. <view class="item">
  182. <text class="label">支付方式</text>
  183. <text class="text" v-if="order.payType==1">微信支付</text>
  184. <text class="text" v-if="order.payType==2">物流代收</text>
  185. </view>
  186. <view class="item">
  187. <text class="label">支付金额</text>
  188. <text class="text" v-if="order.payMoney!=null">¥{{order.payMoney.toFixed(2)}}</text>
  189. </view>
  190. <view class="item">
  191. <text class="label">代收金额</text>
  192. <text class="text" v-if="order.payDelivery!=null">¥{{order.payDelivery.toFixed(2)}}</text>
  193. </view>
  194. <view v-if="order.status>0" class="item">
  195. <text class="label">支付时间</text>
  196. <text class="text">{{order.payTime}}</text>
  197. </view>
  198. <!-- <view v-if="order.status >1" class="item">
  199. <text class="label">发货时间</text>
  200. <text class="text"></text>
  201. </view> -->
  202. </view>
  203. <!-- 处方信息 -->
  204. <view class="order-info" v-if="order.isPrescribe&&prescribe!=null">
  205. <view class="title">处方信息</view>
  206. <view class="item">
  207. <text class="label">处方单号</text>
  208. <text class="text">{{prescribe.rpId}}</text>
  209. </view>
  210. <view class="item">
  211. <text class="label">开方医生</text>
  212. <text class="text">{{prescribe.doctorName}}</text>
  213. </view>
  214. <view class="item">
  215. <text class="label">电子处方</text>
  216. <view class="check-box" @click="showImg()">
  217. <text class="text">查看</text>
  218. <image src="https://zkzh-2025.oss-cn-beijing.aliyuncs.com/shop/images/arrow4.png"
  219. mode=""></image>
  220. </view>
  221. </view>
  222. </view>
  223. </view>
  224. </view>
  225. </view>
  226. <!-- 按钮 -->
  227. <view class="btn-box">
  228. <view class="btn share-btn" v-if="order.status==0">
  229. 支付分享
  230. <button class="share" @tap="doShare">分享</button>
  231. </view>
  232. <view class="btn share-btn" v-if="order.status==0" @click="openEditMoney()">
  233. 修改定金
  234. </view>
  235. </view>
  236. <view class="popup-box" v-if="editShow">
  237. <view class="info-mask" @tap="cancelEditMoney()"></view>
  238. <view class="info-form">
  239. <view class="title">修改订金</view>
  240. <view class="form-box">
  241. <view class="form-item">
  242. <text class="label">支付金额</text>
  243. <input type="text" @input="moneyChange()" v-model="payMoney" maxlength="10" placeholder="支付金额"
  244. class="form-input" />
  245. </view>
  246. <view class="form-item">
  247. <text class="label">代收金额</text>
  248. <input type="text" disabled v-model="payDelivery" maxlength="10" placeholder="代收金额"
  249. class="form-input" />
  250. </view>
  251. </view>
  252. <view class="btns">
  253. <view class="sub-btn" @click="confirmEditMoney()">提交</view>
  254. </view>
  255. </view>
  256. </view>
  257. <!-- 分享弹窗 -->
  258. <u-popup :show="showShare" @close="showShare = false">
  259. <share-box :shareItem="shareItem" @closeShare='showShare = false'></share-box>
  260. </u-popup>
  261. </view>
  262. </template>
  263. <script>
  264. import {
  265. getMyStoreOrderById
  266. } from '@/api/storeOrder'
  267. import {
  268. editOrderMoney
  269. } from '@/api/companyOrder.js'
  270. export default {
  271. data() {
  272. return {
  273. payMoney: 0,
  274. payDelivery: 0,
  275. editShow: false,
  276. payLimitTime: null,
  277. orderId: null,
  278. order: {},
  279. items: [],
  280. prescribe: null,
  281. // 状态栏的高度
  282. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  283. showShare: false,
  284. shareItem: {
  285. imageUrl: "",
  286. title: "",
  287. path: "",
  288. isMini: true
  289. },
  290. };
  291. },
  292. onLoad(option) {
  293. this.orderId = option.id
  294. this.getMyStoreOrderById()
  295. },
  296. onShareAppMessage(res) {
  297. return {
  298. title: "订单:" + this.order.orderCode,
  299. // path: `/pages/store/packageOrderPay?orderId=${this.order.id}`,
  300. path: `/pages/shopping/paymentOrder?orderId=${this.order.id}`,
  301. }
  302. },
  303. methods: {
  304. doShare() {
  305. this.shareItem.title = "订单:" + this.order.orderCode
  306. this.shareItem.imageUrl = '/static/logo.jpg'
  307. this.shareItem.isMini = true;
  308. this.shareItem.path = `/pages/shopping/paymentOrder?orderId=${this.order.id}`
  309. this.shareItem.url = `/pages/shopping/paymentOrder?orderId=${this.order.id}`,
  310. this.showShare = true;
  311. },
  312. moneyChange() {
  313. this.payDelivery = this.order.payPrice - this.payMoney
  314. },
  315. openEditMoney() {
  316. console.log(1)
  317. this.editShow = true
  318. },
  319. cancelEditMoney() {
  320. this.editShow = false
  321. },
  322. confirmEditMoney() {
  323. if (parseFloat(this.payMoney) >= 0) {
  324. var that = this;
  325. var data = {
  326. orderId: this.order.id,
  327. token: uni.getStorageSync('CompanyUserToken'),
  328. money: this.payMoney
  329. }
  330. editOrderMoney(data).then(
  331. res => {
  332. if (res.code == 200) {
  333. this.editShow = false
  334. this.getMyStoreOrderById();
  335. } else {
  336. uni.showToast({
  337. icon: 'none',
  338. title: res.msg,
  339. });
  340. }
  341. },
  342. rej => {}
  343. );
  344. } else {
  345. uni.showToast({
  346. icon: 'none',
  347. title: "支付金额应大于等于0",
  348. });
  349. }
  350. },
  351. showImg() {
  352. var imgArr = [];
  353. imgArr.push(this.prescribe.rpUrl)
  354. //预览图片
  355. uni.previewImage({
  356. urls: imgArr,
  357. current: imgArr[0]
  358. });
  359. },
  360. getMyStoreOrderById() {
  361. var data = {
  362. orderId: this.orderId
  363. };
  364. getMyStoreOrderById(data).then(res => {
  365. if (res.code == 200) {
  366. this.order = res.order;
  367. this.items = res.items;
  368. this.payLimitTime = res.payLimitTime;
  369. this.prescribe = res.prescribe;
  370. this.payMoney = this.order.payMoney;
  371. this.payDelivery = this.order.payDelivery
  372. } else {
  373. uni.showToast({
  374. icon: 'none',
  375. title: "请求失败",
  376. });
  377. }
  378. });
  379. },
  380. express() {
  381. uni.navigateTo({
  382. url: './storeOrderDelivery?orderId=' + this.order.orderId
  383. })
  384. },
  385. // 返回上一页
  386. back() {
  387. uni.navigateBack()
  388. },
  389. // 复制订单编号
  390. copyOrderSn(text) {
  391. // 复制方法
  392. uni.setClipboardData({
  393. data: text,
  394. success: () => {
  395. uni.showToast({
  396. title: '内容已成功复制到剪切板',
  397. icon: 'none'
  398. })
  399. }
  400. });
  401. },
  402. }
  403. }
  404. </script>
  405. <style lang="scss">
  406. .fixed-top-box {
  407. width: 100%;
  408. background: linear-gradient(135deg, #66b2ef 0%, #2583EB 100%);
  409. position: fixed;
  410. top: 0;
  411. left: 0;
  412. z-index: 1000;
  413. }
  414. .top-cont {
  415. width: 100%;
  416. height: 476upx;
  417. position: relative;
  418. .bg {
  419. width: 100%;
  420. height: 100%;
  421. position: absolute;
  422. top: 0;
  423. left: 0;
  424. z-index: 1;
  425. }
  426. .top-inner {
  427. width: 100%;
  428. height: 100%;
  429. position: absolute;
  430. top: 0;
  431. left: 0;
  432. z-index: 2;
  433. .back-box {
  434. height: 88upx;
  435. padding-left: 22upx;
  436. display: flex;
  437. align-items: center;
  438. justify-content: space-between;
  439. padding: 0 20upx;
  440. image {
  441. width: 40upx;
  442. height: 40upx;
  443. }
  444. .title {
  445. font-size: 36upx;
  446. font-family: PingFang SC;
  447. font-weight: 500;
  448. color: #FFFFFF;
  449. }
  450. }
  451. .order-status {
  452. margin-top: 60upx;
  453. display: flex;
  454. align-items: center;
  455. justify-content: space-between;
  456. padding: 0 30upx;
  457. .inner {
  458. display: flex;
  459. align-items: center;
  460. .img-box {
  461. width: 96upx;
  462. height: 96upx;
  463. margin-right: 30upx;
  464. image {
  465. width: 100%;
  466. height: 100%;
  467. }
  468. }
  469. .status-box {
  470. height: 96upx;
  471. display: flex;
  472. flex-direction: column;
  473. justify-content: center;
  474. .status {
  475. font-size: 40upx;
  476. font-family: PingFang SC;
  477. font-weight: bold;
  478. color: #FFFFFF;
  479. line-height: 1;
  480. }
  481. .desc {
  482. font-size: 26upx;
  483. font-family: PingFang SC;
  484. font-weight: 500;
  485. color: #FFFFFF;
  486. line-height: 1;
  487. margin-top: 30upx;
  488. }
  489. }
  490. }
  491. }
  492. .order-placer {
  493. margin-top: 50upx;
  494. padding: 0 20upx;
  495. .inner {
  496. box-sizing: border-box;
  497. border-radius: 16upx;
  498. height: 150upx;
  499. padding: 40upx 30upx;
  500. display: flex;
  501. align-items: center;
  502. background: #FFFFFF;
  503. .location {
  504. width: 24upx;
  505. height: 27upx;
  506. margin-right: 18upx;
  507. flex-shrink: 0;
  508. }
  509. .info {
  510. .name-phone {
  511. display: flex;
  512. align-items: center;
  513. .text {
  514. font-size: 28upx;
  515. font-family: PingFang SC;
  516. font-weight: bold;
  517. color: #333333;
  518. line-height: 1;
  519. margin-right: 20upx;
  520. &:last-child {
  521. margin-right: 0;
  522. }
  523. }
  524. }
  525. .address {
  526. font-size: 26upx;
  527. font-family: PingFang SC;
  528. font-weight: 500;
  529. color: #999999;
  530. line-height: 1.3;
  531. margin-top: 10upx;
  532. }
  533. }
  534. }
  535. }
  536. }
  537. }
  538. .content {
  539. margin: 20rpx 0rpx;
  540. padding: 0 20upx 140rpx 20upx;
  541. .goods-list {
  542. padding: 0 30upx;
  543. background-color: #FFFFFF;
  544. border-radius: 16upx;
  545. .item {
  546. padding: 30upx 0;
  547. border-bottom: 1px solid #EDEEEF;
  548. display: flex;
  549. align-items: center;
  550. .img-box {
  551. width: 160upx;
  552. height: 160upx;
  553. margin-right: 30upx;
  554. image {
  555. width: 100%;
  556. height: 100%;
  557. }
  558. }
  559. .info-box {
  560. width: calc(100% - 190upx);
  561. height: 160upx;
  562. display: flex;
  563. flex-direction: column;
  564. justify-content: space-between;
  565. .name-box {
  566. font-size: 28upx;
  567. font-family: PingFang SC;
  568. font-weight: 500;
  569. color: #111111;
  570. line-height: 40upx;
  571. .tag {
  572. display: inline-block;
  573. padding: 0 6upx;
  574. height: 30upx;
  575. background: linear-gradient(90deg, #66b2ef 0%, #2583EB 100%);
  576. border-radius: 4upx;
  577. margin-right: 10upx;
  578. font-size: 22upx;
  579. font-family: PingFang SC;
  580. font-weight: bold;
  581. color: #FFFFFF;
  582. line-height: 30upx;
  583. float: left;
  584. margin-top: 7upx;
  585. }
  586. }
  587. .spec {
  588. margin-top: 18upx;
  589. font-size: 24upx;
  590. font-family: PingFang SC;
  591. font-weight: 500;
  592. color: #999999;
  593. line-height: 1;
  594. }
  595. .price-num {
  596. display: flex;
  597. align-items: center;
  598. justify-content: space-between;
  599. .price {
  600. display: flex;
  601. align-items: flex-end;
  602. .unit {
  603. font-size: 24upx;
  604. font-family: PingFang SC;
  605. font-weight: 500;
  606. color: #111111;
  607. line-height: 1.2;
  608. margin-right: 4upx;
  609. }
  610. .num {
  611. font-size: 32upx;
  612. font-family: PingFang SC;
  613. font-weight: 500;
  614. color: #111111;
  615. line-height: 1;
  616. }
  617. }
  618. .num {
  619. font-size: 24upx;
  620. font-family: PingFang SC;
  621. font-weight: 500;
  622. color: #999999;
  623. line-height: 1;
  624. }
  625. }
  626. }
  627. }
  628. .sub-total {
  629. height: 88upx;
  630. display: flex;
  631. align-items: center;
  632. justify-content: flex-end;
  633. .discount {
  634. font-size: 24upx;
  635. font-family: PingFang SC;
  636. font-weight: 500;
  637. color: #999999;
  638. line-height: 1;
  639. margin-right: 30upx;
  640. }
  641. .label {
  642. font-size: 24upx;
  643. font-family: PingFang SC;
  644. font-weight: 500;
  645. color: #999999;
  646. }
  647. .price {
  648. display: flex;
  649. align-items: flex-end;
  650. .unit {
  651. font-size: 24upx;
  652. font-family: PingFang SC;
  653. font-weight: 500;
  654. color: #FF6633;
  655. line-height: 1.2;
  656. margin-right: 4upx;
  657. }
  658. .num {
  659. font-size: 32upx;
  660. font-family: PingFang SC;
  661. font-weight: bold;
  662. color: #FF6633;
  663. line-height: 1;
  664. }
  665. }
  666. }
  667. }
  668. .order-info {
  669. margin-top: 20upx;
  670. background: #FFFFFF;
  671. border-radius: 16upx;
  672. padding: 40upx 30upx;
  673. .title {
  674. font-size: 30upx;
  675. font-family: PingFang SC;
  676. font-weight: bold;
  677. color: #222222;
  678. line-height: 1;
  679. }
  680. .item {
  681. margin-top: 40upx;
  682. display: flex;
  683. align-items: center;
  684. justify-content: space-between;
  685. .label {
  686. font-size: 26upx;
  687. font-family: PingFang SC;
  688. font-weight: 500;
  689. color: #666666;
  690. line-height: 1;
  691. }
  692. .text {
  693. font-size: 26upx;
  694. font-family: PingFang SC;
  695. font-weight: 500;
  696. color: #222222;
  697. line-height: 32upx;
  698. }
  699. .cont-text {
  700. font-size: 26upx;
  701. font-family: PingFang SC;
  702. font-weight: 500;
  703. color: #666666;
  704. .bold {
  705. color: #111111;
  706. }
  707. }
  708. .sn-box {
  709. display: flex;
  710. align-items: center;
  711. .copy-btn {
  712. width: 58upx;
  713. height: 32upx;
  714. line-height: 32upx;
  715. text-align: center;
  716. font-size: 22upx;
  717. font-family: PingFang SC;
  718. font-weight: 500;
  719. color: #222222;
  720. background: #F5F5F5;
  721. border-radius: 4upx;
  722. margin-left: 24upx;
  723. }
  724. }
  725. .check-box {
  726. display: flex;
  727. align-items: center;
  728. image {
  729. width: 14upx;
  730. height: 24upx;
  731. margin-left: 10upx;
  732. }
  733. }
  734. }
  735. .line {
  736. width: 100%;
  737. height: 1px;
  738. background: #F0F0F0;
  739. margin-top: 30upx;
  740. }
  741. }
  742. }
  743. .btn-box {
  744. z-index: 999;
  745. bottom: 0;
  746. width: 100%;
  747. position: fixed;
  748. height: 120upx;
  749. box-sizing: border-box;
  750. background: #FFFFFF;
  751. padding: 0 30upx;
  752. display: flex;
  753. align-items: center;
  754. justify-content: flex-end;
  755. .btn {
  756. width: 155upx;
  757. height: 64upx;
  758. line-height: 64upx;
  759. font-size: 26upx;
  760. font-family: PingFang SC;
  761. font-weight: 500;
  762. text-align: center;
  763. border-radius: 32upx;
  764. margin-left: 15upx;
  765. &.share-btn {
  766. background: #2583EB;
  767. color: #FFFFFF;
  768. position: relative;
  769. .share {
  770. display: inline-block;
  771. position: absolute;
  772. top: 0;
  773. left: 0;
  774. width: 100%;
  775. height: 100%rpx;
  776. opacity: 0;
  777. }
  778. }
  779. }
  780. }
  781. .popup-box {
  782. position: fixed;
  783. top: 0;
  784. right: 0;
  785. left: 0;
  786. bottom: 0;
  787. z-index: 999;
  788. display: flex;
  789. justify-content: center;
  790. align-items: center;
  791. .info-mask {
  792. position: fixed;
  793. top: 0;
  794. right: 0;
  795. bottom: 0;
  796. left: 0;
  797. background-color: rgba($color: #000000, $alpha: 0.5);
  798. z-index: 999;
  799. }
  800. .info-form {
  801. z-index: 1000;
  802. width: 650rpx;
  803. display: flex;
  804. flex-direction: column;
  805. justify-content: center;
  806. align-items: center;
  807. padding: 0 30upx;
  808. background: #FFFFFF;
  809. border-radius: 16upx;
  810. .title {
  811. padding: 30rpx 0rpx 15rpx;
  812. display: flex;
  813. justify-content: center;
  814. align-items: center;
  815. font-size: 40upx;
  816. line-height: 44upx;
  817. font-family: PingFang SC;
  818. color: #222222;
  819. }
  820. .form-box {
  821. width: 100%;
  822. .form-item {
  823. padding: 30upx 0;
  824. display: flex;
  825. align-items: flex-start;
  826. border-bottom: 1px solid #F1F1F1;
  827. .label {
  828. width: 160upx;
  829. text-align: left;
  830. font-size: 30upx;
  831. line-height: 44upx;
  832. font-family: PingFang SC;
  833. font-weight: 500;
  834. color: #222222;
  835. flex-shrink: 0;
  836. }
  837. input {
  838. text-align: left;
  839. }
  840. .form-input {
  841. font-size: 34upx;
  842. font-family: PingFang SC;
  843. font-weight: 500;
  844. color: #222222;
  845. text-align: left;
  846. }
  847. }
  848. }
  849. .btns {
  850. width: 100%;
  851. height: 120upx;
  852. padding: 0 30upx;
  853. display: flex;
  854. align-items: center;
  855. justify-content: center;
  856. .sub-btn {
  857. width: 100%;
  858. height: 88upx;
  859. line-height: 88upx;
  860. text-align: center;
  861. font-size: 30upx;
  862. font-family: PingFang SC;
  863. font-weight: bold;
  864. color: #FFFFFF;
  865. background: #2583EB;
  866. border-radius: 44upx;
  867. }
  868. }
  869. }
  870. }
  871. </style>