This commit is contained in:
xiaozhiyong
2023-03-27 16:59:37 +08:00
parent 6a9e006874
commit 21a3701c47
5 changed files with 325 additions and 129 deletions

View File

@@ -1,11 +1,20 @@
/* page {
background: ;
} */
.home_page_container {
position: relative;
padding-top: 330rpx;
width: 100vw;
/* height: 100vh; */
overflow: hidden;
/* display: flex;
height: 100vh;
flex-direction: column; */
}
.home_page_header {
/* .home_page_header {
width: 100%;
height: 703rpx;
background-color: #ADCEFF;
@@ -30,10 +39,8 @@
.home_page_menu_circular {
width: 600rpx;
height: 600rpx;
/* background-color:#2866FF ; */
border-radius: 50%;
position: relative;
/* transform: rotateZ(180deg); */
transition: all 1s;
z-index: 2;
display: flex;
@@ -45,8 +52,7 @@
Width: 100;
Height: 52rpx;
text-align: end;
/* padding-right:34rpx ; */
}
} */
.iconclass {
font-weight: 600;
@@ -55,7 +61,7 @@
right: 34rpx;
}
.home_page_header_title {
/* .home_page_header_title {
font-size: 62rpx;
font-weight: 500;
display: flex;
@@ -99,10 +105,8 @@
.home_page_menu_item {
position: absolute;
/* width: fit-content;; */
width: 60rpx;
height: 60rpx;
/* background-color: #007AFF; */
border-radius: 50%;
display: flex;
align-items: center;
@@ -152,42 +156,208 @@
border-radius: 0px 0px 10px 10px;
width: 290rpx;
padding: 15rpx ;
} */
.header {
position: fixed;
top: 0;
left: 0;
/* position: relative; */
width: 100%;
height: 336rpx;
background: #2866FF;
z-index: 10;
}
.collection{
/* padding: 27rpx; */
height: 260rpx;
margin: 0 auto;
.info-frame {
position: absolute;
left: 50%;
bottom: -44rpx;
transform: translateX(-50%);
padding: 20rpx 0 20rpx 200rpx;
display: flex;
margin-top: 30rpx;
padding: 0 27rpx;
position: relative;
box-sizing: border-box;
/* justify-content: space-between; */
flex-direction: column;
justify-content: space-evenly;
width: 670rpx;
height: 160rpx;
border-radius: 20rpx;
background: #fff;
}
.collectionbg{
.info-frame > view:nth-of-type(1),
.info-frame > view:nth-of-type(3) {
/* font-size: 32rpx; */
overflow: hidden;
width: 320rpx;
text-overflow: ellipsis;
/* margin-top: 60rpx; */
white-space: nowrap;
color: #666;
}
.info-frame > view:nth-of-type(2) {
/* font-size: 32rpx; */
color: #bbb;
}
.info-frame > image {
position: absolute;
left: 40rpx;
top: -30rpx;
width: 120rpx;
height: 120rpx;
/* border-radius: 50%; */
}
.domain {
/* flex: 1; */
padding-bottom: 320rpx;
}
.domain > .item {
margin-top: 30rpx;
}
.domain > .item:nth-of-type(1) {
margin-top: 90rpx;
}
.domain > .item > .title {
padding-left: 40rpx;
font-size: 32rpx;
color: #666;
}
.options-frame {
margin-top: 10rpx;
padding-left: 106rpx;
display: flex;
}
.options-frame > .option {
position: relative;
margin-left: 20rpx;
padding: 10rpx 14rpx;
width: 240rpx;
height: 140rpx;
background: #fff;
border-radius: 20rpx;
}
.options-frame > .option:nth-of-type(1) {
margin-left: 0;
}
.options-frame > .option > .star {
position: absolute;
top: 0;
right: 0;
width: 80rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
background: #ffffff;
border-radius: 20rpx;
z-index: 5;
}
.options-frame > .option > .wall {
position: relative;
padding-left: 20rpx;
padding-top: 9rpx;
width: 212rpx;
height: 120rpx;
background: rgba(40, 102, 255, .1) ;
border-radius: 20rpx;
}
.options-frame > .option > .wall > .name {
position: absolute;
left: 24rpx;
bottom: 12rpx;
font-size: 28rpx;
color: #666;
}
.collection{
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 318rpx;
background: #F0F2FF;
z-index: 10;
}
.collection > .collect-frame {
display: flex;
justify-content: space-between;
position: absolute;
left: 0;
bottom: 0;
padding: 0 54rpx;
width: 100%;
height: 218rpx;
background: #adceff;
border-radius: 30rpx 30rpx 0 0;
}
.collection_item {
position: relative;
top: -74rpx;
display: flex;
justify-content: center;
align-items: center;
/* margin-left: calc((100% - 60/* 0rpx) / 2); */
width: 200rpx;
height: 240rpx;
background-color: #FFF;
border-radius: 20rpx;
animation: name 0.5s;
}
.collection-empty {
position: relative;
top: -74rpx;
width: 200rpx;
height: 240rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #FFF;
border: 6rpx dashed #BBBBBB;
border-radius: 20rpx;
}
/* .collectionbg{
width: calc(100% - 54rpx);
height: 100%;
position: absolute;
z-index: -1;
box-sizing: border-box;
display: flex;
}
.collection_item{
width: 200rpx;
height: 100%;
background-color: #FFFFFF;
border-radius: 10px;
} */
/* .collection_item{
position: relative;
display: flex;
justify-content: center;
align-items: center;
margin-left: calc((100% - 600rpx) / 2);
position: relative;
animation: name 0.5s;
}
.collection_itembg{
width: 200rpx;
height: 100%;
/* background-color: #BBBBBB; */
background-color: #FFFFFF;
border-radius: 10px;
animation: name 0.5s;
} */
/* .collection_itembg{
width: 200rpx;
height: 100%;
border-radius: 10px;
display: flex;
justify-content: center;
@@ -199,7 +369,10 @@
color: #BBBBBB;
flex-direction: column;
}
} */
@keyframes name{
from{opacity: 0;}
to{opacity: 1;}