storeOrderDetail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  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_user/shopping/storeOrderDetail?id=${this.order.id}`,
  271. imageUrl: 'https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/sharelogo.png'
  272. }
  273. },
  274. methods: {
  275. moneyChange(){
  276. this.payDelivery=this.order.payPrice-this.payMoney
  277. },
  278. openEditMoney(){
  279. console.log(1)
  280. this.editShow = true
  281. },
  282. cancelEditMoney(){
  283. this.editShow = false
  284. },
  285. confirmEditMoney(){
  286. if(parseFloat(this.payMoney)>=0){
  287. var that=this;
  288. var data={orderId:this.order.id,token:uni.getStorageSync('CompanyUserToken'),money:this.payMoney}
  289. editOrderMoney(data).then(
  290. res => {
  291. if(res.code==200){
  292. this.editShow = false
  293. this.getMyStoreOrderById();
  294. }else{
  295. uni.showToast({
  296. icon:'none',
  297. title: res.msg,
  298. });
  299. }
  300. },
  301. rej => {}
  302. );
  303. }
  304. else{
  305. uni.showToast({
  306. icon:'none',
  307. title: "支付金额应大于等于0",
  308. });
  309. }
  310. },
  311. showImg(){
  312. var imgArr = [];
  313. imgArr.push(this.prescribe.rpUrl)
  314. //预览图片
  315. uni.previewImage({
  316. urls: imgArr,
  317. current: imgArr[0]
  318. });
  319. },
  320. getMyStoreOrderById(){
  321. var data={orderId:this.orderId};
  322. getMyStoreOrderById(data).then(res => {
  323. if(res.code==200){
  324. this.order=res.order;
  325. this.items=res.items;
  326. this.payLimitTime=res.payLimitTime;
  327. this.prescribe=res.prescribe;
  328. this.payMoney=this.order.payMoney;
  329. this.payDelivery=this.order.payDelivery
  330. }else{
  331. uni.showToast({
  332. icon:'none',
  333. title: "请求失败",
  334. });
  335. }
  336. });
  337. },
  338. express(){
  339. uni.navigateTo({
  340. url: './storeOrderDelivery?orderId='+this.order.orderId
  341. })
  342. },
  343. // 返回上一页
  344. back() {
  345. uni.navigateBack()
  346. },
  347. // 复制订单编号
  348. copyOrderSn(text) {
  349. // 复制方法
  350. uni.setClipboardData({
  351. data:text,
  352. success:()=>{
  353. uni.showToast({
  354. title:'内容已成功复制到剪切板',
  355. icon:'none'
  356. })
  357. }
  358. });
  359. },
  360. }
  361. }
  362. </script>
  363. <style lang="scss">
  364. .bg-color {
  365. width: 100%;
  366. background: linear-gradient(to right, #2583EB 0%, #60CDC3 100%);
  367. height: 450rpx;
  368. }
  369. .fixed-top-box{
  370. width: 100%;
  371. background: linear-gradient(to right, #2583EB 0%, #60CDC3 100%);
  372. position: fixed;
  373. top: 0;
  374. left: 0;
  375. z-index: 1000;
  376. }
  377. .top-cont{
  378. width: 100%;
  379. height: 476upx;
  380. position: relative;
  381. .bg{
  382. width: 100%;
  383. height: 100%;
  384. position: absolute;
  385. top: 0;
  386. left: 0;
  387. z-index: 1;
  388. }
  389. .top-inner{
  390. width: 100%;
  391. height: 100%;
  392. position: absolute;
  393. top: 0;
  394. left: 0;
  395. z-index: 2;
  396. .back-box{
  397. height: 88upx;
  398. padding-left: 22upx;
  399. display: flex;
  400. align-items: center;
  401. justify-content: space-between;
  402. padding: 0 20upx;
  403. image{
  404. width: 40upx;
  405. height: 40upx;
  406. }
  407. .title{
  408. font-size: 36upx;
  409. font-family: PingFang SC;
  410. font-weight: 500;
  411. color: #FFFFFF;
  412. }
  413. }
  414. .order-status{
  415. margin-top: 60upx;
  416. display: flex;
  417. align-items: center;
  418. justify-content: space-between;
  419. padding: 0 30upx;
  420. .inner{
  421. display: flex;
  422. align-items: center;
  423. .img-box{
  424. width: 96upx;
  425. height: 96upx;
  426. margin-right: 30upx;
  427. image{
  428. width: 100%;
  429. height: 100%;
  430. }
  431. }
  432. .status-box{
  433. height: 96upx;
  434. display: flex;
  435. flex-direction: column;
  436. justify-content: center;
  437. .status{
  438. font-size: 40upx;
  439. font-family: PingFang SC;
  440. font-weight: bold;
  441. color: #FFFFFF;
  442. line-height: 1;
  443. }
  444. .desc{
  445. font-size: 26upx;
  446. font-family: PingFang SC;
  447. font-weight: 500;
  448. color: #FFFFFF;
  449. line-height: 1;
  450. margin-top: 30upx;
  451. }
  452. }
  453. }
  454. }
  455. .order-placer{
  456. margin-top: 50upx;
  457. padding: 0 20upx;
  458. .inner{
  459. box-sizing: border-box;
  460. border-radius: 16upx;
  461. height: 150upx;
  462. padding: 40upx 30upx;
  463. display: flex;
  464. align-items: center;
  465. background: #FFFFFF;
  466. .location{
  467. width: 24upx;
  468. height: 27upx;
  469. margin-right: 18upx;
  470. flex-shrink: 0;
  471. }
  472. .info{
  473. .name-phone{
  474. display: flex;
  475. align-items: center;
  476. .text{
  477. font-size: 28upx;
  478. font-family: PingFang SC;
  479. font-weight: bold;
  480. color: #333333;
  481. line-height: 1;
  482. margin-right: 20upx;
  483. &:last-child{
  484. margin-right: 0;
  485. }
  486. }
  487. }
  488. .address{
  489. font-size: 26upx;
  490. font-family: PingFang SC;
  491. font-weight: 500;
  492. color: #999999;
  493. line-height: 1.3;
  494. margin-top: 10upx;
  495. }
  496. }
  497. }
  498. }
  499. }
  500. }
  501. .content{
  502. margin: 20rpx 0rpx;
  503. padding: 0 20upx 140rpx 20upx;
  504. .goods-list{
  505. padding: 0 30upx;
  506. background-color: #FFFFFF;
  507. border-radius: 16upx;
  508. .item{
  509. padding: 30upx 0;
  510. border-bottom: 1px solid #EDEEEF;
  511. display: flex;
  512. align-items: center;
  513. .img-box{
  514. width: 160upx;
  515. height: 160upx;
  516. margin-right: 30upx;
  517. image{
  518. width: 100%;
  519. height: 100%;
  520. }
  521. }
  522. .info-box{
  523. width: calc(100% - 190upx);
  524. height: 160upx;
  525. display: flex;
  526. flex-direction: column;
  527. justify-content: space-between;
  528. .name-box{
  529. font-size: 28upx;
  530. font-family: PingFang SC;
  531. font-weight: 500;
  532. color: #111111;
  533. line-height: 40upx;
  534. .tag{
  535. display: inline-block;
  536. padding: 0 6upx;
  537. height: 30upx;
  538. background: red;
  539. border-radius: 4upx;
  540. margin-right: 10upx;
  541. font-size: 22upx;
  542. font-family: PingFang SC;
  543. font-weight: bold;
  544. color: #FFFFFF;
  545. line-height: 30upx;
  546. float: left;
  547. margin-top: 7upx;
  548. }
  549. }
  550. .spec{
  551. margin-top: 18upx;
  552. font-size: 24upx;
  553. font-family: PingFang SC;
  554. font-weight: 500;
  555. color: #999999;
  556. line-height: 1;
  557. }
  558. .price-num{
  559. display: flex;
  560. align-items: center;
  561. justify-content: space-between;
  562. .price{
  563. display: flex;
  564. align-items: flex-end;
  565. .unit{
  566. font-size: 24upx;
  567. font-family: PingFang SC;
  568. font-weight: 500;
  569. color: #111111;
  570. line-height: 1.2;
  571. margin-right: 4upx;
  572. }
  573. .num{
  574. font-size: 32upx;
  575. font-family: PingFang SC;
  576. font-weight: 500;
  577. color: #111111;
  578. line-height: 1;
  579. }
  580. }
  581. .num{
  582. font-size: 24upx;
  583. font-family: PingFang SC;
  584. font-weight: 500;
  585. color: #999999;
  586. line-height: 1;
  587. }
  588. }
  589. }
  590. }
  591. .sub-total{
  592. height: 88upx;
  593. display: flex;
  594. align-items: center;
  595. justify-content: flex-end;
  596. .discount{
  597. font-size: 24upx;
  598. font-family: PingFang SC;
  599. font-weight: 500;
  600. color: #999999;
  601. line-height: 1;
  602. margin-right: 30upx;
  603. }
  604. .label{
  605. font-size: 24upx;
  606. font-family: PingFang SC;
  607. font-weight: 500;
  608. color: #999999;
  609. }
  610. .price{
  611. display: flex;
  612. align-items: flex-end;
  613. .unit{
  614. font-size: 24upx;
  615. font-family: PingFang SC;
  616. font-weight: 500;
  617. color: #FF6633;
  618. line-height: 1.2;
  619. margin-right: 4upx;
  620. }
  621. .num{
  622. font-size: 32upx;
  623. font-family: PingFang SC;
  624. font-weight: bold;
  625. color: #FF6633;
  626. line-height: 1;
  627. }
  628. }
  629. }
  630. }
  631. .order-info{
  632. margin-top: 20upx;
  633. background: #FFFFFF;
  634. border-radius: 16upx;
  635. padding: 40upx 30upx;
  636. .title{
  637. font-size: 30upx;
  638. font-family: PingFang SC;
  639. font-weight: bold;
  640. color: #222222;
  641. line-height: 1;
  642. }
  643. .item{
  644. margin-top: 40upx;
  645. display: flex;
  646. align-items: center;
  647. justify-content: space-between;
  648. .label{
  649. font-size: 26upx;
  650. font-family: PingFang SC;
  651. font-weight: 500;
  652. color: #666666;
  653. line-height: 1;
  654. }
  655. .text{
  656. font-size: 26upx;
  657. font-family: PingFang SC;
  658. font-weight: 500;
  659. color: #222222;
  660. line-height: 32upx;
  661. }
  662. .cont-text{
  663. font-size: 26upx;
  664. font-family: PingFang SC;
  665. font-weight: 500;
  666. color: #666666;
  667. .bold{
  668. color: #111111;
  669. }
  670. }
  671. .sn-box{
  672. display: flex;
  673. align-items: center;
  674. .copy-btn{
  675. width: 58upx;
  676. height: 32upx;
  677. line-height: 32upx;
  678. text-align: center;
  679. font-size: 22upx;
  680. font-family: PingFang SC;
  681. font-weight: 500;
  682. color: #222222;
  683. background: #F5F5F5;
  684. border-radius: 4upx;
  685. margin-left: 24upx;
  686. }
  687. }
  688. .check-box{
  689. display: flex;
  690. align-items: center;
  691. image{
  692. width: 14upx;
  693. height: 24upx;
  694. margin-left: 10upx;
  695. }
  696. }
  697. }
  698. .line{
  699. width: 100%;
  700. height: 1px;
  701. background: #F0F0F0;
  702. margin-top: 30upx;
  703. }
  704. }
  705. }
  706. .btn-box{
  707. z-index: 999;
  708. bottom: 0;
  709. width: 100%;
  710. position: fixed;
  711. height: 120upx;
  712. box-sizing: border-box;
  713. background: #FFFFFF;
  714. padding: 0 30upx;
  715. display: flex;
  716. align-items: center;
  717. justify-content: flex-end;
  718. .btn{
  719. width: 155upx;
  720. height: 64upx;
  721. line-height: 64upx;
  722. font-size: 26upx;
  723. font-family: PingFang SC;
  724. font-weight: 500;
  725. text-align: center;
  726. border-radius: 32upx;
  727. margin-left: 15upx;
  728. &.share-btn{
  729. background: #2583EB;
  730. color: #FFFFFF;
  731. position: relative;
  732. .share{
  733. display: inline-block;
  734. position: absolute;
  735. top: 0;
  736. left: 0;
  737. width: 100%;
  738. height: 100%rpx;
  739. opacity: 0;
  740. }
  741. }
  742. }
  743. }
  744. .popup-box{
  745. position: fixed;
  746. top: 0;
  747. right: 0;
  748. left: 0;
  749. bottom: 0;
  750. z-index: 999;
  751. display: flex;
  752. justify-content: center;
  753. align-items: center;
  754. .info-mask {
  755. position: fixed;
  756. top: 0;
  757. right: 0;
  758. bottom: 0;
  759. left: 0;
  760. background-color: rgba($color: #000000, $alpha: 0.5);
  761. z-index: 999;
  762. }
  763. .info-form {
  764. z-index: 1000;
  765. width: 650rpx;
  766. display: flex;
  767. flex-direction: column;
  768. justify-content: center;
  769. align-items: center;
  770. padding: 0 30upx;
  771. background: #FFFFFF;
  772. border-radius: 16upx;
  773. .title{
  774. padding: 30rpx 0rpx 15rpx;
  775. display: flex;
  776. justify-content: center;
  777. align-items: center;
  778. font-size: 40upx;
  779. line-height: 44upx;
  780. font-family: PingFang SC;
  781. color: #222222;
  782. }
  783. .form-box{
  784. width: 100%;
  785. .form-item{
  786. padding: 30upx 0;
  787. display: flex;
  788. align-items: flex-start;
  789. border-bottom: 1px solid #F1F1F1;
  790. .label{
  791. width: 160upx;
  792. text-align: left;
  793. font-size: 30upx;
  794. line-height: 44upx;
  795. font-family: PingFang SC;
  796. font-weight: 500;
  797. color: #222222;
  798. flex-shrink: 0;
  799. }
  800. input{
  801. text-align: left;
  802. }
  803. .form-input{
  804. font-size: 34upx;
  805. font-family: PingFang SC;
  806. font-weight: 500;
  807. color: #222222;
  808. text-align: left;
  809. }
  810. }
  811. }
  812. .btns{
  813. width: 100%;
  814. height: 120upx;
  815. padding: 0 30upx;
  816. display: flex;
  817. align-items: center;
  818. justify-content: center;
  819. .sub-btn{
  820. width: 100%;
  821. height: 88upx;
  822. line-height: 88upx;
  823. text-align: center;
  824. font-size: 30upx;
  825. font-family: PingFang SC;
  826. font-weight: bold;
  827. color: #FFFFFF;
  828. background: #2583EB;
  829. border-radius: 44upx;
  830. }
  831. }
  832. }
  833. }
  834. </style>