/**index.wxss**/ /*首页跑马灯效果*/ @keyframes around { from { margin-left: 90%; } to { /* var接受传入的变量 */ margin-left: -100%; } } page{ background: #F7F7F7; } .list-top{ display: flex; flex-wrap: wrap; background-color: #fff; padding: 20rpx 0; } .list-top navigator{ width: 20%; text-align: center; padding: 10rpx 0; font-size: 29rpx; } .list-top image{ width: 50rpx; display: block; margin: 0 auto 5rpx; } .banner-list{ height: calc(100vw / 1.77 + 45px); background-color: #fff; margin-bottom: 20rpx; } .banner-list navigator{ height: calc(100vw / 1.77); overflow: hidden; } .banner-list image{ width: 100%; height: 100% !important; } .banner-list .name{ padding:0 20rpx; line-height: 80rpx; font-size: 33rpx; } .banner-list .wx-swiper-dots.wx-swiper-dots-horizontal { position: absolute; bottom: 110rpx; right:auto; } .notice{ background-color: #fff; padding: 20rpx; display: flex; } .notice image{ width: 40rpx; } .notice text{ color: #FF583D; font-size: 32rpx; position: relative; left: 10rpx; top: -12rpx; } .notice-list{ width: 80%; font-size: 30rpx; line-height: 55rpx; margin-top: -6rpx; padding-left: 20rpx; } .up-down-view{ background-color: #fff; margin-top: 20rpx; } .content-list{ display: flex; width: 300vw; } .number{ width: 50rpx; display: inline-block; text-align: center; color: #CE994F; font-size: 30rpx; font-weight: 500; margin-right: 10rpx; margin-top: 3rpx; } image.number{ margin-top: 25rpx; } .avatar{ width: 90rpx; height: 90rpx; border-radius: 50%; margin-right: 15rpx; margin-left: 10rpx; } .up-down{ width: 100%; margin-right: 20rpx; } .up-down>navigator{ padding: 6rpx 0; border-bottom: 1px solid #f2f2f2; display: flex; font-size: 30rpx; } .up-down .text{ width: 20%; /* font-weight: 500; */ margin-left: 10rpx; } .up-down .down,.up-down .up{ width: 20%; } .up-down .usm{ width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 10rpx; } .title_1{ text-align: right; } .title_1 text{ display: inline-block; width: 18%; font-size: 24rpx; color: #999; text-align: left; /* margin-left: -5rpx; */ } .up-title{ font-size: 33rpx; padding: 20rpx; } .up-title navigator{ float: right; font-size: 28rpx; top:5rpx; } .more-image{ width: 32rpx; position: relative; top:8rpx; } .up-down navigator text{ line-height: 80rpx; } .up-down>text{ color: rgb(128, 128, 128); font-size: 30rpx; margin-bottom: 10rpx; display: block; } .article-img{ max-width: 100rpx; height: 100rpx; border-radius: 8rpx; } .article-name{ display: inline-block; width: 82%; line-height: 38rpx !important; height: 38rpx; font-size: 30rpx; } .article-title{ font-size: 33rpx; margin-bottom: 40rpx; } .article-title navigator{ font-size: 30rpx; color: rgb(128, 128, 128); float: right !important; } .baike{ background-color: #fff; width: 100%; padding:20rpx; margin: 20rpx 0; } .baike .article-title{ margin-bottom: 30rpx; font-size: 33rpx; } .baike .article-title navigator{ font-size: 28rpx; color: rgb(128, 128, 128); float: right !important; } .baike-list{ color: #333; font-size: 32rpx; margin-bottom: 20rpx; padding: 0 0 30rpx; border-bottom: 1px solid #f2f2f2; } .baike-list text{ margin-right: 10rpx; } .baike-info{ display: flex; margin-top: 20rpx; } .baike-info image{ margin-top: 10rpx; width: 130rpx; height: 130rpx; border-radius: 10rpx; } .baike-info text{ display: block; width: 85%; padding-left: 20rpx; padding-top: 10rpx; /* padding: 20rpx; */ color: #000; /* text-overflow: -o-ellipsis-lastline; */ overflow: hidden;text-overflow: ellipsis;display: -webkit-box; -webkit-line-clamp: 3;-webkit-box-orient: vertical;align-content: center; height: 100%; font-size: 30rpx; } .tab{ background: #fff; /* margin-top: 16rpx; */ padding:0 20rpx; display: flex; border-bottom: 1px solid #f2f2f2; } .tab view{ font-size: 32rpx; color: #333; line-height: 80rpx; transition: all .1s linear; margin-right: 30rpx; } .tab .act{ color: #FF583D; border-bottom: 2px solid #FF583D; font-size: 32rpx; } .swiper-content{ background: #fff; height: calc(100vh - 86rpx); } scroll-view{ height: 100%; padding: 25rpx 25rpx 0; } .swiper-content scroll-view{ padding-top: 0; } .item1{ border-bottom: 1px solid #F5F5F5; margin: 30rpx 0; } .name{ font-size: 32rpx; /* font-weight: 500; */ margin-bottom: 20rpx; } .name>text{ color: #AAAAAA; font-size: 20rpx; border: 1px solid #AAAAAA; border-radius: 4rpx; font-weight: 400; padding: 0 4rpx; position: relative; top: -3rpx; } .name view{ float: right; color: #CE994F; font-size: 22rpx; text-align: center; position: relative; top: -5rpx; } .name view text{ display: block; font-size: 32rpx; color: #CE994F; position: relative; top: -8rpx; } .info{ font-size: 30rpx; padding: 10rpx 0; display: flex; flex-wrap: wrap; } .info view{ color: #666; width: 85%; vertical-align: top; } .info label{ font-weight: 500; color: #333; } .imgs{ margin: 30rpx 0; } .img{ display: inline-block; width: 224rpx; height: 224rpx; border-radius: 8rpx; margin-right: 8rpx; margin-bottom: 8rpx; } /* //热门股票 */ .item2{ padding: 20rpx 25rpx 0; } .date-picker{ text-align: center; font-weight: 500; font-size: 32rpx; } .hot{ border-radius: 16rpx; margin-top: 30rpx; /* box-shadow: 0px 0px 12px 0px rgba(218, 217, 217, 0.5); */ } .hot_tab{ display: flex; } .hot_tab view{ width: 50%; text-align: center; font-size: 30rpx; line-height: 88rpx; position: relative; } .hot_tab .act1{ font-weight: bold; } .act1 text{ position: absolute; width: 64rpx; height: 6rpx; bottom: 0; left: 0; right: 0; margin: auto; background: rgba(217, 75, 36, 1); border-radius: 40rpx; } .tab1{ color: #D94B24; padding: 0 24rpx; font-weight: 500; font-size: 40rpx; line-height: 88rpx; border-radius: 16rpx 16rpx 0px 0px; background: linear-gradient(124deg, #FEEAEC 0%, #FFAEAF 100%); } .tab2{ color: #2383E5; padding: 0 24rpx; font-weight: 500; font-size: 40rpx; line-height: 88rpx; border-radius: 16rpx 16rpx 0px 0px; background: linear-gradient(124deg, #ECF6FF 0%, #B4D9FF 100%); } .hot image{ width: 54rpx; position: relative; top:3rpx; } .gp{ display: flex; justify-content: space-between; padding: 24rpx 0; flex-wrap: wrap; border-bottom: 1px solid #F5F5F5; } .gp-name{ font-weight: 500; font-size: 32rpx; width: 60%; padding-left: 8rpx; } .num{ font-size: 28rpx; color: #999; text-align: right; width: 200rpx; } .num text{ font-size: 36rpx; font-weight: 500; color: #D94B24; } .comment{ width: 100%; padding-top: 10rpx; padding-left: 60rpx; } .comment text{ color: #666; margin:0 10rpx; font-size: 28rpx; } .more{ display: block; line-height: 94rpx; text-align: center; font-size: 28rpx; color: #333; } .more image{ width: 24rpx; position: relative; top: 3rpx; } /* 胜率 */ .win{ position: relative; padding: 30rpx 0; padding-left: 59rpx; border-bottom: 1px solid #F5F5F5; } .win image{ width: 50rpx; position: absolute; top: 33rpx; left: 0; } .hot .rank{ width:50rpx;text-align:center;color:#CE994F; display: inline-block; } .win .rank{ position: absolute; top: 32rpx; left: 0; width:50rpx;text-align:center;color:#CE994F; } .win .name view{ float: right; color: #666; font-size: 28rpx; text-align: center; position: relative; top: 0; font-weight: 400; } .win .name view text{ font-size: 36rpx; color: #E90001; display: inline; top: 0; } .win .tag{ font-size: 28rpx; color: #CE994F; border: 1px solid #CE994F; border-radius: 8rpx; margin-right: 8rpx; font-weight: 400; padding: 0 8rpx; margin-bottom: 10rpx; } /* 冠军心得 */ .list{ display: flex; justify-content: space-between; border-bottom: 1px solid #F5F5F5; padding: 24rpx 0; } .list image{ width: 174rpx; height: 120rpx; border-radius: 8rpx; } .list>view{ width: 70%; font-size: 32rpx; } .list .title{ height: 88rpx; } .list text{ font-size: 28rpx; color: #999; } .exp{ color: #D94B24; font-size: 24rpx; } .relist{ position: relative; padding-left: 80rpx; margin-bottom: 24rpx; } .relist image{ width: 90rpx; height: 90rpx; position: absolute; left: 0; border-radius: 100%; } .content{ font-size: 32rpx; margin-top: 20rpx; } .msg .name{ font-size: 32rpx; color: #333; margin-left: 30rpx; } .msg .date{ font-size: 28rpx; color: #333; margin-left: 30rpx; } .item_money{ font-size: 33rpx; } .item_money_title{ font-size: 30rpx; } .recomment{ padding: 24rpx 0; border-bottom: 1px solid rgba(245, 245, 245, 1); } .recomment image{ width: 32rpx; margin-right: 10rpx; position: relative; top: 5rpx; } .recomment text{ color: #999; font-size: 28rpx; margin-right: 40rpx; } .marquee_container{ width: 100%; background-color: #fff; /* background: rgba(255, 244.8, 244.8, 1); */ /* box-shadow:0px 4px 12px 0px rgba(0,0,0,0.08); */ border-radius:4px; padding: 10px 8px; position: relative; overflow: hidden; height: 125rpx; margin-bottom: 20rpx; } .marquee_container navigator{ background-color: #ff0f03; position: absolute; right: 20rpx; top: 0; color: #fff; padding: 0 20rpx; height: 70rpx; line-height: 70rpx; border-radius: 6rpx; font-size: 26rpx; bottom: 0; margin: auto; } .marquee_text{ color:#333; font-weight: 600; font-size: 34rpx; } .marquee_text text{ display: block; color:#666; font-size: 26rpx; margin-top: 5rpx; font-weight: 400; } .group_list{ display: flex; width: 100%; flex-wrap: wrap; justify-content: space-between; } .g_list{ position: relative; text-align: center; padding: 10rpx 40rpx; /* margin-right: 15rpx; */ width: 30%; margin-bottom: 15px; } .g_list text{ display: block; position: relative; z-index: 9; font-size: 26rpx; font-weight: 500; } .g_list view{ position: relative; z-index: 9; font-size: 30rpx; font-weight: 500; margin-top: 10rpx; } .group_list image{ width: 100%; position: absolute; left: 0; top: 0; } .g_list .fund{ font-weight: bolder; font-size: 32rpx; margin: 5rpx 0; } .today{ padding: 25rpx; font-size: 26rpx; } .change{ color: #E90001; font-size: 30rpx; text-decoration: underline; display: inline; } .yk_list{ margin-top: 20rpx; } .yk{ display: flex; /* justify-content: space-between; */ font-size: 24rpx; } .week_name{ width: 15%; padding: 12px 0; font-size: 26rpx; } .week_total{ width: 15%; text-align: center; padding: 10rpx 0; } .week_incom{ width: 70%; display: flex; } .week_incom>view{ padding: 5px 0; width: 20%; text-align: center; /* border: 1px solid red; */ } .week_incom text{ display: block; color: #fff; } .week_incom .down{ background-color: #07B20B; color: #fff !important; } .week_incom .up{ background-color: #E90001; color: #fff !important; } .week_incom .none{ background-color: #a3a3a3; /* color: #fff !important; */ } .score{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 10rpx; } .score>view{ width: 75%; } .score view view{ height: 15rpx; }