前端问题===遇到的有效解决
1.使用swiper时踩过的坑(解决一个网页使用多个swiper冲突问题)
解决:可像css防止样式冲突那样,前面多加一个类区分
参考文:https://blog.51cto.com/u_15983333/6092596
2.Vue无法访问.env.development定义的变量值问题及解决
原因&解决:官方文档发现定义变量必须以:VUE_APP_XXXX 开头
参考文:https://www.jb51.net/article/272203.htm
/* 屏蔽chrome等浏览器,默认项输入框背景色(浅蓝) */
::v-deep input:-internal-autofill-previewed,
::v-deep input:-internal-autofill-selected {
-webkit-text-fill-color: var(–el-input-text-color, var(–el-text-color-regular));
color: var(–el-input-text-color, var(–el-text-color-regular));
}
::v-deep input:-webkit-autofill,
::v-deep input:-webkit-autofill:hover,
::v-deep input:-webkit-autofill:focus,
::v-deep input:-webkit-autofill:active {
transition: background-color 999999999s !important;
}