-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace detail page code with t-descriptions (#707)
* feat: 使用描述组件对详情页代码升级 * feat: 使用描述组件对个人中心代码升级 * chore: update version
- Loading branch information
1 parent
5616edb
commit 5637f54
Showing
5 changed files
with
48 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,112 +1,28 @@ | ||
.detail-base { | ||
:deep(.t-card) { | ||
padding: var(--td-comp-paddingTB-xxl) var(--td-comp-paddingLR-xxl); | ||
} | ||
|
||
:deep(.t-card__header) { | ||
padding: 0; | ||
margin-bottom: var(--td-comp-margin-m); | ||
} | ||
|
||
:deep(.t-card__body) { | ||
padding: 0; | ||
} | ||
|
||
:deep(.t-card__title) { | ||
font: var(--td-font-title-large); | ||
font-weight: 400; | ||
} | ||
|
||
&-info-steps { | ||
padding-top: var(--td-comp-margin-xl); | ||
} | ||
} | ||
|
||
.info-block { | ||
column-count: 2; | ||
|
||
.info-item { | ||
padding-top: var(--td-comp-margin-xxl); | ||
display: flex; | ||
color: var(--td-text-color-primary); | ||
|
||
h1 { | ||
width: 160px; | ||
font: var(--td-font-body-medium); | ||
color: var(--td-text-color-secondary); | ||
font-weight: normal; | ||
text-align: left; | ||
|
||
@media (max-width: @screen-sm-max) { | ||
width: 80px; | ||
} | ||
|
||
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) { | ||
width: 120px; | ||
} | ||
} | ||
|
||
.t-descriptions { | ||
span { | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
margin-left: var(--td-comp-margin-xxl); | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
margin-left: var(--td-comp-margin-xxl); | ||
} | ||
|
||
i { | ||
display: inline-block; | ||
width: 8px; | ||
height: 8px; | ||
border-radius: var(--td-radius-circle); | ||
background: var(--td-success-color); | ||
display: inline-block; | ||
width: 8px; | ||
height: 8px; | ||
border-radius: var(--td-radius-circle); | ||
background: var(--td-success-color); | ||
} | ||
|
||
.inProgress { | ||
color: var(--td-success-color); | ||
color: var(--td-success-color); | ||
} | ||
|
||
.pdf { | ||
color: var(--td-brand-color); | ||
|
||
&:hover { | ||
cursor: pointer; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.dialog-info-block { | ||
.info-item { | ||
padding: 12px 0; | ||
display: flex; | ||
|
||
h1 { | ||
width: 84px; | ||
font-family: var(--td-font-family); | ||
font-size: 14px; | ||
color: var(--td-text-color-secondary); | ||
text-align: left; | ||
line-height: 22px; | ||
} | ||
|
||
span { | ||
margin-left: var(--td-comp-margin-xxl); | ||
} | ||
|
||
i { | ||
display: inline-block; | ||
width: 8px; | ||
height: 8px; | ||
border-radius: var(--td-radius-circle); | ||
background: var(--td-success-color); | ||
} | ||
|
||
.green { | ||
color: var(--td-success-color); | ||
} | ||
color: var(--td-brand-color); | ||
|
||
.blue { | ||
color: var(--td-brand-color); | ||
&:hover { | ||
cursor: pointer; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters