代码实现:

<template>
<div>
<a-select mode="tags" style="width: 200px" placeholder="请选择" @change="handleChange">
<a-select-option v-for="i in 25" :key="(i + 9).toString(36) + i">
{{ (i + 9).toString(36) + i }}
</a-select-option>
</a-select>
<a-input placeholder="请输入" style="width: 200px"/>
</div>
</template>
<script>
export default {
name: 'test',
methods:{
handleChange(value) {
console.log(`selected ${value}`);
},
}
}
</script>
<style>
/* 重置selectl开始 */
.ant-select-dropdown-menu-item-active,
.ant-select-dropdown-menu-item:hover {
background-color: #edf2f5;
}
.ant-select-focused .ant-select-selection,
.ant-select-selection:focus,
.ant-select-selection:active {
border-color: #cccccc;
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0);
} .ant-select-selection:hover {
border-color: #cccccc;
}
/* 重置selectl结束 */
/* 重置input开始 */
.ant-input,.ant-input:focus,
.ant-input:hover,
.ant-input:active,
.ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled)
{
border-color: #cccccc;
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0);
}
/* 重置input结束 */
</style>

  

最新文章

  1. 项目 CTR预估
  2. MD5 、 加密工具
  3. 夺命雷公狗-----React---24--小案例之react经典案例todos(单条任务的删除)
  4. 将 PAGE_VERIFY 数据库选项设置为 CHECKSUM
  5. js闭包问题
  6. direction:rtl demo
  7. iOS 之 手势
  8. 2017noip普及组赛前注意事项总结
  9. JAVA WEB快速入门之通过一个简单的Spring项目了解Spring的核心(AOP、IOC)
  10. linux中一些简便的命令之sort
  11. 解决问题:怎样在页面获取数组和List集合的长度
  12. windows 10安装docker一直挂起在Installing Components and Removing Files
  13. dis集群研究和实践(基于redis 3.0.5) 《转载》
  14. node.js生成二维码
  15. &lt;转&gt;安全测试思维导图
  16. Linux Shell 基本语法
  17. MySQL设置默认编码
  18. SpringCloud-容错处理Hystrix熔断器(五)
  19. java面试第十二天
  20. python标准库介绍——8 operator 模块详解

热门文章

  1. [编程基础] C#自定义类调用窗体控件
  2. 官网下载CentOS系统镜像过程
  3. Java时间加减操作
  4. TiDB 底层存储结构 LSM 树原理介绍
  5. 震网(Stuxnet)病毒深度解析:首个攻击真实世界基础设施的病毒
  6. 06yarn简介
  7. 线程、GIL、协程
  8. scroll-view滚动导航自动居中
  9. Codeforces Round #849 (Div. 4)
  10. .NET List集合对比差异,Get,Post请求