123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313 |
- .search {
- --van-cell-background-color: transparent;
- --van-cell-font-size: 16px;
- --van-cell-text-color: #333;
- --van-cell-value-color: #999;
- --van-cell-icon-size: 10px;
- --van-nav-bar-height: 20px;
- --base-bg: #f6f8f9;
- .sticky {
- :global(.van-sticky--fixed) {
- box-shadow: 10px 10px 10px var(--box-shadow-color);
- }
- >div {
- background-color: var(--base-bg);
- }
- }
- .title {
- padding-top: 16px;
- :global(.van-cell__value) {
- font-size: 12px;
- }
- }
- .keywordTitle {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 8px 9px;
- .t {
- font-size: 14px;
- font-weight: 500;
- color: #000000;
- line-height: 20px;
- }
- .remove {
- font-size: 16px;
- }
- }
- .keywords {
- margin-top: 10px;
- padding: 0 14px;
- display: flex;
- align-items: center;
- // .content::-webkit-scrollbar {
- // display: none;
- // }
- .content {
- flex: 1;
- // overflow: hidden;
- // overflow-x: auto;
- display: flex;
- flex-wrap: wrap;
- .searchKeyword {
- --van-tag-default-color: white;
- --van-tag-text-color: #313443;
- font-size: 14px;
- padding: 5px 14px;
- margin-right: 5px;
- margin-bottom: 10px;
- max-width: 100px;
- display: block;
- word-break: keep-all;
- }
- .arrowMore {
- width: 27px;
- height: 27px;
- border-radius: 50%;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- background-color: #fff;
- font-size: 12px;
- color: #93959F;
- }
- }
- }
- .label {
- margin-right: 8px;
- font-size: 14px;
- :global {
- .van-list__loading,
- .van-list__finished-text,
- .van-list__error-text {
- width: 100%;
- }
- .iconfont-down {
- margin-left: 4px;
- }
- }
- }
- }
- .sticky {
- :global {
- .van-sticky {
- background: url('../../images/bg-image-search.png') no-repeat top center;
- background-size: 100% 214px;
- box-shadow: none !important;
- }
- .van-search__content {
- background: rgba(255, 255, 255, 0.5) !important;
- input::placeholder {
- color: rgba(0, 0, 0, 0.4) !important;
- }
- input {
- color: rgba(0, 0, 0, 0.4) !important;
- }
- .van-field__clear {
- color: rgba(0, 0, 0, 0.4) !important;
- }
- }
- }
- }
- .bgImg {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 214px;
- // object-fit: cover;
- z-index: -1;
- }
- .tagTabs {
- --van-cell-background-color: transparent;
- --van-cell-font-size: 16px;
- --van-cell-text-color: #333;
- --van-cell-value-color: #999;
- --van-cell-icon-size: 10px;
- --van-tab-line-height: 22px;
- :global {
- .van-tab {
- font-size: 16px !important;
- color: #999999;
- }
- .van-tab--active {
- font-size: 16px !important;
- color: #131415;
- }
- .van-tabs__line {
- width: 24px;
- height: 4px;
- background: linear-gradient(90deg, #FF3C81 0%, rgba(255, 118, 166, 0.5) 100%) !important;
- border-radius: 36px 36px 0px 0px;
- bottom: 22px;
- }
- }
- }
- .hotMusic {
- padding-bottom: 20px;
- .swipeItem .swipeChild {
- // padding-left: 14px;
- margin: 0 7px;
- }
- .swipeItem:last-child .swipeChild {
- margin-right: 14px;
- }
- .swipeItem:first-child .swipeChild {
- margin-left: 14px;
- }
- .swipeItem {
- border-radius: 10px;
- overflow: hidden;
- }
- .swipeChild {
- background: url('../../images/music-bg.png') no-repeat top center #fff;
- background-size: contain;
- }
- .swipeTitle {
- font-size: 16px;
- font-weight: 500;
- color: #131415;
- line-height: 22px;
- padding: 12px 12px 16px;
- }
- .swipeContent {
- padding: 0 16px 8px;
- border-radius: 10px;
- }
- .swipe {
- font-size: 14px;
- color: #6A6C77;
- line-height: 20px;
- max-width: 80%;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- padding: 8px 0;
- .num {
- display: inline-block;
- font-size: 16px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 600;
- color: #8A8C95;
- // margin-right: 20px;
- width: 21px;
- }
- .hot {
- display: inline-block;
- width: 16px;
- line-height: 16px;
- text-align: center;
- background: #FE2451;
- border-radius: 4px;
- font-size: 12px;
- font-weight: 500;
- color: #FFFFFF;
- vertical-align: middle;
- margin-left: 4px;
- transform: scale(0.9);
- }
- &.swipeTop {
- color: #131415;
- .num {
- color: #FE2451;
- }
- }
- }
- }
- // 搜索结果样式
- .searchResult {
- position: fixed;
- top: 0;
- z-index: 98;
- left: 0;
- right: 0;
- overflow: hidden;
- bottom: 0;
- padding-top: var(--header-height);
- background: url('../../images/bg-image-search.png') no-repeat top center #fafafa;
- background-size: 100% 214px;
- }
- .searchGroups {
- padding-top: 10px;
- height: 100%;
- overflow-y: auto;
- overflow-x: hidden;
- font-size: 15px;
- color: #131415;
- line-height: 21px;
- .searchItem {
- display: flex;
- align-items: center;
- padding: 0 12px 20px;
- .rName {
- width: 90%;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- span span {
- color: #FE2451;
- }
- }
- .iconSearch {
- width: 16px;
- height: 16px;
- margin-right: 10px;
- }
- }
|