265 lines
6.1 KiB
SCSS
265 lines
6.1 KiB
SCSS
.Index {
|
||
font-size: 16px;
|
||
// padding: 20px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
background-color: #fafafa;
|
||
|
||
.header {
|
||
.headerTag {
|
||
// height: 100%;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
// justify-content: space-between;
|
||
.AtTag {
|
||
margin-right: 10px;
|
||
}
|
||
}
|
||
}
|
||
.up {
|
||
// width: 100%;
|
||
padding: 100px;
|
||
// min-height: 400px;
|
||
color: #fff;
|
||
display: flex;
|
||
flex-direction: row;
|
||
// align-items: center;
|
||
justify-content: space-between;
|
||
margin-bottom: 20px;
|
||
// border-radius: 1%;
|
||
// background-color: #fff;
|
||
background-color: #1f1f1f;
|
||
// clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
|
||
.upText {
|
||
width: 700px;
|
||
// padding: 100px;
|
||
font-size: 20px;
|
||
margin-right: 10px;
|
||
.title {
|
||
font-size: 40px;
|
||
}
|
||
.nomadcna {
|
||
color: aqua !important;
|
||
}
|
||
.AvatarView{
|
||
margin-top: 10px;
|
||
margin-bottom: 10px;
|
||
display: flex;
|
||
flex-direction: row;
|
||
// align-items: center;
|
||
// justify-content: space-between;
|
||
.Avatar{
|
||
width: 40px;
|
||
height: 40px;
|
||
margin-right: -10px;
|
||
border: 2px solid #fff;
|
||
border-radius: 50%;
|
||
}
|
||
}
|
||
|
||
|
||
.upjonNomad {
|
||
margin-top: 10px;
|
||
width: 100%;
|
||
height: 50px;
|
||
font-size: 40px !important;
|
||
// background-color: yellow;
|
||
// position: relative;
|
||
.upjonNomadBtn {
|
||
height: 50px;
|
||
font-size: 24px;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
background-color: #ff4d4f;
|
||
border-color: #ff4d4f;
|
||
// justify-content: space-between;
|
||
}
|
||
.jonNomadBtn:hover {
|
||
background-color: #ffffff; /* 悬浮时的背景色 */
|
||
color: #f5222d; /* 悬浮时的字体颜色 */
|
||
}
|
||
}
|
||
}
|
||
.nomadvideo {
|
||
display: flex;
|
||
flex-direction: column;
|
||
// align-items: center;
|
||
// justify-content: space-between;
|
||
width: 400px;
|
||
height: 260px;
|
||
background-color: #fafafa;
|
||
padding: 20px;
|
||
border-radius: 15px;
|
||
// position: absolute;
|
||
.videoDom {
|
||
width: 100%;
|
||
height: 200px;
|
||
// background-color: aquamarine;
|
||
position: relative;
|
||
}
|
||
.jonNomad {
|
||
margin-top: 10px;
|
||
width: 100%;
|
||
height: 50px;
|
||
font-size: 40px !important;
|
||
// background-color: yellow;
|
||
// position: relative;
|
||
.jonNomadBtn {
|
||
height: 50px;
|
||
font-size: 24px;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
background-color: #ff4d4f;
|
||
border-color: #ff4d4f;
|
||
// justify-content: space-between;
|
||
}
|
||
.jonNomadBtn:hover {
|
||
background-color: #ffffff; /* 悬浮时的背景色 */
|
||
color: #f5222d; /* 悬浮时的字体颜色 */
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
|
||
.items {
|
||
height: 100%;
|
||
padding: 20px;
|
||
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
// justify-content: space-between;
|
||
flex-wrap: wrap;
|
||
gap: 30px; /* 设置元素之间的间隔 */
|
||
// padding-left: 10px; /* 确保两侧固定边距 */
|
||
// padding-right: 10px;
|
||
background-color: aqua;
|
||
|
||
.item:hover {
|
||
animation: pulse 0.6s ease;
|
||
}
|
||
|
||
.item {
|
||
flex-grow: 1; /* 自动增长填充空间 */
|
||
flex-basis: 260px; /* 基本宽度为 300px,元素数量随可用空间调整 */
|
||
// flex: 1 1 260px; /* 自动增长并设置基础宽度为 260px,确保元素均匀分布 */
|
||
max-width: 330px; /* 设置最大宽度 */
|
||
// max-width: 280px; /* 设置最大宽度 */
|
||
// width: 100%; /* 确保可以响应式变化 */
|
||
height: 280px;
|
||
// background-color: yellow;
|
||
margin-bottom: 20px;
|
||
border-radius: 5%;
|
||
position: relative;
|
||
color: white;
|
||
|
||
.weBook {
|
||
height: 100%;
|
||
}
|
||
.weGroup {
|
||
height: 100%;
|
||
}
|
||
|
||
.itemUp {
|
||
margin-top: 10px;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
z-index: 1;
|
||
width: 100%;
|
||
height: 20px;
|
||
position: absolute;
|
||
top: 0px;
|
||
.itemUpleft {
|
||
height: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
// justify-content: center;
|
||
font-size: 20px;
|
||
margin-left: 10px;
|
||
// background-color: yellow;
|
||
}
|
||
.itemUpright {
|
||
margin-right: 10px;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
// justify-content: center;
|
||
.itemUprightWifi {
|
||
margin-left: 10px;
|
||
}
|
||
}
|
||
}
|
||
.itemiddle {
|
||
font-size: 30px;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
justify-content: center;
|
||
z-index: 1;
|
||
width: 100%;
|
||
height: 20px;
|
||
// background-color: green;
|
||
position: absolute;
|
||
top: 50%;
|
||
}
|
||
.itemDown {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
z-index: 1;
|
||
width: 100%;
|
||
height: 20px;
|
||
// background-color: red;
|
||
position: absolute;
|
||
bottom: 10px;
|
||
margin-bottom: 10px;
|
||
.itemDownleft {
|
||
margin-left: 10px;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
// justify-content: space-between;
|
||
}
|
||
.itemDownright {
|
||
margin-right: 10px;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
.custDom {
|
||
width: 100%;
|
||
height: 40px;
|
||
background-color: red;
|
||
color: aqua;
|
||
}
|
||
|
||
.qrcode {
|
||
font-size: 24px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 2000px) {
|
||
.Index .nomadvideo {
|
||
display: none !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 2000px) {
|
||
.Index .upjonNomad {
|
||
display: none !important;
|
||
}
|
||
}
|