04 2022 档案
摘要:<template> <div class="container-box"> <div class="enterpriseChoice"> <div class="search-div"> <div class="return"> <i></i> <p @click="$router.back()"
阅读全文
摘要:<style lang="scss" scoped> @import "~@/styles/variables.scss"; .fixed-header { background-color: $documentBg; width: calc(100% - #{$sideBarWidth}); }
阅读全文
摘要:1、concat() a=[]; a.concat([1,2,3,4]); 此时a还是为[],返回的结果为合并后的值。因为concat()方法不会改变原来的数组,只会返回合并后新的数组,所以如果a想要得到合并的值,就必须将返回的值赋值给a: a = a.concat([1,2,3,4]); 2.、f
阅读全文
摘要:效果图 import * as echarts from 'echarts' export default function buildOption (arr) { let color = ['#ffd546', '#18c6ce', '#1c9bf6', '#fb6666'] // var col
阅读全文
摘要:安装postcss-px-to-viewport npm install postcss-px-to-viewport 根目录新建postcss.config.js文件 //postcss.config.js文件 module.exports = { plugins: { 'postcss-px-t
阅读全文
摘要:1.安装 在控制台输入npm install vue-count-to来安装vue-count-to插件 导入插件并声明 在需要使用的页面导入插件,并声明使用 3.使用插件: 第一种方法: <template> <countTo :startVal='startVal' :endVal='endVa
阅读全文
摘要:.border { margin: 300px auto; width: 200px; height: 100px; background: linear-gradient(blue, blue) left top, linear-gradient(blue, blue) left top, lin
阅读全文
摘要:.tablecontainer { //滚动条的滑块 &::-webkit-scrollbar { /*滚动条整体样式*/ width: 6px; /*高宽分别对应横竖滚动条的尺寸*/ height: 6px; background-color: transparent; } &::-webkit-
阅读全文
摘要:.el-carousel { height: 100% !important; } .el-carousel >>> .el-carousel__container { height: 100% !important; } .el-carousel >>> .el-carousel__button
阅读全文
摘要:.el-input >>> .el-input__inner { color: #fff; background-color: transparent; border: none; background-image: url(~@/assets/img/bigscreen/selectbg.png)
阅读全文
摘要:var color = [ new echarts.graphic.LinearGradient(0, 0, 1, 0, [ { offset: 0, color: '#ff960e', }, { offset: 1, color: '#f9d12f', }, ]), new echarts.gra
阅读全文