@charset "utf-8"; //图片轮播样式 .swiper-container { width: 100%; } .swiper-container .swiper-wrapper img { width: 100%; height: 2.58rem; } .swiper-pagination-bullet { background: #FFFFFF; opacity: 0.4; } .swiper-pagination-bullet-active { background: #FFD031; opacity: 1; } //汇率换算样式 .ex-rate { width: 100%; height: 1.48rem; background: #FFFFFF; display: flex; text-align: center; margin-top: .6rem; .ex-rate-content { flex: 1; &:nth-child(1) { // background: url(../img/red_bg.png) no-repeat; background: url(../img/yellow_bg.png) no-repeat; background-size: 100% 100%; margin: 0 .2rem; } &:nth-child(2) { // background: url(../img/yellow_bg.png) no-repeat; background: url(../img/yellow_bg.png) no-repeat; background-size: 100% 100%; margin-right: .2rem; } &:nth-child(3) { // background: url(../img/blue_bg.png) no-repeat; background: url(../img/yellow_bg.png) no-repeat; background-size: 100% 100%; margin-right: .2rem; } &:after { height: 0; } span { display: block; margin: .09rem 0; line-height: .2rem; font-weight: 400; } .coins { font-size: .24rem; color: #FFFFFF; } .price { font-size: 16px; font-weight: 600; color: #73D13D; } .rate { font-size: .2rem; font-weight: 600; color: #FF9D00; } .rate-price { font-size: 10px; color: #FFFFFF; } } } /*滚动屏样式*/ .announcement { width: 100%; height: .68rem; background: #C7282C; display: flex; align-items: center; } .mui-slider-title { position: relative; padding-left: .8rem; font-size: 12px; font-weight: 400; color: #FFFFFF; background: #C7282C; } .mui-slider { position: absolute; } .announcement-img { z-index: 5; height: .37rem; padding: 0 .25rem; background: #C7282C; img { width: .27rem; height: .27rem; padding-top: .05rem; } } .slider-box { width: 100%; height: 4.2rem; // position: relative; text-align: center; } //首页选项卡样式 .options { width: 93%; // width: 100%; height: 1.91rem; background: #FFFFFF; display: flex; text-align: center; align-items: center; // position: absolute; // top: 111px; // left: 50%; // margin-left: -45%; margin: .2rem auto; z-index: 20; box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15); border-radius: 4px; .options-info { flex: 1; img { width: .96rem; height: .96rem; } span { font-size: .2rem; font-weight: 400; color: #333333; line-height: .2rem; display: block; margin-top: .17rem; } } } .gain-ranking { background: #FFFFFF; margin-top: .2rem; h3 { width: 100%; height: .6rem; font-size: .27rem; font-weight: 400; color: #333333; line-height: .6rem; border-bottom: 1px solid #EEEEEE; padding-left: .26rem; img { width: .27rem; height: .27rem; vertical-align: middle; margin-right: .1rem; } } .more{ float: right; padding-right: .2rem; } .gain-item { ul { li { width: 90%; height: 1.1rem; margin: 0 auto; display: flex; align-items: center; border-bottom: 1px solid #EEEEEE; .gain-item-list-ranking { width: .43rem; height: .43rem; font-size: .27rem; font-family: Helvetica; font-weight: 400; background: #C7282C; color: #FFFFFF; border: 1px solid #C7282C; border-radius: 50%; text-align: center; line-height: .43rem; margin-right: 0.25rem; } .gain-item-list-name, .gain-item-list-price { flex: 1; .name1, .price1 { font-size: .24rem; font-weight: 400; color: #333333; line-height: .2rem; display: block; padding-bottom: .1rem; } .name2, .price2 { font-size: .2rem; font-weight: 400; color: #999999; line-height: .2rem; } } .gain-item-list-info { width: 1.12rem; height: .43rem; background: linear-gradient(90deg, rgba(76, 212, 154, 1) 0%, rgba(86, 216, 211, 1) 100%); border-radius: 4px; font-size: .2rem; font-weight: 400; color: #FFFFFF; text-align: center; line-height: .43rem; } } } } }