123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413 |
- /* pages/my/index/index.wxss */
- .mycontent {
- min-height: calc(100vh - 4rpx);
- background-size: 100% 100%;
- background-repeat: no-repeat;
- background-color: #f7f8fa;
- box-sizing: border-box;
- }
- /* 自定义导航栏 */
- .custom-navbar {
- background-size: 100% 451rpx;
- background-repeat: no-repeat;
- }
- .navbar-content {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 20rpx 30rpx;
- height: 88rpx;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 1000;
- background: transparent;
- }
- .navbar-left {
- position: relative;
- }
- .customer-service {
- width: 136rpx;
- display: flex;
- align-items: center;
- background: #2b58a5;
- border-radius: 30rpx;
- padding: 12rpx 24rpx;
- position: absolute;
- left: 0;
- top: -28rpx;
- box-sizing: border-box;
- }
- .service-icon {
- width: 28rpx;
- height: 28rpx;
- margin-right: 8rpx;
- flex-shrink: 0;
- }
- .customer-service text {
- flex-shrink: 0;
- font-size: 24rpx;
- color: #ffffff;
- }
- .navbar-center {
- flex: 1;
- text-align: center;
- }
- .navbar-title {
- font-size: 36rpx;
- font-weight: 600;
- /* color: #FFFFFF; */
- }
- .navbar-right {
- flex: 1;
- display: flex;
- justify-content: flex-end;
- }
- .more-icon {
- width: 44rpx;
- height: 44rpx;
- }
- /* 用户信息区域 */
- .mycontent .head {
- background-size: 100% 100%;
- background-repeat: no-repeat;
- padding-top: 120rpx;
- position: relative;
- }
- .user-info-container {
- padding: 0 30rpx 40rpx;
- }
- .user-basic-info {
- display: flex;
- /* align-items: flex-start; */
- align-items: center;
- margin-bottom: 30rpx;
- }
- .avatar-section {
- margin-right: 24rpx;
- }
- .user-avatar {
- width: 120rpx;
- height: 120rpx;
- border-radius: 50%;
- /* border: 4rpx solid #ffffff;
- box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); */
- }
- .user-details {
- flex: 1;
- /* padding-top: 8rpx; */
- }
- .user-name-row {
- display: flex;
- align-items: center;
- /* margin-bottom: 12rpx; */
- }
- .user-name-row .sex{
- width: 30rpx;
- height: 30rpx;
- }
- .user-name {
- font-size: 36rpx;
- font-weight: 600;
- /* color: #FFFFFF; */
- margin-right: 10rpx;
- }
- .vip-icon {
- width: 32rpx;
- height: 32rpx;
- margin-right: 8rpx;
- }
- .gender-icon {
- width: 32rpx;
- height: 32rpx;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 20rpx;
- color: #ffffff;
- }
- .gender-icon.male {
- background: #4a90e2;
- }
- .gender-icon.female {
- background: #ff69b4;
- }
- .user-id-row {
- display: flex;
- align-items: center;
- }
- .user-id {
- font-size: 24rpx;
- color: #666666;
- margin-right: 16rpx;
- }
- .check-in {
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(180deg, #ec931a, #f3bb6f);
- border-radius: 10rpx;
- padding: 7rpx 13rpx;
- font-size: 22rpx;
- color: #ffffff;
- }
- .qr-code-section {
- padding: 16rpx;
- text-align: center;
- }
- .qr-icon {
- width: 57rpx;
- height: 57rpx;
- margin-bottom: 10rpx;
- background: #ecf6ff;
- }
- .qr-text {
- font-size: 24rpx;
- color: #1a1a1a;
- }
- /* 会员升级提示 */
- .vip-upgrade-banner {
- border-radius: 16rpx;
- padding: 24rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background-size: 100% 100%;
- background-repeat: no-repeat;
- }
- .vip-banner-left {
- display: flex;
- align-items: center;
- flex: 1;
- }
- .upgrade-icon {
- width: 48rpx;
- height: 48rpx;
- margin-right: 40rpx;
- }
- .upgrade-text {
- font-size: 28rpx;
- color: #ffffff;
- font-weight: 500;
- }
- .vip-banner-right {
- display: flex;
- align-items: center;
- }
- .vip-banner-right .righticon {
- font-size: 36rpx !important;
- color: #ffffff !important;
- }
- .upgrade-btn {
- font-size: 24rpx;
- color: #ffffff;
- margin-right: 2rpx;
- }
- .arrow {
- font-size: 24rpx;
- color: #5790f7;
- }
- /* 主要内容区域 */
- .main-content {
- padding: 30rpx;
- margin-top: -40rpx;
- position: relative;
- z-index: 10;
- }
- /* 我的积分 */
- .points-card {
- background: linear-gradient(180deg, #e5eafe, #ffffff 47%);
- border-radius: 20rpx;
- padding: 30rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- /* box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06); */
- margin-bottom: 30rpx;
- /* border: 2rpx dashed #e0e0e0; */
- }
- .points-left {
- display: flex;
- align-items: center;
- flex: 1;
- }
- .points-icon {
- width: 96rpx;
- height: 96rpx;
- margin-right: 15rpx;
- }
- .points-info {
- display: flex;
- flex-direction: column;
- }
- .points-label {
- font-size: 24rpx;
- color: #666666;
- margin-bottom: 8rpx;
- }
- .points-value {
- font-size: 48rpx;
- font-weight: bold;
- color: #4a90e2;
- }
- .points-right {
- display: flex;
- align-items: center;
- width: 188rpx;
- height: 61rpx;
- background: #ffffff;
- border: 1rpx solid #5790f7;
- border-radius: 32rpx;
- justify-content: center;
- }
- .points-action {
- font-size: 24rpx;
- color: #4a90e2;
- /* margin-right: 8rpx; */
- }
- .points-right .righticon{
- font-size: 36rpx !important;
- color: #4a90e2 !important;
- }
- /* 我的报名 */
- .my-registration {
- margin-bottom: 30rpx;
- /* height: 259px; */
- background: #ffffff;
- border-radius: 20rpx;
- padding: 40rpx 20rpx;
- }
- .section-title {
- font-size: 36rpx;
- font-weight: 600;
- color: #1a1a1a;
- margin-bottom: 20rpx;
- display: inline-block;
- position: relative;
- }
- .section-title::after {
- display: block;
- content: "";
- position: absolute;
- top: -6rpx;
- right: -3%;
- width: 30rpx;
- height: 30rpx;
- background-color: #005eff42;
- border-radius: 50%;
- z-index: 1;
- }
- .registration-cards {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .card-icon {
- width: 320rpx;
- height: 113rpx;
- }
- /* 功能菜单列表 */
- .menu-list {
- background: #ffffff;
- border-radius: 20rpx;
- overflow: hidden;
- box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06);
- }
- .menu-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 32rpx 30rpx;
- border-bottom: 1rpx solid #f5f5f5;
- transition: background-color 0.2s ease;
- }
- .menu-item:last-child {
- border-bottom: none;
- }
- .menu-item:active {
- background-color: #f8f9fa;
- }
- .menu-left {
- display: flex;
- align-items: center;
- flex: 1;
- }
- .menu-icon {
- width: 44rpx;
- height: 44rpx;
- margin-right: 20rpx;
- }
- .menu-text {
- font-size: 28rpx;
- color: #333333;
- }
- .menu-item .righticon,
- .points-right .righticon,
- .vip-banner-right .righticon {
- font-size: 40rpx;
- color: #cccccc;
- font-family: "iconfont" !important;
- }
|