index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  1. <template>
  2. <view class="detail-page">
  3. <!-- 背景层 -->
  4. <view class="header-bg"></view>
  5. <!-- 顶部内容层 -->
  6. <view class="header-section">
  7. <view class="header-content">
  8. <view class="title-group">
  9. <text class="main-title">感冒灵大批量跨区域客户</text>
  10. <text class="sub-title">订单维度:单笔订单实际盒数 {{ ">" }} 20000盒</text>
  11. <text class="sub-title">地域维度:出库企业所在省份 ≠ 入库企业所在省份</text>
  12. </view>
  13. <view class="stat-box">
  14. <text class="stat-num">{{ totalCount }}</text>
  15. <text class="stat-unit">家</text>
  16. </view>
  17. </view>
  18. <view class="header-toolbar">
  19. <view class="update-tip">
  20. <!-- <text class="tip-icon">🕒</text> -->
  21. <text>更新:{{
  22. formatDate(
  23. new Date().setDate(new Date().getDate() - 1),
  24. "YYYY-MM-DD",
  25. ) || "--"
  26. }}</text>
  27. </view>
  28. <view class="filter-wrap">
  29. <view class="selector" @click.stop="toggleProvinceDropdown">
  30. <text class="selector-text">{{
  31. selectedProvince || "全部省份"
  32. }}</text>
  33. <text class="selector-arrow" :class="{ open: dropdownProvinceOpen }"></text>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 列表区域 -->
  39. <scroll-view class="list-scroll" scroll-y="true" refresher-enabled :refresher-triggered="isRefreshing"
  40. @refresherrefresh="onRefresh">
  41. <view class="list-container">
  42. <view class="card-item" v-for="(item, index) in rows" :key="index" @click="toDetail(item)">
  43. <view class="card-header">
  44. <view class="header-left">
  45. <text class="index-num">{{ index + 1 }}</text>
  46. <text class="company-name">{{ item.customerName }}</text>
  47. <text class="level-tag" :class="getLevelClass(item.customerLevel)">
  48. {{ item.customerLevel }}
  49. </text>
  50. </view>
  51. <view class="header-right">
  52. <text class="alert-count">{{ item.totalWarningAmount }}次预警</text>
  53. </view>
  54. </view>
  55. <view class="card-body">
  56. <view class="info-grid">
  57. <view class="info-item">
  58. <text class="label">省份</text>
  59. <text class="value">{{ item.customerProvinceName }}</text>
  60. </view>
  61. <view class="info-item">
  62. <text class="label">责任人</text>
  63. <text class="value">{{ item.responsibleManager }}</text>
  64. </view>
  65. <view class="info-item">
  66. <text class="label">性质</text>
  67. <text class="value">{{ item.customerCategory }}</text>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <view v-if="!loading && rows.length === 0" class="empty-data">
  73. <EmptyView text="无相关数据" />
  74. </view>
  75. </view>
  76. </scroll-view>
  77. <!-- 底部按钮区 -->
  78. <view class="footer-btn-area">
  79. <button class="action-btn history-btn" @click="handleHistory">
  80. 历史记录
  81. </button>
  82. <button class="action-btn export-btn" @click="handleExport">
  83. 导出至邮箱
  84. </button>
  85. </view>
  86. <!-- 蒙层 -->
  87. <view class="report-export-create-modal-mask" v-if="emailModalOpen" @click="closeEmailModal"
  88. @touchmove.stop.prevent></view>
  89. <!-- 邮箱导出弹窗 -->
  90. <view class="report-export-create-modal report-export-create-email-modal"
  91. :class="{ 'report-export-create-modal--open': emailModalOpen }" v-if="emailModalOpen">
  92. <view class="report-export-create-modal-title">
  93. <text>发送至邮箱</text>
  94. <view class="report-export-create-modal-close" @click.stop="closeEmailModal">×</view>
  95. </view>
  96. <view class="report-export-create-modal-body">
  97. <up-input v-model="emailForm.email" border="none" :customStyle="{
  98. backgroundColor: '#ebf3fb',
  99. height: '80rpx',
  100. paddingLeft: '20rpx',
  101. }" placeholder="请填写邮箱" @input="emailError = false">
  102. <template #suffix>
  103. <view style="margin-right: 20rpx; color: #666">@999.com.cn</view>
  104. </template>
  105. </up-input>
  106. <text v-if="emailError" class="report-export-error-text">请输入邮箱</text>
  107. </view>
  108. <view class="report-export-create-modal-footer">
  109. <view class="report-export-create-modal-btn cancel-btn" @click.stop="closeEmailModal">取消</view>
  110. <view class="report-export-create-modal-btn confirm-btn" @click.stop="handleSendEmail">发送</view>
  111. </view>
  112. </view>
  113. <!-- 独立的下拉菜单层 -->
  114. <view class="dropdown-layer" v-if="dropdownProvinceOpen" @click.stop>
  115. <view class="dropdown">
  116. <view class="dropdown-search-bar">
  117. <input class="dropdown-search-input" v-model="provinceSearchText" placeholder="搜索省份..."
  118. placeholder-style="color: #999" />
  119. </view>
  120. <scroll-view scroll-y="true" class="dropdown-scroll-view">
  121. <view class="dropdown-item" v-for="(p, i) in filteredProvinceList" :key="p || i" :class="{
  122. active: p === selectedProvince || (!selectedProvince && i === 0),
  123. }" @click.stop="selectProvince(p)">
  124. {{ p || "全部省份" }}
  125. <text v-if="p === selectedProvince || (!selectedProvince && i === 0)" class="check-mark">✓</text>
  126. </view>
  127. <view v-if="filteredProvinceList.length === 0" class="dropdown-empty">暂无数据</view>
  128. </scroll-view>
  129. </view>
  130. </view>
  131. </view>
  132. </template>
  133. <script>
  134. import EmptyView from "../../../wigets/empty.vue";
  135. import request from "../../../request/index.js";
  136. import { formatDate } from "../../../utils/utils.js";
  137. export default {
  138. components: {
  139. EmptyView,
  140. },
  141. data() {
  142. return {
  143. isRefreshing: false,
  144. loading: false,
  145. rows: [],
  146. allRows: [],
  147. dropdownProvinceOpen: false,
  148. provinceSearchText: "",
  149. provinceList: [""],
  150. selectedProvince: "",
  151. totalCount: 0,
  152. emailModalOpen: false,
  153. emailForm: {
  154. email: "",
  155. },
  156. emailError: false,
  157. };
  158. },
  159. created() {
  160. this.resetFetch();
  161. this.getProviceList();
  162. const userEmail = uni.getStorageSync('traceCode_useremail')
  163. this.emailForm.email = userEmail
  164. },
  165. methods: {
  166. formatDate,
  167. getProviceList() {
  168. request("/common/getProviceList", {
  169. path: "traceabilityReport/pages/ganmaoling/index.vue",
  170. }).then((res) => {
  171. if (res.code == 200) {
  172. const _data = res.data || [];
  173. this.provinceList = ["", ..._data.map((item) => item.regionName)];
  174. }
  175. });
  176. },
  177. getLevelClass(level) {
  178. if (level === "VIP") return "tag-vip";
  179. if (level === "二级") return "tag-l2";
  180. if (level === "三级") return "tag-l3";
  181. return "tag-default";
  182. },
  183. fetchList() {
  184. if (this.loading) return;
  185. this.loading = true;
  186. request(
  187. `/report/ganmaoling/list?days=1`,
  188. {
  189. path: "traceabilityReport/pages/ganmaoling/index.vue",
  190. },
  191. "get",
  192. ).then((res) => {
  193. if (res.code == 200) {
  194. this.allRows = res.data || [];
  195. this.applyFilter();
  196. }
  197. this.loading = false;
  198. this.isRefreshing = false;
  199. });
  200. },
  201. async onRefresh() {
  202. this.isRefreshing = true;
  203. this.fetchList();
  204. },
  205. resetFetch() {
  206. this.rows = [];
  207. this.fetchList();
  208. },
  209. applyFilter() {
  210. if (!this.selectedProvince) {
  211. this.rows = [...this.allRows];
  212. } else {
  213. this.rows = this.allRows.filter(item => item.customerProvinceName === this.selectedProvince);
  214. }
  215. this.totalCount = this.rows.length;
  216. },
  217. toggleProvinceDropdown() {
  218. this.dropdownProvinceOpen = !this.dropdownProvinceOpen;
  219. },
  220. closeProvinceDropdown() {
  221. this.dropdownProvinceOpen = false;
  222. },
  223. selectProvince(province) {
  224. this.selectedProvince = province || "";
  225. this.dropdownProvinceOpen = false;
  226. this.applyFilter();
  227. },
  228. toDetail(item) {
  229. uni.navigateTo({
  230. url: `/traceCodePackages/traceabilityReport/pages/ganmaoling/detail/index?name=${encodeURIComponent(item.customerName)}&updatedTime=${item.updatedTime || ""}`,
  231. });
  232. },
  233. handleExport() {
  234. if (this.rows.length == 0) {
  235. uni.showToast({
  236. title: '暂无数据...',
  237. icon: 'none'
  238. })
  239. return
  240. }
  241. this.emailModalOpen = true;
  242. this.emailForm.email = "";
  243. this.emailError = false;
  244. },
  245. closeEmailModal() {
  246. this.emailModalOpen = false;
  247. },
  248. handleSendEmail() {
  249. if (!this.emailForm.email) {
  250. this.emailError = true;
  251. return;
  252. }
  253. uni.showLoading({ title: "发送中..." });
  254. const yesterday = new Date();
  255. yesterday.setDate(yesterday.getDate() - 1);
  256. const dateStr = this.formatDate(yesterday, "YYYY-MM-DD");
  257. request(
  258. `/report/ganmaoling/sendemail`,
  259. {
  260. updatedTime: dateStr,
  261. emailAddress: '635509855@qq.com',//this.emailForm.email + "@999.com.cn",
  262. path: "traceabilityReport/pages/ganmaoling/index.vue",
  263. },
  264. "post",
  265. ).then((res) => {
  266. uni.hideLoading();
  267. if (res.code == 200) {
  268. uni.showToast({
  269. title: "发送成功",
  270. icon: "success",
  271. });
  272. this.closeEmailModal();
  273. } else {
  274. uni.showToast({
  275. title: res.msg || "发送失败",
  276. icon: "none",
  277. });
  278. }
  279. });
  280. },
  281. handleHistory() {
  282. uni.navigateTo({
  283. url: "/traceCodePackages/traceabilityReport/pages/ganmaoling/history/index",
  284. });
  285. },
  286. },
  287. computed: {
  288. filteredProvinceList() {
  289. if (!this.provinceSearchText) {
  290. return this.provinceList;
  291. }
  292. return this.provinceList.filter((p) =>
  293. p?.toLowerCase()?.includes(this.provinceSearchText.toLowerCase()),
  294. );
  295. },
  296. },
  297. };
  298. </script>
  299. <style scoped>
  300. .detail-page {
  301. display: flex;
  302. flex-direction: column;
  303. height: calc(100vh - 116rpx - env(safe-area-inset-bottom));
  304. box-sizing: border-box;
  305. background: #f5f7fa;
  306. position: relative;
  307. }
  308. /* Header Background Layer */
  309. .header-bg {
  310. position: absolute;
  311. top: 0;
  312. left: 0;
  313. width: 100%;
  314. height: 320rpx;
  315. /* Fixed height for background */
  316. background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  317. border-bottom-left-radius: 40rpx;
  318. border-bottom-right-radius: 40rpx;
  319. z-index: 1;
  320. box-shadow: 0 10rpx 30rpx rgba(24, 144, 255, 0.2);
  321. }
  322. /* Header Content Layer */
  323. .header-section {
  324. padding: 40rpx 40rpx 80rpx;
  325. position: relative;
  326. z-index: 3;
  327. /* Above List */
  328. color: #fff;
  329. /* Transparent background to allow overlap effect */
  330. }
  331. .header-content {
  332. display: flex;
  333. justify-content: space-between;
  334. align-items: flex-start;
  335. position: relative;
  336. z-index: 2;
  337. margin-bottom: 30rpx;
  338. }
  339. .title-group {
  340. display: flex;
  341. flex-direction: column;
  342. flex: 1;
  343. margin-right: 20rpx;
  344. }
  345. .main-title {
  346. font-size: 44rpx;
  347. font-weight: bold;
  348. margin-bottom: 16rpx;
  349. letter-spacing: 2rpx;
  350. line-height: 1.2;
  351. }
  352. .sub-title {
  353. font-size: 24rpx;
  354. opacity: 0.9;
  355. margin-bottom: 8rpx;
  356. line-height: 1.4;
  357. }
  358. .stat-box {
  359. display: flex;
  360. align-items: baseline;
  361. }
  362. .stat-num {
  363. font-size: 56rpx;
  364. font-weight: bold;
  365. margin-right: 8rpx;
  366. font-family: "DINAlternate-Bold", sans-serif;
  367. }
  368. .stat-unit {
  369. font-size: 24rpx;
  370. opacity: 0.8;
  371. }
  372. /* Header Toolbar */
  373. .header-toolbar {
  374. display: flex;
  375. justify-content: space-between;
  376. align-items: center;
  377. position: relative;
  378. z-index: 3;
  379. }
  380. .update-tip {
  381. display: inline-flex;
  382. align-items: center;
  383. background: rgba(255, 255, 255, 0.15);
  384. padding: 8rpx 20rpx;
  385. border-radius: 30rpx;
  386. font-size: 22rpx;
  387. backdrop-filter: blur(10px);
  388. }
  389. .tip-icon {
  390. margin-right: 8rpx;
  391. font-size: 20rpx;
  392. }
  393. /* Filter Styles */
  394. .filter-wrap {
  395. position: relative;
  396. }
  397. .selector {
  398. display: flex;
  399. align-items: center;
  400. color: #fff;
  401. font-size: 26rpx;
  402. font-weight: 500;
  403. padding: 8rpx 20rpx;
  404. background: rgba(255, 255, 255, 0.2);
  405. border-radius: 30rpx;
  406. border: 1rpx solid rgba(255, 255, 255, 0.3);
  407. }
  408. .selector-text {
  409. max-width: 200rpx;
  410. overflow: hidden;
  411. white-space: nowrap;
  412. text-overflow: ellipsis;
  413. }
  414. .selector-arrow {
  415. margin-left: 10rpx;
  416. width: 0;
  417. height: 0;
  418. border-left: 8rpx solid transparent;
  419. border-right: 8rpx solid transparent;
  420. border-top: 10rpx solid #fff;
  421. transition: transform 0.3s;
  422. }
  423. .selector-arrow.open {
  424. transform: rotate(180deg);
  425. }
  426. /* Dropdown Layer (Absolute on top of everything) */
  427. .dropdown-layer {
  428. position: absolute;
  429. top: 300rpx;
  430. /* Adjust based on header layout */
  431. right: 40rpx;
  432. z-index: 999;
  433. }
  434. .dropdown {
  435. width: 360rpx;
  436. background: #fff;
  437. border-radius: 12rpx;
  438. box-shadow: 0 8rpx 30rpx rgba(0, 0, 0, 0.15);
  439. overflow: hidden;
  440. }
  441. .dropdown-search-bar {
  442. padding: 16rpx;
  443. border-bottom: 1rpx solid #f0f0f0;
  444. }
  445. .dropdown-search-input {
  446. background: #f5f7fa;
  447. height: 64rpx;
  448. border-radius: 32rpx;
  449. padding: 0 24rpx;
  450. font-size: 26rpx;
  451. }
  452. .dropdown-scroll-view {
  453. max-height: 400rpx;
  454. }
  455. .dropdown-item {
  456. padding: 20rpx 30rpx;
  457. font-size: 28rpx;
  458. color: #333;
  459. display: flex;
  460. justify-content: space-between;
  461. align-items: center;
  462. transition: background 0.2s;
  463. }
  464. .dropdown-item:active {
  465. background: #f5f7fa;
  466. }
  467. .dropdown-item.active {
  468. color: #1890ff;
  469. font-weight: 500;
  470. background: #e6f7ff;
  471. }
  472. .check-mark {
  473. font-size: 24rpx;
  474. }
  475. .dropdown-empty {
  476. padding: 40rpx;
  477. text-align: center;
  478. color: #999;
  479. font-size: 26rpx;
  480. }
  481. /* List Section */
  482. .list-scroll {
  483. flex: 1;
  484. height: 0;
  485. padding: 0 24rpx;
  486. box-sizing: border-box;
  487. margin-top: -50rpx;
  488. /* Overlap effect */
  489. position: relative;
  490. z-index: 2;
  491. /* Between bg and header content */
  492. }
  493. .list-container {
  494. padding-top: 10rpx;
  495. padding-bottom: calc(200rpx + env(safe-area-inset-bottom));
  496. }
  497. .card-item {
  498. background: #fff;
  499. border-radius: 20rpx;
  500. padding: 30rpx;
  501. margin-bottom: 24rpx;
  502. box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.05);
  503. transition: transform 0.2s;
  504. }
  505. .card-item:active {
  506. transform: scale(0.99);
  507. }
  508. .card-header {
  509. display: flex;
  510. justify-content: space-between;
  511. align-items: flex-start;
  512. margin-bottom: 24rpx;
  513. }
  514. .header-left {
  515. flex: 1;
  516. display: flex;
  517. align-items: center;
  518. flex-wrap: wrap;
  519. margin-right: 20rpx;
  520. gap: 12rpx;
  521. }
  522. .index-num {
  523. font-size: 24rpx;
  524. color: #999;
  525. font-family: monospace;
  526. }
  527. .company-name {
  528. font-size: 32rpx;
  529. font-weight: 600;
  530. color: #096dd9;
  531. line-height: 1.4;
  532. text-decoration: underline;
  533. }
  534. .level-tag {
  535. font-size: 20rpx;
  536. padding: 4rpx 12rpx;
  537. border-radius: 8rpx;
  538. white-space: nowrap;
  539. line-height: 1.2;
  540. }
  541. .header-right {
  542. flex-shrink: 0;
  543. }
  544. .tag-vip {
  545. background: linear-gradient(135deg, #e6f7ff, #bae7ff);
  546. color: #096dd9;
  547. }
  548. .tag-l2 {
  549. background: linear-gradient(135deg, #f6ffed, #d9f7be);
  550. color: #389e0d;
  551. }
  552. .tag-l3 {
  553. background: linear-gradient(135deg, #fff7e6, #ffe7ba);
  554. color: #d46b08;
  555. }
  556. .tag-default {
  557. background: #f5f5f5;
  558. color: #999;
  559. }
  560. .card-body {
  561. background: #f9fbfd;
  562. border-radius: 12rpx;
  563. padding: 24rpx;
  564. }
  565. .info-grid {
  566. display: flex;
  567. flex-wrap: wrap;
  568. gap: 24rpx;
  569. }
  570. .info-item {
  571. display: flex;
  572. align-items: center;
  573. min-width: 45%;
  574. }
  575. .info-item .label {
  576. font-size: 24rpx;
  577. color: #999;
  578. margin-right: 12rpx;
  579. }
  580. .info-item .value {
  581. font-size: 26rpx;
  582. color: #666;
  583. font-weight: 500;
  584. }
  585. .alert-count {
  586. font-size: 22rpx;
  587. color: #ff4d4f;
  588. background: rgba(255, 77, 79, 0.1);
  589. padding: 6rpx 16rpx;
  590. border-radius: 20rpx;
  591. font-weight: 600;
  592. }
  593. .empty-data {
  594. padding-top: 120rpx;
  595. }
  596. .footer-btn-area {
  597. padding: 24rpx 32rpx calc(24rpx + env(safe-area-inset-bottom));
  598. background: #fff;
  599. box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.08);
  600. position: fixed;
  601. z-index: 100;
  602. bottom: 0;
  603. width: 100%;
  604. box-sizing: border-box;
  605. display: flex;
  606. gap: 24rpx;
  607. }
  608. .action-btn {
  609. flex: 1;
  610. height: 88rpx;
  611. line-height: 88rpx;
  612. border-radius: 44rpx;
  613. font-size: 30rpx;
  614. font-weight: 600;
  615. text-align: center;
  616. border: none;
  617. transition: all 0.3s;
  618. }
  619. .action-btn::after {
  620. border: none;
  621. }
  622. .action-btn:active {
  623. transform: scale(0.96);
  624. }
  625. .history-btn {
  626. background: #fff;
  627. color: #1890ff;
  628. border: 2rpx solid #1890ff;
  629. box-shadow: 0 4rpx 12rpx rgba(24, 144, 255, 0.1);
  630. }
  631. .export-btn {
  632. background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  633. color: #fff;
  634. box-shadow: 0 6rpx 16rpx rgba(24, 144, 255, 0.35);
  635. }
  636. /* 弹窗样式 */
  637. .report-export-create-modal-mask {
  638. position: fixed;
  639. top: 0;
  640. left: 0;
  641. right: 0;
  642. bottom: 0;
  643. background: rgba(0, 0, 0, 0.6);
  644. z-index: 999;
  645. backdrop-filter: blur(2px);
  646. }
  647. .report-export-create-modal {
  648. position: fixed;
  649. z-index: 1000;
  650. background: #fff;
  651. transition: all 0.3s ease;
  652. }
  653. .report-export-create-email-modal {
  654. top: 50%;
  655. left: 50%;
  656. transform: translate(-50%, -50%);
  657. width: 620rpx;
  658. border-radius: 24rpx;
  659. opacity: 0;
  660. visibility: hidden;
  661. overflow: hidden;
  662. }
  663. .report-export-create-email-modal.report-export-create-modal--open {
  664. opacity: 1;
  665. visibility: visible;
  666. }
  667. .report-export-create-modal-title {
  668. padding: 36rpx 32rpx;
  669. font-size: 36rpx;
  670. color: #333;
  671. text-align: center;
  672. font-weight: 600;
  673. border-bottom: 1rpx solid #f0f0f0;
  674. position: relative;
  675. }
  676. .report-export-create-modal-close {
  677. position: absolute;
  678. right: 32rpx;
  679. top: 50%;
  680. transform: translateY(-50%);
  681. font-size: 44rpx;
  682. color: #999;
  683. line-height: 1;
  684. padding: 10rpx;
  685. }
  686. .report-export-create-modal-body {
  687. padding: 48rpx 40rpx 32rpx;
  688. }
  689. .report-export-error-text {
  690. font-size: 24rpx;
  691. color: #ff4d4f;
  692. margin-top: 12rpx;
  693. display: block;
  694. }
  695. .report-export-create-modal-footer {
  696. padding: 0 40rpx 48rpx;
  697. display: flex;
  698. justify-content: space-between;
  699. gap: 24rpx;
  700. }
  701. .report-export-create-modal-btn {
  702. height: 88rpx;
  703. line-height: 88rpx;
  704. border-radius: 44rpx;
  705. text-align: center;
  706. font-size: 30rpx;
  707. font-weight: 600;
  708. flex: 1;
  709. margin: 0;
  710. }
  711. .cancel-btn {
  712. background: #f5f7fa;
  713. color: #666;
  714. border: 1rpx solid #e4e7ed;
  715. }
  716. .confirm-btn {
  717. background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  718. color: #fff;
  719. box-shadow: 0 6rpx 16rpx rgba(24, 144, 255, 0.3);
  720. }
  721. </style>