.top{ position: relative; /* height: 420rpx; */ } .top-bg{ position: absolute; bottom: 0rpx; height: 320rpx; width: 100%; z-index: -999; } .top-bg image{ width: 100%; height: 100%; } .heardimg{ width: 100%; padding-top: 34rpx; display: flex; justify-content: center; position: relative; } .heard-img{ width: 138rpx; height: 138rpx; border-radius: 50%; } .setting{ position: absolute; top: 24rpx; right: 56rpx; width: 32rpx; height: 32rpx; } .nickName{ display: flex; justify-content: center; margin-top: 12rpx; color: 30rpx; font-size: 30rpx; font-weight: bold; flex-wrap: wrap; } /* 顶部导航 */ .top-nav{ display: flex; justify-content: space-around; margin-top: 12rpx; } .top-nav view{ display: flex; flex-direction: column; align-items: center; } .top-nav view image{ width: 80rpx; height: 80rpx; } .top-nav text{ color: #333; font-size: 26rpx; margin-top: 20rpx; } /* components/item/index.wxss */ /* 导航 */ .nav{ padding: 30rpx; border-bottom: 1rpx solid #efefef; display: flex; align-items: center; background: white; } /* .nav-icon{ line-height: 0; } */ .nav-icon { width:34rpx; } .nav-content{ margin-left: 20rpx; display: flex; justify-content: space-between; align-items: center; width: 100%; } .nav-content text{ font-size: 30rpx; color: #333; } .nav-content image{ width: 14rpx; height: 26rpx; /* margin-right: 30rpx; */ }