statistics.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. <template>
  2. <view class="container">
  3. <!-- 日期范围和筛选 -->
  4. <view class="date-filter-bar mb16">
  5. <view class="date-range" @click="showDatePicker = true">
  6. <image class="w32 h32" src="@/static/image/icon_time.png" mode=""></image>
  7. <text class="date-text">{{ dateRangeText }}</text>
  8. <text class="arrow-down">▼</text>
  9. </view>
  10. <view class="filter-btn" @click="showFilter = true">
  11. <image class="w32 h32" src="@/static/image/icon_select.png" mode=""></image>
  12. <text>筛选</text>
  13. </view>
  14. </view>
  15. <!-- 内容区域 -->
  16. <scroll-view class="content" scroll-y>
  17. <!-- 数据汇总 -->
  18. <view class="summary-section x-bc">
  19. <view class="summary-header">
  20. <view class="summary-indicator"></view>
  21. <text class="summary-title">数据汇总</text>
  22. </view>
  23. <view class="summary-stats">
  24. <view class="stat-item">
  25. <text class="stat-label">任务数</text>
  26. <text class="stat-value">{{ summaryData.taskCount }}</text>
  27. </view>
  28. <view class="stat-item">
  29. <text class="stat-label">总积分</text>
  30. <text class="stat-value">{{ summaryData.totalPoints }}</text>
  31. </view>
  32. </view>
  33. </view>
  34. <!-- 数据表格 -->
  35. <view class="table-section">
  36. <view class="table-header">
  37. <view class="table-col" style="width: 20%;">任务类型</view>
  38. <view class="table-col" style="width: 15%;">积分</view>
  39. <view class="table-col" style="width: 20%;">申请人员</view>
  40. <view class="table-col" style="width: 20%;">任务状态</view>
  41. <view class="table-col" style="width: 25%;">接收时间</view>
  42. </view>
  43. <view class="table-body">
  44. <view class="table-row" v-for="(item, index) in tableData" :key="index">
  45. <view class="table-col" style="width: 20%;">{{ item.taskType }}</view>
  46. <view class="table-col" style="width: 15%;">{{ item.points }}</view>
  47. <view class="table-col" style="width: 20%;">{{ item.applicant }}</view>
  48. <view class="table-col" style="width: 20%;">
  49. <text class="status-tag" :class="item.status">{{ item.statusText }}</text>
  50. </view>
  51. <view class="table-col" style="width: 25%;">{{ item.receiveTime }}</view>
  52. </view>
  53. </view>
  54. </view>
  55. <!-- 底部提示 -->
  56. <view class="no-more">没有更多了~</view>
  57. </scroll-view>
  58. <!-- 日期选择弹窗 -->
  59. <view class="date-picker-popup" v-if="showDatePicker" @click="showDatePicker = false">
  60. <view class="date-picker-content" @click.stop>
  61. <view class="picker-header">
  62. <view class="picker-cancel" @click="showDatePicker = false">取消</view>
  63. <view class="picker-title">选择日期范围</view>
  64. <view class="picker-confirm" @click="confirmDateRange">确定</view>
  65. </view>
  66. <view class="picker-body">
  67. <view class="date-item">
  68. <text class="date-label">开始日期</text>
  69. <picker mode="date" :value="tempDateRange.startDate" @change="onStartDateChange">
  70. <view class="date-value">{{ tempDateRange.startDate || '请选择' }}</view>
  71. </picker>
  72. </view>
  73. <view class="date-item">
  74. <text class="date-label">结束日期</text>
  75. <picker mode="date" :value="tempDateRange.endDate" @change="onEndDateChange">
  76. <view class="date-value">{{ tempDateRange.endDate || '请选择' }}</view>
  77. </picker>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. <!-- 筛选弹窗 -->
  83. <view class="filter-popup" v-if="showFilter" @click="closeFilter">
  84. <view class="filter-content" @click.stop>
  85. <view class="filter-header">
  86. <view class="filter-title">筛选</view>
  87. <view class="filter-close-btn" @click="closeFilter">
  88. <image class="w44 h44" src="@/static/image/icon_cross.png" mode=""></image>
  89. </view>
  90. </view>
  91. <!-- 任务类型筛选 -->
  92. <view class="filter-group">
  93. <view class="group-label">任务类型</view>
  94. <view class="filter-tags">
  95. <view
  96. class="filter-tag"
  97. :class="{ active: tempSelectedTaskType === item.value }"
  98. v-for="(item, index) in taskTypeOptions"
  99. :key="index"
  100. @click="selectTaskType(item.value)">
  101. {{ item.label }}
  102. </view>
  103. </view>
  104. </view>
  105. <!-- 任务状态筛选 -->
  106. <view class="filter-group">
  107. <view class="group-label">任务状态</view>
  108. <view class="filter-tags">
  109. <view
  110. class="filter-tag"
  111. :class="{ active: tempSelectedTaskStatus === item.value }"
  112. v-for="(item, index) in taskStatusOptions"
  113. :key="index"
  114. @click="selectTaskStatus(item.value)">
  115. {{ item.label }}
  116. </view>
  117. </view>
  118. </view>
  119. <!-- 操作按钮 -->
  120. <view class="filter-actions">
  121. <view class="reset-btn" @click="resetFilters">重置</view>
  122. <view class="confirm-btn" @click="confirmFilters">确定</view>
  123. </view>
  124. </view>
  125. </view>
  126. </view>
  127. </template>
  128. <script>
  129. // import { getStatisticsData } from '@/api-js/statistics'
  130. export default {
  131. data() {
  132. return {
  133. statusBarHeight: uni.getSystemInfoSync().statusBarHeight + 'px',
  134. showDatePicker: false,
  135. showFilter: false,
  136. dateRange: {
  137. startDate: '2025-12-01',
  138. endDate: '2025-12-25'
  139. },
  140. tempDateRange: {
  141. startDate: '2025-12-01',
  142. endDate: '2025-12-25'
  143. },
  144. selectedTaskType: 'academicLecture', // 默认选中学术讲座
  145. selectedTaskStatus: '',
  146. taskTypeOptions: [
  147. { label: '医生坐诊', value: 'doctorConsultation' },
  148. { label: '科普讲座', value: 'popularScienceLecture' },
  149. { label: '学术讲座', value: 'academicLecture' },
  150. { label: '科普文章', value: 'popularScienceArticle' },
  151. { label: '科普短视频', value: 'popularScienceShortVideo' },
  152. { label: '科普长视频', value: 'popularScienceLongVideo' },
  153. { label: '空中课堂', value: 'airClassroom' },
  154. { label: '用药调研', value: 'medicationSurvey' },
  155. { label: '问卷调研', value: 'questionnaireSurvey' },
  156. { label: '社群咨询', value: 'communityConsultation' },
  157. { label: '健康问答', value: 'healthQA' }
  158. ],
  159. taskStatusOptions: [
  160. { label: '未完成', value: 'uncompleted' },
  161. { label: '待审核', value: 'pendingReview' },
  162. { label: '已驳回', value: 'rejected' },
  163. { label: '已完成', value: 'completed' },
  164. { label: '已完结', value: 'finished' }
  165. ],
  166. tempSelectedTaskType: 'academicLecture',
  167. tempSelectedTaskStatus: '',
  168. summaryData: {
  169. taskCount: 6,
  170. totalPoints: 300
  171. },
  172. tableData: [
  173. { taskType: '用药调研', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  174. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  175. { taskType: '用药调研', points: '100', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  176. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  177. { taskType: '用药调研', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  178. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  179. { taskType: '用药调研', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  180. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  181. { taskType: '用药调研', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  182. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' }
  183. ]
  184. }
  185. },
  186. computed: {
  187. dateRangeText() {
  188. return `${this.dateRange.startDate} 至 ${this.dateRange.endDate}`
  189. }
  190. },
  191. watch: {
  192. showFilter(newVal) {
  193. if (newVal) {
  194. // 打开弹窗时,同步临时选择值
  195. this.tempSelectedTaskType = this.selectedTaskType
  196. this.tempSelectedTaskStatus = this.selectedTaskStatus
  197. }
  198. }
  199. },
  200. onLoad() {
  201. this.tempSelectedTaskType = this.selectedTaskType
  202. this.tempSelectedTaskStatus = this.selectedTaskStatus
  203. //this.loadData()
  204. },
  205. onReachBottom() {
  206. this.loadMore()
  207. },
  208. methods: {
  209. goBack() {
  210. uni.navigateBack()
  211. },
  212. onStartDateChange(e) {
  213. this.tempDateRange.startDate = e.detail.value
  214. },
  215. onEndDateChange(e) {
  216. this.tempDateRange.endDate = e.detail.value
  217. },
  218. confirmDateRange() {
  219. if (!this.tempDateRange.startDate || !this.tempDateRange.endDate) {
  220. uni.showToast({ icon: 'none', title: '请选择完整的日期范围' })
  221. return
  222. }
  223. if (new Date(this.tempDateRange.startDate) > new Date(this.tempDateRange.endDate)) {
  224. uni.showToast({ icon: 'none', title: '开始日期不能大于结束日期' })
  225. return
  226. }
  227. this.dateRange = { ...this.tempDateRange }
  228. this.showDatePicker = false
  229. this.loadData()
  230. },
  231. closeFilter() {
  232. // 关闭弹窗时,恢复临时选择值为当前选择值
  233. this.tempSelectedTaskType = this.selectedTaskType
  234. this.tempSelectedTaskStatus = this.selectedTaskStatus
  235. this.showFilter = false
  236. },
  237. selectTaskType(value) {
  238. // 如果点击的是已选中的,则取消选择
  239. if (this.tempSelectedTaskType === value) {
  240. this.tempSelectedTaskType = ''
  241. } else {
  242. this.tempSelectedTaskType = value
  243. }
  244. },
  245. selectTaskStatus(value) {
  246. // 如果点击的是已选中的,则取消选择
  247. if (this.tempSelectedTaskStatus === value) {
  248. this.tempSelectedTaskStatus = ''
  249. } else {
  250. this.tempSelectedTaskStatus = value
  251. }
  252. },
  253. resetFilters() {
  254. this.tempSelectedTaskType = ''
  255. this.tempSelectedTaskStatus = ''
  256. },
  257. confirmFilters() {
  258. this.selectedTaskType = this.tempSelectedTaskType
  259. this.selectedTaskStatus = this.tempSelectedTaskStatus
  260. this.showFilter = false
  261. //this.loadData()
  262. },
  263. async loadData() {
  264. try {
  265. uni.showLoading({ title: '加载中...' })
  266. const res = await getStatisticsData({
  267. startDate: this.dateRange.startDate,
  268. endDate: this.dateRange.endDate,
  269. taskType: this.selectedTaskType,
  270. taskStatus: this.selectedTaskStatus
  271. })
  272. uni.hideLoading()
  273. if (res.code === 200 && res.data) {
  274. this.summaryData = {
  275. taskCount: res.data.taskCount || 6,
  276. totalPoints: res.data.totalPoints || 300
  277. }
  278. this.tableData = res.data.list || this.getDefaultData()
  279. } else {
  280. this.tableData = this.getDefaultData()
  281. }
  282. } catch (e) {
  283. uni.hideLoading()
  284. console.error('加载数据失败', e)
  285. this.tableData = this.getDefaultData()
  286. }
  287. },
  288. async loadMore() {
  289. // 加载更多数据
  290. },
  291. getDefaultData() {
  292. // 默认数据,根据图片中的示例
  293. return [
  294. { taskType: '用药调研', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  295. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  296. { taskType: '用药调研', points: '100', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  297. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  298. { taskType: '用药调研', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  299. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  300. { taskType: '用药调研', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  301. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  302. { taskType: '用药调研', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' },
  303. { taskType: '科普短视频', points: '20', applicant: '王*明', status: 'uncompleted', statusText: '未完成', receiveTime: '2025-09-25' }
  304. ]
  305. }
  306. }
  307. }
  308. </script>
  309. <style lang="scss" scoped>
  310. .container {
  311. min-height: 100vh;
  312. display: flex;
  313. flex-direction: column;
  314. }
  315. .status-bar {
  316. width: 100%;
  317. background: #fff;
  318. }
  319. .header {
  320. position: relative;
  321. height: 88rpx;
  322. display: flex;
  323. align-items: center;
  324. justify-content: center;
  325. background: #fff;
  326. border-bottom: 1rpx solid #f0f0f0;
  327. .back-btn {
  328. position: absolute;
  329. left: 24rpx;
  330. width: 40rpx;
  331. height: 40rpx;
  332. image {
  333. width: 100%;
  334. height: 100%;
  335. }
  336. }
  337. .title {
  338. font-size: 36rpx;
  339. font-weight: bold;
  340. color: #333;
  341. }
  342. .header-right {
  343. position: absolute;
  344. right: 24rpx;
  345. display: flex;
  346. align-items: center;
  347. gap: 16rpx;
  348. .more-icon {
  349. font-size: 32rpx;
  350. color: #333;
  351. }
  352. }
  353. }
  354. .date-filter-bar {
  355. display: flex;
  356. align-items: center;
  357. justify-content: space-between;
  358. padding: 24rpx;
  359. background: #fff;
  360. // border-bottom: 1rpx solid #f0f0f0;
  361. .date-range {
  362. display: flex;
  363. align-items: center;
  364. gap: 8rpx;
  365. .clock-icon {
  366. font-size: 28rpx;
  367. }
  368. .date-text {
  369. font-family: PingFang SC, PingFang SC;
  370. font-weight: 500;
  371. font-size: 28rpx;
  372. color: #333333;
  373. }
  374. .arrow-down {
  375. font-size: 20rpx;
  376. color: #333333;
  377. }
  378. }
  379. .filter-btn {
  380. display: flex;
  381. align-items: center;
  382. gap: 8rpx;
  383. font-size: 28rpx;
  384. color: #333;
  385. .filter-icon {
  386. font-size: 24rpx;
  387. }
  388. }
  389. }
  390. .content {
  391. flex: 1;
  392. background: #fff;
  393. }
  394. .summary-section {
  395. background: #fff;
  396. padding:32rpx 24rpx;
  397. // margin-bottom: 32rpx;
  398. .summary-header {
  399. display: flex;
  400. align-items: center;
  401. // margin-bottom: 24rpx;
  402. .summary-indicator {
  403. width: 6rpx;
  404. height: 32rpx;
  405. background: #388BFF;
  406. border-radius: 3rpx;
  407. margin-right: 16rpx;
  408. }
  409. .summary-title {
  410. font-size: 32rpx;
  411. font-weight: bold;
  412. color: #333;
  413. }
  414. }
  415. .summary-stats {
  416. display: flex;
  417. gap: 48rpx;
  418. .stat-item {
  419. display: flex;
  420. flex-direction: row;
  421. align-items: center;
  422. gap: 16rpx;
  423. .stat-label {
  424. font-size: 24rpx;
  425. color: #999;
  426. }
  427. .stat-value {
  428. font-size: 36rpx;
  429. font-weight: bold;
  430. color: #388BFF;
  431. }
  432. }
  433. }
  434. }
  435. .table-section {
  436. background: #fff;
  437. padding: 0 24rpx;
  438. .table-header {
  439. display: flex;
  440. background: #E3EFFF;
  441. padding: 24rpx 16rpx;
  442. .table-col {
  443. font-family: PingFang SC, PingFang SC;
  444. font-weight: 500;
  445. font-size: 26rpx;
  446. color: #333333;
  447. line-height: 40rpx;
  448. text-align: left;
  449. }
  450. }
  451. .table-body {
  452. .table-row {
  453. display: flex;
  454. padding: 24rpx 16rpx;
  455. &:nth-child(2n) {
  456. background: #F7F8FA;
  457. border-radius: 8rpx 8rpx 8rpx 8rpx;
  458. }
  459. .table-col {
  460. font-size: 26rpx;
  461. color: #333;
  462. display: flex;
  463. align-items: center;
  464. text-align: left;
  465. font-family: PingFang SC, PingFang SC;
  466. font-weight: 400;
  467. font-size: 26rpx;
  468. line-height: 40rpx;
  469. // .status-tag {
  470. // padding: 4rpx 12rpx;
  471. // border-radius: 4rpx;
  472. // font-size: 24rpx;
  473. // &.uncompleted {
  474. // background: #FFF3E0;
  475. // color: #FF9800;
  476. // }
  477. // &.completed {
  478. // background: #E8F5E9;
  479. // color: #4CAF50;
  480. // }
  481. // }
  482. }
  483. }
  484. }
  485. }
  486. .no-more {
  487. text-align: center;
  488. padding: 48rpx 0;
  489. font-size: 24rpx;
  490. color: #999;
  491. }
  492. .date-picker-popup {
  493. position: fixed;
  494. top: 0;
  495. left: 0;
  496. right: 0;
  497. bottom: 0;
  498. background: rgba(0, 0, 0, 0.5);
  499. z-index: 999;
  500. display: flex;
  501. align-items: flex-end;
  502. }
  503. .date-picker-content {
  504. width: 100%;
  505. background: #fff;
  506. border-radius: 24rpx 24rpx 0 0;
  507. .picker-header {
  508. display: flex;
  509. align-items: center;
  510. justify-content: space-between;
  511. padding: 24rpx;
  512. border-bottom: 1rpx solid #f0f0f0;
  513. .picker-cancel {
  514. font-size: 30rpx;
  515. color: #666;
  516. }
  517. .picker-title {
  518. font-size: 32rpx;
  519. font-weight: bold;
  520. color: #333;
  521. }
  522. .picker-confirm {
  523. font-size: 30rpx;
  524. color: #388BFF;
  525. }
  526. }
  527. .picker-body {
  528. padding: 24rpx;
  529. .date-item {
  530. display: flex;
  531. align-items: center;
  532. justify-content: space-between;
  533. padding: 24rpx 0;
  534. border-bottom: 1rpx solid #f0f0f0;
  535. &:last-child {
  536. border-bottom: none;
  537. }
  538. .date-label {
  539. font-size: 30rpx;
  540. color: #333;
  541. }
  542. .date-value {
  543. font-size: 30rpx;
  544. color: #388BFF;
  545. }
  546. }
  547. }
  548. }
  549. .filter-popup {
  550. position: fixed;
  551. top: 0;
  552. left: 0;
  553. right: 0;
  554. bottom: 0;
  555. background: rgba(0, 0, 0, 0.5);
  556. z-index: 999;
  557. display: flex;
  558. align-items: flex-end;
  559. }
  560. .filter-content {
  561. width: 100%;
  562. background: #fff;
  563. border-radius: 24rpx 24rpx 0 0;
  564. padding: 24rpx 32rpx;
  565. max-height: 80vh;
  566. overflow-y: auto;
  567. .filter-header {
  568. display: flex;
  569. align-items: center;
  570. justify-content: center;
  571. // padding: 32rpx 24rpx;
  572. position: relative;
  573. height: 80rpx;
  574. .filter-title {
  575. font-family: PingFang SC, PingFang SC;
  576. font-weight: 500;
  577. font-size: 32rpx;
  578. color: #333333;
  579. }
  580. .filter-close-btn {
  581. position: absolute;
  582. right:0;
  583. top: 50%;
  584. transform: translateY(-50%);
  585. font-size: 48rpx;
  586. color: #999;
  587. width: 48rpx;
  588. height: 48rpx;
  589. display: flex;
  590. align-items: center;
  591. justify-content: center;
  592. line-height: 1;
  593. }
  594. }
  595. .filter-group {
  596. margin-bottom: 40rpx;
  597. &:last-of-type {
  598. margin-bottom: 0;
  599. }
  600. .group-label {
  601. font-family: PingFang SC, PingFang SC;
  602. font-weight: 500;
  603. font-size: 28rpx;
  604. color: #333333;
  605. margin-bottom: 24rpx;
  606. }
  607. .filter-tags {
  608. display: flex;
  609. flex-wrap: wrap;
  610. gap: 24rpx;
  611. .filter-tag {
  612. width: calc((100% - 48rpx) / 3);
  613. padding: 12rpx 24rpx;
  614. background: #F7F8FA;
  615. border-radius: 70rpx 70rpx 70rpx 70rpx;
  616. font-family: PingFang SC, PingFang SC;
  617. font-weight: 400;
  618. font-size: 28rpx;
  619. color: #666;
  620. border: 1rpx solid transparent;
  621. text-align: center;
  622. box-sizing: border-box;
  623. &.active {
  624. background: rgba(56,139,255,0.15);
  625. color: #388BFF;
  626. border-color: #388BFF;
  627. }
  628. }
  629. }
  630. }
  631. .filter-actions {
  632. display: flex;
  633. gap: 24rpx;
  634. margin-top: 40rpx;
  635. padding-top: 24rpx;
  636. .reset-btn,
  637. .confirm-btn {
  638. flex: 1;
  639. height: 80rpx;
  640. line-height: 80rpx;
  641. text-align: center;
  642. border-radius: 8rpx;
  643. font-family: PingFang SC, PingFang SC;
  644. font-weight: 400;
  645. font-size: 28rpx;
  646. }
  647. .reset-btn {
  648. background: #fff;
  649. color: #388BFF;
  650. border-radius: 200rpx 200rpx 200rpx 200rpx;
  651. border: 2rpx solid #388BFF;
  652. }
  653. .confirm-btn {
  654. background: #388BFF;
  655. color: #fff;
  656. border-radius: 200rpx 200rpx 200rpx 200rpx;
  657. border: 2rpx solid #388BFF;
  658. }
  659. }
  660. }
  661. </style>