| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- @import '@mobile/assets/themes/base/mixin.less';
- .home-main {
- --van-search-padding: 0 10px 10px 10px;
- &__banner {
- position: relative;
- overflow: hidden;
- padding: 0 10px;
- &::before {
- content: '';
- width: 140%;
- height: 120px;
- position: absolute;
- left: -20%;
- top: 0;
- border-radius: 0 0 50% 50%;
- background-color: var(--navbar-background);
- }
- .app-banner {
- position: relative;
- z-index: 1;
- border-radius: 10px;
- overflow: hidden;
- }
- }
- &__titlebar {
- .van-cell__title {
- display: flex;
- align-items: center;
- line-height: 1;
- font-size: 16px;
- font-weight: bold;
- img {
- width: 16px;
- height: 16px;
- margin-right: 5px;
- }
- span {
- +span {
- color: #999;
- font-size: 13px;
- font-weight: normal;
- margin-left: 5px;
- }
- }
- }
- .van-cell__value {
- flex: none;
- color: #666;
- }
- }
- &__news {
- .article {
- &-item {
- .van-cell__title {
- span {
- .mixin-text-overflow()
- }
- }
- .van-cell__value {
- flex: initial;
- font-size: 12px;
- margin-left: 24px;
- }
- }
- }
- }
- }
|