science.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815
  1. <template>
  2. <view class="container">
  3. <!-- 筛选标签栏 -->
  4. <view class="filter-bar">
  5. <view class="filter-tabs">
  6. <view class="tab-item"
  7. :class="{ active: currentTab === item.value }"
  8. v-for="(item, index) in tabs"
  9. :key="index"
  10. @click="switchTab(item.value)">
  11. {{ item.label }}
  12. </view>
  13. </view>
  14. <view class="filter-divider"></view>
  15. <view class="filter-btn" @click="showFilter = true">
  16. <image class="w32 h32" src="@/static/image/icon_select.png" mode=""></image>
  17. </view>
  18. </view>
  19. <!-- 任务列表 -->
  20. <scroll-view class="content" scroll-y>
  21. <view class="task-card" v-for="(item, index) in taskList" :key="index" @click="showDetail(item)">
  22. <view class="card-header">
  23. <view class="card-title">{{ item.taskName}}</view>
  24. <view class="status-tag" :class="'tag'+item.finishAuditStatus">
  25. {{ item.finishAuditStatus==0?'待审核':item.finishAuditStatus==1?'已通过':item.finishAuditStatus==2?'已驳回':'未完成'}}
  26. </view>
  27. </view>
  28. <view style="padding: 24rpx;">
  29. <view class="card-tags">
  30. <view class="x-f">
  31. <view class="tag-item video-tag" v-if="item.taskType">
  32. <image v-if="item.taskType==4" class="w28 h28 mr10" src="@/static/image/icon_article.png" mode=""></image>
  33. <image v-else class="w28 h28 mr10" src="@/static/image/icon_longvideo.png" mode=""></image>
  34. <text>{{ item.taskType==4?'文章':item.taskType==5?'短视频':'长视频'}}</text>
  35. </view>
  36. <view class="tag-item category">
  37. 学术
  38. </view>
  39. </view>
  40. <view class="tag-item points-tag">
  41. {{ item.taskIntegral }}积分
  42. </view>
  43. <view class="tag-item">
  44. {{ item.taskCount }}{{item.taskUnitName}}
  45. </view>
  46. </view>
  47. <view class="card-dates">
  48. <view class="date-item">
  49. <text>开始时间:{{ item.planStartTime }}</text>
  50. </view>
  51. <view class="date-item">
  52. <text>结束时间:{{ item.planEndTime }}</text>
  53. </view>
  54. </view>
  55. <view class="card-warning" v-if="item.warning">
  56. <image class="w28 h28 mr8" src="@/static/image/icon_admonish.png" mode=""></image>
  57. <text>{{ item.warning }}</text>
  58. </view>
  59. <view class="card-rejection" v-if="item.finishAuditStatus == 2">
  60. <image class="w28 h28 mr8" src="@/static/image/icon_reject.png" mode=""></image>
  61. <text>驳回原因: {{ item.finishAuditRemark }}</text>
  62. </view>
  63. <view class="card-footer">
  64. <view class="footer-date">{{ item.createTime }}</view>
  65. <view class="footer-actions">
  66. <view class="action-btn" v-if="item.finishAuditStatus==3">
  67. 去完成
  68. </view>
  69. <view class="action-btn" v-if="item.finishAuditStatus == 2" @click="goEdit(item)">
  70. 编辑
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="no-more" v-if="!hasMore && taskList.length > 0">没有更多了~</view>
  77. <view class="empty-state y-bc" v-if="taskList.length === 0">
  78. <image class="w300 h300" src="@/static/image/img_blank_nodata.png" mode=""></image>
  79. <text>暂无数据</text>
  80. </view>
  81. </scroll-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="date-range-inputs">
  95. <picker style="flex:1" mode="date" :value="tempDateRange.startDate" @change="onStartDateChange">
  96. <view class="date-input" :class="{ placeholder: !tempDateRange.startDate }">
  97. {{ tempDateRange.startDate || '开始时间' }}
  98. </view>
  99. </picker>
  100. <text class="date-separator">-</text>
  101. <picker style="flex:1" mode="date" :value="tempDateRange.endDate" @change="onEndDateChange">
  102. <view class="date-input" :class="{ placeholder: !tempDateRange.endDate }">
  103. {{ tempDateRange.endDate || '结束时间' }}
  104. </view>
  105. </picker>
  106. </view>
  107. </view>
  108. <!-- 任务类型筛选 -->
  109. <view class="filter-group">
  110. <view class="group-label">任务类型</view>
  111. <view class="filter-tags">
  112. <view
  113. class="filter-tag"
  114. :class="{ active: tempSelectedTaskType == item.value }"
  115. v-for="(item, index) in taskTypeOptions"
  116. :key="index"
  117. @click="selectTaskType(item.value)">
  118. {{ item.label }}
  119. </view>
  120. </view>
  121. </view>
  122. <!-- 操作按钮 -->
  123. <view class="filter-actions">
  124. <view class="reset-btn" @click="resetFilters">重置</view>
  125. <view class="confirm-btn" @click="confirmFilters">确定</view>
  126. </view>
  127. </view>
  128. </view>
  129. </view>
  130. </template>
  131. <script>
  132. import { getAirClassroomList ,getTaskDetail,submitTask} from '@/api/airClassroom'
  133. import { getTaskTypeList } from '@/api/common.js'
  134. export default {
  135. data() {
  136. return {
  137. statusBarHeight: uni.getSystemInfoSync().statusBarHeight + 'px',
  138. currentTab: '',
  139. showFilter: false,
  140. dateRange: {
  141. startDate: '',
  142. endDate: ''
  143. },
  144. tempDateRange: {
  145. startDate: '',
  146. endDate: ''
  147. },
  148. selectedTaskType:'', // 默认选中科普文章
  149. tempSelectedTaskType: '',
  150. taskTypeOptions: [
  151. { label: '科普文章', value: 4 },
  152. { label: '科普短视频', value: 5 },
  153. { label: '科普长视频', value: 6 }
  154. ],
  155. tabs: [
  156. { label: '全部', value:''},
  157. { label: '未完成', value: 3},
  158. { label: '待审核', value: 0},
  159. { label: '已通过', value: 1},
  160. { label: '已驳回', value: 2}
  161. ],
  162. taskList: [],
  163. pageNum: 1,
  164. pageSize: 10,
  165. hasMore: true,
  166. loading: false
  167. }
  168. },
  169. watch: {
  170. showFilter(newVal) {
  171. if (newVal) {
  172. // 打开弹窗时,同步临时日期范围和任务类型为当前值
  173. this.tempDateRange = {
  174. startDate: this.dateRange.startDate,
  175. endDate: this.dateRange.endDate
  176. }
  177. this.tempSelectedTaskType = this.selectedTaskType
  178. }
  179. }
  180. },
  181. onLoad() {
  182. },
  183. onShow() {
  184. this.loadData()
  185. },
  186. onReachBottom() {
  187. this.loadMore()
  188. },
  189. methods: {
  190. goBack() {
  191. uni.navigateBack()
  192. },
  193. switchTab(value) {
  194. this.currentTab = value
  195. this.pageNum = 1
  196. this.hasMore = true
  197. this.loadData()
  198. },
  199. closeFilter() {
  200. // 关闭弹窗时,恢复临时日期范围和任务类型为当前值
  201. this.tempDateRange = {
  202. startDate: this.dateRange.startDate,
  203. endDate: this.dateRange.endDate
  204. }
  205. this.tempSelectedTaskType = this.selectedTaskType
  206. this.showFilter = false
  207. },
  208. selectTaskType(value) {
  209. // 如果点击的是已选中的,则取消选择
  210. if (this.tempSelectedTaskType == value) {
  211. this.tempSelectedTaskType = ''
  212. } else {
  213. this.tempSelectedTaskType = value
  214. }
  215. },
  216. onStartDateChange(e) {
  217. this.tempDateRange.startDate = e.detail.value
  218. },
  219. onEndDateChange(e) {
  220. this.tempDateRange.endDate = e.detail.value
  221. },
  222. resetFilters() {
  223. this.tempDateRange = {
  224. startDate: '',
  225. endDate: ''
  226. }
  227. this.tempSelectedTaskType = ''
  228. },
  229. confirmFilters() {
  230. // 时间筛选时必须选择结束时间
  231. if (this.tempDateRange.startDate && !this.tempDateRange.endDate) {
  232. uni.showToast({
  233. icon: 'none',
  234. title: '请选择结束时间'
  235. })
  236. return
  237. }
  238. // 验证日期范围
  239. if (this.tempDateRange.startDate && this.tempDateRange.endDate) {
  240. if (new Date(this.tempDateRange.startDate) > new Date(this.tempDateRange.endDate)) {
  241. uni.showToast({
  242. icon: 'none',
  243. title: '开始时间不能大于结束时间'
  244. })
  245. return
  246. }
  247. }
  248. this.dateRange = {
  249. startDate: this.tempDateRange.startDate,
  250. endDate: this.tempDateRange.endDate
  251. }
  252. this.selectedTaskType = this.tempSelectedTaskType
  253. this.showFilter = false
  254. this.pageNum = 1
  255. this.hasMore = true
  256. this.loadData()
  257. },
  258. goComplete(item) {
  259. uni.navigateTo({
  260. url: `/pages_task/completeTask?id=${item.id}`
  261. })
  262. },
  263. goEdit(item) {
  264. uni.navigateTo({
  265. url: `/pages_task/completeTask?id=${item.id}&edit=true`
  266. })
  267. },
  268. // 查看详情
  269. showDetail(item) {
  270. uni.navigateTo({
  271. url: `/pages_task/taskDetail?id=${item.id}`
  272. })
  273. },
  274. async loadData() {
  275. try {
  276. this.pageNum = 1
  277. this.hasMore = true
  278. uni.showLoading({ title: '加载中...' })
  279. // 构建请求参数
  280. const params = {
  281. applyStartTime: this.dateRange.startDate,
  282. applyEndTime: this.dateRange.endDate,
  283. finishAuditStatus:this.currentTab,
  284. taskType:this.selectedTaskType,
  285. pageNum: this.pageNum,
  286. selectType:'kp',
  287. timeType: "valid",
  288. pageSize: this.pageSize
  289. }
  290. const res = await getAirClassroomList(params)
  291. uni.hideLoading()
  292. if (res.code === 200) {
  293. this.taskList = res.rows || []
  294. // 判断是否还有更多数据
  295. if (!res.rows || res.rows.length < this.pageSize) {
  296. this.hasMore = false
  297. }
  298. } else {
  299. uni.showToast({
  300. icon: 'none',
  301. title: res.msg
  302. })
  303. }
  304. } catch (e) {
  305. uni.hideLoading()
  306. }
  307. },
  308. async loadMore() {
  309. // 如果没有更多数据或正在加载,则不执行
  310. if (!this.hasMore || this.loading) {
  311. return
  312. }
  313. try {
  314. this.loading = true
  315. const nextPage = this.pageNum + 1
  316. // 构建请求参数
  317. const params = {
  318. applyStartTime: this.dateRange.startDate,
  319. applyEndTime: this.dateRange.endDate,
  320. finishAuditStatus:this.currentTab,
  321. taskType: this.selectedTaskType,
  322. pageNum: nextPage,
  323. selectType:'kp',
  324. timeType: "valid",
  325. pageSize: this.pageSize
  326. }
  327. const res = await getAirClassroomList(params)
  328. if (res.code === 200) {
  329. const newData = res.rows || []
  330. if (newData.length > 0) {
  331. // 追加新数据到列表
  332. this.taskList = [...this.taskList, ...newData]
  333. this.pageNum = nextPage
  334. // 如果返回的数据量小于 pageSize,说明没有更多数据了
  335. if (newData.length < this.pageSize) {
  336. this.hasMore = false
  337. }
  338. } else {
  339. // 没有新数据,说明已经加载完所有数据
  340. this.hasMore = false
  341. }
  342. } else {
  343. uni.showToast({
  344. icon: 'none',
  345. title: res.msg || '加载失败'
  346. })
  347. }
  348. } catch (e) {
  349. console.error('加载更多数据失败', e)
  350. uni.showToast({
  351. icon: 'none',
  352. title: '加载失败'
  353. })
  354. } finally {
  355. this.loading = false
  356. }
  357. }
  358. }
  359. }
  360. </script>
  361. <style lang="scss" scoped>
  362. .container {
  363. min-height: 100vh;
  364. display: flex;
  365. flex-direction: column;
  366. }
  367. .status-bar {
  368. width: 100%;
  369. background: #fff;
  370. }
  371. .header {
  372. position: relative;
  373. height: 88rpx;
  374. display: flex;
  375. align-items: center;
  376. justify-content: center;
  377. background: #fff;
  378. border-bottom: 1rpx solid #f0f0f0;
  379. .back-btn {
  380. position: absolute;
  381. left: 24rpx;
  382. width: 40rpx;
  383. height: 40rpx;
  384. image {
  385. width: 100%;
  386. height: 100%;
  387. }
  388. }
  389. .title {
  390. font-size: 36rpx;
  391. font-weight: bold;
  392. color: #333;
  393. }
  394. .header-right {
  395. position: absolute;
  396. right: 24rpx;
  397. display: flex;
  398. align-items: center;
  399. gap: 16rpx;
  400. .more-icon {
  401. font-size: 32rpx;
  402. color: #333;
  403. }
  404. }
  405. }
  406. .filter-bar {
  407. display: flex;
  408. align-items: center;
  409. background: #fff;
  410. padding: 0 24rpx;
  411. border-bottom: 1rpx solid #f0f0f0;
  412. .filter-tabs {
  413. flex: 1;
  414. display: flex;
  415. align-items: center;
  416. gap: 48rpx;
  417. overflow-x: auto;
  418. .tab-item {
  419. padding: 24rpx 0;
  420. font-size: 28rpx;
  421. color: #969799;
  422. white-space: nowrap;
  423. position: relative;
  424. &.active {
  425. font-weight: 500;
  426. font-size: 28rpx;
  427. color: #333333;
  428. &::after {
  429. content: '';
  430. position: absolute;
  431. bottom: 0;
  432. left: 50%;
  433. transform: translateX(-50%);
  434. width: 56rpx;
  435. height: 6rpx;
  436. background: #388BFF;
  437. border-radius: 3rpx 3rpx 3rpx 3rpx;
  438. }
  439. }
  440. }
  441. }
  442. .filter-divider {
  443. width: 1rpx;
  444. height: 40rpx;
  445. background: #e0e0e0;
  446. margin: 0 16rpx;
  447. }
  448. .filter-btn {
  449. padding: 24rpx 0;
  450. .filter-icon {
  451. font-size: 32rpx;
  452. color: #333;
  453. }
  454. }
  455. }
  456. .content {
  457. flex: 1;
  458. padding: 24rpx;
  459. box-sizing: border-box;
  460. }
  461. .no-more {
  462. text-align: center;
  463. padding: 48rpx 0;
  464. font-size: 24rpx;
  465. color: #999;
  466. }
  467. .empty-state {
  468. padding: 120rpx 24rpx;
  469. text-align: center;
  470. font-size: 28rpx;
  471. color: #999;
  472. }
  473. .task-card {
  474. background: #fff;
  475. border-radius: 24rpx 24rpx 24rpx 24rpx;
  476. border: 2rpx solid #E9F2FF;
  477. margin-bottom: 24rpx;
  478. .card-header {
  479. display: flex;
  480. align-items: flex-start;
  481. justify-content: space-between;
  482. margin-bottom: 16rpx;
  483. padding: 24rpx;
  484. background: linear-gradient( 90deg, #E8F1FF 0%, #FFFFFF 100%);
  485. border-radius: 24rpx 24rpx 0rpx 0rpx;
  486. .card-title {
  487. flex: 1;
  488. font-size: 32rpx;
  489. font-weight: bold;
  490. color: #333;
  491. }
  492. .status-tag {
  493. padding: 8rpx 16rpx;
  494. border-radius: 20rpx;
  495. font-size: 24rpx;
  496. &.tag0 {
  497. // 待审核
  498. background: #FFF3E0;
  499. color: #FF9800;
  500. }
  501. &.tag1 {
  502. // 已通过
  503. background: #E8F5E9;
  504. color: #4CAF50;
  505. }
  506. &.tag2 {
  507. // 已驳回
  508. background: #FFF4F5;
  509. color: #CF3546;
  510. }
  511. &.tag3 {
  512. // 未完成
  513. background: #EBF5FF;
  514. color: #388BFF;
  515. }
  516. }
  517. }
  518. .card-tags {
  519. display: flex;
  520. align-items: center;
  521. flex-wrap: wrap;
  522. gap: 12rpx;
  523. margin-bottom: 16rpx;
  524. .tag-item {
  525. padding: 8rpx 16rpx;
  526. // background: #f5f5f5;
  527. border-radius: 8rpx;
  528. font-size: 24rpx;
  529. color: #999999;
  530. border-radius: 8rpx 8rpx 8rpx 8rpx;
  531. border: 2rpx solid #F5F5F5;
  532. &.category{
  533. border-radius: 0rpx 8rpx 8rpx 0rpx;
  534. border: 2rpx solid #F3D191;
  535. background: #FFFAF4;
  536. color:#5D410F
  537. }
  538. &.video-tag {
  539. background: linear-gradient( 90deg, #FFE9C7 0%, #F3D091 100%);
  540. border-radius:8rpx 0rpx 0rpx 8rpx;
  541. border: 2rpx solid #F3D191;
  542. font-family: PingFang SC, PingFang SC;
  543. font-weight: 400;
  544. font-size: 24rpx;
  545. color: #5D410F;
  546. display: flex;
  547. align-items: center;
  548. .tag-icon {
  549. margin-right: 4rpx;
  550. }
  551. }
  552. &.points-tag {
  553. border: 1rpx solid #388BFF;
  554. color: #388BFF;
  555. background: transparent;
  556. }
  557. }
  558. }
  559. .card-dates {
  560. margin-bottom: 16rpx;
  561. .date-item {
  562. font-size: 26rpx;
  563. color: #999;
  564. margin-bottom: 8rpx;
  565. }
  566. }
  567. .card-warning {
  568. display: flex;
  569. align-items: center;
  570. gap: 8rpx;
  571. padding: 12rpx;
  572. background: #FFF3E0;
  573. border-radius: 8rpx;
  574. margin-bottom: 16rpx;
  575. font-size: 26rpx;
  576. color: #FF9800;
  577. .warning-icon {
  578. font-size: 28rpx;
  579. }
  580. }
  581. .card-rejection {
  582. display: flex;
  583. align-items: center;
  584. gap: 8rpx;
  585. padding: 12rpx;
  586. background: #FFEBEE;
  587. border-radius: 8rpx;
  588. margin-bottom: 16rpx;
  589. font-size: 26rpx;
  590. color: #F44336;
  591. .rejection-icon {
  592. font-size: 28rpx;
  593. }
  594. }
  595. .card-footer {
  596. display: flex;
  597. align-items: center;
  598. justify-content: space-between;
  599. padding-top: 16rpx;
  600. border-top: 1rpx solid #f0f0f0;
  601. .footer-date {
  602. font-size: 24rpx;
  603. color: #999;
  604. }
  605. .footer-actions {
  606. .action-btn {
  607. padding: 12rpx 32rpx;
  608. background: #388BFF;
  609. border-radius: 34rpx 34rpx 34rpx 34rpx;
  610. font-size: 28rpx;
  611. color: #fff;
  612. }
  613. }
  614. }
  615. }
  616. .filter-popup {
  617. position: fixed;
  618. top: 0;
  619. left: 0;
  620. right: 0;
  621. bottom: 0;
  622. background: rgba(0, 0, 0, 0.5);
  623. z-index: 999;
  624. display: flex;
  625. align-items: flex-end;
  626. }
  627. .filter-content {
  628. width: 100%;
  629. background: #fff;
  630. border-radius: 24rpx 24rpx 0 0;
  631. padding: 32rpx;
  632. .filter-header {
  633. display: flex;
  634. align-items: center;
  635. justify-content: center;
  636. // padding: 32rpx 24rpx;
  637. position: relative;
  638. .filter-title {
  639. font-family: PingFang SC, PingFang SC;
  640. font-weight: 500;
  641. font-size: 32rpx;
  642. color: #333333;
  643. }
  644. .filter-close-btn {
  645. position: absolute;
  646. right: 24rpx;
  647. top: 50%;
  648. transform: translateY(-50%);
  649. font-size: 48rpx;
  650. color: #999;
  651. width: 48rpx;
  652. height: 48rpx;
  653. display: flex;
  654. align-items: center;
  655. justify-content: center;
  656. line-height: 1;
  657. }
  658. }
  659. .filter-group {
  660. margin-bottom: 32rpx;
  661. .group-label {
  662. font-size: 28rpx;
  663. font-weight: bold;
  664. color: #333;
  665. margin-bottom: 20rpx;
  666. }
  667. .date-range-inputs {
  668. display: flex;
  669. align-items: center;
  670. gap: 16rpx;
  671. .date-input {
  672. flex: 1;
  673. height: 80rpx;
  674. line-height: 80rpx;
  675. padding: 0 24rpx;
  676. background: #f5f5f5;
  677. border-radius: 8rpx;
  678. font-size: 28rpx;
  679. color: #333;
  680. text-align: center;
  681. &.placeholder {
  682. color: #999;
  683. }
  684. }
  685. .date-separator {
  686. font-size: 28rpx;
  687. color: #666;
  688. }
  689. }
  690. .filter-tags {
  691. display: flex;
  692. flex-wrap: wrap;
  693. gap: 24rpx;
  694. .filter-tag {
  695. width: calc((100% - 48rpx) / 3);
  696. padding: 12rpx 24rpx;
  697. background: #F7F8FA;
  698. border-radius: 70rpx 70rpx 70rpx 70rpx;
  699. font-family: PingFang SC, PingFang SC;
  700. font-weight: 400;
  701. font-size: 28rpx;
  702. color: #666;
  703. border: 1rpx solid transparent;
  704. text-align: center;
  705. box-sizing: border-box;
  706. &.active {
  707. background: rgba(56,139,255,0.15);
  708. color: #388BFF;
  709. border-color: #388BFF;
  710. }
  711. }
  712. }
  713. }
  714. .filter-actions {
  715. display: flex;
  716. gap: 24rpx;
  717. margin-top: 40rpx;
  718. padding-top: 24rpx;
  719. border-top: 1rpx solid #f0f0f0;
  720. .reset-btn,
  721. .confirm-btn {
  722. flex: 1;
  723. height: 88rpx;
  724. line-height: 88rpx;
  725. text-align: center;
  726. border-radius: 200rpx 200rpx 200rpx 200rpx;
  727. font-size: 30rpx;
  728. }
  729. .reset-btn {
  730. background: #fff;
  731. color: #666;
  732. border: 1rpx solid #e0e0e0;
  733. }
  734. .confirm-btn {
  735. background: #388BFF;
  736. color: #fff;
  737. }
  738. }
  739. }
  740. </style>