shortVideo.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  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 class="w28 h28 mr10" src="@/static/image/icon_longvideo.png" mode=""></image>
  33. <!-- <image class="w28 h28 mr10" src="@/static/image/icon_article.png" mode=""></image> -->
  34. <text>空中课堂</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: 'article', // 默认选中科普文章
  149. tempSelectedTaskType: 'article',
  150. // taskTypeOptions: [
  151. // { label: '科普文章', value: 'article' },
  152. // { label: '科普短视频', value: 'shortVideo' },
  153. // { label: '科普长视频', value: 'longVideo' }
  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:3,
  285. pageNum: this.pageNum,
  286. pageSize: this.pageSize
  287. }
  288. const res = await getAirClassroomList(params)
  289. uni.hideLoading()
  290. if (res.code === 200) {
  291. this.taskList = res.rows || []
  292. // 判断是否还有更多数据
  293. if (!res.rows || res.rows.length < this.pageSize) {
  294. this.hasMore = false
  295. }
  296. } else {
  297. uni.showToast({
  298. icon: 'none',
  299. title: res.msg
  300. })
  301. }
  302. } catch (e) {
  303. uni.hideLoading()
  304. }
  305. },
  306. async loadMore() {
  307. // 如果没有更多数据或正在加载,则不执行
  308. if (!this.hasMore || this.loading) {
  309. return
  310. }
  311. try {
  312. this.loading = true
  313. const nextPage = this.pageNum + 1
  314. // 构建请求参数
  315. const params = {
  316. applyStartTime: this.dateRange.startDate,
  317. applyEndTime: this.dateRange.endDate,
  318. finishAuditStatus:this.currentTab,
  319. taskType: 3,
  320. pageNum: nextPage,
  321. pageSize: this.pageSize
  322. }
  323. const res = await getAirClassroomList(params)
  324. if (res.code === 200) {
  325. const newData = res.rows || []
  326. if (newData.length > 0) {
  327. // 追加新数据到列表
  328. this.taskList = [...this.taskList, ...newData]
  329. this.pageNum = nextPage
  330. // 如果返回的数据量小于 pageSize,说明没有更多数据了
  331. if (newData.length < this.pageSize) {
  332. this.hasMore = false
  333. }
  334. } else {
  335. // 没有新数据,说明已经加载完所有数据
  336. this.hasMore = false
  337. }
  338. } else {
  339. uni.showToast({
  340. icon: 'none',
  341. title: res.msg || '加载失败'
  342. })
  343. }
  344. } catch (e) {
  345. console.error('加载更多数据失败', e)
  346. uni.showToast({
  347. icon: 'none',
  348. title: '加载失败'
  349. })
  350. } finally {
  351. this.loading = false
  352. }
  353. }
  354. }
  355. }
  356. </script>
  357. <style lang="scss" scoped>
  358. .container {
  359. min-height: 100vh;
  360. background: #f5f5f5;
  361. display: flex;
  362. flex-direction: column;
  363. }
  364. .status-bar {
  365. width: 100%;
  366. background: #fff;
  367. }
  368. .header {
  369. position: relative;
  370. height: 88rpx;
  371. display: flex;
  372. align-items: center;
  373. justify-content: center;
  374. background: #fff;
  375. border-bottom: 1rpx solid #f0f0f0;
  376. .back-btn {
  377. position: absolute;
  378. left: 24rpx;
  379. width: 40rpx;
  380. height: 40rpx;
  381. image {
  382. width: 100%;
  383. height: 100%;
  384. }
  385. }
  386. .title {
  387. font-size: 36rpx;
  388. font-weight: bold;
  389. color: #333;
  390. }
  391. .header-right {
  392. position: absolute;
  393. right: 24rpx;
  394. display: flex;
  395. align-items: center;
  396. gap: 16rpx;
  397. .more-icon {
  398. font-size: 32rpx;
  399. color: #333;
  400. }
  401. }
  402. }
  403. .filter-bar {
  404. display: flex;
  405. align-items: center;
  406. background: #fff;
  407. padding: 0 24rpx;
  408. border-bottom: 1rpx solid #f0f0f0;
  409. .filter-tabs {
  410. flex: 1;
  411. display: flex;
  412. align-items: center;
  413. gap: 48rpx;
  414. overflow-x: auto;
  415. .tab-item {
  416. padding: 24rpx 0;
  417. font-size: 28rpx;
  418. color: #969799;
  419. white-space: nowrap;
  420. position: relative;
  421. &.active {
  422. font-weight: 500;
  423. font-size: 28rpx;
  424. color: #333333;
  425. &::after {
  426. content: '';
  427. position: absolute;
  428. bottom: 0;
  429. left: 50%;
  430. transform: translateX(-50%);
  431. width: 56rpx;
  432. height: 6rpx;
  433. background: #388BFF;
  434. border-radius: 3rpx 3rpx 3rpx 3rpx;
  435. }
  436. }
  437. }
  438. }
  439. .filter-divider {
  440. width: 1rpx;
  441. height: 40rpx;
  442. background: #e0e0e0;
  443. margin: 0 16rpx;
  444. }
  445. .filter-btn {
  446. padding: 24rpx 0;
  447. .filter-icon {
  448. font-size: 32rpx;
  449. color: #333;
  450. }
  451. }
  452. }
  453. .content {
  454. flex: 1;
  455. padding: 24rpx;
  456. box-sizing: border-box;
  457. }
  458. .no-more {
  459. text-align: center;
  460. padding: 48rpx 0;
  461. font-size: 24rpx;
  462. color: #999;
  463. }
  464. .empty-state {
  465. padding: 120rpx 24rpx;
  466. text-align: center;
  467. font-size: 28rpx;
  468. color: #999;
  469. }
  470. .task-card {
  471. background: #fff;
  472. border-radius: 24rpx 24rpx 24rpx 24rpx;
  473. border: 2rpx solid #E9F2FF;
  474. margin-bottom: 24rpx;
  475. .card-header {
  476. display: flex;
  477. align-items: flex-start;
  478. justify-content: space-between;
  479. margin-bottom: 16rpx;
  480. padding: 24rpx;
  481. background: linear-gradient( 90deg, #E8F1FF 0%, #FFFFFF 100%);
  482. border-radius: 24rpx 24rpx 0rpx 0rpx;
  483. .card-title {
  484. flex: 1;
  485. font-size: 32rpx;
  486. font-weight: bold;
  487. color: #333;
  488. }
  489. .status-tag {
  490. padding: 8rpx 16rpx;
  491. border-radius: 20rpx;
  492. font-size: 24rpx;
  493. &.tag0 {
  494. // 待审核
  495. background: #FFF3E0;
  496. color: #FF9800;
  497. }
  498. &.tag1 {
  499. // 已通过
  500. background: #E8F5E9;
  501. color: #4CAF50;
  502. }
  503. &.tag2 {
  504. // 已驳回
  505. background: #FFF4F5;
  506. color: #CF3546;
  507. }
  508. &.tag3 {
  509. // 未完成
  510. background: #EBF5FF;
  511. color: #388BFF;
  512. }
  513. }
  514. }
  515. .card-tags {
  516. display: flex;
  517. align-items: center;
  518. flex-wrap: wrap;
  519. gap: 12rpx;
  520. margin-bottom: 16rpx;
  521. .tag-item {
  522. padding: 8rpx 16rpx;
  523. // background: #f5f5f5;
  524. border-radius: 8rpx;
  525. font-size: 24rpx;
  526. color: #999999;
  527. border-radius: 8rpx 8rpx 8rpx 8rpx;
  528. border: 2rpx solid #F5F5F5;
  529. &.category{
  530. border-radius: 0rpx 8rpx 8rpx 0rpx;
  531. border: 2rpx solid #F3D191;
  532. background: #FFFAF4;
  533. color:#5D410F
  534. }
  535. &.video-tag {
  536. background: linear-gradient( 90deg, #FFE9C7 0%, #F3D091 100%);
  537. border-radius:8rpx 0rpx 0rpx 8rpx;
  538. border: 2rpx solid #F3D191;
  539. font-family: PingFang SC, PingFang SC;
  540. font-weight: 400;
  541. font-size: 24rpx;
  542. color: #5D410F;
  543. display: flex;
  544. align-items: center;
  545. .tag-icon {
  546. margin-right: 4rpx;
  547. }
  548. }
  549. &.points-tag {
  550. border: 1rpx solid #388BFF;
  551. color: #388BFF;
  552. background: transparent;
  553. }
  554. }
  555. }
  556. .card-dates {
  557. margin-bottom: 16rpx;
  558. .date-item {
  559. font-size: 26rpx;
  560. color: #999;
  561. margin-bottom: 8rpx;
  562. }
  563. }
  564. .card-warning {
  565. display: flex;
  566. align-items: center;
  567. gap: 8rpx;
  568. padding: 12rpx;
  569. background: #FFF3E0;
  570. border-radius: 8rpx;
  571. margin-bottom: 16rpx;
  572. font-size: 26rpx;
  573. color: #FF9800;
  574. .warning-icon {
  575. font-size: 28rpx;
  576. }
  577. }
  578. .card-rejection {
  579. display: flex;
  580. align-items: center;
  581. gap: 8rpx;
  582. padding: 12rpx;
  583. background: #FFEBEE;
  584. border-radius: 8rpx;
  585. margin-bottom: 16rpx;
  586. font-size: 26rpx;
  587. color: #F44336;
  588. .rejection-icon {
  589. font-size: 28rpx;
  590. }
  591. }
  592. .card-footer {
  593. display: flex;
  594. align-items: center;
  595. justify-content: space-between;
  596. padding-top: 16rpx;
  597. border-top: 1rpx solid #f0f0f0;
  598. .footer-date {
  599. font-size: 24rpx;
  600. color: #999;
  601. }
  602. .footer-actions {
  603. .action-btn {
  604. padding: 12rpx 32rpx;
  605. background: #388BFF;
  606. border-radius: 34rpx 34rpx 34rpx 34rpx;
  607. font-size: 28rpx;
  608. color: #fff;
  609. }
  610. }
  611. }
  612. }
  613. .filter-popup {
  614. position: fixed;
  615. top: 0;
  616. left: 0;
  617. right: 0;
  618. bottom: 0;
  619. background: rgba(0, 0, 0, 0.5);
  620. z-index: 999;
  621. display: flex;
  622. align-items: flex-end;
  623. }
  624. .filter-content {
  625. width: 100%;
  626. background: #fff;
  627. border-radius: 24rpx 24rpx 0 0;
  628. padding: 32rpx;
  629. .filter-header {
  630. display: flex;
  631. align-items: center;
  632. justify-content: center;
  633. // padding: 32rpx 24rpx;
  634. position: relative;
  635. .filter-title {
  636. font-family: PingFang SC, PingFang SC;
  637. font-weight: 500;
  638. font-size: 32rpx;
  639. color: #333333;
  640. }
  641. .filter-close-btn {
  642. position: absolute;
  643. right: 24rpx;
  644. top: 50%;
  645. transform: translateY(-50%);
  646. font-size: 48rpx;
  647. color: #999;
  648. width: 48rpx;
  649. height: 48rpx;
  650. display: flex;
  651. align-items: center;
  652. justify-content: center;
  653. line-height: 1;
  654. }
  655. }
  656. .filter-group {
  657. margin-bottom: 32rpx;
  658. .group-label {
  659. font-size: 28rpx;
  660. font-weight: bold;
  661. color: #333;
  662. margin-bottom: 20rpx;
  663. }
  664. .date-range-inputs {
  665. display: flex;
  666. align-items: center;
  667. gap: 16rpx;
  668. .date-input {
  669. flex: 1;
  670. height: 80rpx;
  671. line-height: 80rpx;
  672. padding: 0 24rpx;
  673. background: #f5f5f5;
  674. border-radius: 8rpx;
  675. font-size: 28rpx;
  676. color: #333;
  677. text-align: center;
  678. &.placeholder {
  679. color: #999;
  680. }
  681. }
  682. .date-separator {
  683. font-size: 28rpx;
  684. color: #666;
  685. }
  686. }
  687. .filter-tags {
  688. display: flex;
  689. flex-wrap: wrap;
  690. gap: 16rpx;
  691. .filter-tag {
  692. padding: 14rpx 36rpx;
  693. background: #F7F8FA;
  694. border-radius: 70rpx 70rpx 70rpx 70rpx;
  695. font-family: PingFang SC, PingFang SC;
  696. font-weight: 400;
  697. font-size: 28rpx;
  698. color: #333333;
  699. border: 1rpx solid transparent;
  700. &.active {
  701. background: rgba(56,139,255,0.15);
  702. color: #388BFF;
  703. border-color: #388BFF;
  704. }
  705. }
  706. }
  707. }
  708. .filter-actions {
  709. display: flex;
  710. gap: 24rpx;
  711. margin-top: 40rpx;
  712. padding-top: 24rpx;
  713. border-top: 1rpx solid #f0f0f0;
  714. .reset-btn,
  715. .confirm-btn {
  716. flex: 1;
  717. height: 88rpx;
  718. line-height: 88rpx;
  719. text-align: center;
  720. border-radius: 200rpx 200rpx 200rpx 200rpx;
  721. font-size: 30rpx;
  722. }
  723. .reset-btn {
  724. background: #fff;
  725. color: #666;
  726. border: 1rpx solid #e0e0e0;
  727. }
  728. .confirm-btn {
  729. background: #388BFF;
  730. color: #fff;
  731. }
  732. }
  733. }
  734. </style>