index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. <template>
  2. <div class="index-container">
  3. <el-row :gutter="20">
  4. <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
  5. <el-alert
  6. v-if="noticeList[0]"
  7. :title="noticeList[0].title"
  8. :closable="noticeList[0].closable"
  9. >
  10. <a
  11. target="_blank"
  12. href="https://github.com/chuzhixin/vue-admin-beautiful"
  13. >
  14. <img
  15. style="height: 100%; margin-right: 10px"
  16. src="https://img.shields.io/github/stars/chuzhixin/vue-admin-beautiful?style=flat-square&label=Stars&logo=github"
  17. />
  18. <img
  19. style="height: 100%; margin-right: 10px"
  20. src=" https://img.shields.io/badge/Visitors-79.3k/month-blue?style=flat-square&logo=Visual Studio Code"
  21. />
  22. <img
  23. style="height: 100%; margin-right: 10px"
  24. src="https://img.shields.io/github/last-commit/chuzhixin/vue-admin-beautiful?style=flat-square&label=Last Commit&logo=vue.js"
  25. />
  26. </a>
  27. </el-alert>
  28. </el-col>
  29. <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
  30. <el-card shadow="never">
  31. <center>广告位招商</center>
  32. </el-card>
  33. </el-col>
  34. <el-col :xs="24" :sm="24" :md="12" :lg="6" :xl="6">
  35. <el-card shadow="never">
  36. <div slot="header">
  37. <span>访问量</span>
  38. </div>
  39. <vab-chart
  40. :autoresize="true"
  41. theme="vab-echarts-theme"
  42. :options="fwl"
  43. />
  44. <div class="bottom">
  45. <span>
  46. 日均访问量:
  47. <vab-count
  48. :start-val="config1.startVal"
  49. :end-val="config1.endVal"
  50. :duration="config1.duration"
  51. :separator="config1.separator"
  52. :prefix="config1.prefix"
  53. :suffix="config1.suffix"
  54. :decimals="config1.decimals"
  55. />
  56. </span>
  57. </div>
  58. </el-card>
  59. </el-col>
  60. <el-col :xs="24" :sm="24" :md="12" :lg="6" :xl="6">
  61. <el-card shadow="never">
  62. <div slot="header">
  63. <span>授权数</span>
  64. </div>
  65. <vab-chart
  66. :autoresize="true"
  67. theme="vab-echarts-theme"
  68. :options="sqs"
  69. />
  70. <div class="bottom">
  71. <span>
  72. 总授权数:
  73. <vab-count
  74. :start-val="config2.startVal"
  75. :end-val="config2.endVal"
  76. :duration="config2.duration"
  77. :separator="config2.separator"
  78. :prefix="config2.prefix"
  79. :suffix="config2.suffix"
  80. :decimals="config2.decimals"
  81. />
  82. </span>
  83. </div>
  84. </el-card>
  85. </el-col>
  86. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  87. <el-card shadow="never">
  88. <div slot="header">
  89. <span>词云</span>
  90. </div>
  91. <vab-chart
  92. :autoresize="true"
  93. theme="vab-echarts-theme"
  94. :options="cy"
  95. @zr:click="handleZrClick"
  96. @click="handleClick"
  97. />
  98. <div class="bottom">
  99. <span>
  100. 词云数量:
  101. <vab-count
  102. :start-val="config3.startVal"
  103. :end-val="config3.endVal"
  104. :duration="config3.duration"
  105. :separator="config3.separator"
  106. :prefix="config3.prefix"
  107. :suffix="config3.suffix"
  108. :decimals="config3.decimals"
  109. />
  110. </span>
  111. </div>
  112. </el-card>
  113. </el-col>
  114. <el-col :xs="24" :sm="24" :md="24" :lg="13" :xl="13">
  115. <el-card class="card" shadow="never">
  116. <div slot="header">
  117. <span>GDP分布图</span>
  118. </div>
  119. <vab-chart
  120. :autoresize="true"
  121. theme="vab-echarts-theme"
  122. :options="zgdt"
  123. />
  124. </el-card>
  125. </el-col>
  126. <el-col :xs="24" :sm="24" :md="24" :lg="11" :xl="11">
  127. <el-card class="card" shadow="never">
  128. <div slot="header">
  129. <span>更新日志</span>
  130. <div style="float: right">部署时间:{{ updateTime }}</div>
  131. </div>
  132. <div class="bottom-btn">
  133. <el-popover placement="top" width="250" trigger="hover">
  134. <p>
  135. 这是一个付费群,谢谢您愿意支持开源,加群获取详细文档,群内提供vue-admin-beautiful-template基础模板
  136. </p>
  137. <el-image :src="require('@/assets/ewm.png')"></el-image>
  138. <a slot="reference" target="_blank">
  139. <el-button type="primary">QQ讨论群</el-button>
  140. </a>
  141. </el-popover>
  142. <a @click="handleChangeTheme">
  143. <el-button type="danger">修改主题和布局</el-button>
  144. </a>
  145. <a
  146. target="_blank"
  147. href="https://github.com/chuzhixin/vue-admin-beautiful"
  148. >
  149. <el-button type="warning">
  150. github下载源码点star(实时更新)
  151. </el-button>
  152. </a>
  153. <a
  154. target="_blank"
  155. href="https://gitee.com/chu1204505056/vue-admin-beautiful"
  156. >
  157. <el-button type="warning">码云下载源码点star</el-button>
  158. </a>
  159. <el-popover placement="top" width="250" trigger="hover">
  160. <p>
  161. 谢谢您愿意支持开源,加群获取详细教程,群内提供vue-admin-beautiful-template基础模板
  162. </p>
  163. <el-image :src="require('@/assets/ewm.png')"></el-image>
  164. <a slot="reference" target="_blank">
  165. <el-button type="warning">文档</el-button>
  166. </a>
  167. </el-popover>
  168. </div>
  169. <table class="table">
  170. <tr>
  171. <td>@vue/cli版本</td>
  172. <td>{{ devDependencies["@vue/cli-service"] }}</td>
  173. <td>vue版本</td>
  174. <td>{{ dependencies["vue"] }}</td>
  175. </tr>
  176. <tr>
  177. <td>vuex版本</td>
  178. <td>{{ dependencies["vuex"] }}</td>
  179. <td>vue-router版本</td>
  180. <td>{{ dependencies["vue-router"] }}</td>
  181. </tr>
  182. <tr>
  183. <td>element-ui版本</td>
  184. <td>{{ dependencies["element-ui"] }}</td>
  185. <td>axios版本</td>
  186. <td>{{ dependencies["axios"] }}</td>
  187. </tr>
  188. <tr>
  189. <td>eslint版本</td>
  190. <td>{{ devDependencies["eslint"] }}</td>
  191. <td>prettier版本</td>
  192. <td>{{ devDependencies["prettier"] }}</td>
  193. </tr>
  194. <tr>
  195. <td>sass版本</td>
  196. <td>{{ devDependencies["sass"] }}</td>
  197. <td>mockjs版本</td>
  198. <td>{{ devDependencies["mockjs"] }}</td>
  199. </tr>
  200. <tr>
  201. <td>zx-layouts版本</td>
  202. <td>{{ dependencies["zx-layouts"] }}</td>
  203. <td>lodash版本</td>
  204. <td>{{ dependencies["lodash"] }}</td>
  205. </tr>
  206. </table>
  207. </el-card>
  208. </el-col>
  209. <el-col
  210. v-for="(item, index) in iconList"
  211. :key="index"
  212. :xs="12"
  213. :sm="6"
  214. :md="3"
  215. :lg="3"
  216. :xl="3"
  217. >
  218. <router-link :to="item.link" target="_blank">
  219. <el-card class="icon-panel" shadow="never">
  220. <vab-icon
  221. :style="{ color: item.color }"
  222. :icon="['fas', item.icon]"
  223. ></vab-icon>
  224. <p>{{ item.title }}</p>
  225. </el-card>
  226. </router-link>
  227. </el-col>
  228. <el-col
  229. v-if="nodeEnv !== 'development'"
  230. :xs="24"
  231. :sm="24"
  232. :md="12"
  233. :lg="12"
  234. :xl="12"
  235. >
  236. <el-card class="card" shadow="never">
  237. <div slot="header">
  238. <span>更新日志</span>
  239. </div>
  240. <el-timeline :reverse="reverse">
  241. <el-timeline-item
  242. v-for="(activity, index) in activities"
  243. :key="index"
  244. :timestamp="activity.timestamp"
  245. :color="activity.color"
  246. >
  247. {{ activity.content }}
  248. </el-timeline-item>
  249. </el-timeline>
  250. </el-card>
  251. </el-col>
  252. <el-col
  253. v-if="nodeEnv !== 'development'"
  254. :xs="24"
  255. :sm="24"
  256. :md="12"
  257. :lg="12"
  258. :xl="12"
  259. >
  260. <el-card shadow="never">
  261. <div slot="header">
  262. <span>其他信息</span>
  263. </div>
  264. <div style="text-align: center">
  265. <vab-colorful-icon style="font-size: 140px" icon-class="vab" />
  266. <h1 style="font-size: 30px">vue-admin-beautiful</h1>
  267. </div>
  268. <div v-for="(item, index) in noticeList" :key="index">
  269. <el-alert
  270. v-if="index !== 0"
  271. :title="item.title"
  272. :type="item.type"
  273. :closable="item.closable"
  274. ></el-alert>
  275. <br />
  276. </div>
  277. <el-alert :closable="false" :title="userAgent" type="info"></el-alert>
  278. <br />
  279. </el-card>
  280. <el-card shadow="never">
  281. <div slot="header">
  282. <span>关于开发者</span>
  283. </div>
  284. <img
  285. src="https://github-readme-stats.vercel.app/api?username=chuzhixin"
  286. alt=""
  287. />
  288. </el-card>
  289. </el-col>
  290. </el-row>
  291. </div>
  292. </template>
  293. <script>
  294. import VabChart from "@/plugins/echarts";
  295. import { dependencies, devDependencies } from "../../../package.json";
  296. import { getList } from "@/api/changeLog";
  297. import { getNoticeList } from "@/api/notice";
  298. import { getRepos, getStargazers } from "@/api/github";
  299. export default {
  300. name: "Index",
  301. components: {
  302. VabChart,
  303. },
  304. data() {
  305. return {
  306. timer: 0,
  307. updateTime: process.env.VUE_APP_UPDATE_TIME,
  308. nodeEnv: process.env.NODE_ENV,
  309. dependencies: dependencies,
  310. devDependencies: devDependencies,
  311. config1: {
  312. startVal: 0,
  313. endVal: this.$baseLodash.random(20000, 60000),
  314. decimals: 0,
  315. prefix: "",
  316. suffix: "",
  317. separator: ",",
  318. duration: 8000,
  319. },
  320. config2: {
  321. startVal: 0,
  322. endVal: this.$baseLodash.random(1000, 20000),
  323. decimals: 0,
  324. prefix: "",
  325. suffix: "",
  326. separator: ",",
  327. duration: 8000,
  328. },
  329. config3: {
  330. startVal: 0,
  331. endVal: this.$baseLodash.random(1000, 20000),
  332. decimals: 0,
  333. prefix: "",
  334. suffix: "",
  335. separator: ",",
  336. duration: 8000,
  337. },
  338. //访问量
  339. fwl: {
  340. grid: {
  341. top: "4%",
  342. left: "2%",
  343. right: "4%",
  344. bottom: "0%",
  345. containLabel: true,
  346. },
  347. xAxis: [
  348. {
  349. type: "category",
  350. boundaryGap: false,
  351. data: [],
  352. axisTick: {
  353. alignWithLabel: true,
  354. },
  355. },
  356. ],
  357. yAxis: [
  358. {
  359. type: "value",
  360. },
  361. ],
  362. series: [
  363. {
  364. name: "访问量",
  365. type: "line",
  366. data: [],
  367. smooth: true,
  368. areaStyle: {},
  369. },
  370. ],
  371. },
  372. //授权数
  373. sqs: {
  374. grid: {
  375. top: "4%",
  376. left: "2%",
  377. right: "4%",
  378. bottom: "0%",
  379. containLabel: true,
  380. },
  381. xAxis: [
  382. {
  383. type: "category",
  384. /*boundaryGap: false,*/
  385. data: ["0时", "4时", "8时", "12时", "16时", "20时", "24时"],
  386. axisTick: {
  387. alignWithLabel: true,
  388. },
  389. },
  390. ],
  391. yAxis: [
  392. {
  393. type: "value",
  394. },
  395. ],
  396. series: [
  397. {
  398. name: "授权数",
  399. type: "bar",
  400. barWidth: "60%",
  401. data: [10, 52, 20, 33, 39, 33, 22],
  402. },
  403. ],
  404. },
  405. //词云
  406. cy: {
  407. grid: {
  408. top: "4%",
  409. left: "2%",
  410. right: "4%",
  411. bottom: "0%",
  412. },
  413. series: [
  414. {
  415. type: "wordCloud",
  416. gridSize: 15,
  417. sizeRange: [12, 40],
  418. rotationRange: [0, 0],
  419. width: "100%",
  420. height: "100%",
  421. textStyle: {
  422. normal: {
  423. color() {
  424. const arr = [
  425. "#1890FF",
  426. "#36CBCB",
  427. "#4ECB73",
  428. "#FBD437",
  429. "#F2637B",
  430. "#975FE5",
  431. ];
  432. let index = Math.floor(Math.random() * arr.length);
  433. return arr[index];
  434. },
  435. },
  436. },
  437. data: [
  438. {
  439. name: "vue-admin-beautiful",
  440. value: 15000,
  441. },
  442. {
  443. name: "element",
  444. value: 10081,
  445. },
  446. {
  447. name: "beautiful",
  448. value: 9386,
  449. },
  450. {
  451. name: "vue",
  452. value: 6500,
  453. },
  454. {
  455. name: "chuzhixin",
  456. value: 6000,
  457. },
  458. {
  459. name: "good",
  460. value: 4500,
  461. },
  462. {
  463. name: "success",
  464. value: 3800,
  465. },
  466. {
  467. name: "never",
  468. value: 3000,
  469. },
  470. {
  471. name: "boy",
  472. value: 2500,
  473. },
  474. {
  475. name: "girl",
  476. value: 2300,
  477. },
  478. {
  479. name: "github",
  480. value: 2000,
  481. },
  482. {
  483. name: "hbuilder",
  484. value: 1900,
  485. },
  486. {
  487. name: "dcloud",
  488. value: 1800,
  489. },
  490. {
  491. name: "china",
  492. value: 1700,
  493. },
  494. {
  495. name: "1204505056",
  496. value: 1600,
  497. },
  498. {
  499. name: "972435319",
  500. value: 1500,
  501. },
  502. {
  503. name: "young",
  504. value: 1200,
  505. },
  506. {
  507. name: "old",
  508. value: 1100,
  509. },
  510. {
  511. name: "vuex",
  512. value: 900,
  513. },
  514. {
  515. name: "router",
  516. value: 800,
  517. },
  518. {
  519. name: "money",
  520. value: 700,
  521. },
  522. {
  523. name: "qingdao",
  524. value: 800,
  525. },
  526. {
  527. name: "yantai",
  528. value: 9000,
  529. },
  530. {
  531. name: "author is very cool",
  532. value: 9200,
  533. },
  534. ],
  535. },
  536. ],
  537. },
  538. //中国地图
  539. zgdt: {
  540. title: {
  541. text: "2099年全国GDP分布",
  542. subtext: "数据来自vue-admin-beautiful杜撰",
  543. },
  544. tooltip: {
  545. trigger: "item",
  546. },
  547. dataRange: {
  548. orient: "horizontal",
  549. min: 0,
  550. max: 55000,
  551. text: ["高", "低"],
  552. splitNumber: 0,
  553. },
  554. series: [
  555. {
  556. name: "2099年全国GDP分布",
  557. type: "map",
  558. roam: false,
  559. zoom: 1.25,
  560. mapType: "china",
  561. mapLocation: {
  562. x: "center",
  563. },
  564. selectedMode: "multiple",
  565. itemStyle: {
  566. normal: {
  567. label: {
  568. show: false,
  569. },
  570. },
  571. emphasis: {
  572. label: {
  573. show: true,
  574. },
  575. },
  576. },
  577. data: [
  578. { name: "西藏", value: 605.83 },
  579. { name: "青海", value: 1670.44 },
  580. { name: "宁夏", value: 2102.21 },
  581. { name: "海南", value: 2522.66 },
  582. { name: "甘肃", value: 5020.37 },
  583. { name: "贵州", value: 5701.84 },
  584. { name: "新疆", value: 6610.05 },
  585. { name: "云南", value: 8893.12 },
  586. { name: "重庆", value: 10011.37 },
  587. { name: "吉林", value: 10568.83 },
  588. { name: "山西", value: 11237.55 },
  589. { name: "天津", value: 11307.28 },
  590. { name: "江西", value: 11702.82 },
  591. { name: "广西", value: 11720.87 },
  592. { name: "陕西", value: 12512.3 },
  593. { name: "黑龙江", value: 12582 },
  594. { name: "内蒙古", value: 14359.88 },
  595. { name: "安徽", value: 15300.65 },
  596. { name: "北京", value: 16251.93 },
  597. { name: "福建", value: 17560.18 },
  598. { name: "上海", value: 19195.69 },
  599. { name: "湖北", value: 19632.26 },
  600. { name: "湖南", value: 19669.56 },
  601. { name: "四川", value: 21026.68 },
  602. { name: "辽宁", value: 22226.7 },
  603. { name: "河北", value: 24515.76 },
  604. { name: "河南", value: 26931.03 },
  605. { name: "浙江", value: 32318.85 },
  606. { name: "山东", value: 45361.85, selected: true },
  607. { name: "江苏", value: 49110.27 },
  608. { name: "广东", value: 53210.28 },
  609. ],
  610. },
  611. ],
  612. },
  613. //更新日志
  614. reverse: true,
  615. activities: [],
  616. noticeList: [],
  617. //其他信息
  618. userAgent: navigator.userAgent,
  619. //卡片图标
  620. iconList: [
  621. {
  622. icon: "video",
  623. title: "视频播放器",
  624. link: "/vab/player",
  625. color: "#ffc069",
  626. },
  627. {
  628. icon: "table",
  629. title: "表格",
  630. link: "/vab/table/comprehensiveTable",
  631. color: "#5cdbd3",
  632. },
  633. {
  634. icon: "laptop-code",
  635. title: "源码",
  636. link: "https://github.com/chuzhixin/vue-admin-beautiful",
  637. color: "#b37feb",
  638. },
  639. {
  640. icon: "book",
  641. title: "书籍",
  642. link: "",
  643. color: "#69c0ff",
  644. },
  645. {
  646. icon: "bullhorn",
  647. title: "公告",
  648. link: "",
  649. color: "#ff85c0",
  650. },
  651. {
  652. icon: "gift",
  653. title: "礼物",
  654. link: "",
  655. color: "#ffd666",
  656. },
  657. {
  658. icon: "balance-scale-left",
  659. title: "公平的世界",
  660. link: "",
  661. color: "#ff9c6e",
  662. },
  663. {
  664. icon: "coffee",
  665. title: "休息一下",
  666. link: "",
  667. color: "#95de64",
  668. },
  669. ],
  670. };
  671. },
  672. created() {
  673. this.fetchData();
  674. },
  675. beforeDestroy() {
  676. clearInterval(this.timer);
  677. },
  678. mounted() {
  679. let base = +new Date(2020, 1, 1);
  680. let oneDay = 24 * 3600 * 1000;
  681. let date = [];
  682. let data = [Math.random() * 1500];
  683. let now = new Date(base);
  684. const addData = (shift) => {
  685. now = [now.getFullYear(), now.getMonth() + 1, now.getDate()].join("/");
  686. date.push(now);
  687. data.push(this.$baseLodash.random(20000, 60000));
  688. if (shift) {
  689. date.shift();
  690. data.shift();
  691. }
  692. now = new Date(+new Date(now) + oneDay);
  693. };
  694. for (let i = 1; i < 6; i++) {
  695. addData();
  696. }
  697. addData(true);
  698. this.fwl.xAxis[0].data = date;
  699. this.fwl.series[0].data = data;
  700. this.timer = setInterval(() => {
  701. addData(true);
  702. this.fwl.xAxis[0].data = date;
  703. this.fwl.series[0].data = data;
  704. }, 3000);
  705. },
  706. methods: {
  707. handleClick(e) {
  708. this.$baseMessage(`点击了${e.name},这里可以写跳转`);
  709. },
  710. handleZrClick(e) {},
  711. handleChangeTheme() {
  712. this.$baseEventBus.$emit("theme");
  713. },
  714. async fetchData() {
  715. const { data } = await getList();
  716. data.map((item, index) => {
  717. if (index === data.length - 1) {
  718. item.color = "#0bbd87";
  719. }
  720. });
  721. this.activities = data;
  722. const res = await getNoticeList();
  723. this.noticeList = res.data;
  724. /* getRepos({
  725. token: "1061286824f978ea3cf98b7b8ea26fe27ba7cea1",
  726. }).then((res) => {
  727. const per_page = Math.ceil(res.data.stargazers_count / 100);
  728. alert(per_page);
  729. getStargazers({
  730. token: "1061286824f978ea3cf98b7b8ea26fe27ba7cea1",
  731. page: 1,
  732. per_page: res.per_page,
  733. }).then((res) => {
  734. alert(JSON.stringify(res));
  735. });
  736. }); */
  737. },
  738. },
  739. };
  740. </script>
  741. <style lang="scss" scoped>
  742. .index-container {
  743. padding: 0 !important;
  744. margin: 0 !important;
  745. background: #f5f7f8 !important;
  746. ::v-deep {
  747. .el-alert {
  748. padding: $base-padding;
  749. &--info.is-light {
  750. min-height: 82px;
  751. padding: $base-padding;
  752. margin-bottom: 15px;
  753. color: #909399;
  754. background-color: $base-color-white;
  755. border: 1px solid #ebeef5;
  756. }
  757. }
  758. .el-card__body {
  759. .echarts {
  760. width: 100%;
  761. height: 125px;
  762. }
  763. }
  764. }
  765. .card {
  766. min-height: 400px;
  767. ::v-deep {
  768. .el-card__body {
  769. .echarts {
  770. width: 100%;
  771. height: 305px;
  772. }
  773. }
  774. }
  775. }
  776. .bottom {
  777. padding-top: 20px;
  778. margin-top: 5px;
  779. color: #595959;
  780. text-align: left;
  781. border-top: 1px solid $base-border-color;
  782. }
  783. .table {
  784. width: 100%;
  785. color: #666;
  786. border-collapse: collapse;
  787. background-color: #fff;
  788. td {
  789. position: relative;
  790. min-height: 20px;
  791. padding: 9px 15px;
  792. font-size: 14px;
  793. line-height: 20px;
  794. border: 1px solid #e6e6e6;
  795. &:nth-child(odd) {
  796. width: 20%;
  797. text-align: right;
  798. background-color: #f7f7f7;
  799. }
  800. }
  801. }
  802. .icon-panel {
  803. height: 100px;
  804. text-align: center;
  805. cursor: pointer;
  806. svg {
  807. font-size: 40px;
  808. }
  809. p {
  810. margin-top: 10px;
  811. }
  812. }
  813. .bottom-btn {
  814. button {
  815. margin: 5px 10px 15px 0;
  816. }
  817. }
  818. }
  819. </style>