| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- @import '@mobile/assets/themes/base/mixin.less';
- .home-main {
- &__header {
- background: linear-gradient(var(--navbar-background), var(--navbar-background) 60%, transparent 60%);
- padding: .2rem;
- }
- &__iconbar {
- ul {
- display: flex;
- flex-wrap: wrap;
- padding-top: .24rem;
- &:last-child {
- padding-bottom: .24rem;
- }
- li {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: calc(~'100% / 4');
- text-align: center;
- .app-iconfont {
- &__icon {
- font-size: .8rem;
- }
- &__label {
- font-size: .24rem;
- margin-top: .1rem;
- }
- }
- }
- }
- }
- &__titlebar {
- .van-cell__title {
- font-size: .32rem;
- font-weight: bold;
- }
- .van-cell__value {
- flex: none;
- color: #666;
- }
- }
- &__market {
- .scrollbar {
- width: 100%;
- padding: .2rem;
- }
- .van-swipe {
- height: 32px;
- background-color: #f6f6f6;
- ul {
- display: flex;
- justify-content: space-around;
- align-items: center;
- height: inherit;
- font-size: .26rem;
- }
- }
- }
- &__news {
- .article {
- &-item {
- .van-cell__title {
- span {
- .mixin-text-overflow()
- }
- }
- .van-cell__value {
- flex: initial;
- font-size: .24rem;
- margin-left: .48rem;
- }
- }
- }
- }
- &__chart {
- ul {
- display: flex;
- text-align: center;
- color: #777;
- line-height: .44rem;
- li {
- flex: 1;
- padding: .12rem 0;
- &.is-active {
- &::before {
- background-color: transparent
- }
- &.g-price-up {
- background-color: #fff3f3;
- }
- &.g-price-down {
- background-color: #eefff2;
- }
- }
- span {
- font-size: .24rem;
- +span {
- margin-left: .1rem;
- }
- }
- }
- }
- }
- }
|