屏幕大小自适应
使用vscode 下载插件 px to rem & rpx & vw (cssrem) amfe-flexible + postcss-pxtorem yarn add amfe-flexible yarn add postcss-pxtorem@5.1.1 不能用postcss-pxtorem 6.x以上的,会报错 Syntax Error: Error: ...
使用vscode 下载插件 px to rem & rpx & vw (cssrem) amfe-flexible + postcss-pxtorem yarn add amfe-flexible yarn add postcss-pxtorem@5.1.1 不能用postcss-pxtorem 6.x以上的,会报错 Syntax Error: Error: ...
有点像,但是没法完全做到 参考了很多个组件,各自都有没办法做到的地方,索性还是用最顺手的echarts const offsetX = 11; const offsetY = 5.5; // 绘制左侧面 const CubeLeft = echarts.graphic.extendShape({ shape: { x: 0, y: 0, }, buildPa...
yarn global add @vue/cli –ok vue –version 确认 –ok vue create --ok vue2 + eslint + typescript + babel + vue-router + vuex + less + jest 选择配置 –ok antd 引入 –ok loadsh –ok echarts –ok axio...
swiper 两组轮播图绑定 this.$nextTick(() => { const swiperTop = this.$refs.swiperTop.swiper const swiperThumbs = this.$refs.swiperThumbs.swiper swiperTop.controller.control = swiperThumbs...
先把sass-loader卸载 lock文件删了 install less-loader 注意:8.x以上的版本需要修改配置文件,装7.x 不然报错:Syntax Error: TypeError: this.getOptions is not a function lang=scss–>lang=less
nvm version 查看 nvm 版本 nvm ls 查看 node 版本 nvm install 下载对应 node 版本 nvm use 切换到对应 node 版本 node -v 确认查看一下 目前装了 14.0.0 18.16.0(官网的稳定版本) 如果用 nvm use 命令切换 node 版本时遇到 exit status...
.ag-root ::-webkit-scrollbar { width: 10px; height: 10px; } .ag-root ::-webkit-scrollbar-button { background: @bg-color-dark; } .ag-root ::-webkit-scrollbar-thumb { background: @font-co...