/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/@tarojs/webpack5-runner/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/profile/index.scss ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @charset "UTF-8"; .profile-page { padding: 0 24rpx 24rpx; min-height: 100vh; } /* 用户头部 */ .profile-header { padding: 40rpx 32rpx 32rpx; margin: 20rpx 0 0; } .user-info { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; margin-bottom: 32rpx; } .avatar { width: 120rpx; height: 120rpx; border-radius: 50%; border: 4rpx dashed var(--line-star); margin-right: 24rpx; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; } .avatar-placeholder { width: 120rpx; height: 120rpx; border-radius: 50%; background: -webkit-linear-gradient(315deg, var(--bg-card) 0%, rgba(91, 140, 255, 0.1) 100%); background: linear-gradient(135deg, var(--bg-card) 0%, rgba(91, 140, 255, 0.1) 100%); display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; margin-right: 24rpx; border: 4rpx dashed var(--line-star); -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; } .avatar-icon { font-size: 56rpx; } .user-name { font-size: 40rpx; font-weight: 800; color: var(--text-primary); display: block; margin-bottom: 8rpx; } .user-level { font-size: 24rpx; color: var(--text-secondary); display: block; } /* 5状态快捷入口 - 2+3布局 */ .status-grid { background: var(--bg-card); border: var(--line-card); border-radius: 20rpx; overflow: hidden; } .status-row { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; padding: 20rpx 0; } /* 每组(item + divider)作为一个 flex 单元 */ .status-group { -webkit-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .status-item { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-align-items: center; -ms-flex-align: center; align-items: center; padding: 8rpx 0; -webkit-flex: 1; -ms-flex: 1; flex: 1; } .status-num { font-size: 36rpx; font-weight: 800; color: var(--accent-pink); margin-bottom: 8rpx; } .status-label { font-size: 24rpx; color: var(--text-secondary); } .status-divider { width: 2rpx; height: 48rpx; background: var(--line-star); opacity: 0.25; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; } .status-divider-h { height: 2rpx; background: var(--line-star); opacity: 0.15; margin: 0 16rpx; } /* 菜单网格 */ .menu-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20rpx; } .menu-card { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-align-items: center; -ms-flex-align: center; align-items: center; padding: 32rpx 16rpx; -webkit-transition: -webkit-transform 0.2s; transition: -webkit-transform 0.2s; transition: transform 0.2s; transition: transform 0.2s, -webkit-transform 0.2s; } .menu-card:active { -webkit-transform: scale(0.96); -ms-transform: scale(0.96); transform: scale(0.96); } .menu-icon { font-size: 48rpx; margin-bottom: 12rpx; } .menu-label { font-size: 26rpx; color: var(--text-primary); font-weight: 500; } /* 企业定制 */ .enterprise-section { padding: 32rpx; } .enterprise-title { font-size: 30rpx; font-weight: 700; color: var(--text-primary); display: block; margin-bottom: 8rpx; } .enterprise-desc { font-size: 24rpx; color: var(--text-secondary); } .enterprise-btn { padding: 16rpx 32rpx !important; font-size: 26rpx !important; border-radius: 40rpx !important; } .menu-icon-img { width: 36rpx; height: 36rpx; margin-bottom: 12rpx; } /* 状态 icon 图片 */ .status-icon-img { width: 28rpx; height: 28rpx; margin-bottom: 4rpx; } /* 企业定制icon */ .enterprise-icon { width: 28rpx; height: 28rpx; margin-right: 12rpx; } /* 头像占位图 */ .avatar-icon-img { width: 36rpx; height: 36rpx; } /* 登录弹窗头像占位 */ .avatar-placeholder-img { width: 56rpx; height: 56rpx; } .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; z-index: 1000; padding: 48rpx; } .login-card { width: 100%; max-width: 600rpx; padding: 40rpx; text-align: center; } .login-title { font-size: 36rpx; font-weight: 700; color: var(--text-primary); display: block; margin-bottom: 12rpx; } .login-desc { font-size: 26rpx; color: var(--text-secondary); display: block; margin-bottom: 32rpx; } .avatar-btn { width: 160rpx; height: 160rpx; border-radius: 50%; margin: 0 auto 24rpx; background: var(--bg-input); border: 3rpx dashed var(--line-star); display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; overflow: hidden; padding: 0; line-height: 1; font-size: 0; } .avatar-img { width: 100%; height: 100%; border-radius: 50%; } .avatar-placeholder { font-size: 24rpx; color: var(--text-secondary); } .nickname-input { width: 100%; height: 80rpx; background: var(--bg-input); border: 3rpx dashed var(--line-star); border-radius: 16rpx; padding: 0 24rpx; font-size: 28rpx; color: var(--text-primary); margin-bottom: 32rpx; text-align: center; -webkit-box-sizing: border-box; box-sizing: border-box; } .login-actions { display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 20rpx; } .login-actions .btn-outline, .login-actions .btn-gradient { -webkit-flex: 1; -ms-flex: 1; flex: 1; padding: 20rpx 0; text-align: center; }