| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- /* 各 Tab 子页共用:rpx + flex,与《uni-app标准》一致 */
- @import './morandi.scss';
- .tp-panel {
- display: flex;
- flex-direction: column;
- min-width: 0;
- padding: 24rpx;
- padding-bottom: 16rpx;
- gap: 24rpx;
- box-sizing: border-box;
- }
- .tp-panel--pad {
- padding-top: 32rpx;
- }
- .tp-heading {
- text-align: center;
- color: $morandi-text;
- }
- .tp-hero {
- display: flex;
- flex-direction: column;
- align-items: stretch;
- padding: 32rpx 24rpx;
- min-width: 0;
- background: $morandi-bg-card-inner;
- border-radius: 16rpx;
- border: 1rpx solid $morandi-border-soft;
- gap: 16rpx;
- }
- .tp-hero-logo {
- display: block;
- align-self: center;
- min-width: 160rpx;
- max-width: 320rpx;
- width: 62%;
- }
- .tp-hero-title {
- text-align: center;
- color: $morandi-text;
- }
- .tp-hero-desc {
- text-align: center;
- color: $morandi-text-muted;
- }
- .tp-lang-bar {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- gap: 16rpx;
- min-width: 0;
- }
- .tp-lang-chip {
- display: flex;
- flex: 1;
- min-width: 0;
- padding: 10rpx 18rpx;
- justify-content: center;
- align-items: center;
- border-radius: 999rpx;
- background: $morandi-chip;
- border-width: 1rpx;
- border-style: solid;
- border-color: $morandi-border-strong;
- }
- .tp-lang-chip--active {
- border-color: $morandi-chip-on-border;
- background: $morandi-chip-on-bg;
- }
- .tp-chip-label {
- text-align: center;
- color: $morandi-text-secondary;
- font-size: 24rpx;
- }
- .tp-card {
- display: flex;
- flex-direction: column;
- min-width: 0;
- padding: 24rpx;
- background: $morandi-bg-card;
- border-radius: 16rpx;
- border: 1rpx solid $morandi-border;
- gap: 16rpx;
- box-sizing: border-box;
- }
- .tp-card--muted {
- background: $morandi-bg-muted;
- border-color: $morandi-border-strong;
- color: $morandi-text-secondary;
- }
- .tp-card-label {
- font-weight: 600;
- }
- .tp-card-body {
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
- .tp-actions {
- display: flex;
- flex-direction: column;
- gap: 20rpx;
- min-width: 0;
- }
- .tp-actions-item {
- width: 100%;
- }
- /* Tab 路由页根容器:随内容增高,整页可滚动 */
- .tab-page {
- display: flex;
- flex-direction: column;
- min-width: 0;
- min-height: 100%;
- box-sizing: border-box;
- }
- /* 分包占位页等与消息页同一底衬 */
- .pkg-entry {
- display: flex;
- flex-direction: column;
- gap: 24rpx;
- padding: 24rpx;
- min-width: 0;
- min-height: 100%;
- box-sizing: border-box;
- background: $morandi-bg-page;
- }
- .pkg-entry .text-title {
- color: $morandi-text;
- }
- .pkg-entry .text-body {
- color: $morandi-text-muted;
- }
|