page { background-color: #fff; padding-top: var(--status-bar-height); padding-bottom: 144rpx; } .page { background-color: #fff; width: 100%; min-height: 100vh; } .topBody { width: 750rpx; } .header1 { 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; } } .header { padding: 20rpx; padding-top: 48rpx; background: linear-gradient(225deg, #cdff9f 0%, #acff5f 30%, #d0ffa5 100%); min-height: 720rpx; margin-bottom: -135rpx; .card-box { width: 100%; min-height: 515rpx; position: relative; left: 0; top: 0%; overflow: hidden; .card-top { height: 435rpx; width: 100%; background: url("../../static/me/my-card-bg.png") top center / 100% auto, #fff; position: absolute; top: 0%; left: 0; z-index: 5; padding: 24rpx; padding-top: 16rpx; box-sizing: border-box; border-radius: 25rpx; .top-box { display: flex; justify-content: space-between; padding-top: 8rpx; background: url("../../static/me/car-top-bg-center.png") top center/ 146rpx 50rpx no-repeat; .hello-box { font-family: "CustomFont" !important; font-size: 36rpx; font-weight: 700; } .settingBtn-box { width: 148rpx; display: flex; align-items: center; justify-content: space-between; image { width: 64rpx; height: 64rpx; } } } .userinfo-box { min-height: 120rpx; width: 100%; display: flex; .avator { width: 120rpx; height: 120rpx; margin-right: 16rpx; } .userinfo-right { .nickname { font-weight: bold; margin-bottom: 0rpx; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; display: flex; > text { max-width: 380rpx; font-family: "PingFang SC-Bold"; font-weight: 400; font-size: 36rpx; } image { width: 36rpx; margin-left: 8rpx; margin-right: 10rpx; } .level { font-weight: 400; font-size: 20rpx; font-family: "PingFang SC-Bold"; background: linear-gradient(360deg, #acf934 0%, #ffe439 100%); border-radius: 8rpx; padding: 2rpx 8rpx; } } .label { height: 55rpx; height: 110rpx; overflow: hidden; > view { color: #acf934; font-family: "PingFang SC-Medium"; font-weight: 400; font-size: 20rpx; background: #1f1f1f; border-radius: 6px 6px 6px 6px; display: inline-block; margin-left: 10rpx; margin-bottom: 10rpx; padding: 6rpx 16rpx; } } } } .intro_row { width: 100%; margin-bottom: 20rpx; display: flex; align-items: center; .intro_text { color: #1f1f1f; font-size: 28rpx; font-family: "PingFang SC-Bold"; font-weight: 400; padding-right: 0rpx; } .add_icon { width: 28rpx; margin-left: 10rpx; } } .bom { display: flex; align-items: center; justify-content: space-between; .follow_info { display: flex; align-items: center; justify-content: space-between; width: 340rpx; .follow-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } .num { width: 100%; font-size: 36rpx; font-weight: bold; color: #333; } .label { width: 100%; font-size: 28rpx; color: #999; } .separator { width: 2rpx; height: 24rpx; background-color: #e5e5e5; margin: 0 30rpx; } } .points-box { display: flex; justify-content: space-between; .points { display: flex; align-items: center; background: #f2f6f2; border-radius: 238rpx; padding: 6rpx 12rpx 6rpx 8rpx; &:first-child { margin-right: 18rpx; } image { width: 40rpx; height: 40rpx; } } } } .follow_info { // display: none; } } .card-bom { width: 100%; height: 104rpx; background: url("../../static/me/my-card-bom-bg.png") top center / 100% auto; position: absolute; bottom: 0%; left: 0; padding: 0 28rpx; padding-top: 20rpx; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; > image { width: 34rpx; height: 26rpx; } .content-box { height: 100%; display: flex; align-items: center; color: #acf934; > image { width: 34rpx; height: 34rpx; margin-right: 8rpx; } } } } } .thread { height: 210rpx; padding: 50rpx; font-size: 52rpx; color: #6e6a6a; padding-top: 80rpx; } .myinfo { width: 100%; display: flex; flex-direction: column; border-radius: 28rpx 28rpx 0 0; padding: 24rpx 20rpx; justify-content: flex-start; box-sizing: border-box; background: #fff; .line { width: 100%; height: 2rpx; background: #f0f0f0; margin-bottom: 20rpx; } .tablist { display: flex; justify-content: flex-start; // padding: 20rpx 20rpx; box-sizing: border-box; background: #ffffff; .item { padding: 10rpx 38rpx; color: #1f1f1f; font-size: 28rpx; background: #f2f6f2; margin-right: 20rpx; border-radius: 30rpx; position: relative; left: 0; top: 0; .indicator-triangle { position: absolute; bottom: -10rpx; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 10rpx solid transparent; border-right: 10rpx solid transparent; border-top: 10rpx solid #acf934; display: none; } &.active { background: #acf934; font-family: "CustomFont" !important; .indicator-triangle { display: block; } } // &:after { // content: ""; // position: absolute; // bottom: 0; // left: 0; // width: 40rpx; // height: 6rpx; // background: #90d369; // border-radius: 3rpx; // } // } } } .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; } } } } .numlist1 { display: grid; grid-template-columns: repeat(2, 1fr); } .numlist2 { display: grid; grid-template-columns: repeat(2, 1fr); .num { position: relative; left: 0; top: 0; .incomplete-bg { position: absolute; left: 0; top: 0; width: 346rpx; height: 520rpx; } .maskLayer { background: rgba(0, 0, 0, 0.4); position: absolute; left: 0; top: 0; width: 346rpx; height: 520rpx; } .queue-status { position: absolute; left: 0; top: 0; width: 346rpx; height: 520rpx; color: #fff; .status-text { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; .state-img { height: 104rpx; width: 220rpx; position: absolute; left:50%; top:50%; transform: translate(-50%, -50%); } } } .task-type-tag { position: absolute; left: 0; top: 0; padding-top: 14rpx; padding-left: 12rpx; } } .loading-more, .no-more { text-align: center; padding: 20rpx 0; color: #999; font-size: 28rpx; } } .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; } }