vue
伟仔-开心
用技术伪装自己,研究技术是一件开心的事,为梦想加油
展开
-
在vue的data里面能不能new对象
答案是肯定的,可以new在script标签里面创建一个classclass H{ constructor(type,percent,showInfo,successPercent,strokeColor,successPercentstrokeColor){ this.type=type||"line"; this.percent=percent||100; ...原创 2019-08-02 11:21:27 · 3776 阅读 · 0 评论 -
element 菜单替换选中下划线样式和隐藏下划线
<el-menu :default-active="activeIndex" class="el-menu-demo" text-color='#222222' close="" active-text-color='#1f84e0' mode="horizontal" @select="handleSelect"> <el-menu-item c...原创 2019-08-14 17:20:55 · 11150 阅读 · 12 评论 -
css flex水平居中,居中显示
.head-title{ display: flex; justify-content:center; align-items:center; height:60px;}开发过程中记录下居中实现高度:必须原创 2019-08-14 17:27:00 · 12501 阅读 · 1 评论