- 博客(7)
- 收藏
- 关注
原创 更改element-ui导航栏被选中项
.el-menu-item.is-active{ // element更改导航栏被选中项的底边框线 border-bottom:none; }.el-menu-item.is-active { // element更改导航栏被选中项的背景颜色 background-color:#303653 !important; }.el-menu.el-menu--horizontal { // 去掉element-ui导航栏底部边框线 border-bottom: none;.
2020-12-11 10:20:55
1035
原创 Error: Couldn't find preset "es2015" relative to directory 怎么解决
cnpm install babel-preset-es2015 --save-dev
2019-07-25 09:49:15
773
原创 vue-cli3中引入ant-vue时的less依赖报错
修改babel.config.js文件后报错;module.exports = { presets: [ '@vue/app', ], // 配置babel-plugin-import, 用于按需加载组件代码和样式 plugins: [ [ "import", { libraryName: "ant-design-vue", libr...
2019-07-11 10:17:55
2441
2
原创 sass安装国内镜像报错 SSL verification error at depth 0解决办法
gem sources --remove https://rubygems.org/改淘宝镜像为:gem sources --addhttps://gems.ruby-china.com/gem sources -lgem install sass
2019-07-10 17:22:48
6918
原创 css页面局部滚动
.body{ overflow: hidden; height: 100%;}.table1{ // 不滚动部分 overflow: hidden; height: 100%;}.table2{ // 滚动部分 -webkit-overflow-scrolling: touch; overflow-x: scroll; whi...
2018-02-24 14:33:09
10819
2
原创 select 下拉选中后显示对应信息
- 1.用ng-model 在item里新增一个数据,用ng-change在发生改变是触发方法。- 2.判断selectInfo的值,对应的信息赋值给judge。- 3.html页面进行判断。html:<td > <select ng-model="item.selectInfo" ng-change="$ctrl.inputProduct(item)"> ...
2018-02-24 14:05:25
4160
原创 一些我忘掉的css
1.段落缩进name{ text-indent:25px;}2.隐藏滚动条name{ overflow-x:hidden; //隐藏水平滚动条 overflow-y:hidden; //垂直}3.文本两端对齐name{ text-align:justify;}4.强制不换行name{ white-space:nowrap
2018-01-22 09:24:59
254
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人