| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886 |
- page {
- background: #F8F8F8;
- color: #111111;
- }
- view {
- font-size: 14px;
- line-height: inherit;
- }
- .main {
- padding: 32rpx;
- &.white{
- background: #fff;
- }
- }
- .search {
- margin-bottom: 20rpx;
- ::v-deep .uni-searchbar__box {
- border: 1px solid #6e6e6e;
- }
- &.with-button {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 0;
- ::v-deep {
- .uni-searchbar {
- width: 500rpx;
- }
- .u-button {
- border-radius: 40rpx;
- }
- }
- }
- }
- .text-center{
- text-align: center!important;
- }
- .category {
- display: flex;
- margin-top: 40rpx;
- margin-bottom: 38rpx;
- align-items: flex-end;
- &.sm{
- .name{
- font-size: 32rpx;
- }
- }
- .name {
- flex: 1;
- font-size: 36rpx;
- color: #111111;
- font-weight: 600;
- display: flex;
- }
- .more {
- font-size: 24rpx;
- color: #666666;
- }
- }
- .artifact-list {
- padding-bottom: 50rpx;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- .item {
- margin-bottom: 36rpx;
- position: relative;
- overflow: hidden;
- width: calc(50% - 15rpx);
- .image-wrap {
- width: 330rpx;
- height: 330rpx;
- background-size: cover;
- background-position: center;
- border-radius: 20rpx;
- }
- .name {
- font-weight: 800;
- font-size: 30rpx;
- color: #333333;
- margin-top: 20rpx;
- width: 100%;
- text-align: center;
- height: 40rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- }
- .mask {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
- display: flex;
- align-items: center;
- justify-content: center;
- .iconfont {
- font-size: 80rpx;
- color: #fff;
- position: absolute;
- }
- }
- .post-list {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- .item {
- padding: 0;
- margin-bottom: 38rpx;
- background: #fff;
- border-radius: 20rpx 20rpx 0 0;
- overflow: hidden;
- width: calc(50% - 10rpx);
- &:active, &.pressed {
- background: #efefef;
- }
- .image-wrap {
- position: relative;
- width: 330rpx;
- height: 440rpx;
- background: #fff center;
- background-size: cover;
- .like {
- position: absolute;
- right: 24rpx;
- bottom: 20rpx;
- z-index: 99;
- color: #fff;
- font-size: 24rpx;
- &.liked{
- color: #FF8719;
- .iconfont {
- color: #FF8719;
- }
- }
- .iconfont {
- font-size: 26rpx;
- color: #fff;
- display: inline-block;
- margin-right: 6rpx;
- }
- }
- }
- .desc {
- margin: 20rpx 16rpx 30rpx;
- text-align: justify;
- font-size: 28rpx;
- color: #666666;
- line-height: 48rpx;
- }
- }
- }
- .banner {
- margin-top: 10rpx;
- .swiper {
- overflow: hidden;
- height: 246rpx;
- border-radius: 28rpx;
- .item {
- height: 100%;
- image {
- height: 100%;
- width: 100%;
- border-radius: 28rpx;
- display: block;
- }
- }
- }
- }
- .category-tag{
- font-size: 24rpx;
- color:#fff;
- margin-left: 10rpx;
- display: flex;
- align-items: flex-end;
- text{
- display: inline-block;
- background:#FF8719;
- padding:6rpx 10rpx;
- }
- .triangle{
- padding: 0;
- background:#FF8719;
- height:10rpx; // 增加高度
- width:24rpx; // 调整为正方形
- clip-path: polygon(0 100%, 100% 0, 100% 100%);
- }
- }
- /** 图文列表 水平 */
- .complex-list-horizontal-1 {
- &.lg{
- .item{
- image, .image-wrapper,.u-image{
- width: 262rpx;
- height: 286rpx;
- overflow: hidden;
- }
- .info{
- .name{
- margin-bottom: 10rpx;
- }
- .desc{
- line-height: 45rpx;
- }
- }
- }
- }
- .item {
- padding: 0;
- margin-bottom: 30rpx;
- background: #fff;
- display: flex;
- position: relative;
- border-radius: 20rpx;
- overflow: hidden;
- image,.image-wrapper,.u-image {
- display: block;
- border-radius: 20rpx;
- width: 170rpx;
- height: 190rpx;
- flex-shrink: 0;
- margin-right: 30rpx;
- overflow: hidden;
- background-color: #efefef;
- }
- .info {
- padding-right: 30rpx;
- .name {
- margin-top: 32rpx;
- font-size: 30rpx;
- color: #312520;
- font-weight: 600;
- margin-bottom: 16rpx;
- line-height: 48rpx;
- }
- .desc {
- text-align: justify;
- font-size: 28rpx;
- color: #666666;
- line-height: 48rpx;
- }
- }
- }
- }
- .complex-list-horizontal-2 {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- .item {
- padding: 0;
- margin-bottom: 30rpx;
- background: #fff;
- display: flex;
- flex-direction: column;
- position: relative;
- border-radius: 20rpx;
- overflow: hidden;
- width: calc(50% - 15rpx);
- image,.image-wrapper,.u-image {
- display: block;
- border-radius: 20rpx;
- width: 100%;
- height: 300rpx;
- flex-shrink: 0;
- overflow: hidden;
- background-color: #efefef;
- }
- .desc {
- text-align: justify;
- font-size: 28rpx;
- color: #666666;
- line-height: 48rpx;
- padding: 10rpx 20rpx;
- }
- }
- }
- .ellipsis-1 {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .ellipsis-2 {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .ellipsis-4 {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 4;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .entrance{
- background: #FFFFFF;
- padding:24rpx 38rpx;
- border-radius: 20rpx;
- margin-bottom: 42rpx;
- margin-top: 10rpx;
- display: flex;
- flex-wrap: nowrap;
- .item{
- text-align: center;
- width: 25%;
- image{
- width: 95rpx;
- height: 95rpx;
- }
- .title{
- font-weight: 600;
- font-size: 28rpx;
- color: #111111;
- margin-top: 12rpx;
- }
- }
- }
- .news-simple-list-with-stats {
- background: #fff;
- padding: 32rpx 32rpx 32rpx;
- margin: 0 -32rpx;
- .item {
- display: flex;
- align-items: center;
- margin-bottom: 50rpx;
- height: 130rpx;
- overflow: hidden;
- &:last-child{
- margin-bottom: 0;
- }
- image,.image-wrapper,.u-image {
- width: 230rpx;
- height: 130rpx;
- border-radius: 10rpx;
- margin-right: 20rpx;
- }
- .info {
- flex: 1;
- .title {
- font-size: 28rpx;
- color: #111111;
- line-height: 42rpx;
- margin-bottom: 20rpx;
- }
- .name {
- min-height: 76rpx;
- }
- .extra {
- display: flex;
- font-size: 24rpx;
- color: #999999;
- text.iconfont {
- margin-right: 4rpx;
- display: inline-block;
- &.icon-view{
- margin-left: 20rpx;
- }
- &.icon-fav{
- margin-left: 20rpx;
- }
- }
- }
- }
- }
- }
- ::v-deep .swiper .wx-swiper-dot {
- width: 16rpx;
- height: 16rpx;
- background: rgba(0,0,0,0.5);
- border: 4rpx solid #fff;
- border-radius: 50%;
- transition: all 0.3s ease;
- }
- ::v-deep .swiper .wx-swiper-dot-active {
- width: 44rpx;
- height: 16rpx;
- background: #FF8719;
- border-radius: 20rpx;
- border: 4rpx solid #FFFFFF;
- opacity: 1;
- }
- ::v-deep .swiper.right-indicator .wx-swiper-dots {
- left: inherit;
- right: -20rpx;
- }
- .compound-list.scene-list {
- .item {
- flex-direction: column;
- height: 370rpx;
- image{
- display: block;
- width: 100%;
- height:282rpx;
- }
- .info{
- display: flex;
- padding:20rpx;
- justify-content: center;
- .name{
- flex:1;
- margin-top: 6rpx;
- }
- .desc{
- color:#24515D;
- font-size: 24rpx;
- text.iconfont{
- font-size: 24rpx;
- color:#999999;
- display: inline-block;
- margin-left: 6rpx;
- }
- }
- }
- }
- }
- /**
- 上图下标题
- */
- .complex-list-vertical-1 {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- .item {
- width: calc(50% - 15rpx);
- margin-bottom: 53rpx;
- position: relative;
-
- image {
- width: 100%;
- height: 360rpx;
- display: block;
- }
- .info {
- text-align: center;
- padding-top: 20rpx;
- font-weight: bold;
- font-size: 30rpx;
- color: #312520;
- }
- }
- }
- .complex-list-vertical-2{
- .item{
- margin-bottom: 35rpx;
- image{
- width: 687rpx;
- height: 287rpx;
- display: block;
- border-radius: 10rpx;
- }
- .info{
- background: #FFFFFF;
- display: flex;
- padding:24rpx 20rpx 29rpx;
- font-size: 24rpx;
- color: #24515D;
- align-items: center;
- .name{
- flex:1;
- font-weight: 600;
- font-size: 30rpx;
- color: #111111
- }
- text.iconfont{
- color:#999999;
- }
- }
- }
- }
- /**
- 图文横向滑动
- **/
- .complex-swiper {
- /* 小一号的尺寸 首页用 */
- &.sm{
- .swiper{
- height: 254rpx;
- }
- .item{
- height:100%;
- width: 425rpx;
- }
- .name{
- right:28rpx;
- bottom: 22rpx;
- }
- }
- &.lg{
- .swiper{
- height: 360rpx;
- .swiper-item {
- width: 580rpx;
- &.active {
- z-index: 10;
- .item {
- transform: scale(1);
- }
- }
- }
- .item{
- width: 580rpx;
- height: 360rpx;
- transform: scale(0.8);
- transition: transform 0.3s ease;
- position: relative;
- }
- }
- }
- .swiper {
- height: 300rpx;
- }
- .item {
- width: 514rpx;
- height: 300rpx;
- position: relative;
- border-radius: 20rpx;
- overflow: hidden;
- image {
- width: 100%;
- height: 100%;
- }
- .name {
- position: absolute;
- bottom: 14rpx;
- right: 22rpx;
- left: 22rpx;
- color: #fff;
- font-weight: 600;
- font-size: 28rpx;
- }
- }
- }
- .threeD {
- width: 36rpx;
- height: 36rpx;
- background: rgba(0, 0, 0, 0.57);
- border-radius: 50%;
- position: absolute;
- top: 15rpx;
- left: 205rpx;
- z-index: 99;
- text-align: center;
- text {
- color: #fff;
- font-size: 24rpx;
- }
- }
- page > view{
- padding-bottom: 120rpx;
- }
- .img-banner {
- height: 246rpx;
- width: 100%;
- border-radius: 20rpx;
- margin-bottom: 40rpx;
- overflow: hidden;
- image {
- height: 100%;
- width: 100%;
- }
- }
- .level-info {
- padding: 48rpx 36rpx 36rpx;
- background: #FFF2E6;
- border-radius: 20rpx;
- position: relative;
- margin-bottom: 40rpx;
- > view:first-child {
- margin-bottom: 44rpx;
- }
- .label {
- font-size: 28rpx;
- color: #111111;
- display: inline-block;
- }
- .value {
- font-weight: bold;
- font-size: 28rpx;
- display: inline-block;
- color: #333333;
- .em {
- font-family: Rockwell;
- font-weight: 600;
- font-size: 30rpx;
- color: #FF8719;
- display: inline-block;
- margin-left: 35rpx;
- }
- }
- .btn {
- position: absolute;
- top: 30rpx;
- right: 30rpx;
- border-radius: 10rpx;
- border: 1px solid #FF8719;
- padding: 15rpx 20rpx;
- display: flex;
- align-items: center;
- font-weight: 400;
- font-size: 28rpx;
- color: #FF8719;
- text.iconfont {
- display: inline-block;
- margin-right: 15rpx;
- font-size: 40rpx;
- }
- }
- }
- .task-list{
- .item{
- display: flex;
- align-items: center;
- background: #fff;
- margin-bottom: 36rpx;
- padding:39rpx 27rpx 38rpx;
- text.iconfont{
- width: 91rpx;
- height: 91rpx;
- border-radius: 50%;
- border: 1px solid #25515E;
- text-align: center;
- color: #25515E;
- font-size: 60rpx;
- line-height: 91rpx;
- display: inline-block;
- margin-right: 17rpx;
- }
- .btn{
- background: #FF8719;
- border-radius: 28rpx;
- color:#fff;
- font-size: 28rpx;
- padding:14rpx 38rpx;
- &.active{
- background: #EFEFEF;
- color:#999999;
- }
- }
- .info{
- flex:1;
- .title{
- font-weight: 600;
- font-size: 30rpx;
- color: #333333;
- margin-bottom: 22rpx;
- }
- .desc{
- font-weight: 400;
- font-size: 24rpx;
- color: #999999;
- }
- }
- }
- }
- .people-list{
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- .item{
- width: 214rpx;
- background: #fff;
- text-align: center;
- position: relative;
- margin-bottom: 24rpx;
- padding-top: 80rpx;
- padding-bottom: 40rpx;
- border-radius: 10rpx;
- image.avatar{
- width: 90rpx;
- height: 90rpx;
- border-radius: 50%;
- margin-bottom: 38rpx;
- }
- .name{
- font-weight: 800;
- font-size: 30rpx;
- color: #333333;
- margin-bottom: 20rpx;
- }
- .days{
- font-weight: 500;
- font-size: 24rpx;
- color: #999999;
- }
- .rank{
- position: absolute;
- top: 35rpx;
- left: 17rpx;
- font-size: 48rpx;
- line-height: 35rpx;
- color:#B6B6B6;
- font-style: italic;
- font-family: Rockwell;
- &.top{
- color: #FF8719;
- font-size: 60rpx;
- }
- .num-shadow{
- width: 45rpx;
- height: 45rpx;
- position: absolute;
- left: 30rpx;
- top: 0;
- }
- }
- }
- }
- button[type="primary"] {
- background: #FF8719;
- border-radius: 16rpx;
- font-size: 28rpx;
- padding: 8rpx;
- color: #FFFFFF;
- font-weight: 600;
- }
- .address-select {
- position: relative;
- width: 100%; // 添加宽度
- height: 100%;
- }
- .input-wrapper {
- width: 100%;
- height: 100%;
- pointer-events: none; /* 禁用内部元素的点击事件 */
- }
- .bottom-actions {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- width: 100%;
- height: 75rpx;
- background: #FFFFFF;
- .action {
- margin-left: 48rpx;
- font-weight: 800;
- font-size: 24rpx;
- color: #191919;
- display: flex;
- align-items: center;
- &:last-child {
- margin-right: 70rpx;
- }
- .iconfont {
- font-size: 30rpx;
- margin-right: 14rpx;
- }
- .iconfont.icon-liked {
- color: #FF8719;
- }
- }
- }
- .article {
- .title {
- font-weight: 800;
- font-size: 36rpx;
- color: #1E1E1E;
- line-height: 60rpx;
- margin-top: 10rpx;
- }
- .content {
- padding-bottom: 100rpx;
- }
- .info {
- display: flex;
- align-items: center;
- margin-top: 25rpx;
- margin-bottom: 45rpx;
- .author {
- font-size: 24rpx;
- color: #FF8719;
- margin-right: 16rpx;
- }
- .time {
- font-size: 24rpx;
- color: #999999;
- }
- }
- }
- .main-img{
- width: 100%;
- height: 394rpx;
- display: block;
- image{
- height: 100%;
- width: 100%;
- }
- }
- .article {
- .title {
- font-weight: 800;
- font-size: 36rpx;
- color: #1E1E1E;
- line-height: 60rpx;
- margin-top: 10rpx;
- }
- .content {
- padding-bottom: 100rpx;
- }
- .info {
- display: flex;
- align-items: center;
- margin-top: 25rpx;
- margin-bottom: 45rpx;
- .author {
- font-size: 24rpx;
- color: #FF8719;
- margin-right: 16rpx;
- }
- .time {
- font-size: 24rpx;
- color: #999999;
- }
- }
- }
|