storeOrderDetail.vue 21 KB

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