// 导入FontAwesome @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'); page { background-color: #ffffff; width: 100%; color: #333; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } .page { background-color: #ffffff; width: 100%; } .header { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; width: 750rpx;height: 320rpx; padding-top: calc(var(--status-bar-height) + 0rpx); .left { display: flex;flex-direction: row;width:200rpx;height:120rpx; justify-content: center; padding-left:50rpx; image { width:124rpx;height:40rpx; } } } .thread { height: 20rpx; } .thread2 { height: 60rpx; } .topUser { width:750rpx; height:750rpx; position: relative; overflow: hidden; .home_image{ width: 100%; height: 100%; transition: transform 0.3s ease; &:active { transform: scale(1.05); } } .image-indicator { position: absolute; top: 30rpx; right: 30rpx; background-color: rgba(0, 0, 0, 0.5); color: #fff; padding: 8rpx 16rpx; border-radius: 20rpx; font-size: 24rpx; } .list { position: absolute; bottom: 20rpx; width:100%; display: flex; flex-direction: row; justify-content: center; align-items: flex-end; padding: 0 20rpx; overflow-x: auto; &::-webkit-scrollbar { display: none; } .img { width:84rpx;height:84rpx;margin: 0 10rpx; transition: all 0.3s ease; image { width:84rpx;height:84rpx;border-radius: 16rpx;border: solid 4rpx #fff; box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.2); } } .active { width:136rpx;height:136rpx; image { width:136rpx;height:136rpx;border-radius: 24rpx;border: solid 4rpx #fff; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.3); } } } } .body { width:750rpx;margin-top:-60rpx; border-radius: 40rpx 40rpx 0 0;padding-top:30rpx; display: flex;flex-direction: column;justify-content: flex-start;align-items: flex-start; box-shadow: 0 -10rpx 20rpx rgba(0, 0, 0, 0.05); position: relative; z-index: 10; .article-header { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 40rpx 50rpx 20rpx; width: 100%; box-sizing: border-box; .title { font-size: 40rpx; font-weight: bold; color: #222; margin-bottom: 20rpx; line-height: 1.4; } .meta-info { display: flex; flex-direction: row; flex-wrap: wrap; color: #999; font-size: 26rpx; .meta-item { display: flex; align-items: center; margin-right: 30rpx; margin-bottom: 10rpx; .meta-text { margin-left: 8rpx; } } } } .divider { height: 1rpx; background-color: #eee; width: 650rpx; margin: 10rpx auto 30rpx; } .article-content { padding: 0 50rpx 40rpx; width: 100%; box-sizing: border-box; .content { font-size: 32rpx; color: #333; line-height: 1.8; text-align: justify; } } .article-footer { width: 100%; padding: 20rpx 0; border-top: 1rpx solid #f0f0f0; .action-bar { display: flex; justify-content: space-around; align-items: center; .action-item { display: flex; flex-direction: column; align-items: center; padding: 20rpx 0; .fa { font-size: 40rpx; color: #666; margin-bottom: 10rpx; &.liked { color: #ff5151; } } .action-text { font-size: 24rpx; color: #666; } &:active { opacity: 0.7; } } } } } .list_wish { display: flex;flex-direction: column;justify-content: flex-start;align-items: center;color:#fff; width:750rpx; .item { margin-top: 20rpx;color:#fff;font-size: 28rpx; display: flex;flex-direction: row;justify-content: center;align-items: center; width: 690rpx;height: 156rpx; background: #28292D; border-radius: 28rpx; .avator { width: 116rpx;height: 116rpx;margin-left:14rpx; background: #161616; border-radius: 28rpx; display: flex;flex-direction: row;justify-content: center;align-items: center; .icon { width:100rpx;height:100rpx;border-radius: 20rpx; } } .left { width:370rpx;display: flex;flex-direction: column;justify-content: flex-start;align-items: flex-start; margin-left:20rpx; .name { font-size: 32rpx;margin-bottom:20rpx; } .jindu { display: flex;flex-direction: row;justify-content: flex-start;align-items: center; .bord { width: 216rpx;height: 20rpx;margin-left:0rpx; background: #0F0F0F; border-radius: 24rpx; .active { width: 0%;height: 20rpx; background: linear-gradient( 142deg, #FF5967 0%, #FF2A95 100%); border-radius: 24rpx; } } .tips { margin-left:20rpx;font-weight: 400;font-size: 24rpx;color: #FF3D83; } } } .right { width:190rpx; .btn_submit { width: 168rpx;height: 72rpx; background: linear-gradient( 142deg, #FF5967 0%, #FF2A95 100%); border-radius: 28rpx 28rpx 28rpx 28rpx; display: flex;flex-direction: column;justify-content: center;align-items: center; } .state { width:168rpx;height: 72rpx;text-align: center;line-height: 72rpx; } } } } .list_info { display: flex;flex-direction: column;justify-content: flex-start;align-items: center;color:#fff; width:750rpx; .item { width: 690rpx;margin: 0rpx 0;color:#fff;font-size: 28rpx;padding:20rpx 0 0rpx; display: flex;flex-direction: row;justify-content: flex-start;align-items: center; .avator { width:88rpx; .icon { width:72rpx;height:72rpx;border-radius: 36rpx; } } .tit { width:470rpx; .list1 { display: flex;flex-direction: row;justify-content: flex-start;align-items: center; .name { font-size: 32rpx;padding-right: 10rpx;height:40rpx;line-height: 40rpx; } .sex1 { width: 76rpx; height: 40rpx; background: #423339; border-radius: 16rpx 16rpx 16rpx 16rpx; border: 2rpx solid #36D6FF;color:#36D6FF; display: flex;flex-direction: row;justify-content: flex-start;align-items: center; image { width:24rpx;height:24rpx;margin-left:4rpx;margin-right: 4rpx; } } .sex2 { width: 76rpx; height: 40rpx; background: #423339; border-radius: 16rpx 16rpx 16rpx 16rpx; border: 2rpx solid #FF7D88;color:#FF7D88; display: flex;flex-direction: row;justify-content: flex-start;align-items: center; image { width:24rpx;height:24rpx;margin-left:4rpx;margin-right: 4rpx; } } .xinzuo { width: 92rpx;height: 44rpx;margin-left:10rpx;line-height: 44rpx; border-radius: 16rpx 16rpx 16rpx 16rpx; border: 2rpx solid #404040;font-size: 20rpx;color: #D0D0D0; display: flex;flex-direction: row;justify-content: center;align-items: center; } } .time { color:#D0D0D0;font-size: 24rpx; } } .state { width:130rpx;font-size: 28rpx;font-weight: normal;text-align: right; .status_1 { color:#999; } .status_9 { color:#36D6FF; } .status_2 { color:#FE2D56; } } } .content { width: 690rpx;font-weight: 400;font-size: 28rpx;color: #FFFFFF;text-align: left;font-style: normal; text-transform: none;padding:20rpx 0; padding-left:88rpx; } .photo_list { width: 690rpx;margin-bottom:0rpx;padding-left:88rpx; border-radius: 28rpx;font-size: 28rpx; display: flex;flex-direction: row;align-items: center; flex-wrap: wrap; .img { width:186rpx;height:186rpx;margin-bottom: 24rpx;margin-right: 12rpx; image { width:186rpx;height:186rpx;border-radius: 28rpx;border:solid 1px rgba(255, 255, 255, 0.2); } } .right { color:#fff; } } .desc { width: 690rpx;padding:0rpx 0 0rpx;padding-left:88rpx; font-weight: 400; font-size: 24rpx; color: #999999; line-height: 0rpx; text-align: left; font-style: normal; text-transform: none; display: flex;flex-direction: row;justify-content: space-between;align-items: center; image { width:40rpx;height:40rpx; } .addr { width:200rpx; } .img { display: flex;flex-direction: row;justify-content: center;align-items: center; padding:0 0rpx 0 30rpx;font-size: 28rpx;color:#fff; image { margin-top:-8rpx; } } } } .btn_submit { width: 336rpx;height: 100rpx;margin:50rpx auto; background: linear-gradient( 90deg, #FF536D 0%, #FF3B84 100%); border-radius: 50rpx 50rpx 50rpx 50rpx; display: flex;flex-direction: row;justify-content: center;align-items: center; font-weight: bold; font-size: 32rpx; color: #FFFFFF; image { width:44rpx;height:44rpx;margin-right: 8rpx;margin-top:4rpx; } } .btn { text-align: center; color: #fff; padding: 20rpx; margin: 50rpx; border-radius: 20rpx; background-color: #2979ff; } .font-awesome-import { display: none; } .fa { font-family: 'FontAwesome'; margin-right: 6rpx; } // 评论区域样式 .comment-section { background-color: #f8f8f8; padding: 30rpx 0; margin-top: 20rpx; border-radius: 30rpx 30rpx 0 0; .section-header { display: flex; align-items: center; padding: 0 30rpx 20rpx; border-bottom: 1rpx solid #eee; margin-bottom: 20rpx; .fa { font-size: 36rpx; color: #2979ff; } .section-title { font-size: 32rpx; font-weight: bold; margin: 0 10rpx; color: #333; } .comment-count { font-size: 28rpx; color: #999; } } .comment-button { display: flex; align-items: center; justify-content: center; width: 650rpx; height: 90rpx; background-color: #2979ff; color: #fff; border-radius: 45rpx; margin: 40rpx auto 20rpx; font-size: 30rpx; box-shadow: 0 4rpx 12rpx rgba(41, 121, 255, 0.3); transition: all 0.3s ease; .fa { margin-right: 10rpx; } &:active { transform: scale(0.97); background-color: #2567db; } } }