init commit
This commit is contained in:
77
public/assets/addons/wdsxh/scss/about.scss
Normal file
77
public/assets/addons/wdsxh/scss/about.scss
Normal file
@@ -0,0 +1,77 @@
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.about-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
padding-bottom: 2rem;
|
||||
|
||||
.main-screen {
|
||||
background: #F8F8F8;
|
||||
|
||||
.screen-item {
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #333333;
|
||||
padding: 1.75rem 2.25rem;
|
||||
transition: color .3s;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover,
|
||||
&.active {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 2.5rem 0;
|
||||
font-size: 1rem;
|
||||
line-height: 1.875rem;
|
||||
color: #555555;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.honor,
|
||||
.rules {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
padding-bottom: 0;
|
||||
|
||||
.main-screen {
|
||||
.screen-item {
|
||||
width: calc(100% / 3);
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
padding: 1.25rem .5rem;
|
||||
text-align: center;
|
||||
|
||||
&:hover {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
&.active:hover {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 1.5rem 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
225
public/assets/addons/wdsxh/scss/activity.scss
Normal file
225
public/assets/addons/wdsxh/scss/activity.scss
Normal file
@@ -0,0 +1,225 @@
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.activity-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
padding: 2rem 0 2.5rem;
|
||||
|
||||
.main-content {
|
||||
.cont-item {
|
||||
background: #F4F6FB;
|
||||
border-radius: .3125rem;
|
||||
padding: 1rem;
|
||||
width: calc(25% - .375rem);
|
||||
margin-right: .5rem;
|
||||
cursor: pointer;
|
||||
margin-top: .5rem;
|
||||
|
||||
&:nth-child(4n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.item-image {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-top: 72%;
|
||||
overflow: hidden;
|
||||
border-radius: .5rem;
|
||||
|
||||
.image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
transition: transform .3s;
|
||||
}
|
||||
}
|
||||
|
||||
.item-box {
|
||||
overflow: hidden;
|
||||
|
||||
.box-title {
|
||||
margin-top: 1rem;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #333;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
.box-label {
|
||||
margin-top: .625rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.icon {
|
||||
width: 1.125rem;
|
||||
height: 1.125rem;
|
||||
color: var(--main-color);
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-left: .375rem;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
color: #8D929C;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.item-image .image {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
.item-box .box-title {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-code {
|
||||
display: none;
|
||||
padding: 2rem;
|
||||
|
||||
.code-title {
|
||||
color: #333;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.125rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code-tips {
|
||||
color: #8D8D8D;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code-image {
|
||||
width: 100%;
|
||||
max-height: 17.5rem;
|
||||
max-width: 17.5rem;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
padding: 2rem 0;
|
||||
|
||||
.main-content {
|
||||
flex-direction: column;
|
||||
|
||||
.cont-item {
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
align-items: normal;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.item-image {
|
||||
width: 6.875rem;
|
||||
padding-top: 5rem;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-left: 1rem;
|
||||
|
||||
.box-title {
|
||||
margin-top: 0;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #333;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.box-label {
|
||||
margin-top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.icon {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
color: var(--main-color);
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-left: .375rem;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
color: #8D929C;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.item-image .image {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.item-box .box-title {
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-code {
|
||||
padding: 1rem;
|
||||
|
||||
.code-title {
|
||||
font-size: 1.25rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.code-tips {
|
||||
font-size: 1rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.code-image {
|
||||
max-height: 15rem;
|
||||
max-width: 15rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
248
public/assets/addons/wdsxh/scss/album.scss
Normal file
248
public/assets/addons/wdsxh/scss/album.scss
Normal file
@@ -0,0 +1,248 @@
|
||||
.album-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
padding: 2rem 0 2.5rem;
|
||||
|
||||
.main-content {
|
||||
.cont-item {
|
||||
margin-top: 1rem;
|
||||
cursor: pointer;
|
||||
background: #fff;
|
||||
padding: 1rem;
|
||||
border-radius: .5rem;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.item-date {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #5A5B6E;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-top: 1rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.25rem;
|
||||
color: #8D929C;
|
||||
-webkit-line-clamp: 2;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
margin-top: 1rem;
|
||||
|
||||
.box-timeline {
|
||||
.point {
|
||||
width: .625rem;
|
||||
height: .625rem;
|
||||
border-radius: .125rem;
|
||||
background: var(--main-color);
|
||||
}
|
||||
|
||||
.line {
|
||||
width: 1px;
|
||||
height: calc(100% - .625rem);
|
||||
background: #F0F0F0;
|
||||
}
|
||||
}
|
||||
|
||||
.box-single {
|
||||
flex: 1;
|
||||
margin-left: 1rem;
|
||||
|
||||
.image {
|
||||
width: 16.75rem;
|
||||
height: 7.5rem;
|
||||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: transform .3s;
|
||||
}
|
||||
}
|
||||
|
||||
.video {
|
||||
width: 16.75rem;
|
||||
height: 7.5rem;
|
||||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
.play {
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
z-index: 9;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
.cover {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-multiple {
|
||||
flex: 1;
|
||||
margin-left: 1rem;
|
||||
|
||||
.image {
|
||||
width: 7.5rem;
|
||||
height: 7.5rem;
|
||||
margin-left: .5rem;
|
||||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: transform .3s;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .item-title {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-code {
|
||||
display: none;
|
||||
background: #fff;
|
||||
padding: 2rem;
|
||||
border-radius: .5rem;
|
||||
|
||||
.code-title {
|
||||
color: #333;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.125rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code-tips {
|
||||
color: #8D8D8D;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code-image {
|
||||
width: 100%;
|
||||
max-height: 17.5rem;
|
||||
max-width: 17.5rem;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
padding: 2rem 0;
|
||||
|
||||
.main-content {
|
||||
.cont-item {
|
||||
.item-title {
|
||||
margin-top: .75rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
margin-top: .75rem;
|
||||
|
||||
.box-single {
|
||||
margin-left: .75rem;
|
||||
|
||||
.image {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-top: 48%;
|
||||
position: relative;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.video {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-top: 48%;
|
||||
position: relative;
|
||||
|
||||
.cover {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-multiple {
|
||||
margin-left: .75rem;
|
||||
|
||||
.image {
|
||||
width: 32%;
|
||||
height: 0;
|
||||
padding-top: 32%;
|
||||
margin-left: 2%;
|
||||
position: relative;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .item-title {
|
||||
color: #8D929C;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-code {
|
||||
padding: 1rem;
|
||||
|
||||
.code-title {
|
||||
font-size: 1.25rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.code-tips {
|
||||
font-size: 1rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.code-image {
|
||||
max-height: 15rem;
|
||||
max-width: 15rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
273
public/assets/addons/wdsxh/scss/business.scss
Normal file
273
public/assets/addons/wdsxh/scss/business.scss
Normal file
@@ -0,0 +1,273 @@
|
||||
.business-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
padding: 2rem 0 2.5rem;
|
||||
|
||||
.main-content {
|
||||
.cont-item {
|
||||
margin-top: 1rem;
|
||||
cursor: pointer;
|
||||
background: #fff;
|
||||
padding: 1rem;
|
||||
border-radius: .5rem;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.item-header {
|
||||
.header-info {
|
||||
overflow: hidden;
|
||||
flex: 1;
|
||||
|
||||
.info-avatar {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.info-box {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
|
||||
.name {
|
||||
margin-left: .5rem;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #5A5B6E;
|
||||
max-width: 45%;
|
||||
}
|
||||
|
||||
.tag {
|
||||
margin-left: .5rem;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-btn {
|
||||
font-size: .75rem;
|
||||
line-height: 1rem;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
padding: .375rem .75rem;
|
||||
border-radius: .25rem;
|
||||
background: var(--main-color);
|
||||
margin-left: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-top: 1.5rem;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #5A5B6E;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
.item-subtitle {
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
color: #5A5B6E;
|
||||
margin-top: .75rem;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
margin-top: 1rem;
|
||||
|
||||
.box-single {
|
||||
flex: 1;
|
||||
|
||||
.image {
|
||||
width: 16.75rem;
|
||||
height: 7.5rem;
|
||||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: transform .3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-multiple {
|
||||
flex: 1;
|
||||
margin-top: -0.75rem;
|
||||
margin-left: -0.75rem;
|
||||
|
||||
.image {
|
||||
width: 7.5rem;
|
||||
height: 7.5rem;
|
||||
margin-top: .75rem;
|
||||
margin-left: .75rem;
|
||||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: transform .3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .item-title {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-code {
|
||||
display: none;
|
||||
background: #fff;
|
||||
padding: 2rem;
|
||||
border-radius: .5rem;
|
||||
|
||||
.code-title {
|
||||
color: #333;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.125rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code-tips {
|
||||
color: #8D8D8D;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code-image {
|
||||
width: 100%;
|
||||
max-height: 17.5rem;
|
||||
max-width: 17.5rem;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
padding: 2rem 0;
|
||||
|
||||
.main-content {
|
||||
.cont-item {
|
||||
.item-header {
|
||||
.header-info {
|
||||
.info-avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.info-box {
|
||||
height: 3rem;
|
||||
flex-direction: column;
|
||||
align-items: flex-start !important;
|
||||
justify-content: space-between;
|
||||
flex: 1;
|
||||
|
||||
.name,
|
||||
.tag {
|
||||
max-width: 100%;
|
||||
width: calc(100% - .75rem);
|
||||
margin-left: .75rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-btn {
|
||||
font-size: .75rem;
|
||||
line-height: 1rem;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
padding: .375rem .75rem;
|
||||
border-radius: .25rem;
|
||||
background: var(--main-color);
|
||||
}
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-top: .75rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
margin-top: .75rem;
|
||||
|
||||
.box-single {
|
||||
.image {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-top: 48%;
|
||||
position: relative;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-multiple {
|
||||
.image {
|
||||
width: calc(100% / 3 - 0.5rem);
|
||||
height: 0;
|
||||
padding-top: calc(100% / 3 - 0.5rem);
|
||||
position: relative;
|
||||
margin-left: .5rem;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .item-title {
|
||||
color: #8D929C;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-code {
|
||||
padding: 1rem;
|
||||
|
||||
.code-title {
|
||||
font-size: 1.25rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.code-tips {
|
||||
font-size: 1rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.code-image {
|
||||
max-height: 15rem;
|
||||
max-width: 15rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
104
public/assets/addons/wdsxh/scss/contact.scss
Normal file
104
public/assets/addons/wdsxh/scss/contact.scss
Normal file
@@ -0,0 +1,104 @@
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.contact-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
padding: 2.5rem 0;
|
||||
|
||||
.main-title {
|
||||
.title {
|
||||
color: #333;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
line-height: 2.8125rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: #999;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-transform: uppercase;
|
||||
margin-top: .25rem;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 3rem;
|
||||
height: .375rem;
|
||||
background: var(--main-color);
|
||||
margin-top: .25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.main-content {
|
||||
.item {
|
||||
.item-title {
|
||||
color: #333;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.item-cont {
|
||||
color: #333;
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.75rem;
|
||||
font-weight: 600;
|
||||
margin-top: .75rem;
|
||||
}
|
||||
|
||||
.item-code {
|
||||
margin-top: .875rem;
|
||||
width: auto;
|
||||
height: 7.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
padding: 1.5rem 0;
|
||||
|
||||
.main-title {
|
||||
.title {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: .75rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.main-content {
|
||||
.item {
|
||||
.item-title {
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.item-cont {
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
margin-top: .75rem;
|
||||
}
|
||||
|
||||
.item-code {
|
||||
margin-top: .75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1547
public/assets/addons/wdsxh/scss/diy.scss
Normal file
1547
public/assets/addons/wdsxh/scss/diy.scss
Normal file
File diff suppressed because it is too large
Load Diff
878
public/assets/addons/wdsxh/scss/index.scss
Normal file
878
public/assets/addons/wdsxh/scss/index.scss
Normal file
@@ -0,0 +1,878 @@
|
||||
.index-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-carousel {
|
||||
height: 33.3vw;
|
||||
}
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
padding-bottom: 3.5rem;
|
||||
|
||||
.main-column {
|
||||
display: none;
|
||||
margin-top: 2.5rem;
|
||||
|
||||
.col-8 {
|
||||
background: #ffffff;
|
||||
padding: 2rem 3rem;
|
||||
border-radius: .5rem;
|
||||
}
|
||||
|
||||
.column-title {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
|
||||
.title {
|
||||
color: #333;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
line-height: 2.8125rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
margin-left: 1rem;
|
||||
color: #999;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
.column-more {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: .5rem;
|
||||
background: var(--main-color);
|
||||
padding: .75rem .75rem .75rem 1rem;
|
||||
text-decoration: none;
|
||||
|
||||
span {
|
||||
color: #FFF;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
letter-spacing: .0156rem;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
margin-left: .25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-1 {
|
||||
.column-cont {
|
||||
margin-top: 1.5rem;
|
||||
|
||||
.cont-left {
|
||||
color: #555;
|
||||
font-size: 1rem;
|
||||
line-height: 1.875rem;
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
-webkit-line-clamp: 8;
|
||||
}
|
||||
|
||||
.cont-right {
|
||||
width: auto;
|
||||
height: 15rem;
|
||||
max-width: 60%;
|
||||
margin-left: 1.5rem;
|
||||
object-fit: cover;
|
||||
border-radius: .3125rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-2 {
|
||||
position: relative;
|
||||
|
||||
.col-8 {
|
||||
background: transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.column-bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.column-title {
|
||||
color: #FFF;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
line-height: 3rem;
|
||||
letter-spacing: .08rem;
|
||||
}
|
||||
|
||||
.column-subtitle {
|
||||
color: #FFF;
|
||||
font-size: 1.5rem;
|
||||
line-height: 2.125rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.column-apply {
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 1rem;
|
||||
background: var(--main-color);
|
||||
padding: .875rem 1rem;
|
||||
color: #FFF;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.25rem;
|
||||
letter-spacing: .0156rem;
|
||||
border-radius: .5rem;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
width: auto;
|
||||
|
||||
img {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
margin-left: .5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-3 {
|
||||
.column-cont {
|
||||
margin-top: 2rem;
|
||||
overflow-x: auto;
|
||||
padding-bottom: .75rem;
|
||||
margin-bottom: -0.75rem;
|
||||
|
||||
.cont-item {
|
||||
margin-left: 4%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-decoration: none;
|
||||
width: auto;
|
||||
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.avatar img {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
.name {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 8.75rem;
|
||||
height: 8.75rem;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
transition: all .3s;
|
||||
}
|
||||
}
|
||||
|
||||
.post {
|
||||
color: #FFF;
|
||||
font-size: .875rem;
|
||||
text-align: center;
|
||||
width: 8.75rem;
|
||||
height: 2.25rem;
|
||||
line-height: 2.25rem;
|
||||
margin-top: -1.125rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
padding: 0 1.25rem;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: var(--main-color);
|
||||
border-radius: .4rem 1.125rem;
|
||||
}
|
||||
|
||||
.name {
|
||||
color: #333;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-align: center;
|
||||
margin-top: .5rem;
|
||||
overflow: hidden;
|
||||
width: 8.75rem;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
transition: color .3s;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 767px) {
|
||||
&::-webkit-scrollbar {
|
||||
/*滚动条整体样式*/
|
||||
width: auto;
|
||||
/*高宽分别对应横竖滚动条的尺寸*/
|
||||
height: .5rem;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
/*滚动条里面小方块*/
|
||||
border-radius: .625rem;
|
||||
box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
/*滚动条里面轨道*/
|
||||
box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.1);
|
||||
border-radius: .625rem;
|
||||
background: #ededed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-4 {
|
||||
.column-cont {
|
||||
padding-top: 1.5rem;
|
||||
|
||||
.cont-item {
|
||||
background: #F4F6FB;
|
||||
border-radius: .3125rem;
|
||||
padding: 1rem;
|
||||
width: calc(25% - .375rem);
|
||||
margin-right: .5rem;
|
||||
cursor: pointer;
|
||||
margin-top: .5rem;
|
||||
|
||||
&:nth-child(4n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.item-image {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-top: 72%;
|
||||
overflow: hidden;
|
||||
border-radius: .5rem;
|
||||
|
||||
.image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
transition: transform .3s;
|
||||
}
|
||||
}
|
||||
|
||||
.item-box {
|
||||
.box-title {
|
||||
margin-top: 1rem;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #333;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
.box-label {
|
||||
margin-top: .625rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.icon {
|
||||
width: 1.125rem;
|
||||
height: 1.125rem;
|
||||
color: var(--main-color);
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-left: .375rem;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
color: #8D929C;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.item-image .image {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
.item-box .box-title {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-5 {
|
||||
.column-cont {
|
||||
margin-top: 2rem;
|
||||
overflow-x: auto;
|
||||
padding-bottom: .75rem;
|
||||
margin-bottom: -0.75rem;
|
||||
|
||||
.cont-item {
|
||||
margin-left: 1rem;
|
||||
cursor: pointer;
|
||||
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.item-date {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #5A5B6E;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-top: 1rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.25rem;
|
||||
height: 2.5rem;
|
||||
color: #8D929C;
|
||||
-webkit-line-clamp: 2;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
margin-top: 1rem;
|
||||
|
||||
.box-timeline {
|
||||
.point {
|
||||
width: .625rem;
|
||||
height: .625rem;
|
||||
border-radius: .125rem;
|
||||
background: var(--main-color);
|
||||
}
|
||||
|
||||
.line {
|
||||
width: 1px;
|
||||
height: calc(100% - .625rem);
|
||||
background: #F0F0F0;
|
||||
}
|
||||
}
|
||||
|
||||
.box-single {
|
||||
flex: 1;
|
||||
margin-left: 1rem;
|
||||
|
||||
.image {
|
||||
width: 16.75rem;
|
||||
height: 7.5rem;
|
||||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: transform .3s;
|
||||
}
|
||||
}
|
||||
|
||||
.video {
|
||||
width: 16.75rem;
|
||||
height: 7.5rem;
|
||||
background: #000;
|
||||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
.play {
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
z-index: 9;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
.cover {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-multiple {
|
||||
flex: 1;
|
||||
margin-left: 1rem;
|
||||
|
||||
.image {
|
||||
width: 7.5rem;
|
||||
height: 7.5rem;
|
||||
margin-left: .5rem;
|
||||
border-radius: .5rem;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: transform .3s;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .item-title {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 767px) {
|
||||
&::-webkit-scrollbar {
|
||||
/*滚动条整体样式*/
|
||||
width: auto;
|
||||
/*高宽分别对应横竖滚动条的尺寸*/
|
||||
height: .5rem;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
/*滚动条里面小方块*/
|
||||
border-radius: .625rem;
|
||||
box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
/*滚动条里面轨道*/
|
||||
box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.1);
|
||||
border-radius: .625rem;
|
||||
background: #ededed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-6,
|
||||
.column-7 {
|
||||
.column-cont {
|
||||
margin-top: 1.5rem;
|
||||
|
||||
.item {
|
||||
padding: 1rem 0;
|
||||
border-bottom: 1px solid #E6E6E6;
|
||||
text-decoration: none;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
color: #333;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
transition: color .3s;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
flex: 1;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
||||
.item-date {
|
||||
color: #909090;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
.item-title,
|
||||
.item-date {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-7 {
|
||||
margin-top: 0;
|
||||
|
||||
.column-left,
|
||||
.column-right {
|
||||
margin-top: 3.5rem;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.column-right {
|
||||
display: none;
|
||||
margin-left: 8%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 950px) {
|
||||
|
||||
.column-left,
|
||||
.column-right {
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
padding-bottom: 2rem;
|
||||
|
||||
.main-column {
|
||||
margin-top: 1rem;
|
||||
|
||||
.col-8 {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.column-title {
|
||||
.title {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.375rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: .75rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.column-more {
|
||||
padding: .5rem .75rem;
|
||||
border-radius: .3125rem;
|
||||
|
||||
span {
|
||||
color: #FFF;
|
||||
font-size: .75rem;
|
||||
line-height: 1.125rem;
|
||||
letter-spacing: .0156rem;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
margin-left: .25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-1 {
|
||||
.column-cont {
|
||||
.cont-left {
|
||||
font-size: .875rem;
|
||||
line-height: 1.5rem;
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
-webkit-line-clamp: 4;
|
||||
}
|
||||
|
||||
.cont-right {
|
||||
width: 8.5rem;
|
||||
height: 6rem;
|
||||
margin-left: .75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-2 {
|
||||
.column-title {
|
||||
font-size: 1rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.column-subtitle {
|
||||
font-size: .875rem;
|
||||
line-height: 1.125rem;
|
||||
margin-top: .5rem;
|
||||
}
|
||||
|
||||
.column-apply {
|
||||
margin-top: .5rem;
|
||||
padding: .5rem .625rem;
|
||||
font-size: .75rem;
|
||||
line-height: 1rem;
|
||||
|
||||
img {
|
||||
width: .875rem;
|
||||
height: .875rem;
|
||||
margin-left: .375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-3 {
|
||||
.column-cont {
|
||||
.cont-item {
|
||||
margin-left: 1rem;
|
||||
width: 5rem;
|
||||
|
||||
.avatar {
|
||||
width: 5rem;
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
.post {
|
||||
width: 5rem;
|
||||
height: 1.75rem;
|
||||
font-size: .75rem;
|
||||
line-height: 1.75rem;
|
||||
margin-top: -0.875rem;
|
||||
border-radius: .25rem 1rem;
|
||||
}
|
||||
|
||||
.name {
|
||||
width: 5rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.avatar img {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.name {
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-4 {
|
||||
.column-cont {
|
||||
padding-top: .75rem;
|
||||
flex-direction: column;
|
||||
|
||||
.cont-item {
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.item-image {
|
||||
width: 36%;
|
||||
padding-top: 26%;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-left: 1rem;
|
||||
|
||||
.box-title {
|
||||
margin-top: 0;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
color: #333;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.box-label {
|
||||
margin-top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.icon {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
color: var(--main-color);
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-left: .375rem;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
color: #8D929C;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.item-image .image {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.item-box .box-title {
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-5 {
|
||||
.column-cont {
|
||||
margin-top: .75rem;
|
||||
overflow-x: visible;
|
||||
flex-direction: column;
|
||||
|
||||
.cont-item {
|
||||
margin-left: 0;
|
||||
margin-top: 1rem;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-top: .75rem;
|
||||
width: 100% !important;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
margin-top: .75rem;
|
||||
width: 100% !important;
|
||||
|
||||
.box-single {
|
||||
margin-left: .75rem;
|
||||
|
||||
.image {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-top: 48%;
|
||||
position: relative;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.video {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-top: 48%;
|
||||
position: relative;
|
||||
|
||||
.cover {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-multiple {
|
||||
margin-left: .75rem;
|
||||
|
||||
.image {
|
||||
width: 32%;
|
||||
height: 0;
|
||||
padding-top: 32%;
|
||||
position: relative;
|
||||
margin-left: 2%;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .item-title {
|
||||
color: #8D929C;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-6,
|
||||
.column-7 {
|
||||
.column-cont {
|
||||
margin-top: .75rem;
|
||||
|
||||
.item {
|
||||
padding: .75rem 0;
|
||||
|
||||
&:hover {
|
||||
|
||||
.item-title {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.item-date {
|
||||
color: #909090;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-7 {
|
||||
.col-8 {
|
||||
background: transparent;
|
||||
flex-direction: column;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.column-left {
|
||||
background: #ffffff;
|
||||
padding: 1rem;
|
||||
border-radius: .5rem;
|
||||
}
|
||||
|
||||
.column-right {
|
||||
background: #ffffff;
|
||||
padding: 1rem;
|
||||
border-radius: .5rem;
|
||||
margin-top: 1rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
298
public/assets/addons/wdsxh/scss/membership.scss
Normal file
298
public/assets/addons/wdsxh/scss/membership.scss
Normal file
@@ -0,0 +1,298 @@
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.membership-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
padding-bottom: 2.5rem;
|
||||
|
||||
.main-title {
|
||||
.title {
|
||||
color: #333;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
line-height: 2.8125rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: #999;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-transform: uppercase;
|
||||
margin-top: .25rem;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 3rem;
|
||||
height: .375rem;
|
||||
background: var(--main-color);
|
||||
margin-top: .25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.main-screen {
|
||||
background: #F8F8F8;
|
||||
|
||||
.screen-box {
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
|
||||
.item {
|
||||
display: inline-block;
|
||||
padding: 1.8125rem 2rem 0;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
word-break: keep-all;
|
||||
transition: color .3s;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: .25rem;
|
||||
background: transparent;
|
||||
margin: 1.5625rem auto 0;
|
||||
transition: background .3s;
|
||||
}
|
||||
|
||||
&.active,
|
||||
&:hover {
|
||||
color: var(--main-color);
|
||||
|
||||
&::after {
|
||||
background: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 767px) {
|
||||
&::-webkit-scrollbar {
|
||||
/*滚动条整体样式*/
|
||||
width: auto;
|
||||
/*高宽分别对应横竖滚动条的尺寸*/
|
||||
height: .5rem;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
/*滚动条里面小方块*/
|
||||
border-radius: .625rem;
|
||||
box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
/*滚动条里面轨道*/
|
||||
box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.1);
|
||||
border-radius: .625rem;
|
||||
background: #ededed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-content {
|
||||
.column-cont {
|
||||
.cont-item {
|
||||
margin-right: 2%;
|
||||
margin-top: 2.5rem;
|
||||
width: 23.5%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-decoration: none;
|
||||
|
||||
&:nth-child(4n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.image img {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
.name,
|
||||
.post {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
|
||||
.image {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-top: 100%;
|
||||
border-radius: .375rem;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
transition: all .3s;
|
||||
}
|
||||
}
|
||||
|
||||
.name {
|
||||
color: #333;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.75rem;
|
||||
margin-top: 1rem;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
.post {
|
||||
color: #333;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
margin-top: .5rem;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
.mobile {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-left: .75rem;
|
||||
|
||||
.name {
|
||||
margin-top: 0;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
}
|
||||
|
||||
.address {
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
color: #999;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.post {
|
||||
margin-top: 0;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-code {
|
||||
display: none;
|
||||
padding: 2rem;
|
||||
|
||||
.code-title {
|
||||
color: #333;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.125rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code-tips {
|
||||
color: #8D8D8D;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code-image {
|
||||
width: 100%;
|
||||
max-height: 17.5rem;
|
||||
max-width: 17.5rem;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
padding-bottom: 0;
|
||||
|
||||
.main-screen .screen-box .item {
|
||||
padding: 1rem 1rem 0;
|
||||
font-size: .875rem;
|
||||
|
||||
&::after {
|
||||
margin-top: .75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding-bottom: 1.875rem;
|
||||
|
||||
.column-cont {
|
||||
flex-direction: column;
|
||||
|
||||
.cont-item {
|
||||
margin-top: 1.25rem;
|
||||
width: 100%;
|
||||
margin-right: 5%;
|
||||
margin-right: 0;
|
||||
flex-direction: row;
|
||||
|
||||
.image {
|
||||
width: 30%;
|
||||
padding-top: 30%;
|
||||
}
|
||||
|
||||
.normal {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-code {
|
||||
padding: 1.5rem 0 0;
|
||||
|
||||
.code-title {
|
||||
font-size: 1.25rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.code-tips {
|
||||
font-size: 1rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.code-image {
|
||||
max-height: 15rem;
|
||||
max-width: 15rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
167
public/assets/addons/wdsxh/scss/news.scss
Normal file
167
public/assets/addons/wdsxh/scss/news.scss
Normal file
@@ -0,0 +1,167 @@
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.news-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
padding-bottom: 2.5rem;
|
||||
|
||||
.main-title {
|
||||
.title {
|
||||
color: #333;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
line-height: 2.8125rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: #999;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-transform: uppercase;
|
||||
margin-top: .25rem;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 3rem;
|
||||
height: .375rem;
|
||||
background: var(--main-color);
|
||||
margin-top: .25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.main-screen {
|
||||
background: #F8F8F8;
|
||||
|
||||
.screen-box {
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
|
||||
.item {
|
||||
display: inline-block;
|
||||
padding: 1.8125rem 2rem 0;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
word-break: keep-all;
|
||||
transition: color .3s;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: .25rem;
|
||||
background: transparent;
|
||||
margin: 1.5625rem auto 0;
|
||||
transition: background .3s;
|
||||
}
|
||||
|
||||
&.active,
|
||||
&:hover {
|
||||
color: var(--main-color);
|
||||
|
||||
&::after {
|
||||
background: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 767px) {
|
||||
&::-webkit-scrollbar {
|
||||
/*滚动条整体样式*/
|
||||
width: auto;
|
||||
/*高宽分别对应横竖滚动条的尺寸*/
|
||||
height: .5rem;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
/*滚动条里面小方块*/
|
||||
border-radius: .625rem;
|
||||
box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
/*滚动条里面轨道*/
|
||||
box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.1);
|
||||
border-radius: .625rem;
|
||||
background: #ededed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-content {
|
||||
margin-top: 2.5rem;
|
||||
|
||||
.column-cont {
|
||||
.cont-item {
|
||||
padding: 1rem 0;
|
||||
border-bottom: 1px solid #E6E6E6;
|
||||
text-decoration: none;
|
||||
|
||||
.title {
|
||||
color: #333;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
margin-right: .75rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
transition: color .3s;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.date {
|
||||
color: #909090;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.title {
|
||||
color: var(--main-color);
|
||||
}
|
||||
|
||||
.date {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
.main-screen .screen-box .item {
|
||||
padding: 1rem 1rem 0;
|
||||
font-size: .875rem;
|
||||
|
||||
&::after {
|
||||
margin-top: .75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.main-content .column-cont {
|
||||
padding-bottom: 1.875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
143
public/assets/addons/wdsxh/scss/news_detail.scss
Normal file
143
public/assets/addons/wdsxh/scss/news_detail.scss
Normal file
@@ -0,0 +1,143 @@
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.news-detail-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.container-main {
|
||||
flex: 1;
|
||||
|
||||
.main-nav {
|
||||
padding: 1.125rem 0;
|
||||
background: #F8F8F8;
|
||||
|
||||
span,
|
||||
a {
|
||||
color: #666;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
margin-left: .25rem;
|
||||
}
|
||||
|
||||
a {
|
||||
cursor: pointer;
|
||||
transition: color .3s;
|
||||
|
||||
&:hover {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 2.5rem 0;
|
||||
|
||||
.title {
|
||||
color: #333;
|
||||
font-size: 1.5rem;
|
||||
line-height: 2.125rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.info {
|
||||
margin-top: 1.5rem;
|
||||
padding-bottom: 2rem;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.10);
|
||||
|
||||
.info-tag {
|
||||
color: #909090;
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.5rem;
|
||||
margin: 0 .75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
color: #909090;
|
||||
font-size: 1rem;
|
||||
line-height: 1.875rem;
|
||||
padding: 1.5rem 0;
|
||||
}
|
||||
|
||||
.navigation {
|
||||
padding-top: 1.5rem;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.10);
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
max-width: 49%;
|
||||
|
||||
.title {
|
||||
color: #909090;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #333;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
margin-left: .5rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
flex: 1;
|
||||
transition: color .3s;
|
||||
}
|
||||
|
||||
&:hover span {
|
||||
color: var(--main-color);
|
||||
}
|
||||
|
||||
&.empty {
|
||||
cursor: no-drop;
|
||||
|
||||
span {
|
||||
color: #909090;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.container-main {
|
||||
.main-nav {
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 1.25rem 0;
|
||||
|
||||
.title {
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.info {
|
||||
margin-top: .5rem;
|
||||
padding-bottom: .875rem;
|
||||
|
||||
.info-tag {
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: .875rem 0;
|
||||
}
|
||||
|
||||
.navigation {
|
||||
padding-top: 1.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1133
public/assets/addons/wdsxh/scss/person_center_diy.scss
Normal file
1133
public/assets/addons/wdsxh/scss/person_center_diy.scss
Normal file
File diff suppressed because it is too large
Load Diff
575
public/assets/addons/wdsxh/scss/public.scss
Normal file
575
public/assets/addons/wdsxh/scss/public.scss
Normal file
@@ -0,0 +1,575 @@
|
||||
// 定义主题色变量
|
||||
:root {
|
||||
--main-color: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #F4F6FB;
|
||||
}
|
||||
|
||||
.col-2 {
|
||||
flex: 14%;
|
||||
max-width: 14%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.col-8 {
|
||||
flex: 72%;
|
||||
max-width: 72%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// 初始化隐藏
|
||||
.container-fluid {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
// 固定导航栏
|
||||
.container-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
// 页头设置
|
||||
.component-header {
|
||||
.header-top {
|
||||
background: var(--main-color);
|
||||
color: #fff;
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
padding: .5rem 0;
|
||||
}
|
||||
|
||||
.header-nav {
|
||||
background: #fff;
|
||||
padding: .75rem 0;
|
||||
|
||||
.nav-logo {
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
margin-right: 1rem;
|
||||
|
||||
img {
|
||||
width: auto;
|
||||
height: 3rem;
|
||||
margin-right: .75rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #333;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.5rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-box {
|
||||
margin-bottom: 0;
|
||||
|
||||
.nav-item {
|
||||
a {
|
||||
display: inline-block;
|
||||
padding: 0.5rem 1rem;
|
||||
color: #333;
|
||||
transition: color .3s;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.active a {
|
||||
color: var(--main-color);
|
||||
}
|
||||
|
||||
&:hover a {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-mobile {
|
||||
display: none;
|
||||
|
||||
button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
transition: all .3s;
|
||||
|
||||
.icon-bar {
|
||||
margin: auto;
|
||||
display: block;
|
||||
width: 1.625rem;
|
||||
height: .1875rem;
|
||||
border-radius: .125rem;
|
||||
background: var(--main-color);
|
||||
margin-top: .375rem;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-list {
|
||||
position: relative;
|
||||
display: none;
|
||||
|
||||
ul {
|
||||
position: absolute;
|
||||
top: .5rem;
|
||||
right: 0;
|
||||
background: #fff;
|
||||
width: 10rem;
|
||||
box-shadow: 0 .375rem .75rem rgba(0, 0, 0, 0.18);
|
||||
border-radius: .3125rem .3125rem 0 0;
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
text-align: center;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
background: #fff;
|
||||
font-size: .875rem;
|
||||
color: #000;
|
||||
transition: color 0.3s;
|
||||
display: block;
|
||||
padding: .625rem .9375rem;
|
||||
}
|
||||
|
||||
&.active a {
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 页脚设置
|
||||
.component-footer {
|
||||
background: #333;
|
||||
text-align: center;
|
||||
padding-top: 6.5rem;
|
||||
padding-bottom: 6.5rem;
|
||||
|
||||
.footer-logo {
|
||||
margin-bottom: 2.2rem;
|
||||
|
||||
img {
|
||||
width: auto;
|
||||
height: 3rem;
|
||||
margin-right: .75rem;
|
||||
background: #fff;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #fff;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-info {
|
||||
span {
|
||||
color: #fff;
|
||||
font-size: .875rem;
|
||||
line-height: 2rem;
|
||||
margin: 0 .5rem;
|
||||
|
||||
b {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 轮播图设置
|
||||
.container-carousel {
|
||||
height: 20vw;
|
||||
margin: 0 -15px;
|
||||
|
||||
.carousel-inner,
|
||||
.carousel-item {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.carousel-indicators {
|
||||
li {
|
||||
width: .75rem;
|
||||
height: .75rem;
|
||||
background: #fff;
|
||||
border-radius: 50%;
|
||||
margin: 0 .375rem;
|
||||
box-sizing: border-box;
|
||||
opacity: 1;
|
||||
border: none;
|
||||
|
||||
&.active {
|
||||
background: var(--main-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 广告图设置
|
||||
.container-banner {
|
||||
position: relative;
|
||||
height: 20vw;
|
||||
|
||||
.banner-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.banner-title {
|
||||
position: relative;
|
||||
z-index: 9;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-bottom: 1rem;
|
||||
|
||||
.title {
|
||||
position: relative;
|
||||
font-weight: 600;
|
||||
font-size: 2.5rem;
|
||||
line-height: 3.5rem;
|
||||
color: #FFFFFF;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 4.875rem;
|
||||
height: .5rem;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
bottom: -1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-weight: 600;
|
||||
font-size: 2.5rem;
|
||||
line-height: 3.5rem;
|
||||
text-transform: uppercase;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
margin-left: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 版本名称
|
||||
.versionName {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
// 列表为空
|
||||
.empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 1.5rem 0 1rem;
|
||||
display: none;
|
||||
|
||||
img {
|
||||
width: 50vw;
|
||||
max-width: 18.75rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #999;
|
||||
font-size: 1rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
// 分页设置
|
||||
#page {
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.xl-totalPage {
|
||||
color: #000;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
margin-top: 2rem;
|
||||
margin-right: .75rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 2rem 0 0;
|
||||
|
||||
li {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
color: var(--main-color);
|
||||
font-size: .875rem;
|
||||
line-height: 1.25rem;
|
||||
padding: .25rem .375rem;
|
||||
min-width: 1.875rem;
|
||||
border: 1px solid var(--main-color);
|
||||
border-radius: .25rem;
|
||||
margin: 0 .1875rem;
|
||||
cursor: pointer;
|
||||
transition: all .3s;
|
||||
background: #fff;
|
||||
|
||||
&.xl-active,
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: var(--main-color);
|
||||
}
|
||||
|
||||
&.xl-disabled {
|
||||
color: #DDDDDD;
|
||||
border: 1px solid #DDDDDD;
|
||||
background: #fff;
|
||||
cursor: no-drop;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 模态框按钮
|
||||
button[data-toggle="modal"] {
|
||||
border: none;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// 模态框样式
|
||||
.modal-dialog {
|
||||
.modal-header {
|
||||
border: none;
|
||||
padding-bottom: 0;
|
||||
|
||||
.modal-title {
|
||||
color: #333;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.125rem;
|
||||
text-align: center;
|
||||
flex: 1;
|
||||
padding-left: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
.tips {
|
||||
color: #8D8D8D;
|
||||
font-size: 1rem;
|
||||
line-height: 1.375rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code {
|
||||
width: 100%;
|
||||
max-height: 25rem;
|
||||
max-width: 25rem;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 自适应设置
|
||||
@media (max-width: 1900px) {
|
||||
html {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.col-2 {
|
||||
flex: 12%;
|
||||
max-width: 12%
|
||||
}
|
||||
|
||||
.col-8 {
|
||||
flex: 76%;
|
||||
max-width: 76%;
|
||||
}
|
||||
}
|
||||
|
||||
// 自适应设置
|
||||
@media (max-width: 1400px) {
|
||||
html {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.col-2 {
|
||||
flex: 10%;
|
||||
max-width: 10%
|
||||
}
|
||||
|
||||
.col-8 {
|
||||
flex: 80%;
|
||||
max-width: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
// 自适应设置
|
||||
@media (max-width: 1160px) {
|
||||
html {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.col-2 {
|
||||
flex: 8%;
|
||||
max-width: 8%
|
||||
}
|
||||
|
||||
.col-8 {
|
||||
flex: 84%;
|
||||
max-width: 84%;
|
||||
}
|
||||
}
|
||||
|
||||
// 自适应设置
|
||||
@media (max-width: 967px) {
|
||||
html {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.col-2 {
|
||||
flex: 6%;
|
||||
max-width: 6%
|
||||
}
|
||||
|
||||
.col-8 {
|
||||
flex: 88%;
|
||||
max-width: 88%;
|
||||
}
|
||||
}
|
||||
|
||||
// 适配手机端
|
||||
@media screen and (max-width: 767px) {
|
||||
.col-2 {
|
||||
width: 1rem;
|
||||
max-width: 1rem;
|
||||
flex: 0 0 1rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.col-8 {
|
||||
width: calc(100% - 2rem);
|
||||
max-width: calc(100% - 2rem);
|
||||
flex: 0 0 calc(100% - 2rem);
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.container-banner {
|
||||
height: 45vw;
|
||||
|
||||
.banner-title {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding-bottom: 0;
|
||||
|
||||
.title {
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
margin-left: 0;
|
||||
margin-top: .5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 页头设置
|
||||
.component-header {
|
||||
.header-nav {
|
||||
padding: 0.5rem 0;
|
||||
|
||||
.nav-logo {
|
||||
img {
|
||||
width: auto;
|
||||
height: 2.25rem;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #333;
|
||||
font-size: .875rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-normal {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-mobile {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 页脚设置
|
||||
.component-footer {
|
||||
padding: 2rem 0;
|
||||
|
||||
.footer-logo {
|
||||
margin-bottom: 1rem;
|
||||
|
||||
img {
|
||||
width: auto;
|
||||
height: 2.5rem;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 广告图设置
|
||||
.container-carousel {
|
||||
height: 50vw !important;
|
||||
}
|
||||
|
||||
// 分页设置
|
||||
#page {
|
||||
.xl-totalPage {
|
||||
font-size: .75rem;
|
||||
}
|
||||
|
||||
ul li {
|
||||
padding: 0.25rem .375rem;
|
||||
font-size: .75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user