storeOrderDetail.vue 20 KB

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