| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616 |
- /* 页面背景 */
- page {
- background-color: #F8F8F8;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
- }
- .container {
- padding-bottom: 30rpx;
- position: relative;
- overflow-x: hidden;
- }
- /* 顶部背景 */
- .nav-bg {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- /* 增加高度以覆盖顶部,确保上移后背景仍然充足 */
- height: 550rpx;
- /* 调整渐变色,使其更接近设计图的暖色调 */
- background: linear-gradient(180deg, #FFE0B2 0%, #F8F8F8 100%);
- z-index: 1;
- overflow: hidden;
- border-bottom-left-radius: 60rpx;
- border-bottom-right-radius: 60rpx;
- }
- /* 装饰性圆球 - 加深颜色 */
- .bg-circle-1 {
- position: absolute;
- top: -60rpx;
- right: -60rpx;
- width: 320rpx;
- height: 320rpx;
- /* 加深颜色 */
- background: radial-gradient(circle, rgba(255, 167, 38, 0.4) 0%, rgba(255, 167, 38, 0) 70%);
- border-radius: 50%;
- }
- .bg-circle-2 {
- position: absolute;
- top: 80rpx;
- left: -100rpx;
- width: 420rpx;
- height: 420rpx;
- /* 加深颜色 */
- background: radial-gradient(circle, rgba(255, 183, 77, 0.4) 0%, rgba(255, 183, 77, 0) 70%);
- border-radius: 50%;
- }
- /* 头部区域 */
- .header-section {
- position: relative;
- z-index: 2;
- padding: 120rpx 30rpx 0;
- }
- .title-bar {
- text-align: center;
- font-size: 32rpx;
- /* 16pt = 32rpx, consistent with name */
- font-weight: 500;
- color: #333;
- margin-bottom: 30rpx;
- }
- .user-card {
- display: flex;
- align-items: flex-start;
- margin-bottom: 30rpx;
- position: relative;
- }
- .avatar {
- width: 90rpx;
- height: 90rpx;
- border-radius: 50%;
- margin-right: 20rpx;
- border: 3rpx solid #fff;
- box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .info-content {
- flex: 1;
- padding-top: 5rpx;
- }
- .name-row {
- display: flex;
- align-items: center;
- margin-bottom: 12rpx;
- }
- .name {
- /* 16号字体 = 32rpx */
- font-size: 32rpx;
- font-weight: bold;
- color: #1A1A1A;
- margin-right: 12rpx;
- }
- .tags {
- display: flex;
- align-items: center;
- }
- .tag {
- font-size: 18rpx;
- padding: 2rpx 6rpx;
- border-radius: 4rpx;
- margin-right: 8rpx;
- line-height: 1.2;
- }
- .tag.green {
- color: #4CAF50;
- background-color: #E8F5E9;
- border: 1px solid #C8E6C9;
- }
- .tag.blue {
- color: #2196F3;
- background-color: #E3F2FD;
- border: 1px solid #BBDEFB;
- }
- .bike-icon {
- width: 28rpx;
- height: 28rpx;
- background-color: #FFF3E0;
- border-radius: 4rpx;
- padding: 2rpx;
- }
- .detail-row {
- display: flex;
- align-items: center;
- /* 12号字体 = 24rpx */
- font-size: 24rpx;
- color: #666;
- margin-bottom: 8rpx;
- }
- .small-icon {
- width: 24rpx;
- /* Slightly increase icon to match font */
- height: 24rpx;
- margin-right: 8rpx;
- }
- .settings-icon {
- width: 36rpx;
- height: 36rpx;
- position: absolute;
- top: 0;
- right: 0;
- }
- /* VIP 卡片 - 独立卡片样式 */
- .vip-card {
- border-radius: 20rpx;
- padding: 20rpx 30rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- color: #FDD835;
- background: linear-gradient(90deg, #1f1f1f 0%, #141414 100%);
- box-shadow: 0 8rpx 16rpx rgba(0, 0, 0, 0.15);
- margin-bottom: 30rpx;
- position: relative;
- }
- .vip-left {
- display: flex;
- align-items: center;
- }
- .vip-icon {
- width: 40rpx;
- height: 40rpx;
- margin-right: 16rpx;
- }
- .vip-text {
- display: flex;
- flex-direction: column;
- }
- .vip-title {
- font-size: 26rpx;
- font-weight: bold;
- color: #FFE082;
- margin-bottom: 4rpx;
- }
- .vip-desc {
- font-size: 16rpx;
- color: #9E9E9E;
- }
- .vip-btn {
- font-size: 20rpx;
- color: #FFE082;
- display: flex;
- /* Flex layout to align text and icon */
- align-items: center;
- }
- /* 统计面板 */
- .stats-panel {
- background-color: #fff;
- border-radius: 20rpx;
- padding: 30rpx 0;
- margin: 0 30rpx 30rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.03);
- position: relative;
- z-index: 3;
- }
- .stat-item {
- flex: 1;
- display: flex;
- flex-direction: column;
- padding-left: 30rpx;
- }
- .stat-header {
- display: flex;
- align-items: center;
- margin-bottom: 12rpx;
- /* 12号字体 = 24rpx */
- font-size: 24rpx;
- color: #333;
- font-weight: normal;
- }
- .arrow-icon {
- width: 20rpx;
- height: 20rpx;
- margin-left: 6rpx;
- opacity: 0.6;
- }
- .arrow-icon-small {
- width: 18rpx;
- height: 18rpx;
- margin-left: 4rpx;
- opacity: 0.8;
- }
- .red-bar,
- .green-bar,
- .orange-bar {
- width: 6rpx;
- height: 18rpx;
- margin-right: 10rpx;
- border-radius: 3rpx;
- }
- .red-bar {
- background-color: #FF5252;
- }
- .green-bar {
- background-color: #4CAF50;
- }
- .orange-bar {
- background-color: #FF9800;
- }
- .stat-value {
- margin-bottom: 6rpx;
- display: flex;
- align-items: baseline;
- }
- .num {
- /* 16号字体 = 32rpx */
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- margin-right: 6rpx;
- line-height: 1;
- }
- .unit {
- font-size: 20rpx;
- color: #666;
- }
- .sub-text {
- font-size: 18rpx;
- color: #999;
- }
- .divider {
- width: 1px;
- height: 50rpx;
- background-color: #E0E0E0;
- }
- /* 菜单列表 */
- .menu-list {
- background-color: #fff;
- border-radius: 20rpx;
- margin: 0 30rpx 30rpx;
- padding: 0 30rpx;
- box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.03);
- }
- .menu-item {
- display: flex;
- align-items: center;
- padding: 32rpx 0;
- border-bottom: 1px solid #F5F5F5;
- }
- .menu-item:last-child {
- border-bottom: none;
- }
- .menu-icon {
- width: 40rpx;
- height: 40rpx;
- margin-right: 20rpx;
- }
- .menu-text {
- flex: 1;
- /* 14号字体 = 28rpx */
- font-size: 28rpx;
- color: #333;
- }
- .menu-right {
- display: flex;
- align-items: center;
- }
- /* 加大菜单列表的箭头 */
- .menu-item .arrow-icon {
- width: 28rpx;
- height: 28rpx;
- opacity: 0.5;
- }
- .red-dot {
- width: 10rpx;
- height: 10rpx;
- background-color: #FF5252;
- border-radius: 50%;
- margin-right: 12rpx;
- }
- /* 退出按钮 */
- .logout-btn {
- background-color: #fff;
- margin: 0 30rpx;
- height: 88rpx;
- line-height: 88rpx;
- text-align: center;
- border-radius: 20rpx;
- color: #FF5252;
- font-size: 28rpx;
- font-weight: 500;
- box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.03);
- }
- /* 开发提示文字 */
- .dev-tip {
- margin: 40rpx 60rpx;
- font-size: 24rpx;
- color: #999;
- text-align: center;
- line-height: 1.6;
- }
- /* 联系客服弹窗样式 */
- .service-popup-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 999;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .service-popup {
- width: 600rpx;
- background-color: #fff;
- border-radius: 16rpx;
- padding: 0;
- box-sizing: border-box;
- overflow: hidden;
- }
- .service-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 30rpx;
- border-bottom: 1rpx solid #f5f5f5;
- }
- .service-title {
- /* 14号字体 = 28rpx,不加粗 */
- font-size: 28rpx;
- font-weight: normal;
- color: #333;
- }
- .close-icon {
- width: 28rpx;
- height: 28rpx;
- opacity: 0.6;
- }
- .qr-section {
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 40rpx 0;
- background-color: #fff;
- }
- .qr-title {
- font-size: 28rpx;
- color: #333;
- margin-bottom: 30rpx;
- font-weight: 500;
- }
- .qr-img {
- width: 200rpx;
- height: 200rpx;
- margin-bottom: 20rpx;
- border-radius: 12rpx;
- box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
- }
- .qr-desc {
- /* 12号字体 = 24rpx */
- font-size: 24rpx;
- color: #999;
- }
- .service-list {
- padding: 0 30rpx;
- padding-bottom: 30rpx;
- }
- .service-row {
- display: flex;
- align-items: center;
- padding: 30rpx 0;
- border-top: 1rpx solid #f5f5f5;
- }
- .service-row:last-child {
- border-bottom: none;
- }
- .service-row-icon {
- width: 56rpx;
- height: 56rpx;
- margin-right: 24rpx;
- }
- .service-info {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .service-name {
- /* 13号字体 = 26rpx */
- font-size: 26rpx;
- color: #333;
- margin-bottom: 4rpx;
- font-weight: 500;
- }
- .service-desc {
- /* 12号字体 = 24rpx */
- font-size: 24rpx;
- color: #999;
- }
- .call-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: #E8F5E9;
- padding: 8rpx 24rpx;
- border-radius: 30rpx;
- height: 56rpx;
- box-sizing: border-box;
- }
- .call-btn text {
- font-size: 24rpx;
- color: #4CAF50;
- margin-left: 8rpx;
- font-weight: 500;
- }
- .phone-icon-small {
- width: 24rpx;
- height: 24rpx;
- }
- /* 退出登录弹窗样式 */
- .logout-popup-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 999;
- display: flex;
- align-items: center;
- justify-content: center;
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.3s;
- }
- .logout-popup-mask.show {
- opacity: 1;
- pointer-events: auto;
- }
- .popup-modal {
- width: 520rpx;
- background-color: #fff;
- border-radius: 30rpx;
- padding: 60rpx 40rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- box-shadow: 0 10rpx 40rpx rgba(0, 0, 0, 0.2);
- transform: scale(0.9);
- transition: transform 0.3s;
- }
- .logout-popup-mask.show .popup-modal {
- transform: scale(1);
- }
- .popup-icon-wrapper {
- width: 120rpx;
- height: 120rpx;
- background-color: #FFF3E0;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-bottom: 30rpx;
- }
- .popup-icon-large {
- width: 60rpx;
- height: 60rpx;
- }
- .popup-title {
- font-size: 34rpx;
- font-weight: bold;
- color: #333;
- margin-bottom: 20rpx;
- }
- .popup-desc {
- font-size: 28rpx;
- color: #666;
- text-align: center;
- line-height: 1.5;
- margin-bottom: 50rpx;
- }
- .popup-actions {
- display: flex;
- width: 100%;
- justify-content: space-between;
- }
- .popup-btn {
- flex: 1;
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- font-size: 28rpx;
- border-radius: 40rpx;
- margin: 0 15rpx;
- }
- .popup-btn.cancel {
- background-color: #F5F5F5;
- color: #666;
- }
- .popup-btn.confirm {
- background-color: #FF9800;
- color: #fff;
- box-shadow: 0 4rpx 12rpx rgba(255, 152, 0, 0.3);
- }
|