123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- page {
- background-color: #fff;
- }
- .page {
- background-color: #fff;
- width: 100%;
- height:100vh;
- }
- .topBody {
- width:750rpx;
- }
- .header {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: flex-start;
- width:750rpx;
- height:420rpx;
- position: relative;
- z-index: 10;
- position: relative;
- .topBg {
- width:750rpx;
- height:250rpx;
- background: #90d369;
- border-radius: 0 0 50% 50% / 0 0 20% 20%;
- z-index: 0;
- position: absolute;
- }
- /* 新增设置按钮 */
- .settingBtn {
- position: absolute;
- top: 24rpx;
- right: 30rpx;
- z-index: 11;
- width: 48rpx;
- height: 48rpx;
- /* 新增点击态 */
- &:active {
- opacity: 0.7;
- transform: scale(0.95);
- }
- image {
- width: 100%;
- height: 100%;
- }
- }
- .top_num {
- position: absolute;
- top: 24rpx; // 垂直对齐设置按钮
- right: 98rpx; // 30+48+20=98 预留按钮空间
- display: flex;
- flex-direction: row;
- justify-content: flex-end;
- align-items: center;
- z-index: 10;
- .num_1, .num_2 {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- background: rgba(255, 255, 255, 0.8);
- border-radius: 30rpx;
- padding: 10rpx 20rpx;
- margin-left: 20rpx;
- .num_1, .num_2 {
- margin-left: 10rpx; // 缩小间距
- padding: 8rpx 16rpx; // 调整内边距
- }
- text:first-child {
- font-size: 24rpx;line-height: 32rpx;
- color: #666;
- }
- text:last-child {
- font-size: 32rpx;line-height: 32rpx;
- font-weight: bold;
- color: #333;
- }
- }
- }
- .infoBg {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: stretch;
- width: 690rpx;
- height: 320rpx;
- margin: 20rpx 30rpx;
- margin-top: 90rpx;
- background: rgba(255, 255, 255, 0.95);
- backdrop-filter: blur(10px);
- border-radius: 24rpx;
- padding-top: calc(var(--status-bar-height) + 0rpx);
- box-shadow: 0 8rpx 20rpx rgba(0, 0, 0, 0.1);
- .top_row {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: flex-start;
- padding: 20rpx 0;
- .left {
- padding-left: 30rpx;padding-right: 0rpx;
- width:200rpx;
- image {
- width:136rpx;
- height:136rpx;
- border-radius: 100rpx;
- border:solid 4rpx #fff;
- }
- .level {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- height: 32rpx;
- padding: 0 12rpx;
- margin-left: 10rpx;
- border-radius: 12rpx;
- background: linear-gradient(90deg, #FF5869 0%, #F83881 100%);
- font-size: 20rpx;
- color: #fff;
- font-weight: normal;
- }
- }
- .right {
- color:#333;
- width:500rpx;
- font-size: 40rpx;padding-top: 20rpx;
- .nickname {
- font-weight: bold;
- margin-bottom: 0rpx;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- image {
- width:36rpx;
- margin-left: 8rpx;
- margin-right: 10rpx;
- }
- .level {
- font-weight: normal;font-size: 32rpx;
- }
- }
- .tags_list {
- .tag {
- margin-right: 8rpx;
- }
- }
- .join_date {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- font-size: 28rpx;
- color:#333;
- image {
- width:36rpx;
- margin-left: 6rpx;
- }
- }
- .follow_info {
- display: none;
- }
- }
- }
- .bottom_row {
- padding: 20rpx 50rpx;
- .intro_row {
- display: flex;
- flex-direction: row;
- align-items: center;
- margin-bottom: 20rpx;
- .intro_text {
- color: #999;
- font-size: 28rpx;
- }
- .add_icon {
- width: 28rpx;
- margin-left: 10rpx;
- }
- }
- .follow_info {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: flex-start;
- .num {
- font-size: 36rpx;
- font-weight: bold;
- color: #333;
- margin-right: 8rpx;
- }
- .label {
- font-size: 28rpx;
- color: #999;
- }
- .separator {
- width: 2rpx;
- height: 24rpx;
- background-color: #E5E5E5;
- margin: 0 30rpx;
- }
- }
- }
- }
- .title {
- font-size: 34rpx;
- }
- }
- .whiteItem {
- width:690rpx;margin:20rpx auto;
- .btn {
- width:100%;height:120rpx;
- display: flex;flex-direction: row;justify-content: center;align-items: center;
- background: #2B65D9;color:#fff;
- border-radius: 120rpx;
- }
- }
- .thread {
- height:210rpx;
- padding:50rpx;
- font-size: 52rpx;
- color:#6E6A6A;
- padding-top: 80rpx;
- }
- .myinfo {
- width: 690rpx;
- display:flex;
- flex-direction: column;
- margin:30rpx 30rpx 60rpx;
- justify-content: flex-start;
- .numlist {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- .item {
- display: flex;
- justify-content: center;
- padding:20rpx;
- border-radius: 38rpx;
- width:316rpx;
- height:186rpx;
- image {
- width:64rpx;
- }
- .num {
- color:#fff;
- font-size: 36rpx;
- text-align: center;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- .name {
- font-size: 28rpx;
- color:#BABABA;
- margin-top: 12rpx;
- }
- }
- }
- }
- .numlist2 {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- flex-wrap: wrap;
- border-radius: 2rpx;
- .item {
- display: flex;
- justify-content: center;
- padding:20rpx;
- border-radius: 2rpx;
- width:340rpx;
- background: rgba(120, 120, 120, 0.09);margin:2rpx;
- image {
- width:224rpx;
- }
- .num {
- color:#fff;
- text-align: center;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- .name {
- font-size: 24rpx;
- color:#BABABA;
- margin-top: 12rpx;
- }
- }
- }
- }
- .tablist {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- margin: 20rpx 0;
- position: relative;
- .item {
- flex: 1;
- height: 80rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- position: relative;
- .name {
- font-size: 32rpx;
- color: #666;
- transition: all 0.3s;
- }
- &.active {
- .name {
- color: #2B65D9;
- font-weight: bold;
- }
- &::after {
- content: '';
- position: absolute;
- bottom: -10rpx;
- left: 50%;
- transform: translateX(-50%);
- width: 40rpx;
- height: 6rpx;
- background: #2B65D9;
- border-radius: 3rpx;
- }
- }
- &:active {
- opacity: 0.8;
- }
- }
- }
- }
- .btn_submit {
- width: 660rpx;
- height: 96rpx;
- margin:0 auto;
- border: 2rpx solid #404040;
- border-radius: 28rpx;
- font-weight: bold;
- font-size: 32rpx;
- color: #FF2A95;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- }
- .blankHeight {
- height:100rpx;
- }
- .loading-more {
- text-align: center;
- padding: 20rpx 0;
- color: #999;
- font-size: 28rpx;
- }
- .no-more {
- text-align: center;
- padding: 20rpx 0;
- color: #999;
- font-size: 28rpx;
- }
|