storeOrderDetail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. <template>
  2. <view>
  3. <view class="top-cont">
  4. <!-- 背景图片 -->
  5. <image class="bg" src="/static/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="../static/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="/static/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="/static/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="/static/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="/static/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="/static/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="/static/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="/static/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="/static/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="/static/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. </view>
  243. </template>
  244. <script>
  245. import {getMyStoreOrderById } from '@/api/storeOrder'
  246. import {editOrderMoney} from '@/api/companyOrder.js'
  247. export default {
  248. data() {
  249. return {
  250. payMoney:0,
  251. payDelivery:0,
  252. editShow:false,
  253. payLimitTime:null,
  254. orderId:null,
  255. order:{},
  256. items:[],
  257. prescribe:null,
  258. // 状态栏的高度
  259. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  260. };
  261. },
  262. onLoad(option) {
  263. this.orderId = option.id
  264. this.getMyStoreOrderById()
  265. },
  266. onShareAppMessage(res) {
  267. // 针对单个订单,所以不用传组合combinationOrderId
  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. .fixed-top-box{
  364. width: 100%;
  365. background: linear-gradient(135deg, #66b2ef 0%, #018C39 100%);
  366. position: fixed;
  367. top: 0;
  368. left: 0;
  369. z-index: 1000;
  370. }
  371. .top-cont{
  372. width: 100%;
  373. height: 476upx;
  374. position: relative;
  375. .bg{
  376. width: 100%;
  377. height: 100%;
  378. position: absolute;
  379. top: 0;
  380. left: 0;
  381. z-index: 1;
  382. }
  383. .top-inner{
  384. width: 100%;
  385. height: 100%;
  386. position: absolute;
  387. top: 0;
  388. left: 0;
  389. z-index: 2;
  390. .back-box{
  391. height: 88upx;
  392. padding-left: 22upx;
  393. display: flex;
  394. align-items: center;
  395. justify-content: space-between;
  396. padding: 0 20upx;
  397. image{
  398. width: 40upx;
  399. height: 40upx;
  400. }
  401. .title{
  402. font-size: 36upx;
  403. font-family: PingFang SC;
  404. font-weight: 500;
  405. color: #FFFFFF;
  406. }
  407. }
  408. .order-status{
  409. margin-top: 60upx;
  410. display: flex;
  411. align-items: center;
  412. justify-content: space-between;
  413. padding: 0 30upx;
  414. .inner{
  415. display: flex;
  416. align-items: center;
  417. .img-box{
  418. width: 96upx;
  419. height: 96upx;
  420. margin-right: 30upx;
  421. image{
  422. width: 100%;
  423. height: 100%;
  424. }
  425. }
  426. .status-box{
  427. height: 96upx;
  428. display: flex;
  429. flex-direction: column;
  430. justify-content: center;
  431. .status{
  432. font-size: 40upx;
  433. font-family: PingFang SC;
  434. font-weight: bold;
  435. color: #FFFFFF;
  436. line-height: 1;
  437. }
  438. .desc{
  439. font-size: 26upx;
  440. font-family: PingFang SC;
  441. font-weight: 500;
  442. color: #FFFFFF;
  443. line-height: 1;
  444. margin-top: 30upx;
  445. }
  446. }
  447. }
  448. }
  449. .order-placer{
  450. margin-top: 50upx;
  451. padding: 0 20upx;
  452. .inner{
  453. box-sizing: border-box;
  454. border-radius: 16upx;
  455. height: 150upx;
  456. padding: 40upx 30upx;
  457. display: flex;
  458. align-items: center;
  459. background: #FFFFFF;
  460. .location{
  461. width: 24upx;
  462. height: 27upx;
  463. margin-right: 18upx;
  464. flex-shrink: 0;
  465. }
  466. .info{
  467. .name-phone{
  468. display: flex;
  469. align-items: center;
  470. .text{
  471. font-size: 28upx;
  472. font-family: PingFang SC;
  473. font-weight: bold;
  474. color: #333333;
  475. line-height: 1;
  476. margin-right: 20upx;
  477. &:last-child{
  478. margin-right: 0;
  479. }
  480. }
  481. }
  482. .address{
  483. font-size: 26upx;
  484. font-family: PingFang SC;
  485. font-weight: 500;
  486. color: #999999;
  487. line-height: 1.3;
  488. margin-top: 10upx;
  489. }
  490. }
  491. }
  492. }
  493. }
  494. }
  495. .content{
  496. margin: 20rpx 0rpx;
  497. padding: 0 20upx 140rpx 20upx;
  498. .goods-list{
  499. padding: 0 30upx;
  500. background-color: #FFFFFF;
  501. border-radius: 16upx;
  502. .item{
  503. padding: 30upx 0;
  504. border-bottom: 1px solid #EDEEEF;
  505. display: flex;
  506. align-items: center;
  507. .img-box{
  508. width: 160upx;
  509. height: 160upx;
  510. margin-right: 30upx;
  511. image{
  512. width: 100%;
  513. height: 100%;
  514. }
  515. }
  516. .info-box{
  517. width: calc(100% - 190upx);
  518. height: 160upx;
  519. display: flex;
  520. flex-direction: column;
  521. justify-content: space-between;
  522. .name-box{
  523. font-size: 28upx;
  524. font-family: PingFang SC;
  525. font-weight: 500;
  526. color: #111111;
  527. line-height: 40upx;
  528. .tag{
  529. display: inline-block;
  530. padding: 0 6upx;
  531. height: 30upx;
  532. background: linear-gradient(90deg, #66b2ef 0%, #018C39 100%);
  533. border-radius: 4upx;
  534. margin-right: 10upx;
  535. font-size: 22upx;
  536. font-family: PingFang SC;
  537. font-weight: bold;
  538. color: #FFFFFF;
  539. line-height: 30upx;
  540. float: left;
  541. margin-top: 7upx;
  542. }
  543. }
  544. .spec{
  545. margin-top: 18upx;
  546. font-size: 24upx;
  547. font-family: PingFang SC;
  548. font-weight: 500;
  549. color: #999999;
  550. line-height: 1;
  551. }
  552. .price-num{
  553. display: flex;
  554. align-items: center;
  555. justify-content: space-between;
  556. .price{
  557. display: flex;
  558. align-items: flex-end;
  559. .unit{
  560. font-size: 24upx;
  561. font-family: PingFang SC;
  562. font-weight: 500;
  563. color: #111111;
  564. line-height: 1.2;
  565. margin-right: 4upx;
  566. }
  567. .num{
  568. font-size: 32upx;
  569. font-family: PingFang SC;
  570. font-weight: 500;
  571. color: #111111;
  572. line-height: 1;
  573. }
  574. }
  575. .num{
  576. font-size: 24upx;
  577. font-family: PingFang SC;
  578. font-weight: 500;
  579. color: #999999;
  580. line-height: 1;
  581. }
  582. }
  583. }
  584. }
  585. .sub-total{
  586. height: 88upx;
  587. display: flex;
  588. align-items: center;
  589. justify-content: flex-end;
  590. .discount{
  591. font-size: 24upx;
  592. font-family: PingFang SC;
  593. font-weight: 500;
  594. color: #999999;
  595. line-height: 1;
  596. margin-right: 30upx;
  597. }
  598. .label{
  599. font-size: 24upx;
  600. font-family: PingFang SC;
  601. font-weight: 500;
  602. color: #999999;
  603. }
  604. .price{
  605. display: flex;
  606. align-items: flex-end;
  607. .unit{
  608. font-size: 24upx;
  609. font-family: PingFang SC;
  610. font-weight: 500;
  611. color: #FF6633;
  612. line-height: 1.2;
  613. margin-right: 4upx;
  614. }
  615. .num{
  616. font-size: 32upx;
  617. font-family: PingFang SC;
  618. font-weight: bold;
  619. color: #FF6633;
  620. line-height: 1;
  621. }
  622. }
  623. }
  624. }
  625. .order-info{
  626. margin-top: 20upx;
  627. background: #FFFFFF;
  628. border-radius: 16upx;
  629. padding: 40upx 30upx;
  630. .title{
  631. font-size: 30upx;
  632. font-family: PingFang SC;
  633. font-weight: bold;
  634. color: #222222;
  635. line-height: 1;
  636. }
  637. .item{
  638. margin-top: 40upx;
  639. display: flex;
  640. align-items: center;
  641. justify-content: space-between;
  642. .label{
  643. font-size: 26upx;
  644. font-family: PingFang SC;
  645. font-weight: 500;
  646. color: #666666;
  647. line-height: 1;
  648. }
  649. .text{
  650. font-size: 26upx;
  651. font-family: PingFang SC;
  652. font-weight: 500;
  653. color: #222222;
  654. line-height: 32upx;
  655. }
  656. .cont-text{
  657. font-size: 26upx;
  658. font-family: PingFang SC;
  659. font-weight: 500;
  660. color: #666666;
  661. .bold{
  662. color: #111111;
  663. }
  664. }
  665. .sn-box{
  666. display: flex;
  667. align-items: center;
  668. .copy-btn{
  669. width: 58upx;
  670. height: 32upx;
  671. line-height: 32upx;
  672. text-align: center;
  673. font-size: 22upx;
  674. font-family: PingFang SC;
  675. font-weight: 500;
  676. color: #222222;
  677. background: #F5F5F5;
  678. border-radius: 4upx;
  679. margin-left: 24upx;
  680. }
  681. }
  682. .check-box{
  683. display: flex;
  684. align-items: center;
  685. image{
  686. width: 14upx;
  687. height: 24upx;
  688. margin-left: 10upx;
  689. }
  690. }
  691. }
  692. .line{
  693. width: 100%;
  694. height: 1px;
  695. background: #F0F0F0;
  696. margin-top: 30upx;
  697. }
  698. }
  699. }
  700. .btn-box{
  701. z-index: 999;
  702. bottom: 0;
  703. width: 100%;
  704. position: fixed;
  705. height: 120upx;
  706. box-sizing: border-box;
  707. background: #FFFFFF;
  708. padding: 0 30upx;
  709. display: flex;
  710. align-items: center;
  711. justify-content: flex-end;
  712. .btn{
  713. width: 155upx;
  714. height: 64upx;
  715. line-height: 64upx;
  716. font-size: 26upx;
  717. font-family: PingFang SC;
  718. font-weight: 500;
  719. text-align: center;
  720. border-radius: 32upx;
  721. margin-left: 15upx;
  722. &.share-btn{
  723. background: #018C39;
  724. color: #FFFFFF;
  725. position: relative;
  726. .share{
  727. display: inline-block;
  728. position: absolute;
  729. top: 0;
  730. left: 0;
  731. width: 100%;
  732. height: 100%rpx;
  733. opacity: 0;
  734. }
  735. }
  736. }
  737. }
  738. .popup-box{
  739. position: fixed;
  740. top: 0;
  741. right: 0;
  742. left: 0;
  743. bottom: 0;
  744. z-index: 999;
  745. display: flex;
  746. justify-content: center;
  747. align-items: center;
  748. .info-mask {
  749. position: fixed;
  750. top: 0;
  751. right: 0;
  752. bottom: 0;
  753. left: 0;
  754. background-color: rgba($color: #000000, $alpha: 0.5);
  755. z-index: 999;
  756. }
  757. .info-form {
  758. z-index: 1000;
  759. width: 650rpx;
  760. display: flex;
  761. flex-direction: column;
  762. justify-content: center;
  763. align-items: center;
  764. padding: 0 30upx;
  765. background: #FFFFFF;
  766. border-radius: 16upx;
  767. .title{
  768. padding: 30rpx 0rpx 15rpx;
  769. display: flex;
  770. justify-content: center;
  771. align-items: center;
  772. font-size: 40upx;
  773. line-height: 44upx;
  774. font-family: PingFang SC;
  775. color: #222222;
  776. }
  777. .form-box{
  778. width: 100%;
  779. .form-item{
  780. padding: 30upx 0;
  781. display: flex;
  782. align-items: flex-start;
  783. border-bottom: 1px solid #F1F1F1;
  784. .label{
  785. width: 160upx;
  786. text-align: left;
  787. font-size: 30upx;
  788. line-height: 44upx;
  789. font-family: PingFang SC;
  790. font-weight: 500;
  791. color: #222222;
  792. flex-shrink: 0;
  793. }
  794. input{
  795. text-align: left;
  796. }
  797. .form-input{
  798. font-size: 34upx;
  799. font-family: PingFang SC;
  800. font-weight: 500;
  801. color: #222222;
  802. text-align: left;
  803. }
  804. }
  805. }
  806. .btns{
  807. width: 100%;
  808. height: 120upx;
  809. padding: 0 30upx;
  810. display: flex;
  811. align-items: center;
  812. justify-content: center;
  813. .sub-btn{
  814. width: 100%;
  815. height: 88upx;
  816. line-height: 88upx;
  817. text-align: center;
  818. font-size: 30upx;
  819. font-family: PingFang SC;
  820. font-weight: bold;
  821. color: #FFFFFF;
  822. background: #018C39;
  823. border-radius: 44upx;
  824. }
  825. }
  826. }
  827. }
  828. </style>