pageThree.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. <template>
  2. <view class="page-container">
  3. <!-- 支付信息录入卡片 -->
  4. <view class="info-card">
  5. <view class="info-card-title">支付信息</view>
  6. <!-- 开户人和银行名称同一行 -->
  7. <u-row class="info-row" justify="space-between">
  8. <u-col span="5.8">
  9. <view class="info-label">开户人</view>
  10. <u-input v-model="paymentInfo.customName" placeholder="请输入开户人姓名" class="info-input" />
  11. </u-col>
  12. <u-col span="5.8">
  13. <view class="info-label">银行名称</view>
  14. <u-input v-model="paymentInfo.bankName" placeholder="请输入银行名称" class="info-input" />
  15. </u-col>
  16. </u-row>
  17. <!-- 银行账号单独一行 -->
  18. <u-row class="info-row">
  19. <u-col span="12">
  20. <view class="info-label">银行账号</view>
  21. <u-input v-model="paymentInfo.bankAccount" placeholder="请输入银行账号" class="info-input" />
  22. </u-col>
  23. </u-row>
  24. <!-- 身份证号单独一行 -->
  25. <u-row class="info-row">
  26. <u-col span="12">
  27. <view class="info-label">身份证号</view>
  28. <u-input v-model="paymentInfo.idNumber" placeholder="请输入身份证号" class="info-input" />
  29. </u-col>
  30. </u-row>
  31. </view>
  32. <view class="card_wrap">
  33. <view class="detail-image-section">
  34. <view class="detail-image-header">
  35. <div class="detail-image-title">高清实物图(拖拽排序)</div>
  36. </view>
  37. <view class="detail-image-content">
  38. <view class="detail-image-list">
  39. <!-- 占位符元素 -->
  40. <view v-show="placeholderIndex !== -1" class="detail-image-placeholder"
  41. :style="{ transform: placeholderStyle }">
  42. <u-icon name="arrow-right" size="40rpx" color="#108cff"></u-icon>
  43. </view>
  44. <!-- 图片列表 -->
  45. <view class="detail-image-item" v-for="(item, index) in detailImages" :key="'detail-' + index"
  46. :class="{
  47. 'dragging': draggingIndex === index,
  48. 'can-drop': canDropIndex === index
  49. }" @touchstart.stop="onTouchStart($event, index)" @touchmove.stop="onTouchMove($event)"
  50. @touchend.stop="onTouchEnd" @touchcancel.stop="onTouchEnd">
  51. <pic-comp :src="item.fileUrl"></pic-comp>
  52. <view class="image-type-tag">{{ getImageType(index) }}</view>
  53. <view class="detail-delete-btn" @click.stop="deleteImage(item)">×</view>
  54. </view>
  55. <!-- 上传按钮 -->
  56. <view class="detail-upload-btn" @click="uploadImage('detailImages')">
  57. <u-icon name="plus" size="40rpx" color="#999"></u-icon>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. <!-- 支付总额卡片 -->
  64. <view class="card_wrap payment-card">
  65. <view class="payment-section">
  66. <view class="payment-total-container">
  67. <text class="payment-label">支付总额</text>
  68. <u-input v-model="paymentAmount" placeholder="0.00" class="payment-amount" type="number" decimal="2"
  69. prefix="¥" />
  70. </view>
  71. <view class="payment-buttons-row">
  72. <view class="payment-button" @click="handleUnpaidClick">
  73. <u-icon name="star" size="40rpx" color="#ff9500"></u-icon>
  74. <text class="button-text">未收</text>
  75. </view>
  76. <view class="payment-button" @click="handleFollowUpClick">
  77. <u-icon name="chat" size="40rpx" color="#108cff"></u-icon>
  78. <text class="button-text">待跟进</text>
  79. </view>
  80. </view>
  81. <view class="pay-now-button" @click="handlePayNowClick">
  82. <text class="button-text">立即支付</text>
  83. </view>
  84. </view>
  85. </view>
  86. <u-button @click="handleNextClick" type="primary" size="middle" style="border-radius: 20rpx;">下一步</u-button>
  87. <u-modal :show="unpaidModelShow" :title="'未收评级'" :showConfirmButton="false">
  88. <view class="modal-content">
  89. <u-rate v-model="unpaidRating" :count="5" :size="50" active-color="#ff9500"></u-rate>
  90. <u-button type="primary" size="large" @click="confirmUnpaid" style="margin-top: 40rpx;">确认未收</u-button>
  91. </view>
  92. </u-modal>
  93. <u-modal :show="followUpModelShow" :title="'填写跟进细节'" :showConfirmButton="false">
  94. <view class="modal-content">
  95. <u--textarea v-model="followUpNotes" placeholder="请输入情况" confirm-type="done"
  96. style="width: 100%; margin-bottom: 30rpx;"></u--textarea>
  97. <u-button type="primary" size="large" @click="confirmFollowUp">确认</u-button>
  98. </view>
  99. </u-modal>
  100. <u-modal :show="payNowModelShow" :title="'确认支付信息'" :showConfirmButton="false">
  101. <view class="modal-content">
  102. <!-- 支付金额显示 -->
  103. <view class="payment-amount-display">¥{{ paymentAmount }}</view>
  104. <!-- 支付信息区域 -->
  105. <view class="payment-info-section">
  106. <view class="info-item">
  107. <text class="info-label">收款姓名:</text>
  108. <text class="info-value">{{ paymentInfo.accountHolder || '未填写' }}</text>
  109. </view>
  110. <view class="info-item">
  111. <text class="info-label">开户银行:</text>
  112. <text class="info-value">{{ paymentInfo.bankName || '未填写' }}</text>
  113. </view>
  114. <view class="info-item">
  115. <text class="info-label">银行卡号:</text>
  116. <text class="info-value">{{ paymentInfo.bankAccount || '未填写' }}</text>
  117. </view>
  118. </view>
  119. <!-- 确认转账按钮 -->
  120. <u-button type="primary" size="large" @click="confirmTransfer"
  121. style="margin-top: 40rpx;">确认转账</u-button>
  122. </view>
  123. </u-modal>
  124. </view>
  125. </template>
  126. <script>
  127. import picComp from './picComp.vue'
  128. import imgUploadAndDownLoad from '../mixin/imgUploadAndDownLoad'
  129. export default {
  130. mixins: [imgUploadAndDownLoad],
  131. props: {
  132. orderDetail: {
  133. type: Object,
  134. default: () => { },
  135. },
  136. orderId: {
  137. type: String,
  138. default: '',
  139. }
  140. },
  141. watch: {
  142. orderDetail: {
  143. handler(newVal) {
  144. if (newVal) {
  145. this.paymentInfo.customName = newVal.customName || ''
  146. this.paymentInfo.bankName = newVal.bankName || ''
  147. this.paymentInfo.bankAccount = newVal.bankCardNumber || ''
  148. this.paymentInfo.idNumber = newVal.idCard || ''
  149. this.getList('2', '3');
  150. }
  151. },
  152. deep: true,
  153. },
  154. },
  155. components: {
  156. picComp
  157. },
  158. data() {
  159. return {
  160. unpaidModelShow: false,
  161. followUpModelShow: false,
  162. payNowModelShow: false,
  163. unpaidRating: 0, // 未收评级
  164. followUpNotes: '', // 跟进细节
  165. paymentAmount: '0.00', // 支付总额
  166. // 支付信息
  167. paymentInfo: {
  168. accountHolder: '', // 开户人
  169. bankName: '', // 银行名称
  170. bankAccount: '', // 银行账号
  171. idNumber: '' // 身份证号
  172. },
  173. // 拖拽相关状态
  174. draggingIndex: -1, // 当前正在拖拽的元素索引
  175. placeholderIndex: -1, // 占位符的位置
  176. canDropIndex: -1, // 可以放置的位置
  177. originalIndex: -1, // 拖拽开始时的原始位置
  178. startX: 0, // 触摸起始X坐标
  179. startY: 0, // 触摸起始Y坐标
  180. dragOffsetX: 0, // 拖拽元素的X偏移
  181. dragOffsetY: 0, // 拖拽元素的Y偏移
  182. placeholderStyle: '', // 占位符的样式
  183. detailImages: [],// 高清细节图数组
  184. // 绑定订单相关
  185. bindList: [] // 待绑定的图片列表
  186. };
  187. },
  188. methods: {
  189. // 获取图片类型
  190. getImageType(index) {
  191. const types = ['正面', '反面', '侧面', '扣子', '编号'];
  192. return types[index] || `细节${index - 4}`;
  193. },
  194. // 触摸开始
  195. onTouchStart(event, index) {
  196. if (this.draggingIndex !== -1) return;
  197. this.draggingIndex = index;
  198. this.originalIndex = index;
  199. this.placeholderIndex = index;
  200. this.canDropIndex = -1;
  201. // 记录触摸起始坐标
  202. this.startX = event.touches[0].clientX;
  203. this.startY = event.touches[0].clientY;
  204. // 获取元素位置信息用于计算偏移
  205. const query = uni.createSelectorQuery().in(this);
  206. query.selectAll('.detail-image-item').boundingClientRect(rects => {
  207. if (rects[index]) {
  208. this.dragOffsetX = this.startX - rects[index].left;
  209. this.dragOffsetY = this.startY - rects[index].top;
  210. this.placeholderStyle = `translate(${rects[index].left}px, ${rects[index].top}px)`;
  211. }
  212. }).exec();
  213. },
  214. // 触摸移动
  215. onTouchMove(event) {
  216. if (this.draggingIndex === -1) return;
  217. const moveX = event.touches[0].clientX;
  218. const moveY = event.touches[0].clientY;
  219. // 更新拖拽元素的位置
  220. this.$nextTick(() => {
  221. const draggingElement = uni.createSelectorQuery().in(this)
  222. .selectAll('.detail-image-item')[this.draggingIndex];
  223. if (draggingElement) {
  224. // 这里通过CSS类实现拖拽视觉效果,实际位置由数组顺序控制
  225. }
  226. });
  227. // 计算当前触摸位置对应的目标索引
  228. this.findTargetIndex(moveX, moveY);
  229. },
  230. // 触摸结束
  231. onTouchEnd() {
  232. if (this.draggingIndex === -1) return;
  233. // 执行元素交换
  234. if (this.canDropIndex !== -1 && this.canDropIndex !== this.draggingIndex) {
  235. // 交换元素位置
  236. const temp = this.detailImages[this.draggingIndex];
  237. this.detailImages[this.draggingIndex] = this.detailImages[this.canDropIndex];
  238. this.detailImages[this.canDropIndex] = temp;
  239. // Update position properties after swap
  240. this.detailImages.forEach((item, index) => {
  241. item.position = index + 1;
  242. });
  243. }
  244. // 重置拖拽状态
  245. this.resetDragState();
  246. },
  247. // 查找触摸位置对应的目标索引
  248. findTargetIndex(x, y) {
  249. const query = uni.createSelectorQuery().in(this);
  250. query.selectAll('.detail-image-item').boundingClientRect(rects => {
  251. let targetIndex = -1;
  252. // 查找触摸点所在的元素
  253. for (let i = 0; i < rects.length; i++) {
  254. if (i === this.draggingIndex) continue;
  255. const rect = rects[i];
  256. if (x >= rect.left && x <= rect.right && y >= rect.top && y <= rect.bottom) {
  257. targetIndex = i;
  258. break;
  259. }
  260. }
  261. // 更新可放置位置
  262. this.canDropIndex = targetIndex;
  263. // 如果找到了可放置位置,更新占位符位置
  264. if (targetIndex !== -1) {
  265. this.placeholderIndex = targetIndex;
  266. this.placeholderStyle = `translate(${rects[targetIndex].left}px, ${rects[targetIndex].top}px)`;
  267. }
  268. }).exec();
  269. },
  270. // 重置拖拽状态
  271. resetDragState() {
  272. this.draggingIndex = -1;
  273. this.placeholderIndex = -1;
  274. this.canDropIndex = -1;
  275. this.originalIndex = -1;
  276. this.startX = 0;
  277. this.startY = 0;
  278. this.dragOffsetX = 0;
  279. this.dragOffsetY = 0;
  280. this.placeholderStyle = '';
  281. },
  282. // 未收按钮点击事件
  283. handleUnpaidClick() {
  284. console.log('点击了未收按钮');
  285. this.unpaidModelShow = true;
  286. },
  287. // 待跟进按钮点击事件
  288. handleFollowUpClick() {
  289. console.log('点击了待跟进按钮');
  290. this.followUpModelShow = true;
  291. },
  292. // 立即支付按钮点击事件
  293. handlePayNowClick() {
  294. console.log('点击了立即支付按钮');
  295. this.payNowModelShow = true;
  296. //让父组件保存数据
  297. this.$emit('handleNeedSave', {
  298. fileIds: this.detailImages.map(item => item.id).join(','),
  299. nowPage: 'formThree',
  300. form: {
  301. ...this.paymentInfo,
  302. paymentAmount: this.paymentAmount
  303. }
  304. });
  305. },
  306. // 确认未收按钮点击事件
  307. confirmUnpaid() {
  308. console.log('确认未收,评分:', this.unpaidRating);
  309. this.unpaidModelShow = false;
  310. // 可以在这里添加提交评分的逻辑
  311. },
  312. // 确认跟进细节按钮点击事件
  313. confirmFollowUp() {
  314. console.log('确认跟进细节:', this.followUpNotes);
  315. this.followUpModelShow = false;
  316. // 可以在这里添加提交跟进细节的逻辑
  317. },
  318. // 确认转账按钮点击事件
  319. confirmTransfer() {
  320. console.log('确认转账');
  321. this.payNowModelShow = false;
  322. // 可以在这里添加转账确认的逻辑
  323. this.$emit('handleConfirmPay');
  324. },
  325. // 下一步按钮点击事件
  326. handleNextClick() {
  327. console.log('page3点击了下一步按钮', this.detailImages);
  328. this.$emit('handleNextClick', {
  329. nowPage: 'formThree',
  330. form: {
  331. ...this.paymentInfo
  332. }
  333. });
  334. },
  335. }
  336. }
  337. </script>
  338. <style lang="scss" scoped>
  339. // 导入公共样式
  340. @import './common.scss';
  341. // 主样式
  342. .page-container {
  343. box-sizing: border-box;
  344. padding: 0;
  345. background-color: map-get($colors, bg);
  346. font-family: map-get($font, family);
  347. -webkit-font-smoothing: map-get($font, smoothing);
  348. font-smoothing: map-get($font, smoothing);
  349. }
  350. .card_wrap {
  351. @include card;
  352. margin-bottom: 20rpx;
  353. &:hover {
  354. @include shadow(2);
  355. }
  356. }
  357. .detail-image-section {
  358. padding: map-get($sizes, padding-sm) map-get($sizes, padding);
  359. }
  360. .detail-image-content {
  361. margin-top: 20rpx;
  362. .detail-image-list {
  363. display: flex;
  364. flex-wrap: wrap;
  365. gap: 20rpx;
  366. }
  367. .detail-image-item {
  368. position: relative;
  369. width: 200rpx;
  370. height: 200rpx;
  371. box-sizing: border-box;
  372. touch-action: none; // 禁止浏览器默认触摸行为
  373. transition: all 0.2s ease; // 所有属性过渡效果
  374. z-index: 1;
  375. cursor: move;
  376. &.dragging {
  377. opacity: 0.5;
  378. transform: scale(1.05);
  379. z-index: 100;
  380. }
  381. &.can-drop {
  382. border: 2rpx dashed #108cff;
  383. background-color: rgba(16, 140, 255, 0.1);
  384. }
  385. &:active {
  386. opacity: 0.7;
  387. }
  388. }
  389. // 占位符样式
  390. .detail-image-placeholder {
  391. position: absolute;
  392. width: 200rpx;
  393. height: 200rpx;
  394. border: 2rpx dashed #108cff;
  395. background-color: rgba(16, 140, 255, 0.1);
  396. border-radius: 8rpx;
  397. display: flex;
  398. align-items: center;
  399. justify-content: center;
  400. z-index: 50;
  401. pointer-events: none;
  402. }
  403. .image-type-tag {
  404. position: absolute;
  405. top: 10rpx;
  406. left: 10rpx;
  407. background-color: rgba(0, 0, 0, 0.6);
  408. color: white;
  409. padding: 5rpx 10rpx;
  410. border-radius: 12rpx;
  411. font-size: 22rpx;
  412. z-index: 1;
  413. }
  414. .detail-delete-btn {
  415. position: absolute;
  416. top: -10rpx;
  417. right: -10rpx;
  418. width: 40rpx;
  419. height: 40rpx;
  420. background-color: #ff4d4f;
  421. color: #fff;
  422. border-radius: 50%;
  423. display: flex;
  424. align-items: center;
  425. justify-content: center;
  426. @include font-styles($size: small, $weight: bold);
  427. z-index: 10;
  428. }
  429. .detail-upload-btn {
  430. width: 200rpx;
  431. height: 200rpx;
  432. border: 8rpx dashed #ddd;
  433. border-radius: 30rpx;
  434. display: flex;
  435. align-items: center;
  436. justify-content: center;
  437. background-color: #f9f9f9;
  438. box-sizing: border-box;
  439. cursor: pointer;
  440. &:hover {
  441. border-color: #108cff;
  442. background-color: rgba(16, 140, 255, 0.05);
  443. }
  444. }
  445. .no-images {
  446. @include font-styles($size: content, $weight: regular, $color: tertiary);
  447. text-align: center;
  448. padding: 80rpx 0;
  449. background-color: #f9f9f9;
  450. border-radius: 12rpx;
  451. margin-top: 20rpx;
  452. }
  453. }
  454. .detail-image-header {
  455. display: flex;
  456. justify-content: space-between;
  457. align-items: center;
  458. margin-bottom: map-get($sizes, margin-sm);
  459. padding-bottom: map-get($sizes, margin-sm);
  460. border-bottom: 1rpx solid map-get($colors, border);
  461. }
  462. .detail-image-title {
  463. @include font-styles($size: content, $weight: bold, $color: primary);
  464. }
  465. /* 支付信息卡片样式 */
  466. .info-card {
  467. @include card;
  468. margin-top: 20rpx;
  469. margin-bottom: 20rpx;
  470. padding: map-get($sizes, padding-sm) map-get($sizes, padding);
  471. box-sizing: border-box;
  472. &:hover {
  473. @include shadow(2);
  474. }
  475. .u-col {
  476. padding: 0;
  477. box-sizing: border-box;
  478. }
  479. .u-col:first-child {
  480. padding-right: 15rpx;
  481. }
  482. .u-col:last-child {
  483. padding-left: 15rpx;
  484. }
  485. }
  486. .info-card-title {
  487. @include font-styles($size: title, $weight: bold, $color: primary);
  488. margin-bottom: 25rpx;
  489. padding-bottom: 15rpx;
  490. border-bottom: 1rpx solid map-get($colors, border);
  491. }
  492. .info-row {
  493. margin-bottom: 20rpx;
  494. box-sizing: border-box;
  495. padding: 0;
  496. }
  497. .info-label {
  498. @include font-styles($size: tiny, $weight: regular, $color: tertiary);
  499. margin-bottom: 8rpx;
  500. display: block;
  501. }
  502. .info-input {
  503. border-radius: 8rpx;
  504. border: 1rpx solid #e5e7eb;
  505. padding: 12rpx 16rpx;
  506. width: 100%;
  507. box-sizing: border-box;
  508. @include font-styles($size: small, $weight: regular, $color: secondary);
  509. }
  510. /* 支付总额卡片样式 */
  511. .payment-card {
  512. @include card;
  513. margin-top: 20rpx;
  514. margin-bottom: 20rpx;
  515. }
  516. .payment-section {
  517. padding: map-get($sizes, padding-sm) map-get($sizes, padding);
  518. }
  519. .payment-total-container {
  520. background-color: #f5f7fa;
  521. border: 2rpx solid #e5e7eb;
  522. border-radius: 12rpx;
  523. padding: 24rpx 30rpx;
  524. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  525. display: flex;
  526. align-items: center;
  527. justify-content: space-between;
  528. margin-bottom: 24rpx;
  529. }
  530. .payment-label {
  531. font-size: 36rpx;
  532. color: map-get($colors, text-primary);
  533. font-weight: 700;
  534. min-width: 140rpx;
  535. }
  536. .payment-amount {
  537. font-size: 48rpx;
  538. font-weight: 600;
  539. color: #f53f3f;
  540. font-family: Consolas, 'Courier New', monospace, -apple-system, BlinkMacSystemFont;
  541. width: auto;
  542. min-width: 150rpx;
  543. }
  544. .payment-amount .u-input__input {
  545. border: none;
  546. padding: 0;
  547. background: transparent;
  548. font-size: 48rpx;
  549. font-weight: 600;
  550. color: #f53f3f;
  551. font-family: Consolas, 'Courier New', monospace, -apple-system, BlinkMacSystemFont;
  552. text-align: right;
  553. }
  554. /* 支付按钮行样式 */
  555. .payment-buttons-row {
  556. display: flex;
  557. gap: 20rpx;
  558. margin-bottom: 24rpx;
  559. }
  560. .payment-button {
  561. flex: 1;
  562. border-radius: 12rpx;
  563. padding: 24rpx 0;
  564. display: flex;
  565. flex-direction: column;
  566. align-items: center;
  567. justify-content: center;
  568. background-color: #f5f7fa;
  569. border: 2rpx solid #e5e7eb;
  570. cursor: pointer;
  571. transition: all 0.3s ease;
  572. gap: 12rpx;
  573. }
  574. .payment-button:hover {
  575. background-color: #e6f7ed;
  576. border-color: #00b42a;
  577. transform: translateY(-2rpx);
  578. box-shadow: 0 4rpx 12rpx rgba(0, 180, 42, 0.15);
  579. }
  580. /* 立即支付按钮样式 */
  581. .pay-now-button {
  582. width: 100%;
  583. border-radius: 12rpx;
  584. padding: 32rpx 0;
  585. display: flex;
  586. flex-direction: column;
  587. align-items: center;
  588. justify-content: center;
  589. background-color: #108cff;
  590. color: #fff;
  591. cursor: pointer;
  592. transition: all 0.3s ease;
  593. gap: 12rpx;
  594. box-shadow: 0 4rpx 12rpx rgba(16, 140, 255, 0.2);
  595. }
  596. .pay-now-button:hover {
  597. background-color: #007aff;
  598. transform: translateY(-2rpx);
  599. box-shadow: 0 6rpx 16rpx rgba(16, 140, 255, 0.25);
  600. }
  601. .button-text {
  602. font-size: 28rpx;
  603. font-weight: 500;
  604. color: inherit;
  605. }
  606. /* 模态框内容样式 */
  607. .modal-content {
  608. width: 100%;
  609. padding: 40rpx 20rpx;
  610. display: flex;
  611. flex-direction: column;
  612. align-items: center;
  613. }
  614. /* 支付金额显示样式 */
  615. .payment-amount-display {
  616. font-size: 64rpx;
  617. font-weight: bold;
  618. color: #108cff;
  619. text-align: center;
  620. margin-bottom: 40rpx;
  621. width: 100%;
  622. }
  623. /* 支付信息区域样式 */
  624. .payment-info-section {
  625. width: 100%;
  626. background-color: #f5f7fa;
  627. border: 2rpx solid #e5e7eb;
  628. border-radius: 12rpx;
  629. padding: 30rpx 20rpx;
  630. margin-bottom: 40rpx;
  631. }
  632. /* 信息项样式 */
  633. .info-item {
  634. display: flex;
  635. margin-bottom: 20rpx;
  636. align-items: center;
  637. justify-content: space-between;
  638. }
  639. .info-item:last-child {
  640. margin-bottom: 0;
  641. }
  642. .info-label {
  643. font-size: 28rpx;
  644. color: #666;
  645. width: 200rpx;
  646. }
  647. .info-value {
  648. font-size: 28rpx;
  649. color: #333;
  650. }
  651. </style>