/**index.wxss**/ page { height: 100vh; display: flex; flex-direction: column; background-color: #EBF4F8; /* Color 03 */ } .scrollarea { flex: 1; } .container { padding: 0; display: flex; flex-direction: column; } /* --- Dashboard Header --- */ .dashboard-header { width: 100%; height: auto; min-height: 280rpx; background: linear-gradient(135deg, #11616B 0%, #0D4E56 100%); padding: 40rpx; padding-top: 100rpx; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-start; color: #fff; position: relative; z-index: 1; } .header-status-bar { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; margin-bottom: 30rpx; } .date-group { display: flex; flex-direction: column; } .date-text { font-size: 56rpx; font-weight: bold; line-height: 1.2; } .weekday-text { font-size: 28rpx; opacity: 0.8; margin-top: 4rpx; } .user-entry { background: rgba(255,255,255,0.2); padding: 4rpx; border-radius: 50%; backdrop-filter: blur(4px); } .mini-avatar { width: 72rpx; height: 72rpx; border-radius: 50%; display: block; background: #fff; } .daily-quote { background: rgba(0,0,0,0.1); padding: 16rpx 24rpx; border-radius: 12rpx; margin-top: 10rpx; align-self: flex-start; max-width: 90%; } .quote-text { font-size: 26rpx; font-style: italic; opacity: 0.95; line-height: 1.4; } /* --- Main Content --- */ .main-content { flex: 1; width: 100%; padding: 32rpx; box-sizing: border-box; margin-top: -30rpx; z-index: 10; background: #f6f8fa; border-top-left-radius: 30rpx; border-top-right-radius: 30rpx; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24rpx; } .section-title { display: block !important; font-size: 34rpx; font-weight: bold; color: #333; position: relative; padding-left: 16rpx; margin: 0; } .section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8rpx; height: 32rpx; background: #11616B; border-radius: 4rpx; } /* Formula Scroll */ .formula-scroll { display: flex; white-space: nowrap; height: 160rpx; width: 100%; } .formula-card { display: inline-flex; flex-direction: row; align-items: center; background: #fff; width: 380rpx; /* Increased from 320rpx */ height: 140rpx; margin-right: 20rpx; border-radius: 20rpx; padding: 24rpx; box-sizing: border-box; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.03); } .formula-icon { font-size: 48rpx; margin-right: 20rpx; width: 60rpx; text-align: center; flex-shrink: 0; /* Prevent icon shrinking */ } .formula-info { display: flex; flex-direction: column; flex: 1; overflow: hidden; /* Prevent text overflow */ } .formula-title { font-size: 26rpx; /* Slightly smaller title */ color: #666; margin-bottom: 6rpx; } .formula-value { font-size: 28rpx; /* Adjusted from 30rpx */ font-weight: bold; color: #333; font-family: serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* --- Grid Layout --- */ .grid-container { display: flex; flex-direction: column; gap: 24rpx; } /* Large Item (Calculator) */ .grid-item { position: relative; border-radius: 24rpx; overflow: hidden; background: #fff; box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.04); transition: transform 0.1s; /* Reset old styles */ padding: 0; align-items: normal; } .grid-item-hover { transform: scale(0.98); } .item-large { height: 200rpx; width: 100%; } .grid-bg { position: absolute; top: 0; right: 0; width: 200rpx; height: 100%; opacity: 0.1; transform: skewX(-20deg) translateX(40rpx); z-index: 0; } .bg-blue { background: #007AFF; } .bg-green { background: #34C759; } .bg-orange { background: #FF9500; } .grid-content { position: relative; z-index: 1; display: flex; align-items: center; padding: 40rpx; height: 100%; box-sizing: border-box; } .icon-box { width: 88rpx; height: 88rpx; background: rgba(17, 97, 107, 0.1); border-radius: 20rpx; display: flex; align-items: center; justify-content: center; margin-right: 30rpx; flex-shrink: 0; } .icon { font-size: 44rpx; color: #11616B; } .text-box { flex: 1; display: flex; flex-direction: column; } .label { font-size: 34rpx; font-weight: bold; color: #333; margin-bottom: 8rpx; } .sub-label { font-size: 24rpx; color: #999; } .arrow-btn { padding: 8rpx 24rpx; background: #F0F0F0; border-radius: 30rpx; font-size: 24rpx; font-weight: bold; color: #666; } /* Half Items Row */ .grid-row { display: flex; justify-content: space-between; gap: 24rpx; } .item-half { flex: 1; height: 240rpx; } .grid-content.vertical { flex-direction: column; align-items: flex-start; justify-content: center; padding: 30rpx; } .icon-box-small { font-size: 56rpx; margin-bottom: 20rpx; } .sub-label-small { font-size: 22rpx; color: #999; margin-top: 6rpx; } /* System Entry */ .system-entry-row { margin-top: 40rpx; background: #fff; padding: 30rpx 40rpx; border-radius: 16rpx; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.02); } .sys-label { font-size: 30rpx; color: #333; } .sys-right { display: flex; align-items: center; color: #999; font-size: 28rpx; gap: 10rpx; } .list-item-hover { background: #f9f9f9; }