修改uniapp扩展组件easyinput边框颜色
1、项目下uni.scss中修改:
/* 颜色变量 修改主色位:#f9a648 */ $uni-primary: #f9a648; $uni-primary-disable:mix(#fff,$uni-primary,50%); $uni-primary-light: mix(#fff,$uni-primary,80%); /* 行为相关颜色 */ $uni-color-primary: #f9a648;
2、如果以上不生效,去组件中修改:修改 /项目目录/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
primaryColor: { type: String, default: '#2979ff' }, //修改default值