|
@@ -72,7 +72,7 @@ export default defineComponent({
|
|
|
师生作品<span>/</span>
|
|
|
<span>Works</span>
|
|
|
</div>
|
|
|
- <div class={"ant-tabs-nav-wrap justify-end"}>
|
|
|
+ <div class={"ant-tabs-nav-wrap"}>
|
|
|
<div class={"ant-tabs-nav-list"}>
|
|
|
{state.tabs.map((e: CategoryItem) => {
|
|
|
return (
|
|
@@ -201,6 +201,9 @@ const page = css`
|
|
|
.home_lay_title {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
+ .ant-tabs-nav-wrap {
|
|
|
+ justify-content: flex-end;
|
|
|
+ }
|
|
|
}
|
|
|
.ant-tabs-tab {
|
|
|
padding: 14px 0;
|
|
@@ -316,4 +319,56 @@ const page = css`
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
}
|
|
|
}
|
|
|
+ @media screen and (max-width: 1280px) {
|
|
|
+ background-size: cover;
|
|
|
+ .talent_tab {
|
|
|
+ .ant-tabs-nav {
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-start;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ .home_lay_title {
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
+ .ant-tabs-nav-wrap {
|
|
|
+ padding-bottom: 10px;
|
|
|
+ justify-content: flex-start;
|
|
|
+ overflow-x: auto;
|
|
|
+ }
|
|
|
+ .ant-tabs-tab {
|
|
|
+ font-size: 16px;
|
|
|
+ & + .ant-tabs-tab {
|
|
|
+ margin: 0 0 0 30px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tab_list {
|
|
|
+ grid-template-columns: repeat(2, 1fr);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .list_more {
|
|
|
+ a {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ .arrow {
|
|
|
+ border-color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ @media screen and (max-width: 750px) {
|
|
|
+ .talent_tab {
|
|
|
+ .ant-tabs-nav {
|
|
|
+ .home_lay_title {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tab_list {
|
|
|
+ grid-template-columns: repeat(1, 1fr);
|
|
|
+ .list_item {
|
|
|
+ &:first-child {
|
|
|
+ height: 388px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
`;
|