refund-detail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
  1. <template>
  2. <view class="refund-detail-page">
  3. <!-- 状态头部 -->
  4. <view class="status-header">
  5. <view class="status-title"
  6. v-if="orderInfo.disposeType && orderInfo.disposeType == 2 && orderInfo.status == 2">退货商品异常</view>
  7. <view class="status-title" v-else>{{ getStatusText(orderInfo.status) }}</view>
  8. <!-- 倒计时 -->
  9. <view class="status-desc" v-if="orderInfo.restAuditSecond > 0">
  10. <u-count-down :timestamp="orderInfo.restAuditSecond" separator="zh" :show-seconds="false"
  11. @end="getDetail" font-size="26" separator-size="26" separator-color="#999" color="#999" bg-color="transparent"></u-count-down>
  12. <template>
  13. <text class="status-desc" v-if="orderInfo.status == 1">后平台未处理将自动同意</text>
  14. <text class="status-desc" v-if="orderInfo.status == 2">后买家未处理将自动撤销</text>
  15. <text class="status-desc" v-if="orderInfo.status == 3">后平台处理将自动同意退款</text>
  16. <text class="status-desc" v-if="orderInfo.status == 4">后未寄出平台将自动撤销退货申请</text>
  17. </template>
  18. </view>
  19. <template v-if="orderInfo.status == '1'">
  20. <view class="status-tip">您已成功发起退款申请,请耐心等待平台处理</view>
  21. </template>
  22. <template v-else>
  23. <!-- 协商UI -->
  24. <view class="negotiation-card" v-if="orderInfo.status == '2'">
  25. <view class="negotiation-content">
  26. <u-icon name="file-text-fill" color="#FF6600" size="40" class="negotiation-icon"></u-icon>
  27. <view class="negotiation-text">
  28. <view class="negotiation-title">协商修改退款金额为{{ orderInfo.disposeMoney || orderInfo.refundMoney
  29. }}元</view>
  30. <view class="negotiation-desc">我们愿意支持退款,若您接受修改金额,我们将立刻退款给您</view>
  31. </view>
  32. </view>
  33. <view class="negotiation-actions">
  34. <u-button size="mini" :custom-style="rejectBtnStyle"
  35. @click="handleNegotiation(false)">拒绝协商</u-button>
  36. <u-button size="mini" :custom-style="acceptBtnStyle"
  37. @click="handleNegotiation(true)">接受协商</u-button>
  38. </view>
  39. </view>
  40. <!-- 退款成功金额展示 -->
  41. <view class="refund-amount-box" v-if="orderInfo.status == '8'">
  42. <view class="amount-row">
  43. <text class="label">退回余额</text>
  44. <text class="value">¥{{ orderInfo.refundMoney }}</text>
  45. </view>
  46. </view>
  47. </template>
  48. </view>
  49. <!-- 退货方式 (状态为4时显示) -->
  50. <view class="info-card return-method-card" v-if="orderInfo.status == '4'">
  51. <view class="card-title">请选择退货方式</view>
  52. <!-- 这里可以加倒计时,类似:1天11时57分后未寄出平台将自动撤销退货申请,需根据接口返回字段 -->
  53. <view class="method-tabs">
  54. <view class="tab-item disabled">
  55. <view class="tab-name">上门取件</view>
  56. <view class="tab-desc">(快递员上门取包裹)</view>
  57. </view>
  58. <view class="tab-item disabled">
  59. <view class="tab-name">驿站自寄</view>
  60. <view class="tab-desc">(随到随退)</view>
  61. </view>
  62. <view class="tab-item active">
  63. <view class="tab-name">自行寄回</view>
  64. <view class="tab-desc">(需填写单号)</view>
  65. </view>
  66. </view>
  67. <view class="warning-box">
  68. 需您自行联系快递公司退回,请不要邮寄到付
  69. </view>
  70. <view class="address-box">
  71. <view class="address-label">平台地址</view>
  72. <view class="address-content">
  73. <view class="name">{{ orderInfo.receiverName }} {{ orderInfo.receiverMobile }}</view>
  74. <view class="detail">{{ orderInfo.receiverAddress }} <image
  75. src="/pages-mine/static/copy.png" class="copy-icon" @click="copyAddress"></image>
  76. </view>
  77. </view>
  78. <u-icon name="arrow-right" color="#ccc" size="28"></u-icon>
  79. </view>
  80. <u-button type="success" shape="circle" :custom-style="fillBtnStyle"
  81. @click="goToFillLogistics">填写单号</u-button>
  82. </view>
  83. <!-- 商品列表 -->
  84. <view class="info-card goods-card">
  85. <view class="goods-item" v-for="(goods, index) in orderInfo.detailList" :key="index">
  86. <image :src="goods.cover" mode="aspectFill" class="goods-cover"></image>
  87. <view class="goods-info">
  88. <view class="goods-title u-line-2">{{ goods.bookName }}</view>
  89. <view class="goods-sku" v-if="goods.isbn">品相:{{ goods.conditionType | conditionText }}
  90. </view>
  91. <view class="price-box">
  92. <text class="price">¥{{ goods.price }}</text>
  93. <text class="num">x{{ goods.refundNum }}</text>
  94. </view>
  95. <!-- 状态Badge -->
  96. <view class="refund-status-tag red-tag" v-if="orderInfo.status == '1'">
  97. <text>退款中</text>
  98. </view>
  99. <view class="refund-status-tag" v-if="orderInfo.status == '6'">退款成功</view>
  100. </view>
  101. </view>
  102. </view>
  103. <!-- 退款信息 (包含协商历史) -->
  104. <view class="info-card detail-card">
  105. <!-- 协商历史 -->
  106. <view class="row history-row" @click="goToHistory">
  107. <text class="label">协商历史</text>
  108. <view class="value flex-row link-text">
  109. <text>查看</text>
  110. <!-- <u-icon name="arrow-right" color="#38C148" size="24"></u-icon> -->
  111. <image src="/static/images/arrow-right-green.png" style="width: 24rpx; height: 24rpx;" v-if="false">
  112. </image>
  113. <!-- 使用文字或默认图标 -->
  114. <u-icon name="lightning-fill" color="#38C148" size="28" style="margin-left: 6rpx;"></u-icon>
  115. </view>
  116. </view>
  117. <view class="row">
  118. <text class="label">退款原因</text>
  119. <text class="value">{{ orderInfo.refundReason }}</text>
  120. </view>
  121. <view class="row">
  122. <text class="label">申请金额</text>
  123. <text class="value">共{{ orderInfo.refundMoney }}元</text>
  124. </view>
  125. <view class="row">
  126. <text class="label">申请时间</text>
  127. <text class="value">{{ orderInfo.createTime }}</text>
  128. </view>
  129. <view class="row">
  130. <text class="label">退款编号</text>
  131. <view class="value flex-row">
  132. <text>{{ refundOrderId }}</text>
  133. <image src="/pages-mine/static/copy.png" style="width: 28rpx; height: 28rpx; margin-left: 10rpx;"
  134. @click="copyOrderNo"></image>
  135. </view>
  136. </view>
  137. </view>
  138. <!-- 底部操作栏 -->
  139. <view class="bottom-bar" v-if="showBottomBar">
  140. <view class="btn-group">
  141. <u-button v-if="orderInfo.showComplaint == 1" shape="circle" plain :custom-style="btnStyle"
  142. @click="handleAction('complaint')">投诉</u-button>
  143. <u-button v-if="orderInfo.showCancel == 1" shape="circle" plain :custom-style="btnStyle"
  144. @click="handleAction('cancel')">撤销申请</u-button>
  145. <u-button v-if="orderInfo.showModifyApply == 1" shape="circle" type="success"
  146. :custom-style="primaryBtnStyle" @click="handleAction('modify')">修改申请</u-button>
  147. <u-button v-if="orderInfo.showClose == 1" shape="circle" plain :custom-style="btnStyle"
  148. @click="handleAction('close')">关闭退款</u-button>
  149. </view>
  150. </view>
  151. <!-- 占位符 -->
  152. <view style="height: 150rpx;" v-if="showBottomBar"></view>
  153. <!-- 客服按钮 -->
  154. <FloatingDrag :width="126" :height="140" :initial-position="servicePosition"
  155. @position-change="handlePositionChange">
  156. <!-- #ifdef MP-ALIPAY -->
  157. <button class="service-btn" @click="navigateToCustomerService">
  158. <image src="/static/img/kf.png" mode="widthFix" style="width: 126rpx; height: 140rpx"></image>
  159. </button>
  160. <!-- #endif -->
  161. <!-- #ifndef MP-ALIPAY -->
  162. <button class="service-btn" open-type="contact">
  163. <image src="/static/img/kf.png" mode="widthFix" style="width: 126rpx; height: 140rpx"></image>
  164. </button>
  165. <!-- #endif -->
  166. </FloatingDrag>
  167. </view>
  168. </template>
  169. <script>
  170. import FloatingDrag from "@/components/floating-drag.vue";
  171. export default {
  172. components: {
  173. FloatingDrag
  174. },
  175. data() {
  176. return {
  177. // 客服按钮位置
  178. servicePosition: {
  179. left: 0,
  180. right: 'auto',
  181. bottom: "10%",
  182. },
  183. refundOrderId: '',
  184. orderInfo: {
  185. status: '',
  186. restAuditSecond: 0,
  187. detailList: [],
  188. refundMoney: 0,
  189. refundReason: '',
  190. createTime: '',
  191. refundOrderId: '',
  192. showCancel: 0,
  193. showModifyApply: 0,
  194. showComplaint: 0,
  195. showClose: 0
  196. },
  197. btnStyle: {
  198. marginLeft: '20rpx',
  199. minWidth: '160rpx',
  200. height: '64rpx',
  201. lineHeight: '64rpx',
  202. padding: '0 20rpx',
  203. color: '#666',
  204. borderColor: '#ccc',
  205. fontSize: '28rpx',
  206. },
  207. primaryBtnStyle: {
  208. marginLeft: '20rpx',
  209. minWidth: '160rpx',
  210. height: '64rpx',
  211. lineHeight: '64rpx',
  212. padding: '0 20rpx',
  213. backgroundColor: '#38C148',
  214. color: '#fff',
  215. border: 'none'
  216. },
  217. rejectBtnStyle: {
  218. color: '#333',
  219. backgroundColor: '#fff',
  220. border: '1rpx solid #ccc',
  221. minWidth: '160rpx',
  222. height: '60rpx',
  223. lineHeight: '60rpx',
  224. fontSize: '26rpx',
  225. margin: '0 20rpx 0 0'
  226. },
  227. acceptBtnStyle: {
  228. color: '#fff',
  229. backgroundColor: '#FF6600',
  230. border: 'none',
  231. minWidth: '160rpx',
  232. height: '60rpx',
  233. lineHeight: '60rpx',
  234. fontSize: '26rpx',
  235. margin: '0'
  236. },
  237. fillBtnStyle: {
  238. backgroundColor: '#38C148',
  239. color: '#fff',
  240. height: '80rpx',
  241. fontSize: '30rpx',
  242. marginTop: '30rpx',
  243. width: '100%'
  244. }
  245. };
  246. },
  247. computed: {
  248. showBottomBar() {
  249. const { showCancel, showModifyApply, showComplaint, showClose } = this.orderInfo;
  250. return showCancel == 1 || showModifyApply == 1 || showComplaint == 1 || showClose == 1;
  251. }
  252. },
  253. onLoad(options) {
  254. if (options.refundOrderId) {
  255. this.refundOrderId = options.refundOrderId;
  256. this.getDetail();
  257. } else if (options.orderId) {
  258. // 兼容处理:如果传入的是 orderId,尝试通过 orderId 获取退款单(如果后端支持)
  259. // 或者提示错误
  260. // 假设暂时用 refundOrderId
  261. this.refundOrderId = options.orderId; // 尝试用这个ID
  262. this.getDetail();
  263. }
  264. },
  265. methods: {
  266. getDetail() {
  267. this.$u.api.getNewRefundOrderDetailAjax({
  268. refundOrderId: this.refundOrderId
  269. }).then(res => {
  270. if (res.code == 200) {
  271. this.orderInfo = res.data;
  272. }
  273. });
  274. },
  275. getStatusText(status) {
  276. // 状态 1-申请退款 2-审核通过 3-审核驳回 4-超时关闭 5-卖家已发货 6-已完成
  277. // 状态 1-申请退款 2-协商中待用户确认 3-协商中待商家确认 4-审核通过 5-审核驳回 6-超时关闭 7-卖家已发货 8-已完成
  278. const map = {
  279. '1': '请等待平台处理',
  280. '2': '协商中待用户确认',
  281. '3': '协商中待商家确认',
  282. '4': '审核已通过,请您把书籍自行寄回',
  283. '5': '审核已驳回',
  284. '6': '退款关闭', // 超时关闭
  285. '7': '卖家已发货', // 可能是换货场景
  286. '8': '退款成功'
  287. };
  288. return map[status] || '处理中';
  289. },
  290. copyAddress() {
  291. const address = (this.orderInfo.receiverName || '张三') + ' ' + (this.orderInfo.receiverMobile || '') + ' ' + (this.orderInfo.receiverAddress || '河南省鹤壁市浚县即可获得发货单收到单方事故师范号到');
  292. uni.setClipboardData({
  293. data: address,
  294. success: () => {
  295. uni.showToast({ title: '地址复制成功', icon: 'none' });
  296. }
  297. });
  298. },
  299. goToFillLogistics() {
  300. uni.navigateTo({
  301. url: `/pages-car/pages/fill-logistics?refundOrderId=${this.refundOrderId}`
  302. });
  303. },
  304. copyOrderNo() {
  305. uni.setClipboardData({
  306. data: String(this.orderInfo.refundOrderId || ''),
  307. success: () => {
  308. uni.showToast({ title: '复制成功', icon: 'none' });
  309. }
  310. });
  311. },
  312. goToHistory() {
  313. // 跳转协商历史页面
  314. uni.navigateTo({
  315. url: `/pages-car/pages/negotiation-history?refundOrderId=${this.refundOrderId}`
  316. });
  317. },
  318. navigateToCustomerService() {
  319. // 联系客服
  320. uni.navigateTo({
  321. url: '/pages/customer-service/index'
  322. });
  323. },
  324. // 处理位置变更
  325. handlePositionChange(position) {
  326. this.servicePosition = position;
  327. },
  328. handleNegotiation(accept) {
  329. const title = accept ? '确认接受协商金额?' : '确认拒绝协商?';
  330. uni.showModal({
  331. title: '提示',
  332. content: title,
  333. success: (res) => {
  334. if (res.confirm) {
  335. uni.showLoading({ title: '处理中' });
  336. const api = accept ? this.$u.api.refundDisposeAgreeAjax : this.$u.api.refundDisposeRefuseAjax;
  337. api({ refundOrderId: this.refundOrderId }).then(res => {
  338. uni.hideLoading();
  339. if (res.code == 200) {
  340. uni.showToast({
  341. title: accept ? '已接受协商' : '已拒绝协商',
  342. icon: 'success'
  343. });
  344. // 刷新详情
  345. this.getDetail();
  346. } else {
  347. uni.showToast({
  348. title: res.msg || '操作失败',
  349. icon: 'none'
  350. });
  351. }
  352. }).catch(() => {
  353. uni.hideLoading();
  354. });
  355. }
  356. }
  357. });
  358. },
  359. handleAction(type) {
  360. switch (type) {
  361. case 'cancel':
  362. // 撤销申请逻辑
  363. uni.showModal({
  364. title: '提示',
  365. content: '确定要撤销退款申请吗?',
  366. success: (res) => {
  367. if (res.confirm) {
  368. uni.showLoading({
  369. title: '处理中'
  370. });
  371. this.$u.api.refundCancelAjax({
  372. refundOrderId: this.refundOrderId
  373. }).then(res => {
  374. uni.hideLoading();
  375. if (res.code == 200) {
  376. uni.showToast({
  377. title: '撤销成功',
  378. icon: 'success'
  379. });
  380. // 刷新页面
  381. this.getDetail();
  382. }
  383. });
  384. }
  385. }
  386. });
  387. break;
  388. case 'modify':
  389. // 跳转到修改申请页面
  390. uni.navigateTo({
  391. url: `/pages-car/pages/apply-refund?refundOrderId=${this.refundOrderId}&isModify=1`
  392. });
  393. break;
  394. case 'complaint':
  395. uni.navigateTo({
  396. url: `/pages-car/pages/complaint?orderId=${this.orderInfo.originOrderId}`
  397. });
  398. break;
  399. case 'close':
  400. // 关闭退款
  401. uni.showToast({ title: '关闭退款', icon: 'none' });
  402. break;
  403. }
  404. }
  405. }
  406. }
  407. </script>
  408. <style lang="scss" scoped>
  409. .service-btn {
  410. height: max-content;
  411. background-color: transparent;
  412. padding: 0;
  413. &::after {
  414. border: none;
  415. }
  416. }
  417. .refund-detail-page {
  418. min-height: 100vh;
  419. background-color: #F5F5F5;
  420. padding-bottom: 20rpx;
  421. .status-header {
  422. background-color: #fff;
  423. padding: 40rpx 30rpx;
  424. text-align: center;
  425. margin-bottom: 20rpx;
  426. .status-title {
  427. font-size: 36rpx;
  428. font-weight: bold;
  429. color: #333;
  430. margin-bottom: 20rpx;
  431. }
  432. .status-desc {
  433. font-size: 26rpx;
  434. color: #999;
  435. margin-bottom: 10rpx;
  436. }
  437. .status-tip {
  438. font-size: 24rpx;
  439. color: #999;
  440. }
  441. .negotiation-card {
  442. margin-top: 30rpx;
  443. text-align: left;
  444. .negotiation-content {
  445. display: flex;
  446. align-items: flex-start;
  447. margin-bottom: 30rpx;
  448. .negotiation-icon {
  449. margin-right: 20rpx;
  450. margin-top: 6rpx;
  451. }
  452. .negotiation-text {
  453. flex: 1;
  454. .negotiation-title {
  455. font-size: 30rpx;
  456. font-weight: bold;
  457. color: #333;
  458. margin-bottom: 10rpx;
  459. }
  460. .negotiation-desc {
  461. font-size: 26rpx;
  462. color: #999;
  463. line-height: 1.4;
  464. }
  465. }
  466. }
  467. .negotiation-actions {
  468. display: flex;
  469. justify-content: flex-end;
  470. }
  471. }
  472. .refund-amount-box {
  473. margin-top: 30rpx;
  474. padding-top: 30rpx;
  475. .amount-row {
  476. display: flex;
  477. justify-content: space-between;
  478. align-items: center;
  479. font-size: 30rpx;
  480. .label {
  481. color: #333;
  482. }
  483. .value {
  484. color: #333;
  485. font-weight: bold;
  486. }
  487. }
  488. }
  489. }
  490. .info-card {
  491. background-color: #fff;
  492. margin: 20rpx;
  493. border-radius: 16rpx;
  494. padding: 30rpx;
  495. &.return-method-card {
  496. .card-title {
  497. font-size: 32rpx;
  498. font-weight: bold;
  499. color: #333;
  500. text-align: center;
  501. margin-bottom: 30rpx;
  502. }
  503. .method-tabs {
  504. display: flex;
  505. justify-content: space-between;
  506. margin-bottom: 30rpx;
  507. .tab-item {
  508. flex: 1;
  509. background-color: #F8F8F8;
  510. border-radius: 12rpx;
  511. padding: 20rpx 0;
  512. text-align: center;
  513. margin-right: 20rpx;
  514. border: 2rpx solid transparent;
  515. &:last-child {
  516. margin-right: 0;
  517. }
  518. &.active {
  519. background-color: #F0F9F1;
  520. border-color: #38C148;
  521. .tab-name {
  522. color: #38C148;
  523. }
  524. .tab-desc {
  525. color: #38C148;
  526. opacity: 0.8;
  527. }
  528. }
  529. &.disabled {
  530. opacity: 0.5;
  531. }
  532. .tab-name {
  533. font-size: 30rpx;
  534. font-weight: bold;
  535. color: #333;
  536. margin-bottom: 6rpx;
  537. }
  538. .tab-desc {
  539. font-size: 22rpx;
  540. color: #999;
  541. }
  542. }
  543. }
  544. .warning-box {
  545. background-color: #E8F5E9;
  546. color: #38C148;
  547. font-size: 26rpx;
  548. padding: 16rpx;
  549. border-radius: 8rpx;
  550. text-align: center;
  551. margin-bottom: 30rpx;
  552. }
  553. .address-box {
  554. display: flex;
  555. align-items: center;
  556. padding: 20rpx 0;
  557. border-top: 1rpx solid #F5F5F5;
  558. .address-label {
  559. width: 140rpx;
  560. font-size: 28rpx;
  561. color: #333;
  562. font-weight: bold;
  563. }
  564. .address-content {
  565. flex: 1;
  566. padding-right: 20rpx;
  567. .name {
  568. font-size: 30rpx;
  569. font-weight: bold;
  570. color: #333;
  571. margin-bottom: 10rpx;
  572. }
  573. .detail {
  574. font-size: 26rpx;
  575. color: #666;
  576. line-height: 1.4;
  577. .copy-icon {
  578. width: 28rpx;
  579. height: 28rpx;
  580. vertical-align: middle;
  581. margin-left: 10rpx;
  582. }
  583. }
  584. }
  585. }
  586. }
  587. &.goods-card {
  588. .goods-item {
  589. display: flex;
  590. margin-bottom: 20rpx;
  591. &:last-child {
  592. margin-bottom: 0;
  593. }
  594. .goods-cover {
  595. width: 140rpx;
  596. height: 160rpx;
  597. border-radius: 8rpx;
  598. margin-right: 20rpx;
  599. flex-shrink: 0;
  600. }
  601. .goods-info {
  602. flex: 1;
  603. position: relative;
  604. .goods-title {
  605. font-size: 28rpx;
  606. color: #333;
  607. margin-bottom: 10rpx;
  608. }
  609. .goods-sku {
  610. font-size: 24rpx;
  611. color: #999;
  612. margin-bottom: 10rpx;
  613. }
  614. .price-box {
  615. display: flex;
  616. justify-content: space-between;
  617. align-items: center;
  618. margin-top: 20rpx;
  619. .price {
  620. font-size: 28rpx;
  621. color: #333;
  622. }
  623. .num {
  624. font-size: 24rpx;
  625. color: #999;
  626. }
  627. }
  628. .refund-status-tag {
  629. position: absolute;
  630. right: 0;
  631. top: 50%; // Adjust as needed
  632. transform: translateY(-50%);
  633. font-size: 24rpx;
  634. color: #999;
  635. &.red-tag {
  636. color: #ff3b30;
  637. border: 1rpx solid #ff3b30;
  638. padding: 2rpx 10rpx;
  639. border-radius: 6rpx;
  640. font-size: 22rpx;
  641. }
  642. }
  643. }
  644. }
  645. }
  646. &.detail-card {
  647. .row {
  648. display: flex;
  649. justify-content: space-between;
  650. margin-bottom: 20rpx;
  651. font-size: 26rpx;
  652. &:last-child {
  653. margin-bottom: 0;
  654. }
  655. .label {
  656. color: #999;
  657. }
  658. .value {
  659. color: #333;
  660. &.flex-row {
  661. display: flex;
  662. align-items: center;
  663. }
  664. &.link-text {
  665. color: #38C148; // 使用主题色
  666. display: flex;
  667. align-items: center;
  668. }
  669. }
  670. }
  671. }
  672. }
  673. .bottom-bar {
  674. position: fixed;
  675. bottom: 0;
  676. left: 0;
  677. right: 0;
  678. background-color: #fff;
  679. padding: 20rpx 30rpx;
  680. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  681. display: flex;
  682. justify-content: space-between;
  683. align-items: center;
  684. box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
  685. z-index: 100;
  686. .service-btn {
  687. padding: 10rpx;
  688. }
  689. .btn-group {
  690. display: flex;
  691. align-items: center;
  692. justify-content: flex-end;
  693. width: 100%;
  694. }
  695. }
  696. }
  697. </style>