resetPayListSchool.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. <!-- -->
  2. <template>
  3. <div class="m-core">
  4. <el-form :inline="true" :model="searchForm">
  5. <el-form-item>
  6. <el-select
  7. placeholder="缴费类型"
  8. v-model="searchForm.paymentType"
  9. clearable
  10. filterable
  11. >
  12. <el-option
  13. v-for="(item, index) in payOrderTypeList"
  14. :label="item.label"
  15. :value="item.value"
  16. :key="index"
  17. ></el-option>
  18. </el-select>
  19. </el-form-item>
  20. <el-form-item>
  21. <el-button type="danger" @click="getList">搜索</el-button>
  22. <!-- <el-button @click="onReSet" type="primary">重置</el-button> -->
  23. </el-form-item>
  24. </el-form>
  25. <div class="topWrap">
  26. <!-- <div class="newBand"
  27. @click="newPay"
  28. v-permission="'musicGroupPaymentCalender/add'">新建缴费</div> -->
  29. <!-- <div class="newBand"
  30. @click="newUserPay"
  31. v-permission="'musicGroupPaymentCalender/add'">新建学员缴费</div> -->
  32. <div class="newBand"
  33. @click="newSchoolPay"
  34. v-permission="'musicGroupPaymentCalender/add'">新建学校缴费</div>
  35. <div class="newBand"
  36. v-permission="'/studentPayBase'"
  37. @click="setStudentPay">学员缴费设置</div>
  38. <!-- <div class="newBand"
  39. v-if="!isNewGropu"
  40. @click="onCreateQRCode">续费二维码</div> -->
  41. </div>
  42. <div class="tableWrap">
  43. <el-table
  44. style="width: 100%"
  45. :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
  46. :data="tableList"
  47. >
  48. <el-table-column
  49. align="center"
  50. prop="expectNum"
  51. width="120"
  52. label="预计缴费人数"
  53. ></el-table-column>
  54. <el-table-column align="center" prop="paymentPattern" label="缴费方式">
  55. <template slot-scope="scope">
  56. <div>
  57. {{ scope.row.paymentPattern | teamPayStatus }}
  58. </div>
  59. </template>
  60. </el-table-column>
  61. <el-table-column
  62. align="center"
  63. prop="paymentValidStartDate"
  64. width="150"
  65. label="缴费有效期开始日期"
  66. >
  67. <template slot-scope="scope">
  68. <div>
  69. {{ scope.row.paymentValidStartDate | formatTimer }}
  70. </div>
  71. </template>
  72. </el-table-column>
  73. <el-table-column
  74. align="center"
  75. prop="paymentValidEndDate"
  76. width="150"
  77. label="缴费有效期结束日期"
  78. >
  79. <template slot-scope="scope">
  80. <div>
  81. {{ scope.row.paymentValidEndDate | formatTimer }}
  82. </div>
  83. </template>
  84. </el-table-column>
  85. <el-table-column
  86. align="center"
  87. prop="actualNum"
  88. width="120"
  89. label="实际缴费人数"
  90. ></el-table-column>
  91. <el-table-column align="center" prop="status" label="缴费状态">
  92. <template slot-scope="scope">
  93. <div>
  94. {{ scope.row.status | payTypeStatus }}
  95. </div>
  96. </template>
  97. </el-table-column>
  98. <el-table-column
  99. align="center"
  100. prop="isGiveMusicNetwork"
  101. width="120"
  102. label="是否赠送网管课"
  103. >
  104. <template slot-scope="scope">
  105. <div>
  106. {{ scope.row.isGiveMusicNetwork ? "是" : "否" }}
  107. </div>
  108. </template>
  109. </el-table-column>
  110. <el-table-column align="center"
  111. prop="memo"
  112. label="备注"></el-table-column>
  113. <el-table-column label="操作" fixed="right" min-width="150px">
  114. <template slot-scope="scope">
  115. <div>
  116. <el-button type="text"
  117. @click="lookDetail(scope.row)"
  118. v-permission="'musicGroupPaymentCalender/auditListDetail'">查看</el-button>
  119. <el-button type="text"
  120. v-if="scope.row.status == 'REJECT'"
  121. v-permission="'musicGroupPaymentCalender/update'"
  122. @click="resetPay(scope.row)">修改</el-button>
  123. <!-- <el-button type="text" v-if="!isNewGropu" @click="onCreateQRCode(scope.row)">续费二维码</el-button> -->
  124. </div>
  125. </template>
  126. </el-table-column>
  127. </el-table>
  128. <pagination
  129. :total="rules.total"
  130. :page.sync="rules.page"
  131. :limit.sync="rules.limit"
  132. :page-sizes="rules.page_size"
  133. @pagination="getList"
  134. />
  135. </div>
  136. <el-dialog
  137. :visible.sync="payVisible"
  138. :close-on-click-modal="false"
  139. width="500px"
  140. :title="diTitle"
  141. >
  142. <el-form
  143. :model="payForm"
  144. :inline="true"
  145. label-width="120px"
  146. label-position="right"
  147. ref="payForm"
  148. >
  149. <el-form-item
  150. label="缴费开始日期"
  151. :rules="[
  152. { required: true, message: '请设置缴费开始日期', trigger: 'blur' },
  153. ]"
  154. prop="startPaymentDate"
  155. >
  156. <el-date-picker
  157. v-model.trim="payForm.startPaymentDate"
  158. @change="changeStartTime"
  159. type="date"
  160. :picker-options="pickerOptions"
  161. value-format="yyyy-MM-dd"
  162. placeholder="开始日期"
  163. ></el-date-picker>
  164. </el-form-item>
  165. <el-form-item
  166. label="缴费结束日期"
  167. :rules="[
  168. { required: true, message: '请设置缴费结束日期', trigger: 'blur' },
  169. ]"
  170. prop="deadlinePaymentDate"
  171. >
  172. <el-date-picker
  173. v-model.trim="payForm.deadlinePaymentDate"
  174. type="date"
  175. :picker-options="beginDate(payForm.startPaymentDate)"
  176. value-format="yyyy-MM-dd"
  177. placeholder="结束日期"
  178. ></el-date-picker>
  179. </el-form-item>
  180. <el-form-item
  181. label="缴费方式"
  182. prop="paymentPattern"
  183. :rules="[{ required: true, message: '请选择缴费方式' }]"
  184. >
  185. <el-select
  186. placeholder="缴费方式"
  187. style="width: 220px"
  188. clearable
  189. filterable
  190. @change="paymentPatternChange"
  191. v-model.trim="payForm.paymentPattern"
  192. >
  193. <el-option :value="0" label="按月"></el-option>
  194. <el-option :value="1" label="按季"></el-option>
  195. <el-option :value="2" label="一次性"></el-option>
  196. </el-select>
  197. </el-form-item>
  198. <el-form-item
  199. label="缴费有效期开始"
  200. :rules="[
  201. {
  202. required: true,
  203. message: '请设置缴费有效期开始日期',
  204. trigger: 'blur',
  205. },
  206. ]"
  207. prop="paymentValidStartDate"
  208. >
  209. <el-date-picker
  210. v-model.trim="payForm.paymentValidStartDate"
  211. type="date"
  212. @change="changePaymentStartTime"
  213. :picker-options="pickerOptions"
  214. value-format="yyyy-MM-dd"
  215. placeholder="有效期开始日期"
  216. ></el-date-picker>
  217. </el-form-item>
  218. <el-form-item
  219. label="缴费有效期结束"
  220. :rules="[
  221. {
  222. required: payForm.paymentPattern !== 2,
  223. message: '请设置缴费有效期结束日期',
  224. trigger: 'blur',
  225. },
  226. ]"
  227. prop="paymentValidEndDate"
  228. >
  229. <el-date-picker
  230. v-model.trim="payForm.paymentValidEndDate"
  231. type="date"
  232. :disabled="payForm.paymentPattern === 2"
  233. :picker-options="beginDate(payForm.paymentValidStartDate)"
  234. value-format="yyyy-MM-dd"
  235. placeholder="有效期结束日期"
  236. ></el-date-picker>
  237. </el-form-item>
  238. <el-form-item
  239. label="收费类型"
  240. v-if="isNew"
  241. :rules="[
  242. { required: true, message: '请选择收费类型', trigger: 'blur' },
  243. ]"
  244. prop="type"
  245. >
  246. <el-select
  247. v-model.trim="payForm.type"
  248. style="width: 220px !important"
  249. placeholder="课程类型"
  250. >
  251. <el-option label="线上" value="ONLINE"></el-option>
  252. <el-option label="线下" value="OFFLINE"></el-option>
  253. </el-select>
  254. </el-form-item>
  255. <el-form-item
  256. label="备注"
  257. v-if="isNew"
  258. :rules="[{ required: true, message: '请填写备注', trigger: 'blur' }]"
  259. prop="memo"
  260. >
  261. <el-input
  262. type="textarea"
  263. style="width: 220px !important"
  264. :rows="4"
  265. placeholder="请填写备注"
  266. v-model="payForm.memo"
  267. ></el-input>
  268. </el-form-item>
  269. </el-form>
  270. <div slot="footer" class="dialog-footer">
  271. <el-button @click="payVisible = false">取 消</el-button>
  272. <el-button type="primary" v-if="isNew" @click="newPayInfo"
  273. >确 定</el-button
  274. >
  275. <el-button type="primary" v-else @click="resetPayDate">确 定</el-button>
  276. </div>
  277. </el-dialog>
  278. <el-dialog
  279. title="查看"
  280. :visible.sync="reviewVisible"
  281. width="900px"
  282. destroy-on-close
  283. >
  284. <reviewDetail
  285. @close="reviewVisible = false"
  286. @submited="getList"
  287. :detail="viewDetail"
  288. :musicGroupId="$route.query.id"
  289. destroy-on-close
  290. />
  291. <div slot="footer" class="dialog-footer">
  292. <el-button type="primary" @click="reviewVisible = false"
  293. >关闭</el-button
  294. >
  295. </div>
  296. </el-dialog>
  297. <el-dialog
  298. :title="payFormTitle"
  299. :visible.sync="userVisible"
  300. width="800px"
  301. >
  302. <userPayForm
  303. v-if="userVisible"
  304. @close="userVisible = false"
  305. @submited="payedSubmited"
  306. @changeActive="$listeners.changeActive"
  307. :organizationCourseUnitPriceSettings="organizationCourseUnitPriceSettings"
  308. :rowDetail='activeRow'
  309. :type="payFormType"
  310. :baseInfo="baseInfo"
  311. :paymentType="isNewGropu ? 0 : undefined"
  312. :musicGroupId="$route.query.id"
  313. />
  314. </el-dialog>
  315. <el-dialog title="学员选择"
  316. :visible.sync="chioseStudentVisible"
  317. destroy-on-close
  318. append-to-body
  319. width='800px'>
  320. <setStudentFee @chioseStudent='chioseStudent'
  321. ref='setStudentFee'
  322. @submited="chioseStudentSubmited"
  323. :clearTale="clearStduent"></setStudentFee>
  324. <div slot="footer"
  325. class="dialog-footer">
  326. <el-button @click="chioseStudentVisible = false">取 消</el-button>
  327. <el-button type="primary" @click="submitNewPay">确 定</el-button>
  328. </div>
  329. </el-dialog>
  330. <qr-code v-model="qrcodeStatus" title="续费二维码" :codeUrl="codeUrl" />
  331. </div>
  332. </template>
  333. <script>
  334. import axios from "axios";
  335. import { getToken } from "@/utils/auth";
  336. import pagination from "@/components/Pagination/index";
  337. import load from "@/utils/loading";
  338. import qs from "qs";
  339. import dayjs from 'dayjs'
  340. import QrCode from "@/components/QrCode/index";
  341. import { vaildStudentUrl } from '@/utils/validate'
  342. import { addMusicGroupPaymentCalender, getMusicGroupPaymentCalender, resetMusicGroupPaymentCalender, delMusicGroupPaymentCalender } from "@/api/buildTeam";
  343. import {
  344. getOrganizationCourseUnitPriceSettings
  345. } from '@/api/specialSetting'
  346. import { musicGroupPaymentCalenderQueryPage, getMusicGroupStu, musicGroupPaymentCalenderDetailBatchAdd } from '../api'
  347. import setStudentFee from './studentPayBase'
  348. import userPayForm from '../modals/user-pay-form'
  349. import schoolPayForm from '../modals/school-pay-form'
  350. import review from '../modals/review'
  351. import reviewDetail from '../modals/review-detail'
  352. import { userPaymentType } from '@/constant'
  353. import { objectToOptions } from '@/utils'
  354. import { payOrderTypeList} from "@/utils/searchArray";
  355. export default {
  356. props: ["baseInfo", "isNewGropu"],
  357. components: {
  358. pagination,
  359. setStudentFee,
  360. userPayForm,
  361. schoolPayForm,
  362. QrCode,
  363. review,
  364. reviewDetail,
  365. },
  366. data() {
  367. return {
  368. musicGroupStu: [],
  369. payFormType: "user",
  370. userVisible: false,
  371. schoolVisible: false,
  372. reviewVisible: false,
  373. organizationCourseUnitPriceSettings: [],
  374. searchForm: {
  375. paymentType: null,
  376. },
  377. viewDetail: null,
  378. tableList: [],
  379. rules: {
  380. // 分页规则
  381. limit: 10, // 限制显示条数
  382. page: 1, // 当前页
  383. total: 0, // 总条数
  384. page_size: [10, 20, 40, 50], // 选择限制显示条数
  385. },
  386. isInit: false,
  387. diTitle: "新增缴费",
  388. payVisible: false,
  389. payForm: {
  390. startPaymentDate: null,
  391. deadlinePaymentDate: null,
  392. paymentPattern: null,
  393. paymentValidStartDate: null,
  394. paymentValidEndDate: null,
  395. type: null,
  396. memo: null,
  397. },
  398. isNew: false,
  399. activeRow: null,
  400. pickerOptions: {
  401. firstDayOfWeek: 1,
  402. disabledDate(time) {
  403. return time.getTime() + 86400000 <= new Date().getTime();
  404. },
  405. },
  406. qrcodeStatus: false, // 生成二维码
  407. codeUrl: null,
  408. chioseStudentVisible: false,
  409. chioseStudentList: [],
  410. clearStduent: true,
  411. musicGroupPaymentCalenderId: "",
  412. payOrderTypeLists: payOrderTypeList,
  413. };
  414. },
  415. //生命周期 - 创建完成(可以访问当前this实例)
  416. created() {},
  417. //生命周期 - 挂载完成(可以访问DOM元素)
  418. async mounted() {
  419. // 获取分部
  420. try {
  421. const res = await getOrganizationCourseUnitPriceSettings({
  422. rows: 9999
  423. })
  424. this.organizationCourseUnitPriceSettings = res.data.rows
  425. } catch (error) {}
  426. this.init();
  427. },
  428. computed: {
  429. payOrderTypeList() {
  430. return objectToOptions(userPaymentType);
  431. },
  432. payFormTitle() {
  433. if (this.isNew) {
  434. return this.payFormType === "user" ? "新增学员缴费" : "新增学校缴费";
  435. } else {
  436. return this.payFormType === "user" ? "修改学员缴费" : "修改学校缴费";
  437. }
  438. },
  439. },
  440. activated() {
  441. this.init();
  442. },
  443. methods: {
  444. async init() {
  445. try {
  446. const res = await getMusicGroupStu({
  447. musicGroupId: this.$route.query.id,
  448. });
  449. } catch (error) {}
  450. this.getList();
  451. },
  452. newUserPay() {
  453. this.payFormType = "user";
  454. this.isNew = true;
  455. this.activeRow = null
  456. this.userVisible = true;
  457. },
  458. newSchoolPay() {
  459. this.payFormType = "school";
  460. this.isNew = true;
  461. this.activeRow = null
  462. this.userVisible = true;
  463. },
  464. getList () {
  465. let musicGroupId = this.$route.query.id
  466. return musicGroupPaymentCalenderQueryPage({
  467. page: this.rules.page,
  468. rows: this.rules.limit,
  469. musicGroupId,
  470. payUserType: 'SCHOOL',
  471. paymentType: this.searchForm.paymentType,
  472. }).then(res => {
  473. if (res.code == 200) {
  474. this.rules.total = res.data.total;
  475. this.tableList = res.data.rows;
  476. }
  477. });
  478. },
  479. paymentPatternChange(val) {
  480. if (val === 2) {
  481. this.payForm.paymentValidEndDate = null;
  482. }
  483. },
  484. onCreateQRCode (row) { // 生成报名二维码
  485. this.qrcodeStatus = true
  486. this.codeUrl = vaildStudentUrl() + '/#/musicGroupRenew?calenderId=' + row.id
  487. },
  488. chioseStudent(val) {
  489. this.chioseStudentList = val;
  490. },
  491. newPay() {
  492. this.diTitle = "新增缴费";
  493. this.isNew = true;
  494. this.payVisible = true;
  495. },
  496. resetPay(row) {
  497. this.diTitle = "修改缴费";
  498. this.isNew = false;
  499. this.activeRow = row;
  500. this.payFormType = row.payUserType==='SCHOOL'?'school':'user'
  501. this.userVisible = true;
  502. },
  503. async chioseStudentSubmited() {
  504. try {
  505. await this.$confirm('缴费创建完成, 是否立即排课?', '提示', {
  506. confirmButtonText: '确定',
  507. cancelButtonText: '取消',
  508. type: 'warning'
  509. })
  510. if (this.$listeners.changeActive) {
  511. this.$listeners.changeActive({
  512. name: '5'
  513. })
  514. }
  515. } catch (error) {}
  516. },
  517. detelePay(row) {
  518. let id = row.id;
  519. this.$confirm(`确定删除该缴费周期?`, "提示", {
  520. confirmButtonText: "确定",
  521. cancelButtonText: "取消",
  522. type: "warning",
  523. })
  524. .then(() => {
  525. delMusicGroupPaymentCalender({ id }).then((res) => {
  526. if (res.code == 200) {
  527. this.$message.success("删除成功");
  528. this.getList();
  529. }
  530. });
  531. })
  532. .catch(() => {});
  533. },
  534. lookDetail(row) {
  535. let query = this.$route.query;
  536. this.$route.query.paymentId = row.id;
  537. this.viewDetail = row;
  538. if (row.payUserType === "SCHOOL") {
  539. this.reviewVisible = true;
  540. } else {
  541. this.$router.push({ path: "/business/strudentPayInfo", query });
  542. }
  543. },
  544. setStudentPay() {
  545. let query = this.$route.query;
  546. this.$router.push({ path: "/business/studentPayBase", query });
  547. },
  548. newPayInfo() {
  549. this.$refs["payForm"].validate((res) => {
  550. if (res) {
  551. /**
  552. * payForm: {
  553. startPaymentDate: null,
  554. deadlinePaymentDate: null,
  555. type: null,
  556. memo: null
  557. },
  558. *
  559. */
  560. this.chioseStudentVisible = true;
  561. return;
  562. }
  563. });
  564. },
  565. submitNewPay() {
  566. if (this.chioseStudentList.length < 1) {
  567. this.$message.error("请至少选择一名学员");
  568. return;
  569. }
  570. let obj = {};
  571. obj.userIdList = this.chioseStudentList.map((stu) => {
  572. return stu.userId;
  573. });
  574. obj.musicGroupPaymentCalenderId = this.musicGroupPaymentCalenderId;
  575. musicGroupPaymentCalenderDetailBatchAdd(obj).then((res) => {
  576. if (res.code == 200) {
  577. this.$message.success("添加成功");
  578. this.$refs.setStudentFee.clearTable();
  579. this.payVisible = false;
  580. this.chioseStudentVisible = false;
  581. this.getList();
  582. }
  583. });
  584. },
  585. resetPayDate() {
  586. resetMusicGroupPaymentCalender({
  587. id: this.activeRow.id,
  588. startPaymentDate: this.payForm.startPaymentDate,
  589. deadlinePaymentDate: this.payForm.deadlinePaymentDate,
  590. paymentValidStartDate: this.payForm.paymentValidStartDate
  591. ? dayjs(this.payForm.paymentValidStartDate).format("YYYY-MM-DD")
  592. : this.payForm.paymentValidStartDate,
  593. paymentValidEndDate: this.payForm.paymentValidEndDate
  594. ? dayjs(this.payForm.paymentValidEndDate).format("YYYY-MM-DD")
  595. : this.payForm.paymentValidEndDate,
  596. paymentPattern: this.payForm.paymentPattern,
  597. }).then((res) => {
  598. if (res.code == 200) {
  599. this.$message.success("修改成功");
  600. this.payVisible = false;
  601. this.getList();
  602. }
  603. });
  604. },
  605. changeStartTime(val) {
  606. this.payForm.deadlinePaymentDate = this.dateAddDays(val, 3);
  607. },
  608. changePaymentStartTime(val) {
  609. this.payForm.paymentValidEndDate = null;
  610. },
  611. dateAddDays(dataStr, dayCount) {
  612. let strdate = dataStr; //日期字符串
  613. let isdate = new Date(strdate.replace(/-/g, "/")); //把日期字符串转换成日期格式
  614. isdate = new Date((isdate / 1000 + 86400 * dayCount) * 1000); //日期加1天
  615. let pdate =
  616. isdate.getFullYear() +
  617. "-" +
  618. (isdate.getMonth() + 1) +
  619. "-" +
  620. isdate.getDate(); //把日期格式转换成字符串
  621. return pdate;
  622. },
  623. beginDate(end) {
  624. return {
  625. firstDayOfWeek: 1,
  626. disabledDate(time) {
  627. if (end) {
  628. return new Date(end).getTime() - 86400000 >= time.getTime();
  629. } else {
  630. return time.getTime() + 86400000 < Date.now();
  631. //开始时间不选时,结束时间最大值小于等于当天
  632. }
  633. },
  634. };
  635. },
  636. search() {
  637. this.rules.page = 1;
  638. this.getList();
  639. },
  640. onReSet() {
  641. this.searchForm = { payUserType: null };
  642. },
  643. async payedSubmited(data) {
  644. try {
  645. await this.getList();
  646. if (!this.isNewGropu) {
  647. this.chioseStudentVisible = true;
  648. if (data) {
  649. this.musicGroupPaymentCalenderId = data.musicGroupPaymentCalenderId;
  650. }
  651. }
  652. } catch (error) {}
  653. },
  654. },
  655. watch: {
  656. chioseStudentVisible() {
  657. this.chioseStudentList = [];
  658. },
  659. payVisible (val) {
  660. if (!val) {
  661. this.payForm = {
  662. startPaymentDate: null,
  663. paymentPattern: null,
  664. paymentValidStartDate: null,
  665. paymentValidEndDate: null,
  666. type: null,
  667. memo: null,
  668. deadlinePaymentDate: null,
  669. };
  670. this.$refs["payForm"].resetFields();
  671. }
  672. },
  673. },
  674. };
  675. </script>
  676. <style lang='scss' scoped>
  677. .topWrap {
  678. display: flex;
  679. flex-direction: row;
  680. justify-content: flex-start;
  681. div {
  682. margin-right: 10px;
  683. }
  684. }
  685. .left-code,
  686. .right-code {
  687. // width: 50%;
  688. // float: left;
  689. h2 {
  690. font-size: 18px;
  691. text-align: center;
  692. padding-bottom: 8px;
  693. }
  694. .qrcode {
  695. display: flex;
  696. flex-direction: column;
  697. align-items: center;
  698. img {
  699. width: 200px;
  700. height: 200px;
  701. margin: 0 auto;
  702. }
  703. }
  704. .code-url {
  705. font-size: 18px;
  706. text-align: center;
  707. padding: 15px 15px 0 15px;
  708. }
  709. }
  710. </style>