input::-webkit-input-placeholder {
color: rgba(0, 204, 254, 1);
}
input::-moz-input-placeholder {
color:rgba(0, 204, 254, 1);
...
4年前 (2021-08-19)
喜欢
第一种
.el-table--enable-row-hover .el-table__body tr:hover>td{
background-color: #c6cfdf !important;
}
第二种
.el-table__body tr:hover>t...
4年前 (2021-08-19)
喜欢
{BMap, map} 地图组件渲染完毕时触发,返回一个百度地图的核心类和地图实例。百度地图组件是异步加载,请不要尝试在组件的生命周期中访问 BMap 核心类和 map 实例,如有需要,请在所需组件的 ready 事件回调函数的参数中获取。
即不要再vue的生命周期中对地图的b...
4年前 (2021-08-19)
喜欢
Can't find node in PATH, trying to find a node binary on your system
husky > pre-commit (node v8.4.0)
lint-staged requires at least v...
4年前 (2021-08-19)
喜欢
html
<video v-show="showvideo" id="video" muted class="shipin" autoplay="autoplay" controls=&...
4年前 (2021-08-17)
喜欢
nginx部署vue开发的项目history模式下除了将vue编译后的文件上传到线上外,还需要配置nginx的伪静态才可以正常访问
nginx vue项目history伪静态规则
location / {
try_files $uri $uri/ /index.html;
...
4年前 (2021-08-16)
喜欢
首先安装依赖
npm i postcss-pxtorem --save
创建配置文件
postcss.config.js
module.exports = {
plugins: {
autoprefixer: {},
"postcss-pxtore...
4年前 (2021-08-16)
喜欢
是postcss-pxtorem版本太高了
从6.0降到5.1.1就可以正常运行了
"postcss-pxtorem": "^5.1.1",
...
4年前 (2021-08-07)
喜欢
安装依赖
npm i draggable --save
使用
js
import draggable from 'vuedraggable'
html
<draggable class="Homebody pc" v-mod...
4年前 (2021-08-05)
喜欢
<ul>
<li class="" @mouseover="changeActive($event)" @mouseout="removeActive($event)"></li>
...
4年前 (2021-08-04)
喜欢