storeOrderDetail.vue 20 KB

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