index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816
  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" disabled>
  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.emailError = false;
  243. },
  244. closeEmailModal() {
  245. this.emailModalOpen = false;
  246. },
  247. handleSendEmail() {
  248. if (!this.emailForm.email) {
  249. this.emailError = true;
  250. return;
  251. }
  252. uni.showLoading({ title: "发送中..." });
  253. const yesterday = new Date();
  254. yesterday.setDate(yesterday.getDate() - 1);
  255. const dateStr = this.formatDate(yesterday, "YYYY-MM-DD");
  256. request(
  257. `/report/ganmaoling/sendemail`,
  258. {
  259. updatedTime: dateStr,
  260. emailAddress: this.emailForm.email + "@999.com.cn",
  261. path: "traceabilityReport/pages/ganmaoling/index.vue",
  262. },
  263. "post",
  264. ).then((res) => {
  265. uni.hideLoading();
  266. if (res.code == 200) {
  267. uni.showToast({
  268. title: "发送成功",
  269. icon: "success",
  270. });
  271. this.closeEmailModal();
  272. } else {
  273. uni.showToast({
  274. title: res.msg || "发送失败",
  275. icon: "none",
  276. });
  277. }
  278. });
  279. },
  280. handleHistory() {
  281. uni.navigateTo({
  282. url: "/traceCodePackages/traceabilityReport/pages/ganmaoling/history/index",
  283. });
  284. },
  285. },
  286. computed: {
  287. filteredProvinceList() {
  288. if (!this.provinceSearchText) {
  289. return this.provinceList;
  290. }
  291. return this.provinceList.filter((p) =>
  292. p?.toLowerCase()?.includes(this.provinceSearchText.toLowerCase()),
  293. );
  294. },
  295. },
  296. };
  297. </script>
  298. <style scoped>
  299. .detail-page {
  300. display: flex;
  301. flex-direction: column;
  302. height: calc(100vh - 116rpx - env(safe-area-inset-bottom));
  303. box-sizing: border-box;
  304. background: #f5f7fa;
  305. position: relative;
  306. }
  307. /* Header Background Layer */
  308. .header-bg {
  309. position: absolute;
  310. top: 0;
  311. left: 0;
  312. width: 100%;
  313. height: 320rpx;
  314. /* Fixed height for background */
  315. background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  316. border-bottom-left-radius: 40rpx;
  317. border-bottom-right-radius: 40rpx;
  318. z-index: 1;
  319. box-shadow: 0 10rpx 30rpx rgba(24, 144, 255, 0.2);
  320. }
  321. /* Header Content Layer */
  322. .header-section {
  323. padding: 40rpx 40rpx 80rpx;
  324. position: relative;
  325. z-index: 3;
  326. /* Above List */
  327. color: #fff;
  328. /* Transparent background to allow overlap effect */
  329. }
  330. .header-content {
  331. display: flex;
  332. justify-content: space-between;
  333. align-items: flex-start;
  334. position: relative;
  335. z-index: 2;
  336. margin-bottom: 30rpx;
  337. }
  338. .title-group {
  339. display: flex;
  340. flex-direction: column;
  341. flex: 1;
  342. margin-right: 20rpx;
  343. }
  344. .main-title {
  345. font-size: 44rpx;
  346. font-weight: bold;
  347. margin-bottom: 16rpx;
  348. letter-spacing: 2rpx;
  349. line-height: 1.2;
  350. }
  351. .sub-title {
  352. font-size: 24rpx;
  353. opacity: 0.9;
  354. margin-bottom: 8rpx;
  355. line-height: 1.4;
  356. }
  357. .stat-box {
  358. display: flex;
  359. align-items: baseline;
  360. }
  361. .stat-num {
  362. font-size: 56rpx;
  363. font-weight: bold;
  364. margin-right: 8rpx;
  365. font-family: "DINAlternate-Bold", sans-serif;
  366. }
  367. .stat-unit {
  368. font-size: 24rpx;
  369. opacity: 0.8;
  370. }
  371. /* Header Toolbar */
  372. .header-toolbar {
  373. display: flex;
  374. justify-content: space-between;
  375. align-items: center;
  376. position: relative;
  377. z-index: 3;
  378. }
  379. .update-tip {
  380. display: inline-flex;
  381. align-items: center;
  382. background: rgba(255, 255, 255, 0.15);
  383. padding: 8rpx 20rpx;
  384. border-radius: 30rpx;
  385. font-size: 22rpx;
  386. backdrop-filter: blur(10px);
  387. }
  388. .tip-icon {
  389. margin-right: 8rpx;
  390. font-size: 20rpx;
  391. }
  392. /* Filter Styles */
  393. .filter-wrap {
  394. position: relative;
  395. }
  396. .selector {
  397. display: flex;
  398. align-items: center;
  399. color: #fff;
  400. font-size: 26rpx;
  401. font-weight: 500;
  402. padding: 8rpx 20rpx;
  403. background: rgba(255, 255, 255, 0.2);
  404. border-radius: 30rpx;
  405. border: 1rpx solid rgba(255, 255, 255, 0.3);
  406. }
  407. .selector-text {
  408. max-width: 200rpx;
  409. overflow: hidden;
  410. white-space: nowrap;
  411. text-overflow: ellipsis;
  412. }
  413. .selector-arrow {
  414. margin-left: 10rpx;
  415. width: 0;
  416. height: 0;
  417. border-left: 8rpx solid transparent;
  418. border-right: 8rpx solid transparent;
  419. border-top: 10rpx solid #fff;
  420. transition: transform 0.3s;
  421. }
  422. .selector-arrow.open {
  423. transform: rotate(180deg);
  424. }
  425. /* Dropdown Layer (Absolute on top of everything) */
  426. .dropdown-layer {
  427. position: absolute;
  428. top: 300rpx;
  429. /* Adjust based on header layout */
  430. right: 40rpx;
  431. z-index: 999;
  432. }
  433. .dropdown {
  434. width: 360rpx;
  435. background: #fff;
  436. border-radius: 12rpx;
  437. box-shadow: 0 8rpx 30rpx rgba(0, 0, 0, 0.15);
  438. overflow: hidden;
  439. }
  440. .dropdown-search-bar {
  441. padding: 16rpx;
  442. border-bottom: 1rpx solid #f0f0f0;
  443. }
  444. .dropdown-search-input {
  445. background: #f5f7fa;
  446. height: 64rpx;
  447. border-radius: 32rpx;
  448. padding: 0 24rpx;
  449. font-size: 26rpx;
  450. }
  451. .dropdown-scroll-view {
  452. max-height: 400rpx;
  453. }
  454. .dropdown-item {
  455. padding: 20rpx 30rpx;
  456. font-size: 28rpx;
  457. color: #333;
  458. display: flex;
  459. justify-content: space-between;
  460. align-items: center;
  461. transition: background 0.2s;
  462. }
  463. .dropdown-item:active {
  464. background: #f5f7fa;
  465. }
  466. .dropdown-item.active {
  467. color: #1890ff;
  468. font-weight: 500;
  469. background: #e6f7ff;
  470. }
  471. .check-mark {
  472. font-size: 24rpx;
  473. }
  474. .dropdown-empty {
  475. padding: 40rpx;
  476. text-align: center;
  477. color: #999;
  478. font-size: 26rpx;
  479. }
  480. /* List Section */
  481. .list-scroll {
  482. flex: 1;
  483. height: 0;
  484. padding: 0 24rpx;
  485. box-sizing: border-box;
  486. margin-top: -50rpx;
  487. /* Overlap effect */
  488. position: relative;
  489. z-index: 2;
  490. /* Between bg and header content */
  491. }
  492. .list-container {
  493. padding-top: 10rpx;
  494. padding-bottom: calc(200rpx + env(safe-area-inset-bottom));
  495. }
  496. .card-item {
  497. background: #fff;
  498. border-radius: 20rpx;
  499. padding: 30rpx;
  500. margin-bottom: 24rpx;
  501. box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.05);
  502. transition: transform 0.2s;
  503. }
  504. .card-item:active {
  505. transform: scale(0.99);
  506. }
  507. .card-header {
  508. display: flex;
  509. justify-content: space-between;
  510. align-items: flex-start;
  511. margin-bottom: 24rpx;
  512. }
  513. .header-left {
  514. flex: 1;
  515. display: flex;
  516. align-items: center;
  517. flex-wrap: wrap;
  518. margin-right: 20rpx;
  519. gap: 12rpx;
  520. }
  521. .index-num {
  522. font-size: 24rpx;
  523. color: #999;
  524. font-family: monospace;
  525. }
  526. .company-name {
  527. font-size: 32rpx;
  528. font-weight: 600;
  529. color: #096dd9;
  530. line-height: 1.4;
  531. text-decoration: underline;
  532. }
  533. .level-tag {
  534. font-size: 20rpx;
  535. padding: 4rpx 12rpx;
  536. border-radius: 8rpx;
  537. white-space: nowrap;
  538. line-height: 1.2;
  539. }
  540. .header-right {
  541. flex-shrink: 0;
  542. }
  543. .tag-vip {
  544. background: linear-gradient(135deg, #e6f7ff, #bae7ff);
  545. color: #096dd9;
  546. }
  547. .tag-l2 {
  548. background: linear-gradient(135deg, #f6ffed, #d9f7be);
  549. color: #389e0d;
  550. }
  551. .tag-l3 {
  552. background: linear-gradient(135deg, #fff7e6, #ffe7ba);
  553. color: #d46b08;
  554. }
  555. .tag-default {
  556. background: #f5f5f5;
  557. color: #999;
  558. }
  559. .card-body {
  560. background: #f9fbfd;
  561. border-radius: 12rpx;
  562. padding: 24rpx;
  563. }
  564. .info-grid {
  565. display: flex;
  566. flex-wrap: wrap;
  567. gap: 24rpx;
  568. }
  569. .info-item {
  570. display: flex;
  571. align-items: center;
  572. min-width: 45%;
  573. }
  574. .info-item .label {
  575. font-size: 24rpx;
  576. color: #999;
  577. margin-right: 12rpx;
  578. }
  579. .info-item .value {
  580. font-size: 26rpx;
  581. color: #666;
  582. font-weight: 500;
  583. }
  584. .alert-count {
  585. font-size: 22rpx;
  586. color: #ff4d4f;
  587. background: rgba(255, 77, 79, 0.1);
  588. padding: 6rpx 16rpx;
  589. border-radius: 20rpx;
  590. font-weight: 600;
  591. }
  592. .empty-data {
  593. padding-top: 120rpx;
  594. }
  595. .footer-btn-area {
  596. padding: 24rpx 32rpx calc(24rpx + env(safe-area-inset-bottom));
  597. background: #fff;
  598. box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.08);
  599. position: fixed;
  600. z-index: 100;
  601. bottom: 0;
  602. width: 100%;
  603. box-sizing: border-box;
  604. display: flex;
  605. gap: 24rpx;
  606. }
  607. .action-btn {
  608. flex: 1;
  609. height: 88rpx;
  610. line-height: 88rpx;
  611. border-radius: 44rpx;
  612. font-size: 30rpx;
  613. font-weight: 600;
  614. text-align: center;
  615. border: none;
  616. transition: all 0.3s;
  617. }
  618. .action-btn::after {
  619. border: none;
  620. }
  621. .action-btn:active {
  622. transform: scale(0.96);
  623. }
  624. .history-btn {
  625. background: #fff;
  626. color: #1890ff;
  627. border: 2rpx solid #1890ff;
  628. box-shadow: 0 4rpx 12rpx rgba(24, 144, 255, 0.1);
  629. }
  630. .export-btn {
  631. background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  632. color: #fff;
  633. box-shadow: 0 6rpx 16rpx rgba(24, 144, 255, 0.35);
  634. }
  635. /* 弹窗样式 */
  636. .report-export-create-modal-mask {
  637. position: fixed;
  638. top: 0;
  639. left: 0;
  640. right: 0;
  641. bottom: 0;
  642. background: rgba(0, 0, 0, 0.6);
  643. z-index: 999;
  644. backdrop-filter: blur(2px);
  645. }
  646. .report-export-create-modal {
  647. position: fixed;
  648. z-index: 1000;
  649. background: #fff;
  650. transition: all 0.3s ease;
  651. }
  652. .report-export-create-email-modal {
  653. top: 50%;
  654. left: 50%;
  655. transform: translate(-50%, -50%);
  656. width: 620rpx;
  657. border-radius: 24rpx;
  658. opacity: 0;
  659. visibility: hidden;
  660. overflow: hidden;
  661. }
  662. .report-export-create-email-modal.report-export-create-modal--open {
  663. opacity: 1;
  664. visibility: visible;
  665. }
  666. .report-export-create-modal-title {
  667. padding: 36rpx 32rpx;
  668. font-size: 36rpx;
  669. color: #333;
  670. text-align: center;
  671. font-weight: 600;
  672. border-bottom: 1rpx solid #f0f0f0;
  673. position: relative;
  674. }
  675. .report-export-create-modal-close {
  676. position: absolute;
  677. right: 32rpx;
  678. top: 50%;
  679. transform: translateY(-50%);
  680. font-size: 44rpx;
  681. color: #999;
  682. line-height: 1;
  683. padding: 10rpx;
  684. }
  685. .report-export-create-modal-body {
  686. padding: 48rpx 40rpx 32rpx;
  687. }
  688. .report-export-error-text {
  689. font-size: 24rpx;
  690. color: #ff4d4f;
  691. margin-top: 12rpx;
  692. display: block;
  693. }
  694. .report-export-create-modal-footer {
  695. padding: 0 40rpx 48rpx;
  696. display: flex;
  697. justify-content: space-between;
  698. gap: 24rpx;
  699. }
  700. .report-export-create-modal-btn {
  701. height: 88rpx;
  702. line-height: 88rpx;
  703. border-radius: 44rpx;
  704. text-align: center;
  705. font-size: 30rpx;
  706. font-weight: 600;
  707. flex: 1;
  708. margin: 0;
  709. }
  710. .cancel-btn {
  711. background: #f5f7fa;
  712. color: #666;
  713. border: 1rpx solid #e4e7ed;
  714. }
  715. .confirm-btn {
  716. background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  717. color: #fff;
  718. box-shadow: 0 6rpx 16rpx rgba(24, 144, 255, 0.3);
  719. }
  720. </style>