index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872
  1. <template>
  2. <div class="app-container home">
  3. <!-- <el-row :gutter="20"></el-row>
  4. <el-row :gutter="20"></el-row>
  5. <el-divider/>
  6. <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
  7. <el-upload ref="upload" :limit="1" accept=".xlsx, .xls" :headers="upload.headers"
  8. :action="upload.url + '?updateSupport=' + upload.updateSupport" :disabled="upload.isUploading"
  9. :on-progress="handleFileUploadProgress" :on-success="handleFileSuccess" :auto-upload="false" drag>
  10. <i class="el-icon-upload"></i>
  11. <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
  12. <div class="el-upload__tip text-center" slot="tip">
  13. <div class="el-upload__tip" slot="tip">
  14. <el-checkbox v-model="upload.updateSupport"/>
  15. 是否更新已经存在的用户数据
  16. </div>
  17. <span>仅允许导入xls、xlsx格式文件。</span>
  18. <el-link type="primary" :underline="false" style="font-size: 12px; vertical-align: baseline"
  19. @click="importTemplate">下载模板
  20. </el-link>
  21. </div>
  22. </el-upload>
  23. <div slot="footer" class="dialog-footer">
  24. <el-button type="primary" @click="submitFileForm">确 定</el-button>
  25. <el-button @click="upload.open = false">取 消</el-button>
  26. </div>
  27. </el-dialog>
  28. <button @click="upload.open = true">上传文件</button>
  29. <el-row :gutter="20">
  30. <el-col :xs="24" :sm="24" :md="12" :lg="8"></el-col>
  31. <el-col :xs="24" :sm="24" :md="12" :lg="8">
  32. <el-card class="update-log">
  33. <div slot="header" class="clearfix">
  34. <span>更新日志</span>
  35. </div>
  36. <el-collapse accordion> 123123</el-collapse>
  37. </el-card>
  38. </el-col>
  39. <el-col :xs="24" :sm="24" :md="12" :lg="8">
  40. <el-card class="update-log">
  41. <div slot="header" class="clearfix">
  42. <span>捐赠支持</span>
  43. </div>
  44. <div class="body"></div>
  45. </el-card>
  46. </el-col>
  47. </el-row> -->
  48. <div class="info-content">
  49. <!-- <div class="header" @click="toPersonalCenter"> -->
  50. <!-- <img :src="avatar" class="user-avatar" /> -->
  51. <!-- </div> -->
  52. <!-- <div class="name">{{ nickName }}</div> -->
  53. <!-- <div class="tenant-name">{{ tenantName }}</div> -->
  54. <!-- <div class="date">{{ date }}</div> -->
  55. <!-- <div class="title">欢迎登录Mec OS 工业应用操作系统</div> -->
  56. <!-- <div class="title">欢迎登录Mec OS 化纤行业生产管理系统</div> -->
  57. <div class="echarts1">
  58. <div class="pieChart" ref="pieChart"></div>
  59. <div
  60. :class="'describe' + (parseInt(index) + 1)"
  61. v-for="(item, index) in processList"
  62. :key="index"
  63. >
  64. <P class="text">{{ item.name }}</P>
  65. <P class="num">{{ item.value }}</P>
  66. </div>
  67. </div>
  68. <div class="echarts2">
  69. <div class="lineChart" ref="lineChart"></div>
  70. </div>
  71. <div class="echarts3">
  72. <p class="title">操作日志</p>
  73. <div class="text">
  74. <span class="peo">操作人</span>
  75. <span class="add">ip</span>
  76. </div>
  77. <div class="swiper-container">
  78. <div class="swiper-scrollbar"></div>
  79. <div class="swiper-wrapper">
  80. <div
  81. class="swiper-slide"
  82. v-for="(item, index) in swiperList"
  83. :key="index"
  84. >
  85. <div>
  86. <span class="name">{{ item.operName }}</span>
  87. <span class="ip">{{ item.operIp }}</span>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. <div class="echarts4">
  94. <div class="gaugeChart" ref="gaugeChart"></div>
  95. </div>
  96. <div class="echarts5">
  97. <div class="barChart" ref="barChart"></div>
  98. </div>
  99. </div>
  100. </div>
  101. </template>
  102. <script>
  103. import { formatDate } from "@/utils";
  104. import { getToken } from "@/utils/auth";
  105. import { mapGetters, mapState } from "vuex";
  106. import "swiper/css/swiper.css";
  107. import Swiper from "swiper";
  108. import {
  109. getTask,
  110. getPipeline,
  111. getOperation,
  112. getMaterial,
  113. getLogin,
  114. } from "@/api/homePage/index";
  115. export default {
  116. name: "Index",
  117. data() {
  118. return {
  119. chartObj: {
  120. myChart1: null,
  121. myChart2: null,
  122. myChart3: null,
  123. myChart4: null,
  124. },
  125. processList: [],
  126. swiperList: [
  127. /* {
  128. name: "111",
  129. ip: "192.168.1.1"
  130. },
  131. {
  132. name: "222",
  133. ip: "192.168.1.2"
  134. },
  135. {
  136. name: "333",
  137. ip: "192.168.1.3"
  138. },
  139. {
  140. name: "444",
  141. ip: "192.168.1.4"
  142. },
  143. {
  144. name: "555",
  145. ip: "192.168.1.5"
  146. },
  147. {
  148. name: "666",
  149. ip: "192.168.1.6"
  150. }, */
  151. ],
  152. // 用户导入参数
  153. upload: {
  154. // 是否显示弹出层(用户导入)
  155. open: false,
  156. // 弹出层标题(用户导入)
  157. title: "",
  158. // 是否禁用上传
  159. isUploading: false,
  160. // 是否更新已经存在的用户数据
  161. updateSupport: 0,
  162. // 设置上传的请求头部
  163. headers: { Authorization: "Bearer " + getToken() },
  164. // 上传的地址
  165. url: process.env.VUE_APP_BASE_API3 + "common/importDataInfo",
  166. },
  167. // 版本号
  168. version: "3.8.5",
  169. };
  170. },
  171. mounted() {
  172. // 初始化 echarts
  173. this.initChart1();
  174. this.initChart2();
  175. this.initChart3();
  176. this.initChart4();
  177. this.initData();
  178. },
  179. methods: {
  180. initData() {
  181. //任务统计
  182. getTask().then((response) => {
  183. if (response.code == 200) {
  184. this.processList = response.data;
  185. // console.log(this.processList);
  186. this.chartObj.myChart1.setOption({
  187. series: [
  188. {
  189. data: response.data,
  190. },
  191. ],
  192. });
  193. } else {
  194. console.log(response);
  195. this.$message.error("获取数据失败");
  196. }
  197. });
  198. //管道统计
  199. getPipeline().then((response) => {
  200. if (response.code == 200) {
  201. // console.log(response.data);
  202. // console.log(response.data[0].date);
  203. let xAxisData = response.data[0].date;
  204. // xAxisData = xAxisData.map(function (dateStr) {
  205. // var date = new Date(dateStr);
  206. // return date.getMonth() + 1 + "月";
  207. // });
  208. let loginList = response.data.map((item) => item.name);
  209. this.chartObj.myChart2.setOption({
  210. legend: {
  211. data: loginList,
  212. },
  213. xAxis: {
  214. data: xAxisData,
  215. },
  216. series: response.data,
  217. });
  218. } else {
  219. console.log(response);
  220. this.$message.error("获取数据失败");
  221. }
  222. });
  223. //操作日志
  224. getOperation().then((response) => {
  225. if (response.code == 200) {
  226. this.swiperList = response.data;
  227. this.$nextTick(() => {
  228. var swiper = new Swiper(".swiper-container", {
  229. direction: "vertical",
  230. loop: true,
  231. autoplay: {
  232. delay: 1000,
  233. disableOnInteraction: false,
  234. },
  235. scrollbar: {
  236. el: ".swiper-scrollbar",
  237. },
  238. slidesPerView: 3,
  239. freeMode: true,
  240. // spaceBetween: 1,
  241. });
  242. });
  243. } else {
  244. console.log(response);
  245. this.$message.error("获取数据失败");
  246. }
  247. });
  248. //原材料统计
  249. getMaterial().then((response) => {
  250. if (response.code == 200) {
  251. // console.log(response.data);
  252. let tabularList = response.data;
  253. // tabularList.push({ name: "多表数量", value: 30 });
  254. let labelList = response.data.map((item) => item.name);
  255. this.chartObj.myChart3.setOption({
  256. yAxis: {
  257. data: labelList,
  258. },
  259. series: [
  260. {
  261. data: response.data,
  262. },
  263. ],
  264. });
  265. } else {
  266. console.log(response);
  267. this.$message.error("获取数据失败");
  268. }
  269. });
  270. //用户登录统计
  271. getLogin().then((response) => {
  272. if (response.code == 200) {
  273. let modelData = response.data;
  274. // console.log(modelData);
  275. this.chartObj.myChart4?.setOption({
  276. series: [
  277. {
  278. data: modelData.value,
  279. },
  280. ],
  281. xAxis: {
  282. data: modelData.name,
  283. },
  284. });
  285. } else {
  286. console.log(response);
  287. this.$message.error("获取数据失败");
  288. }
  289. });
  290. },
  291. initChart1() {
  292. this.chartObj.myChart1 = this.$echarts.init(this.$refs.pieChart);
  293. let option = {
  294. color: ["#9370db", "#ffd700", "#00ccff", "#ff6600", "#ff9900"],
  295. title: {
  296. text: "任务统计",
  297. left: "left",
  298. textStyle: {
  299. fontSize: 16,
  300. fontWeight: "normal",
  301. color: "#696969",
  302. },
  303. },
  304. tooltip: {
  305. trigger: "item",
  306. },
  307. legend: {
  308. left: "60%",
  309. top: "60%",
  310. },
  311. series: [
  312. {
  313. // name: 'Access From',
  314. type: "pie",
  315. radius: ["40%", "100%"],
  316. avoidLabelOverlap: false,
  317. itemStyle: {
  318. // borderRadius: 10,
  319. borderColor: "#fff",
  320. borderWidth: 2,
  321. },
  322. right: "40%",
  323. top: "50%",
  324. data: [
  325. { value: 10, name: "工艺流" },
  326. { value: 20, name: "审批流" },
  327. ],
  328. label: {
  329. show: false,
  330. position: "center",
  331. },
  332. labelLine: {
  333. show: false,
  334. },
  335. emphasis: {
  336. label: {
  337. show: true,
  338. fontSize: 20,
  339. fontWeight: "bold",
  340. },
  341. },
  342. },
  343. ],
  344. };
  345. this.chartObj.myChart1.setOption(option);
  346. },
  347. initChart2() {
  348. this.chartObj.myChart2 = this.$echarts.init(this.$refs.lineChart);
  349. let option = {
  350. color: ["#FF88E0", "#9FE080"],
  351. title: {
  352. text: "生产统计",
  353. textStyle: {
  354. fontSize: 16,
  355. fontWeight: "normal",
  356. color: "#696969",
  357. },
  358. },
  359. tooltip: {
  360. trigger: "axis",
  361. },
  362. legend: {
  363. data: ["在产生产任务", "完成数量"],
  364. },
  365. grid: {
  366. left: "3%",
  367. right: "4%",
  368. top: "20%",
  369. bottom: "0%",
  370. containLabel: true,
  371. },
  372. xAxis: {
  373. type: "category",
  374. boundaryGap: false,
  375. data: [
  376. "01\nMon",
  377. "02\nTue",
  378. "03\nWed",
  379. "04\nThu",
  380. "05\nFri",
  381. "06\nSat",
  382. "07\nSun",
  383. "08\nMon",
  384. "09\nTue",
  385. "10\nWed",
  386. "11\nThu",
  387. "12\nFri",
  388. "13\nSat",
  389. "14\nSun",
  390. "15\nMon",
  391. "16\nTue",
  392. "17\nWed",
  393. "18\nThu",
  394. "19\nFri",
  395. "20\nSat",
  396. "21\nSun",
  397. "22\nMon",
  398. "23\nTue",
  399. "24\nWed",
  400. "25\nThu",
  401. "26\nFri",
  402. "27\nSat",
  403. "28\nSun",
  404. "29\nMon",
  405. "30\nTue",
  406. ],
  407. },
  408. yAxis: {
  409. type: "value",
  410. },
  411. series: [
  412. {
  413. name: "客户端",
  414. type: "line",
  415. smooth: true,
  416. data: [
  417. 10, 23, 42, 13, 30, 25, 40, 30, 42, 55, 40, 28, 20, 30, 45, 25,
  418. 20, 30, 40, 33, 35, 40, 46, 31, 13, 34, 20, 10, 36, 43,
  419. ],
  420. },
  421. {
  422. name: "工具端",
  423. type: "line",
  424. smooth: true,
  425. data: [
  426. 20, 30, 29, 40, 55, 33, 30, 26, 36, 45, 50, 34, 38, 25, 28, 43,
  427. 16, 30, 45, 52, 40, 46, 33, 57, 50, 33, 40, 59, 56, 56,
  428. ],
  429. },
  430. ],
  431. };
  432. this.chartObj.myChart2.setOption(option);
  433. },
  434. initChart3() {
  435. this.chartObj.myChart3 = this.$echarts.init(this.$refs.gaugeChart);
  436. let option = {
  437. color: ["#00ccff", "#ff6600", "#ff9900", "#9370db", "#ffd700"],
  438. title: {
  439. text: "原材料统计",
  440. left: "left",
  441. textStyle: {
  442. fontSize: 16,
  443. fontWeight: "normal",
  444. color: "#696969",
  445. },
  446. },
  447. tooltip: {
  448. trigger: "axis",
  449. axisPointer: {
  450. type: "shadow",
  451. },
  452. },
  453. grid: {
  454. left: "0%",
  455. right: "3%",
  456. top: "20%",
  457. bottom: "0%",
  458. containLabel: true,
  459. },
  460. xAxis: {
  461. type: "value",
  462. nameLocation: "middle",
  463. nameTextStyle: {
  464. align: "center",
  465. },
  466. splitLine: {
  467. show: false,
  468. },
  469. },
  470. yAxis: {
  471. type: "category",
  472. data: ["总数", "入库数量", "出库数量"],
  473. inverse: true, // 使类目从右向左排列
  474. },
  475. series: [
  476. {
  477. type: "bar",
  478. barWidth: "18",
  479. orientation: "horizontal",
  480. data: [
  481. { value: 88, name: "表单" },
  482. { value: 66, name: "表格" },
  483. { value: 33, name: "三级联动" },
  484. ],
  485. showBackground: true,
  486. backgroundStyle: {
  487. color: "#F0F8FF",
  488. },
  489. },
  490. ],
  491. };
  492. this.chartObj.myChart3.setOption(option);
  493. },
  494. initChart4() {
  495. this.chartObj.myChart4 = this.$echarts.init(this.$refs.barChart);
  496. let option = {
  497. color: ["#5D84FE"],
  498. title: {
  499. text: "用户登录统计",
  500. textStyle: {
  501. fontSize: 16,
  502. fontWeight: "normal",
  503. color: "#696969",
  504. },
  505. },
  506. tooltip: {
  507. trigger: "axis",
  508. axisPointer: {
  509. type: "shadow",
  510. },
  511. },
  512. xAxis: {
  513. type: "category",
  514. data: [
  515. "1月",
  516. "2月",
  517. "3月",
  518. "4月",
  519. "5月",
  520. "6月",
  521. "7月",
  522. "8月",
  523. "9月",
  524. "10月",
  525. "11月",
  526. "12月",
  527. ],
  528. },
  529. yAxis: {
  530. type: "value",
  531. min: 0,
  532. max: 100,
  533. interval: 20,
  534. splitLine: {
  535. show: false, // 关闭y轴的水平分割线
  536. },
  537. },
  538. grid: {
  539. left: "5%",
  540. right: "5%",
  541. top: "30%",
  542. bottom: "0%",
  543. containLabel: true,
  544. },
  545. series: [
  546. {
  547. data: [0],
  548. type: "bar",
  549. barWidth: "30", // 设置柱体宽度
  550. showBackground: true,
  551. backgroundStyle: {
  552. color: "#E8EFFF",
  553. },
  554. },
  555. ],
  556. };
  557. this.chartObj.myChart4.setOption(option);
  558. },
  559. /** 导入按钮操作 */
  560. handleImport() {
  561. this.upload.title = "用户导入";
  562. this.upload.open = true;
  563. },
  564. /** 下载模板操作 */
  565. importTemplate() {
  566. this.download(
  567. "system/user/importTemplate",
  568. {},
  569. `user_template_${new Date().getTime()}.xlsx`
  570. );
  571. },
  572. // 文件上传中处理
  573. handleFileUploadProgress(event, file, fileList) {
  574. this.upload.isUploading = true;
  575. },
  576. // 文件上传成功处理
  577. handleFileSuccess(response, file, fileList) {
  578. this.upload.open = false;
  579. this.upload.isUploading = false;
  580. this.$refs.upload.clearFiles();
  581. this.$alert(
  582. "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
  583. response.msg +
  584. "</div>",
  585. "导入结果",
  586. { dangerouslyUseHTMLString: true }
  587. );
  588. this.getList();
  589. },
  590. // 提交上传文件
  591. submitFileForm() {
  592. this.$refs.upload.submit();
  593. },
  594. goTarget(href) {
  595. window.open(href, "_blank");
  596. },
  597. toPersonalCenter() {
  598. this.$router.push("/user/profile");
  599. },
  600. },
  601. computed: {
  602. ...mapState({
  603. username: (state) => state.user.name,
  604. owner: (state) => state.user?.tenant.owner,
  605. tenantName: (state) => state.user?.tenant.tenantName,
  606. nickName: (state) => state.user?.nickName,
  607. }),
  608. ...mapGetters(["avatar"]),
  609. date: () => {
  610. return formatDate(new Date());
  611. },
  612. },
  613. };
  614. </script>
  615. <style lang="scss" scoped>
  616. .home {
  617. position: relative;
  618. width: 100%;
  619. /* height: 500px; */
  620. background-color: #eff2f7;
  621. .info-content {
  622. width: 100%;
  623. height: 100%;
  624. display: flex;
  625. flex-direction: row;
  626. flex-wrap: wrap;
  627. .echarts1 {
  628. position: relative;
  629. width: 20%;
  630. height: 280px;
  631. margin: auto;
  632. padding: 20px 15px;
  633. box-shadow: 10px 10px 5px #e0e0e0;
  634. background-color: #fff;
  635. border-radius: 10px;
  636. .pieChart {
  637. width: 100%;
  638. height: 100%;
  639. }
  640. .describe1 {
  641. .text {
  642. position: absolute;
  643. left: 50px;
  644. top: 90px;
  645. }
  646. .num {
  647. position: absolute;
  648. font-size: 20px;
  649. color: black;
  650. left: 63px;
  651. top: 55px;
  652. }
  653. }
  654. .describe2 {
  655. .text {
  656. position: absolute;
  657. left: 157px;
  658. top: 90px;
  659. }
  660. .num {
  661. position: absolute;
  662. font-size: 20px;
  663. color: black;
  664. left: 170px;
  665. top: 55px;
  666. }
  667. }
  668. }
  669. .echarts2 {
  670. width: 76%;
  671. height: 280px;
  672. margin: auto;
  673. padding: 20px 15px;
  674. box-shadow: 10px 10px 5px #e0e0e0;
  675. background-color: #fff;
  676. border-radius: 10px;
  677. margin-right: 30px;
  678. .lineChart {
  679. width: 100%;
  680. height: 100%;
  681. }
  682. }
  683. .echarts3 {
  684. width: 23%;
  685. height: 200px;
  686. margin: auto;
  687. padding: 20px 15px;
  688. box-shadow: 10px 10px 5px #e0e0e0;
  689. background-color: #fff;
  690. border-radius: 10px;
  691. margin-top: 20px;
  692. p {
  693. margin: 0;
  694. }
  695. .title {
  696. font-size: 16px;
  697. color: "#696969";
  698. }
  699. .text {
  700. display: flex;
  701. flex-direction: row;
  702. margin-top: 10px;
  703. .peo {
  704. font-size: 14px;
  705. color: black;
  706. font-weight: bold;
  707. margin-left: 20px;
  708. margin-right: 120px;
  709. }
  710. .add {
  711. font-size: 14px;
  712. color: black;
  713. font-weight: bold;
  714. }
  715. }
  716. .swiper-container {
  717. display: flex;
  718. flex-direction: row;
  719. flex-wrap: wrap;
  720. width: 90%;
  721. height: 80px;
  722. /* overflow: auto; */
  723. margin-top: 10px;
  724. .name {
  725. text-align: center;
  726. font-size: 16px;
  727. margin-left: 2px;
  728. margin-right: 59px;
  729. }
  730. .ip {
  731. text-align: center;
  732. font-size: 16px;
  733. }
  734. }
  735. }
  736. .echarts4 {
  737. width: 20%;
  738. height: 200px;
  739. margin: auto;
  740. padding: 20px 15px;
  741. box-shadow: 10px 10px 5px #e0e0e0;
  742. background-color: #fff;
  743. border-radius: 10px;
  744. margin-top: 20px;
  745. .gaugeChart {
  746. width: 100%;
  747. height: 100%;
  748. }
  749. }
  750. .echarts5 {
  751. width: 53%;
  752. height: 200px;
  753. margin: auto;
  754. padding: 20px 15px;
  755. box-shadow: 10px 10px 5px #e0e0e0;
  756. background-color: #fff;
  757. border-radius: 10px;
  758. margin-top: 20px;
  759. margin-right: 30px;
  760. .barChart {
  761. width: 100%;
  762. height: 100%;
  763. }
  764. }
  765. /* .header {
  766. white-space: nowrap;
  767. margin-bottom: 5px;
  768. cursor: pointer;
  769. .user-avatar {
  770. width: 160px;
  771. border-radius: 50%;
  772. }
  773. } */
  774. .name {
  775. font-size: 30px;
  776. margin-bottom: 5px;
  777. }
  778. .tenant-name {
  779. font-size: 20px;
  780. }
  781. .date {
  782. margin-bottom: 10px;
  783. }
  784. .title {
  785. font-size: 16px;
  786. }
  787. }
  788. }
  789. .home {
  790. blockquote {
  791. padding: 10px 20px;
  792. margin: 0 0 20px;
  793. font-size: 17.5px;
  794. /* border-left: 5px solid #eee; */
  795. }
  796. hr {
  797. margin-top: 20px;
  798. margin-bottom: 20px;
  799. border: 0;
  800. border-top: 1px solid #eee;
  801. }
  802. .col-item {
  803. margin-bottom: 20px;
  804. }
  805. ul {
  806. padding: 0;
  807. margin: 0;
  808. }
  809. font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  810. font-size: 13px;
  811. color: #676a6c;
  812. overflow-x: hidden;
  813. ul {
  814. list-style-type: none;
  815. }
  816. h4 {
  817. margin-top: 0px;
  818. }
  819. h2 {
  820. margin-top: 10px;
  821. font-size: 26px;
  822. font-weight: 100;
  823. }
  824. p {
  825. margin-top: 10px;
  826. b {
  827. font-weight: 700;
  828. }
  829. }
  830. .update-log {
  831. ol {
  832. display: block;
  833. list-style-type: decimal;
  834. margin-block-start: 1em;
  835. margin-block-end: 1em;
  836. margin-inline-start: 0;
  837. margin-inline-end: 0;
  838. padding-inline-start: 40px;
  839. }
  840. }
  841. }
  842. </style>