Files
xingque/pages/merchant/merchant.wxss

426 lines
9.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* pages/shangjiazhongxin/shangjiazhongxin.wxss */
page {
background-color: #f5f7fb;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* .page-bg 与全局类似,仅保留差异 */
.page-bg {
opacity: 0.15;
filter: blur(8rpx);
}
/* .page-container 与全局类似,仅保留差异 */
.page-container {
z-index: 1;
padding: 0 32rpx;
box-sizing: border-box;
background-color: transparent;
}
/* 未注册卡片 */
.unregistered {
display: flex;
align-items: center;
justify-content: center;
padding-top: 200rpx;
}
/* .unreg-card 与 .card 类似,仅保留差异 */
.unreg-card {
width: 90%;
border-radius: 48rpx;
box-shadow: 0 8rpx 20rpx rgba(0,0,0,0.2);
background-color: transparent;
}
.unreg-content {
padding: 60rpx 40rpx;
text-align: center;
background: rgba(0,0,0,0.65);
backdrop-filter: blur(16rpx);
border-radius: 48rpx;
}
.status-title {
font-size: 44rpx;
font-weight: 700;
color: #fff;
margin-bottom: 16rpx;
}
.status-desc {
font-size: 28rpx;
color: #ddd;
margin-bottom: 50rpx;
}
.input-group {
margin-bottom: 40rpx;
}
/* .invite-input 与 .input-rounded--dark 类似,仅保留差异 */
.invite-input {
height: 96rpx;
background: rgba(255,255,255,0.2);
border-radius: 48rpx;
font-size: 30rpx;
}
/* .register-btn 与 .btn .btn-primary .btn-primary--orange 完全相同,删除 */
.register-tip {
margin-top: 32rpx;
font-size: 24rpx;
color: #ddd;
}
/* 已注册页面 */
.registered {
padding-top: 30rpx;
padding-bottom: 40rpx;
}
/* .refresh-btn 与全局 .refresh-btn .refresh-btn--dark 类似,仅保留差异 */
.refresh-btn {
position: absolute;
top: 30rpx;
width: 72rpx;
height: 72rpx;
border-radius: 36rpx;
}
.refresh-icon {
width: 40rpx;
height: 40rpx;
filter: brightness(0) invert(1);
}
/* 头像卡片 */
.avatar-card {
border-radius: 60rpx;
overflow: hidden;
margin-bottom: 36rpx;
box-shadow: 0 6rpx 18rpx rgba(0,0,0,0.2);
background-color: transparent;
}
.avatar-content {
display: flex;
align-items: center;
padding: 28rpx 32rpx;
background: rgba(0,0,0,0.55);
backdrop-filter: blur(20rpx);
}
.avatar-wrapper {
position: relative;
width: 110rpx;
height: 110rpx;
margin-right: 28rpx;
}
/* .avatar-img 与 .avatar-circle 类似,仅保留差异 */
.avatar-img {
width: 100%;
height: 100%;
border: 2rpx solid rgba(255,255,255,0.3);
}
.avatar-frame {
position: absolute;
top: -8rpx;
left: -8rpx;
width: 126rpx;
height: 126rpx;
pointer-events: none;
}
.user-info {
flex: 1;
}
.nicheng {
font-size: 40rpx;
font-weight: 700;
color: #fff;
margin-bottom: 16rpx;
text-shadow: 0 2rpx 6rpx rgba(0,0,0,0.5);
background: rgba(0,0,0,0.6);
display: inline-block;
padding: 6rpx 20rpx;
border-radius: 40rpx;
}
.uid-area {
display: flex;
align-items: center;
}
.uid-label {
font-size: 26rpx;
color: #fff;
background: rgba(0,0,0,0.7);
padding: 6rpx 16rpx;
border-radius: 28rpx;
margin-right: 16rpx;
backdrop-filter: blur(4rpx);
}
.uid-value {
font-size: 28rpx;
color: #fff;
font-family: monospace;
background: rgba(0,0,0,0.6);
padding: 6rpx 16rpx;
border-radius: 28rpx;
}
.copy-icon {
width: 40rpx;
height: 40rpx;
margin-left: 20rpx;
opacity: 0.9;
filter: drop-shadow(0 2rpx 2rpx rgba(0,0,0,0.5));
}
/* 荣誉标签 */
.badge-area {
margin-bottom: 36rpx;
}
.badge-scroll {
white-space: nowrap;
}
.badge-row {
display: inline-flex;
gap: 16rpx;
padding: 8rpx 0;
}
/* 资产卡片 */
.asset-card {
border-radius: 48rpx;
overflow: hidden;
margin-bottom: 36rpx;
box-shadow: 0 10rpx 24rpx rgba(0,0,0,0.2);
background-color: transparent;
}
.glass-effect {
padding: 44rpx 36rpx;
background: rgba(0,0,0,0.55);
backdrop-filter: blur(20rpx);
}
.balance-area {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
margin-bottom: 32rpx;
}
.balance-label {
font-size: 28rpx;
color: #ffdebc;
font-weight: 500;
}
.balance-value {
display: flex;
align-items: baseline;
}
.value-num {
font-size: 64rpx;
font-weight: 800;
color: #ffd966;
font-family: 'DIN', monospace;
}
.value-unit {
font-size: 32rpx;
color: #ffdebc;
margin-left: 6rpx;
}
.action-buttons {
display: flex;
gap: 24rpx;
}
.action-btn {
display: flex;
align-items: center;
gap: 10rpx;
background: rgba(255,255,255,0.9);
padding: 12rpx 28rpx;
border-radius: 60rpx;
font-size: 26rpx;
font-weight: 500;
}
.action-btn.recharge {
color: #ff8c1a;
}
.action-btn.withdraw {
color: #2d3e6e;
}
.btn-icon {
width: 32rpx;
height: 32rpx;
}
/* .divider 与全局 .divider-gradient 类似,仅保留差异 */
.divider {
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
margin: 24rpx 0;
}
.stats-row {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.stat-item {
flex: 1;
text-align: center;
}
.stat-label {
font-size: 24rpx;
color: #ddd;
margin-bottom: 12rpx;
display: block;
}
.stat-number {
font-size: 34rpx;
font-weight: 700;
color: #fff;
}
/* 核心指标卡片组 */
.metrics-section {
display: flex;
gap: 24rpx;
margin-bottom: 40rpx;
}
.metric-card {
flex: 1;
border-radius: 36rpx;
overflow: hidden;
box-shadow: 0 6rpx 16rpx rgba(0,0,0,0.2);
background-color: transparent;
}
.metric-content {
display: flex;
flex-direction: column;
align-items: center;
padding: 24rpx 0;
background: rgba(0,0,0,0.55);
backdrop-filter: blur(12rpx);
}
.metric-icon {
width: 48rpx;
height: 48rpx;
margin-bottom: 16rpx;
filter: brightness(0) invert(1);
}
.metric-value {
font-size: 44rpx;
font-weight: 800;
color: #ffd966;
margin-bottom: 8rpx;
}
.metric-label {
font-size: 24rpx;
color: #eee;
}
/* 功能宫格 */
.function-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24rpx;
margin-top: 12rpx;
}
.func-item {
border-radius: 32rpx;
overflow: hidden;
box-shadow: 0 6rpx 14rpx rgba(0,0,0,0.2);
background-color: transparent;
}
.func-content {
display: flex;
flex-direction: column;
align-items: center;
padding: 32rpx 12rpx 28rpx;
background: rgba(0,0,0,0.55);
backdrop-filter: blur(12rpx);
transition: all 0.2s ease;
}
.func-icon {
width: 64rpx;
height: 64rpx;
margin-bottom: 20rpx;
filter: brightness(0) invert(1);
}
.func-name {
font-size: 28rpx;
font-weight: 600;
color: #fff;
margin-bottom: 8rpx;
}
.func-desc {
font-size: 22rpx;
color: #ddd;
}
/* 底部安全区 */
.safe-bottom {
height: 40rpx;
}
/* .sys-list 无全局对应,保留 */
.sys-list {
margin: 24rpx 32rpx 0;
background: rgba(255, 255, 255, 0.92);
border-radius: 20rpx;
overflow: hidden;
border: 1rpx solid rgba(0, 0, 0, 0.06);
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.08);
}
/* .sys-item 与 .list-item 类似,仅保留差异(无 border-bottom */
.sys-item {
padding: 24rpx 28rpx;
}
.sys-item-unreg {
margin-top: 28rpx;
padding-top: 24rpx;
border-top: 1rpx solid rgba(0, 0, 0, 0.08);
justify-content: center;
background: rgba(255, 255, 255, 0.55);
border-radius: 16rpx;
}
/* .sys-icon 与 .list-icon 类似,仅保留差异 */
.sys-icon {
width: 32rpx;
height: 32rpx;
margin-right: 14rpx;
}
/* .sys-text 与 .list-text 类似,仅保留差异 */
.sys-text {
font-size: 28rpx;
color: #1A1A1A;
font-weight: 600;
}
/* .sys-sub 无全局对应,保留 */
.sys-sub {
flex: 1;
text-align: right;
font-size: 22rpx;
color: #888;
margin-left: 12rpx;
}
/* .loading-mask 与全局 .loading-mask .loading-mask--dark 类似,仅保留差异 */
.loading-mask {
backdrop-filter: blur(10px);
}
.loading-content {
background: rgba(0,0,0,0.8);
padding: 48rpx 64rpx;
border-radius: 32rpx;
display: flex;
flex-direction: column;
align-items: center;
}
/* .loading-spinner 与 .spinner--md 类似,仅保留差异 */
.loading-spinner {
width: 72rpx;
height: 72rpx;
border: 6rpx solid rgba(255,255,255,0.3);
border-top-color: #ffd966;
margin-bottom: 24rpx;
}
/* .loading-text 与全局 .loading-text 类似,仅保留差异 */
.loading-text {
font-size: 28rpx;
}