storeOrderDetail.vue 20 KB

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