my_learn.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776
  1. <template>
  2. <view class="safeArea">
  3. <nav-bar title="目录"></nav-bar>
  4. <view
  5. style="
  6. width: 100%;
  7. text-align: center;
  8. position: fixed;
  9. height: 96rpx;
  10. z-index: 999;
  11. "
  12. >
  13. <u-tabs
  14. :list="list"
  15. sticky
  16. :current="current"
  17. @change="change"
  18. active-color="#333"
  19. inactive-color="#999"
  20. ></u-tabs>
  21. </view>
  22. <view class="learnWrap">
  23. <template v-if="current === 1">
  24. <view class="noData" v-if="listData.length == 0"
  25. >您暂无相关学时审核记录哦~</view
  26. >
  27. <view class="learnItem" v-for="(item, index) in listData" :key="index">
  28. <view class="title">{{ item.goodsName }}</view>
  29. <template v-if="!item.externalLinkStatus">
  30. <view class="status">
  31. <view class="label">审核状态:</view>
  32. <view
  33. class="val"
  34. :class="
  35. item.periodStatus === -1
  36. ? 'red'
  37. : item.periodStatus === 1
  38. ? 'green'
  39. : item.periodStatus === 2 || item.periodStatus === 3
  40. ? 'blue'
  41. : ''
  42. "
  43. >
  44. <text>
  45. {{
  46. item.periodStatus === -1
  47. ? "不可审核"
  48. : item.periodStatus === 1
  49. ? "机构审核通过"
  50. : item.periodStatus === 2
  51. ? "等待审核"
  52. : item.periodStatus === 3
  53. ? "审核中"
  54. : item.periodStatus === 0
  55. ? "机构审核不通过"
  56. : ""
  57. }}
  58. </text>
  59. <view
  60. v-if="item.periodStatus === 0"
  61. style="font-size: 24rpx; color: #666"
  62. >
  63. <text style="color: #ff3b30">{{ item.rebuild }}节</text>
  64. 需要重修
  65. </view>
  66. </view>
  67. </view>
  68. <view class="tip" v-if="item.periodStatus === 1">
  69. <template
  70. v-if="
  71. item.educationName == '继续教育' &&
  72. item.businessName == '二级' &&
  73. item.projectName == '建造师'
  74. "
  75. >
  76. <view class="label">审核提示:</view>
  77. <view>
  78. 机构已审核通过,需等待信息中心复审后即可获得继续教育学时。审核时间约15个工作日,届时请前往官网申请证书延期。
  79. <view class="copySty" @tap="copyText">复制官网链接</view>
  80. </view>
  81. </template>
  82. </view>
  83. <view class="tip" v-else>
  84. <view class="label">审核提示:</view>
  85. <view class="val color666" v-if="item.periodStatus === -1"
  86. >您的学时还未修完,请尽快完成课程学习</view
  87. >
  88. <view class="val color666" v-if="item.periodStatus === 2"
  89. >学习完成后7-15个工作日完成学时审核。</view
  90. >
  91. <view class="val color666" v-if="item.periodStatus === 0"
  92. >请查看需重学记录,并及时重学对应课程,以免延误学时审核进度。</view
  93. >
  94. <view class="val color666" v-if="item.periodStatus === 3"
  95. >会在7-15个工作日左右完成学时审核</view
  96. >
  97. </view>
  98. </template>
  99. <view v-if="item.periodStatus !== 2">
  100. <u-line color="#EEEEEE" />
  101. <view v-if="item.periodStatus === -1">
  102. <view class="btnBox"
  103. ><view
  104. class="btn"
  105. v-if="item.externalLinkStatus || !showLearn(item)"
  106. @click="jumpPage(item, 1, index)"
  107. >课程学习</view
  108. ></view
  109. >
  110. </view>
  111. <view>
  112. <view
  113. v-if="
  114. item.periodStatus === 1 &&
  115. item.applyStatus === 1 &&
  116. !(
  117. sysTime <= item.serviceStartTime ||
  118. sysTime >= item.serviceEndTime ||
  119. (item.classStartTime && sysTime <= item.classStartTime) ||
  120. (item.classEndTime && sysTime >= item.classEndTime) ||
  121. item.learningStatus == 2 ||
  122. item.classStatus == 0 ||
  123. (item.learningStatus == 3 &&
  124. sysTime < item.learningTimeStart)
  125. )
  126. "
  127. >
  128. <template v-for="apply in item.applyList">
  129. <view class="subTitle">{{ apply.applyName }}</view>
  130. <!-- <view class="status">
  131. <view class="label">审核状态:</view>
  132. <view class="val green">
  133. <text>
  134. 机构审核通过
  135. </text>
  136. </view>
  137. </view> -->
  138. <view class="btnBox"
  139. ><view class="btn" @click="jumpPage(item, 2, index, apply)"
  140. >预约考试</view
  141. ></view
  142. >
  143. </template>
  144. </view>
  145. <u-line
  146. color="#EEEEEE"
  147. v-if="item.periodStatus === 1 && item.applyStatus === 1"
  148. />
  149. <view
  150. v-if="
  151. item.periodStatus === 1 &&
  152. item.beforeStatus === 1 &&
  153. !(
  154. sysTime <= item.serviceStartTime ||
  155. sysTime >= item.serviceEndTime ||
  156. (item.classStartTime && sysTime <= item.classStartTime) ||
  157. (item.classEndTime && sysTime >= item.classEndTime) ||
  158. item.learningStatus == 2 ||
  159. item.classStatus == 0 ||
  160. (item.learningStatus == 3 &&
  161. sysTime < item.learningTimeStart)
  162. )
  163. "
  164. >
  165. <view class="subTitle">{{ item.beforeName }}</view>
  166. <!-- <view class="status">
  167. <view class="label">审核状态:</view>
  168. <view class="val green">
  169. <text>
  170. 机构审核通过
  171. </text>
  172. </view>
  173. </view> -->
  174. <view class="btnBox"
  175. ><view class="btn" @click="jumpPage(item, 3, index)"
  176. >进入刷题</view
  177. ></view
  178. >
  179. </view>
  180. </view>
  181. <view v-if="item.periodStatus === 0 && item.rebuildStatus === 0">
  182. <view class="btnBox"
  183. ><view class="btn" @click="jumpPage(item, 4, index)"
  184. >查看详情</view
  185. ></view
  186. >
  187. </view>
  188. <view v-if="item.periodStatus === 0 && item.rebuildStatus === 1">
  189. <view class="btnBox"
  190. ><view class="btn" @click="jumpPage(item, 5, index)"
  191. >重修目录</view
  192. ></view
  193. >
  194. </view>
  195. </view>
  196. </view>
  197. </template>
  198. <template v-if="current === 0">
  199. <view class="noData" v-if="listData.length == 0"
  200. >您暂无相关学习凭证记录哦~</view
  201. >
  202. <view
  203. class="learnItem card"
  204. v-for="(item, index) in listData"
  205. :key="index"
  206. >
  207. <view class="title">{{ item.title }}</view>
  208. <view class="number">
  209. <text class="label">编号:</text>
  210. {{ item.certificateCode }}
  211. </view>
  212. <view class="btnBox">
  213. <view class="btn" @click="showPhoto(item)">电子照片</view>
  214. <view class="btn" @click="saveEwm(item)">下载凭证</view>
  215. </view>
  216. </view>
  217. </template>
  218. </view>
  219. </view>
  220. </template>
  221. <script>
  222. import { mapGetters } from "vuex";
  223. export default {
  224. components: {},
  225. data() {
  226. return {
  227. loading: false,
  228. current: 0,
  229. list: [
  230. {
  231. name: "学习凭证",
  232. },
  233. {
  234. name: "学时审核",
  235. },
  236. ],
  237. param: {
  238. pageNum: 1,
  239. pageSize: 10,
  240. orderGoodsId: "",
  241. },
  242. total: 0,
  243. itemIndex: "",
  244. listData: [],
  245. orderGoodsId: 0,
  246. sysTime: 0,
  247. };
  248. },
  249. onLoad(option) {
  250. this.orderGoodsId = option.orderGoodsId || "";
  251. this.param.orderGoodsId = option.orderGoodsId || "";
  252. this.getUserCertificateList();
  253. },
  254. onShow() {
  255. this.sysTime = +this.$method.timest();
  256. if (this.itemIndex !== "") {
  257. if (this.current == 0) {
  258. this.refreshByIndex();
  259. }
  260. }
  261. },
  262. onReachBottom() {
  263. if (this.listData.length < this.total) {
  264. this.param.pageNum++;
  265. if (this.current == 1) {
  266. this.getcourseperiodlistGoods();
  267. } else if (this.current == 0) {
  268. this.getUserCertificateList();
  269. }
  270. }
  271. },
  272. methods: {
  273. showLearn(item) {
  274. return (
  275. (item.interfacePushId > 0 && item.officialStatus != 1) ||
  276. this.sysTime <= item.serviceStartTime ||
  277. this.sysTime >= item.serviceEndTime ||
  278. (item.classStartTime && this.sysTime <= item.classStartTime) ||
  279. (item.classEndTime && this.sysTime >= item.classEndTime) ||
  280. item.learningStatus == 2 ||
  281. item.classStatus == 0 ||
  282. (item.learningStatus == 3 && this.sysTime < item.learningTimeStart)
  283. );
  284. },
  285. refreshByIndex() {
  286. this.$api
  287. .getcourseperiodlistGoods({
  288. pageNum: this.itemIndex + 1,
  289. pageSize: 1,
  290. orderGoodsId: this.orderGoodsId,
  291. })
  292. .then((res) => {
  293. if (res.data.code === 200) {
  294. this.$set(this.listData, this.itemIndex, res.data.rows[0]);
  295. }
  296. });
  297. },
  298. copyText() {
  299. uni.setClipboardData({
  300. data: "http://gdzczx.gdcic.net/",
  301. success: () => {
  302. //复制成功的回调函数
  303. uni.showToast({
  304. //提示
  305. title: "复制成功",
  306. });
  307. },
  308. });
  309. },
  310. jumpPage(v, int, index, appoint) {
  311. if (v.externalLinkStatus) {
  312. this.$method.toLink(v.externalLink);
  313. return;
  314. }
  315. console.log("--item", v);
  316. // return
  317. this.itemIndex = index;
  318. //int 1.课程学习 2.预约考试 3.进入刷题 4.查看详情 5.重修目录
  319. if (int === 1 || int === 5) {
  320. // /lock/lockStatus
  321. this.$method.checkLock().then((res) => {
  322. this.$http({
  323. url: "/course/courseList",
  324. method: "get",
  325. data: {
  326. pageNum: 1,
  327. pageSize: 100,
  328. goodsId: v.goodsId,
  329. gradeId: v.gradeId,
  330. orderGoodsId: v.orderGoodsId,
  331. },
  332. noLoading: true,
  333. }).then((res) => {
  334. if (res.data.code == 200) {
  335. if (res.data.total > 1) {
  336. uni.navigateTo({
  337. url: `/pages3/polyv/detail?id=''&goodsId=${v.goodsId}&orderGoodsId=${v.orderGoodsId}&gradeId=${v.gradeId}`,
  338. });
  339. } else if (res.data.total == 1) {
  340. uni.navigateTo({
  341. url: `/pages3/polyv/detail?id=${res.data.rows[0].courseId}&goodsId=${v.goodsId}&orderGoodsId=${v.orderGoodsId}&gradeId=${v.gradeId}`,
  342. });
  343. } else {
  344. uni.showToast({
  345. icon: "none",
  346. title: "暂无可观看的视频课程",
  347. });
  348. }
  349. }
  350. });
  351. });
  352. return;
  353. this.$api
  354. .lockLockStatus({
  355. action: "jxjy",
  356. uuid: this.$method.getUuid(),
  357. })
  358. .then((res) => {
  359. if (res.data.code == 200) {
  360. //有其他端在操作,不能学习
  361. uni.showToast({
  362. icon: "none",
  363. title: res.data.msg,
  364. mask: true,
  365. duration: 3000,
  366. });
  367. } else if (res.data.code == 500) {
  368. //可以学习
  369. this.$http({
  370. url: "/course/courseList",
  371. method: "get",
  372. data: {
  373. pageNum: 1,
  374. pageSize: 100,
  375. goodsId: v.goodsId,
  376. gradeId: v.gradeId,
  377. orderGoodsId: v.orderGoodsId,
  378. },
  379. noLoading: true,
  380. }).then((res) => {
  381. if (res.data.code == 200) {
  382. if (res.data.total > 1) {
  383. uni.navigateTo({
  384. url: `/pages3/polyv/detail?id=''&goodsId=${v.goodsId}&orderGoodsId=${v.orderGoodsId}&gradeId=${v.gradeId}`,
  385. });
  386. } else if (res.data.total == 1) {
  387. uni.navigateTo({
  388. url: `/pages3/polyv/detail?id=${res.data.rows[0].courseId}&goodsId=${v.goodsId}&orderGoodsId=${v.orderGoodsId}&gradeId=${v.gradeId}`,
  389. });
  390. } else {
  391. uni.showToast({
  392. icon: "none",
  393. title: "暂无可观看的视频课程",
  394. });
  395. }
  396. }
  397. });
  398. }
  399. });
  400. // this.$navTo.togo(
  401. // `/pages2/wd/course?id=${v.goodsId}&gid=${v.gradeId}&orderGoodsId=${v.orderGoodsId}`
  402. // );
  403. }
  404. if (int === 2) {
  405. var data = {
  406. goodsId: v.goodsId,
  407. gradeId: v.gradeId,
  408. applyId: appoint.applyId,
  409. };
  410. this.$api.getApplysubscribe(data).then((res) => {
  411. if (res.data.code === 500) {
  412. uni.showModal({
  413. showCancel: false,
  414. content: res.data.msg,
  415. });
  416. }
  417. if (res.data.code === 200) {
  418. this.$navTo.togo("/pages2/appointment/index", {
  419. goodsId: v.goodsId,
  420. gradeId: v.gradeId,
  421. orderGoodsId: v.orderGoodsId,
  422. applyId: appoint.applyId,
  423. });
  424. }
  425. });
  426. }
  427. if (int === 3) {
  428. this.appBeforeAddress(v);
  429. }
  430. if (int === 4) {
  431. this.$navTo.togo(
  432. `/pages2/learn/details?goodsId=${v.goodsId}&gradeId=${v.gradeId}&orderGoodsId=${v.orderGoodsId}`
  433. );
  434. }
  435. // if (int === 5) {
  436. // this.$navTo.togo(
  437. // `/pages2/wd/course?id=${v.goodsId}&gid=${v.gradeId}&orderGoodsId=${v.orderGoodsId}`
  438. // );
  439. // }
  440. },
  441. getUserCertificateList() {
  442. this.loading = true;
  443. this.$api
  444. .getUserCertificateList(this.param)
  445. .then((res) => {
  446. this.loading = false;
  447. if (res.data.code === 200) {
  448. this.listData = [...this.listData, ...res.data.rows];
  449. this.total = res.data.total;
  450. }
  451. })
  452. .catch((err) => {
  453. this.loading = false;
  454. });
  455. },
  456. getcourseperiodlistGoods() {
  457. this.loading = true;
  458. this.$api
  459. .getcourseperiodlistGoods(this.param)
  460. .then((res) => {
  461. this.loading = false;
  462. if (res.data.code === 200) {
  463. this.listData = [...this.listData, ...res.data.rows];
  464. this.total = res.data.total;
  465. }
  466. })
  467. .catch((err) => {
  468. this.loading = false;
  469. });
  470. },
  471. appBeforeAddress(v) {
  472. this.$api
  473. .appBeforeAddress({
  474. goodsId: v.goodsId,
  475. orderGoodsId: v.orderGoodsId,
  476. })
  477. .then((res) => {
  478. if (res.data.code == 200) {
  479. uni.navigateToMiniProgram({
  480. appId: res.data.data.url,
  481. success(res) {
  482. // 打开成功
  483. },
  484. });
  485. } else {
  486. uni.showToast({
  487. title: res.data.msg,
  488. icon: "none",
  489. });
  490. }
  491. });
  492. },
  493. change(index) {
  494. if (this.loading) {
  495. return;
  496. }
  497. this.current = index;
  498. this.listData = [];
  499. this.total = 0;
  500. this.param = {
  501. pageNum: 1,
  502. pageSize: 10,
  503. orderGoodsId: this.orderGoodsId,
  504. };
  505. if (this.current == 1) {
  506. this.getcourseperiodlistGoods();
  507. } else if (this.current == 0) {
  508. this.getUserCertificateList();
  509. }
  510. },
  511. showPhoto(item) {
  512. // 预览图片
  513. uni.previewImage({
  514. urls: [this.$method.splitImgHost(item.certificatePath, true, 1000)],
  515. longPressActions: {
  516. itemList: ["发送给朋友", "保存图片", "收藏"],
  517. success: function (data) {
  518. console.log(
  519. "选中了第" +
  520. (data.tapIndex + 1) +
  521. "个按钮,第" +
  522. (data.index + 1) +
  523. "张图片"
  524. );
  525. },
  526. fail: function (err) {
  527. console.log(err.errMsg);
  528. },
  529. },
  530. });
  531. },
  532. saveEwm(item) {
  533. // #ifdef H5
  534. window.location.href = this.$method.splitImgHost(
  535. item.certificatePath,
  536. true,
  537. 1000
  538. );
  539. // #endif
  540. // #ifdef MP-WEIXIN
  541. //获取相册授权
  542. uni.getSetting({
  543. success: (res) => {
  544. if (!res.authSetting["scope.writePhotosAlbum"]) {
  545. uni.authorize({
  546. scope: "scope.writePhotosAlbum",
  547. success() {
  548. //这里是用户同意授权后的回调
  549. this.saveImgToLocal(item);
  550. },
  551. fail() {
  552. //这里是用户拒绝授权后的回调
  553. },
  554. });
  555. } else {
  556. //用户已经授权过了
  557. this.saveImgToLocal(item);
  558. }
  559. },
  560. });
  561. // #endif
  562. },
  563. saveImgToLocal(item) {
  564. uni.showModal({
  565. title: "提示",
  566. content: "确定保存到相册吗",
  567. success: (res) => {
  568. if (res.confirm) {
  569. uni.downloadFile({
  570. url: this.$method.splitImgHost(item.certificatePath, true, 1000), //图片地址
  571. success: (res) => {
  572. if (res.statusCode === 200) {
  573. uni.saveImageToPhotosAlbum({
  574. filePath: res.tempFilePath,
  575. success: function () {
  576. uni.showToast({
  577. title: "保存成功",
  578. icon: "none",
  579. });
  580. },
  581. fail: function () {
  582. uni.showToast({
  583. title: "保存失败",
  584. icon: "none",
  585. });
  586. },
  587. });
  588. }
  589. },
  590. });
  591. } else if (res.cancel) {
  592. }
  593. },
  594. });
  595. },
  596. downloadCard(item) {
  597. console.log(this.$method.splitImgHost(item.certificatePath, true));
  598. uni.downloadFile({
  599. url: this.$method.splitImgHost(item.certificatePath, true),
  600. success: function (res) {
  601. console.log(res, "res");
  602. var filePath = res.tempFilePath;
  603. uni.openDocument({
  604. filePath: filePath,
  605. showMenu: true,
  606. success: function (res) {
  607. console.log(res, "打开文档成功");
  608. },
  609. fail: function (err) {
  610. console.log(err);
  611. },
  612. });
  613. },
  614. });
  615. },
  616. },
  617. computed: { ...mapGetters(["userInfo"]) },
  618. };
  619. </script>
  620. <style>
  621. page {
  622. background: #eaeef1;
  623. }
  624. </style>
  625. <style scoped lang="scss">
  626. .copySty {
  627. color: #007aff;
  628. text-decoration: underline;
  629. }
  630. .color666 {
  631. color: #666;
  632. }
  633. .learnWrap {
  634. padding: 98rpx 8rpx 8rpx;
  635. }
  636. .noData {
  637. font-size: 32rpx;
  638. font-family: PingFang SC;
  639. font-weight: 500;
  640. color: #999999;
  641. margin: 160rpx auto;
  642. text-align: center;
  643. }
  644. .learnItem {
  645. position: relative;
  646. background: #ffffff;
  647. border-radius: 16rpx;
  648. padding: 32rpx 32rpx 0;
  649. font-family: PingFang SC;
  650. margin-bottom: 16rpx;
  651. overflow: hidden;
  652. &.card {
  653. &::before {
  654. content: "";
  655. width: 20rpx;
  656. height: 20rpx;
  657. position: absolute;
  658. background: #eaeef1;
  659. left: -10rpx;
  660. bottom: 80rpx;
  661. border-radius: 50%;
  662. }
  663. &::after {
  664. content: "";
  665. width: 20rpx;
  666. height: 20rpx;
  667. position: absolute;
  668. background: #eaeef1;
  669. right: -10rpx;
  670. bottom: 80rpx;
  671. border-radius: 50%;
  672. }
  673. }
  674. .red {
  675. color: #ff3b30 !important;
  676. }
  677. .blue {
  678. color: #007aff !important;
  679. }
  680. .green {
  681. color: #34c759 !important;
  682. }
  683. .title {
  684. font-size: 30rpx;
  685. font-weight: bold;
  686. color: #333333;
  687. margin-bottom: 68rpx;
  688. }
  689. .status {
  690. font-size: 24rpx;
  691. font-weight: 500;
  692. color: #666666;
  693. margin-bottom: 26rpx;
  694. display: flex;
  695. }
  696. .number {
  697. font-size: 24rpx;
  698. font-weight: 500;
  699. color: #666666;
  700. margin-bottom: 26rpx;
  701. font-size: 30rpx;
  702. font-weight: bold;
  703. font-family: PingFang SC;
  704. color: #333;
  705. .label {
  706. font-size: 24rpx;
  707. font-weight: 500;
  708. color: #666666;
  709. }
  710. }
  711. .val {
  712. font-size: 30rpx;
  713. font-weight: bold;
  714. color: #333;
  715. .remark {
  716. font-size: 24rpx;
  717. font-family: PingFang SC;
  718. font-weight: 500;
  719. color: #666666;
  720. }
  721. .link {
  722. font-size: 30rpx;
  723. font-family: PingFang SC;
  724. font-weight: 500;
  725. text-decoration: underline;
  726. color: #007aff;
  727. margin-top: 36rpx;
  728. text-decoration: underline;
  729. }
  730. }
  731. .tip {
  732. font-size: 24rpx;
  733. font-weight: 500;
  734. color: #666666;
  735. margin: 30rpx 0 27rpx;
  736. display: flex;
  737. }
  738. .label {
  739. width: 120rpx;
  740. flex-shrink: 0;
  741. margin-top: 5rpx;
  742. }
  743. .subTitle {
  744. font-size: 30rpx;
  745. font-weight: bold;
  746. color: #333333;
  747. margin: 15rpx 0 40rpx;
  748. }
  749. .btnBox {
  750. height: 88rpx;
  751. display: flex;
  752. align-items: center;
  753. justify-content: flex-end;
  754. .btn {
  755. width: 224rpx;
  756. height: 56rpx;
  757. line-height: 56rpx;
  758. text-align: center;
  759. background: #007aff;
  760. border-radius: 16rpx;
  761. font-size: 30rpx;
  762. font-family: PingFang SC;
  763. font-weight: 500;
  764. color: #ffffff;
  765. margin-left: 16rpx;
  766. }
  767. }
  768. }
  769. </style>