123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- @img: './images';
- .wrap {
- // margin-bottom: 20px;
- display: flex;
- flex-direction: row;
- align-items: center;
- border: 1px solid #2dc7aa;
- padding: 0 6px 0 20px;
- line-height: 60px;
- height: 60px;
- background: #fff;
- border-radius: 30px;
- overflow: hidden;
- cursor: pointer;
- &:hover,
- &.active {
- box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
- .searchline,
- .searchBtn {
- visibility: visible;
- }
- }
- .selectWrap {
- :global {
- // .hasVal {
- // .el-input__wrapper {
- // &:hover {
- // .el-input__suffix-inner {
- // position: relative;
- // .el-select__caret {
- // //箭头样式
- // appearance: none;
- // background: url('@{img}/closeIcon.png') no-repeat; //自定义图片
- // background-size: 16px 16px;
- // top: -1px;
- // right: -1px;
- // }
- // }
- // }
- // }
- // }
- .el-input__wrapper {
- padding-right: 25px;
- font-size: 16px;
- box-shadow: none !important;
- line-height: 60px;
- height: 60px;
- position: relative;
- }
- .el-input__wrapper.is-focus {
- // font-size: 16px;
- box-shadow: none !important;
- }
- .el-input.is-focus .el-input__wrapper {
- box-shadow: none !important;
- background-color: #fff;
- }
- // select 那层
- // .el-input__suffix {
- // .el-input__suffix-inner {
- // color: #2dc7aa;
- // font-size: 20px;
- // font-weight: bold;
- // }
- // }
- // .el-select__caret {
- // color: #2dc7aa !important;
- // font-size: 20px !important;
- // font-weight: bold;
- // // 更换箭头
- // }
- .el-select__caret {
- //箭头样式
- // transform: rotateZ(0deg); //转动图片
- appearance: none;
- background: url('@{img}/selectArrow.png') no-repeat; //自定义图片
- background-size: 16px 16px;
- width: 16px;
- height: 16px !important;
- position: absolute; //图片定位
- top: -1px;
- right: -1px;
- }
- .el-icon svg {
- //隐藏原来箭头
- display: none;
- }
- .el-select .el-input.is-focus .el-input__wrapper {
- font-size: 16px;
- .el-input {
- font-size: 18px;
- .el-input.is-focus {
- .el-input__wrapper {
- box-shadow: none !important;
- background-color: #fff;
- }
- }
- .el-input__wrapper.is-focus {
- box-shadow: none !important;
- background-color: #fff;
- }
- }
- // .el-input.is-focus {
- // .el-input__wrapper.is-focus {
- // box-shadow: none !important;
- // background-color: #fff;
- // }
- // }
- }
- }
- }
- .selectWrap {
- display: flex;
- flex-direction: row;
- position: relative;
- align-items: center;
- .line {
- width: 1px;
- height: 36px;
- background: #2dc7aa !important;
- // position: absolute;
- // right: -13px;
- // top: 2px;
- // z-index: 1000;
- }
- }
- .inputSelect {
- width: 600px;
- :global {
- .el-input__wrapper {
- width: 600px;
- padding-right: 0;
- font-size: 16px;
- box-shadow: none !important;
- line-height: 60px;
- height: 60px;
- position: relative;
- }
- .el-icon {
- position: relative;
- top: -5px;
- left: -18px;
- display: block;
- font-size: 30px !important;
- width: 16px;
- height: 16px;
- opacity: 0;
- // visibility: hidden;
- // svg {
- // //隐藏原来箭头
- // }
- }
- .el-input__suffix {
- cursor: pointer;
- background: url('@{img}/closeIcon.png') no-repeat; //自定义图片
- background-size: 16px 16px;
- width: 16px;
- height: 16px;
- position: absolute; //图片定位
- top: 20px;
- right: 22px;
- }
- .el-input__wrapper.is-focus {
- // font-size: 16px;
- box-shadow: none !important;
- }
- .el-input.is-focus .el-input__wrapper {
- box-shadow: none !important;
- background-color: #fff;
- }
- .el-input__wrapper {
- padding-left: 0;
- .el-input__inner {
- font-size: 18px !important;
- }
- }
- .el-select .el-input.is-focus .el-input__wrapper {
- font-size: 16px;
- .el-input {
- font-size: 18px;
- .el-input.is-focus {
- .el-input__wrapper {
- box-shadow: none !important;
- background-color: #fff;
- }
- }
- .el-input__wrapper.is-focus {
- box-shadow: none !important;
- background-color: #fff;
- }
- }
- // .el-input.is-focus {
- // .el-input__wrapper.is-focus {
- // box-shadow: none !important;
- // background-color: #fff;
- // }
- // }
- }
- }
- }
- .searchIcon {
- font-size: 20px !important;
- }
- .searchWrap {
- cursor: pointer;
- width: 97px;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- img {
- width: 24px;
- height: 25px;
- }
- }
- .searchBtn {
- width: 90px;
- height: 50px;
- background: #2dc7aa;
- border-radius: 25px;
- color: #fff;
- text-align: center;
- line-height: 50px;
- cursor: pointer;
- visibility: hidden;
- &:active {
- opacity: 0.9;
- }
- }
- .searchline {
- visibility: hidden;
- width: 1px;
- height: 36px;
- background-color: #eee;
- margin-right: 15px;
- }
- }
|