style(mpuniapp): 移动浏览器全量页面UI/UX审视与瑞士国际主义排版优化
这个提交包含在:
@@ -156,6 +156,10 @@ onLoad((options: ArticleDetailPageOptions) => {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: var(--oc-space-16, 16px);
|
||||
max-width: 720px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.article-cover {
|
||||
@@ -168,9 +172,11 @@ onLoad((options: ArticleDetailPageOptions) => {
|
||||
|
||||
.article-kicker {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--oc-primary, #0B5CFF);
|
||||
margin-bottom: var(--oc-space-8, 8px);
|
||||
line-height: 1.25;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.article-title {
|
||||
@@ -184,17 +190,17 @@ onLoad((options: ArticleDetailPageOptions) => {
|
||||
.article-rich {
|
||||
font-size: 16px;
|
||||
color: var(--oc-text, #101828);
|
||||
line-height: 1.6;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.article-body {
|
||||
font-size: 16px;
|
||||
color: var(--oc-text, #101828);
|
||||
line-height: 1.6;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.article-bottom-spacer {
|
||||
height: 80px;
|
||||
height: calc(88px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
.article-cta-bar {
|
||||
@@ -202,19 +208,28 @@ onLoad((options: ArticleDetailPageOptions) => {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 12px var(--oc-space-16, 16px) var(--oc-space-24, 24px) var(--oc-space-16, 16px);
|
||||
padding: 12px var(--oc-space-16, 16px) calc(16px + env(safe-area-inset-bottom, 0px)) var(--oc-space-16, 16px);
|
||||
background-color: var(--oc-bg, #FFFFFF);
|
||||
border-top: 1px solid var(--oc-border, #E3E7ED);
|
||||
box-sizing: border-box;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.primary-cta-btn {
|
||||
height: 48px;
|
||||
min-height: 44px;
|
||||
background-color: var(--oc-primary, #0B5CFF);
|
||||
border-radius: var(--oc-radius-btn, 12px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
border-width: 0;
|
||||
transition: opacity 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
||||
}
|
||||
|
||||
.primary-cta-btn:active {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.primary-cta-btn-text {
|
||||
|
||||
在新工单中引用
屏蔽一个用户