前端
LIS606
这个作者很懒,什么都没留下…
展开
-
文字超出长度用省略号代替,鼠标悬停以悬浮框显示(Vue)
html代码:<div class="info-item"> <ul> <li v-for="(v, index) in notifyInfo" :key="index" class="li-info-item"> <span class="info-title" :title="v.title">{{ v.title }}</span> <span class="原创 2020-08-11 10:46:08 · 4047 阅读 · 0 评论 -
webpack中alias的配置
对alias配置的目的是为了减少后续引用路径的复杂性。配置的方式为:// 在vue.config.js文件中const path = require('path')function resolve(dir) { return path.join(__dirname, dir)}module.exports = { configureWebpack: { // provide the app's title in webpack's name field, so t原创 2020-08-05 16:43:15 · 1504 阅读 · 0 评论 -
对element-ui中的el-pagination分页的背景样式修改
<el-pagination class="msg-pagination-container" :background="isBackground" //将background设置为true便可以修改分页的背景样式 layout="prev, pager, next" :current-page="currentPage" :page-size="pageSize" :total="Lists.le.原创 2020-07-31 15:04:44 · 8131 阅读 · 1 评论