@import "../../lib/style/main.wxss"; page { margin-bottom: 40rpx; background: transparent; padding-bottom: calc(100rpx + constant(safe-area-inset-bottom)); padding-bottom: calc(100rpx + env(safe-area-inset-bottom)); display: flex; flex-direction: column; min-height: 100.1vh; } .navigation { position: fixed; left: 0; right: 0; bottom: 0; border-top: var(--themebor); padding: 0.4em; font-size: 0.7em; padding-bottom: 0.4em; padding-bottom: calc(0.4em + constant(safe-area-inset-bottom)); padding-bottom: calc(0.4em + env(safe-area-inset-bottom)); } .navigation .nav { color: var(--colorp); } .navigation .nav.act { color: var(--themecolor); } .navigation image { margin-bottom: 0.4em; width: 36rpx; height: 36rpx; margin: 0 4rpx; } .home, .activities, .community { flex: 1; } .swiperContainer { border-radius: var(--themerad); margin: var(--sizenor); overflow: hidden; } .swiperContainer swiper { height: 360rpx; } .swiperContainer image { width: 100%; display: block; } .hotNews, .partners { padding: var(--sizenor); } .title, .article, .article .attr, .levelTitle { display: flex; display: -webkit-flex; } .title, .article .attr, .levelTitle { align-items: center; } .title { justify-content: space-between; } .title .bar { background-color: var(--themedanger); height: calc(2 * var(--sizenor)); width: 12rpx; margin-right: 0.7em; } .article { padding: var(--sizenor) 0; border-bottom: var(--themebor); } .article .imgbox { width: 240rpx; height: 240rpx; overflow: hidden; margin-right: 0.5em; } .article .content { flex: 1; height: 240rpx; overflow: hidden; } .article .attr { color: var(--colorattr); font-size: var(--txtsub); } .article .attr image { height: 1em; width: 1em; margin-right: 0.2em; } .article .content > view { margin-top: 0.5em; } .article .p { color: var(--colorp); text-overflow: ellipsis; font-size: var(--txtsub); } .partnersContainer { padding: var(--sizenor); } .partnersContainer .level { margin-top: 1em; } .partnersContainer .level:first-child { margin-top: 0; } .partnersContainer .levelTitle { color: #ccc; font-size: var(--txtsub); flex-direction: column; margin-bottom: var(--sizenor); } .level:first-child image { height: 100rpx; width: 300rpx; } .level image { height: 90rpx; width: 270rpx; } .searchContainer { padding: var(--sizenor); color: var(--colorp); font-size: var(--txtsub); display: flex; justify-content: space-between; } .searchContainer > .release-button { flex: 1; text-align: center; line-height: 68rpx; margin-left: 20rpx; border-radius: 100rpx; background-image: linear-gradient(to right, #57A8EF, #6247FF); color: #fff; font-size: 30rpx; } .search { padding: 0.5em 1em; flex: 3; border-radius: 40rpx; background-color: #efefef; height: 45rpx; box-sizing: content-box; } .search input { display: block; text-align: center; width: 100%; color: #333; } .activityContainer { padding: 0 var(--sizenor); } .activity { border-radius: var(--themerad); margin: 0.5em 0 1.2em 0; overflow: hidden; height: 360rpx; position: relative; } .activity image { width: 100%; height: 100%; } .activity .skiing { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sizesmr) var(--sizenor); color: #fff; background-color: rgba(0, 0, 0, 0.4); } .removeTag { position: absolute; top: 20rpx; left: 20rpx; font-size: 1.4em; width: 1.4em; height: 1.4em; } .tag { color: #fff; position: absolute; top: 19rpx; right: -38rpx; font-size: 0.76em; padding: 2rpx 40rpx; transform: rotate(45deg); -ms-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); -o-transform: rotate(45deg); } .tag.ready { background-color: #51b84b; } .tag.signing, .removeTag { background-color: #f64f5f; } .tag.finished { background-color: var(--darkgray); } .addTidings image { height: 88rpx; width: 88rpx; margin-top: -32rpx; } .mine { /* di */ } .mineNav { background-color: #fff; } .mineNav > view.selected { border-bottom: 4rpx solid var(--theme); color: var(--theme); } .mineNav > view { margin-left: 32rpx; padding-bottom: 12rpx; margin-bottom: 8rpx; } .mineNav > view:first-child { margin-left: 0; } .myComment .comment { padding-bottom: 32rpx; } .comment image { width: 60rpx; height: 60rpx; } .myComment > .comment, .myAct { margin-bottom: 10rpx; } .myComment .nickname { color: #002063; } .myAct > view:last-child { margin-top: 12rpx; } .community { width: 100%; } .cover { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; } .cover .navigation { border: none; } .cover .nav { opacity: 0; } .bfc { overflow: hidden; margin: 0 0.75em; } .bfc > view { float: left; width: 49.99999999999%; padding: 0.25em; overflow: hidden; height: calc(402rpx + 5.54em); } .imgtxt .img { overflow: hidden; position: relative; height: 400rpx; border-top-left-radius: 14rpx; border-top-right-radius: 14rpx; border: 1rpx solid #ececec; border-bottom: none; } .imgtxt .img .videoPlay { position: absolute; height: 100rpx; width: 100rpx; top: 50%; left: 50%; margin-top: -50rpx; margin-left: -50rpx; } .imgtxt .img.bordered { border-top-left-radius: 14rpx; border-top-right-radius: 14rpx; border: 1rpx solid #ececec; border-bottom: none; } .imgtxt image { border-top-left-radius: 14rpx; border-top-right-radius: 14rpx; width: 100%; height: 100%; } .imgtxt .text { padding: 0.5em; font-size: 0.88em; border-bottom-left-radius: 14rpx; border-bottom-right-radius: 14rpx; border: 1rpx solid #ececec; border-top: none; } .imgtxt .text .textcontent { height: 2.64em; overflow: hidden; } .imgtxt .more { margin-top: 0.5em; } .imgtxt .avatar .circle, .imgtxt .favor image { margin-right: 0.4em; } .imgtxt .avatar .circle { height: 1.4em; width: 1.4em; } .imgtxt .favorite { height: 1em; width: 1em; } .nav-list { position: fixed; bottom: 0; height: 160rpx; width: 100%; z-index: 10; background: transparent; } .nav-select { display: flex; position: relative; z-index: 10; background: transparent; } .nav-select .home,.nav-select .activity,.nav-select .community,.nav-select .me { flex: 1; margin-top: 75rpx; display: flex; align-items: center; flex-direction: column; background: transparent; } .nav-list image { width: 40rpx; height: 40rpx; } .nav-list .bg { width: 100%; position: absolute; z-index: 0; background: transparent; } .nav-list .release { flex: 1; display: flex; justify-content: center; } .nav-list .release image{ width: 150rpx; position: relative; } .home-nav-list { height: 244rpx; position: relative; margin-top: -36rpx; } .home-nav-list > image{ width: 100%; height: 100%; position: absolute; z-index: 0; } .home-nav-select { display: flex; position: relative; z-index: 9; height: 90%; width: 80%; margin: auto; font-size: 24rpx; font-weight: bold; color: #2E3149; } .home-nav-select > view{ flex: 1; display: flex; justify-content: center; align-items: center; flex-direction: column; } .home-nav-select image{ width: 120rpx; } .news-list .hot-title { display: flex; justify-content: space-between; margin-bottom: 15rpx; } .news-list .hot-title .title{ width: 128rpx; height: 44rpx; font-size: 32rpx; font-weight: bold; color: #000000; line-height: 44rpx; margin-left: 48rpx; } .news-list .hot-title .more { height: 34rpx; color: #868AA8; display: flex; font-size: 24rpx; align-items: center; } .news-list .hot-title .more > image { width: 28rpx; margin: 0 34rpx 0 10rpx; position: relative; } .news-list .news-list-content .news-list-item{ position: relative; margin-top: -20rpx; } .news-list .news-list-content .news-list-item >image{ width: 100%; position: absolute; z-index: 0; } .news-list .news-list-content .news-list-item .content { padding: 46rpx 60rpx 48rpx 50rpx; box-sizing: border-box; display: flex; position: relative; z-index: 9; } .news-list .news-list-content .news-list-item .content .left{ margin-top: 15rpx; width: 232rpx; height: 154rpx; margin-right: 34rpx; position: relative; z-index: 0; } .news-list .news-list-content .news-list-item .content .right { display: flex; justify-content: center; /* align-items: center; */ flex-direction: column; } .news-list .news-list-content .news-list-item .content .right .title { width: 372rpx; min-height: 80rpx; font-size: 26rpx; font-weight: bold; color: #262626; line-height: 27rpx; margin-bottom: 10rpx; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; } .news-list .news-list-content .news-list-item .content .right .introduce { width: 372rpx; height: 62rpx; font-size: 24rpx; font-weight: bold; color: #868AA8; line-height: 24rpx; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } .news-list .news-list-content .news-list-item .content .right .bottom { display: flex; justify-content: space-between; } .news-list .news-list-content .news-list-item .content .right .bottom .tagR { background: #83CEBE; padding: 0 20rpx; border-radius: 17rpx; line-height: 34rpx; font-size: 24rpx; color: #FFFFFF; height: 34rpx; } .news-list .news-list-content .news-list-item .content .right .bottom .time { font-size: 24rpx; font-weight: 400; color: #868AA8; line-height: 34rpx; } .z-i { position: relative; display: block; z-index: 99999; } .sponsor .sponsor-title { margin: 20rpx 0 0 48rpx; font-size: 32rpx; font-weight: bold; color: #000000; line-height: 44rpx; } .sponsor-list { display: flex; flex-direction: column; align-items: center; } .sponsor-item { width: 690rpx; height: 184rpx; background: #FFFFFF; box-shadow: 0px 4px 30px 0px rgba(228, 231, 246, 0.5); border-radius: 12px; display: flex; justify-content: center; align-items: center; margin-top: 14rpx; } .sponsor-item > image{ width: 300rpx; height: 110rpx; }