storeOrderDetail.vue 21 KB

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