This commit is contained in:
lym
2026-03-18 17:27:43 +08:00
parent 4a5d7353ed
commit c076cf32b0
34 changed files with 480 additions and 264 deletions

View File

@@ -164,47 +164,66 @@ swiper-item image {
box-sizing: border-box;
z-index: 10;
}
.mydata_box0 view{
display:block;
float:left;
.mydata_box0 .category-grid{
display: flex;
flex-direction: column;
width: 100%;
padding: 0.4em 0;
padding-bottom: 0.4em;
padding: 0.3em 0;
border-radius:0.5em;
background-color:#fff;
box-sizing: border-box;
}
.mydata_box0 view .swiper_box0 {
display:block;
float:left;
width: 100%;
height:11em;
}
.mydata_box0 .swiper_box0 .wx-swiper-dots{bottom: 0em;}
.mydata_box0 view view{
float: left;
.mydata_box0 .category-group {
display: flex;
flex-direction: column;
width: 100%;
}
.mydata_box0 .category-row {
display: flex;
flex-direction: row;
width: 100%;
justify-content: flex-start;
padding: 0.1em 0;
}
.mydata_box0 .category-group .category-row:first-child {
padding-top: 0.15em;
}
.mydata_box0 .category-group .category-row:last-child {
padding-bottom: 0.15em;
}
.mydata_box0 .category-item {
display: flex;
width: 25%;
height: 6em;
flex-direction: column;
align-items: center;
justify-content: center;
width: 25%;
height: 5.5em;
box-sizing: border-box;
font-size:0.9em;
transition: transform 0.15s ease;
}
.mydata_box0 view view image{
width: 3em;
.mydata_box0 .category-item:active {
transform: scale(0.96);
}
.mydata_box0 .category-item image{
width: 3em;
height: 3em;
padding:0;
background-color: #f5f5f5;
border-radius:0.4em;
background-color: #f0f0f0;
border-radius:0.5em;
overflow: hidden;
box-sizing: border-box;
object-fit: cover;
}
.mydata_box0 view view text{
margin-top: 0.4em;
.mydata_box0 .category-item text{
margin-top: 0.35em;
font-size: 0.85em;
color: #444;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 92%;
}
.text{