odc.xiaohui
2023-05-12 4b48bacef8646cee8b66f5e10b0ed7124534e93e
miniprogram/pages/user/index.wxss
@@ -44,59 +44,46 @@
.container {
    width: 100%;
    background-color: #F5F5F5;
}
.box-title {
    /* position: fixed;
    top: 2rem; */
    /* height: 10rem; */
    display: flex;
    padding: 0.5rem 0.5rem;
    justify-content: space-between;
    flex-wrap: wrap;
}
.box-t{
    margin-bottom: 1rem;
}
.box1 {
    display: inline-grid;
    align-items: center;
    justify-content: center;
    float: left;
    /* margin-top: 50%; */
    /* margin-left: -5%; */
    /* margin-right: 15px; */
    height: 70px;
    width: 100px;
    /* border: 1px  solid rgba(0,0,0,0.2); */
}
.box2 {
    display: inline-grid;
    width: 10rem;
    height: 4rem;
    /* flex: 1; */
    /* align-items: center; */
    /* border: 1px solid #CCC; */
    border-radius: 1rem;
    background: -webkit-linear-gradient(left,#C0DEFE,#BFDEFD,#D9ECFB,#C0DEFE);
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    height: 70px;
    margin-top: 50%;
    margin-right: -8%;
    width: 145px;
    /* border: 1px  solid rgba(0,0,0,0.2); */
}
.box1 {
    background: -webkit-linear-gradient(left,#FCCBCB,#FFE0E0,#FFF4F4,#FCCACA);
}
.box3 {
    display: inline-grid;
    align-items: center;
    justify-content: center;
    float: left;
    /* margin-right: 15px; */
    margin-left: -8%;
    height: 70px;
    width: 145px;
    /* border: 1px  solid rgba(0,0,0,0.2); */
  /* margin: 0 1rem; */
  background: -webkit-linear-gradient(left,#D8EFDE,#F1FFF0,#D8EFDE,#F1FFF0);
}
.box4 {
    display: inline-grid;
    align-items: center;
    justify-content: center;
    float: right;
    margin-right: -8%;
    height: 70px;
    width: 145px;
    /* border: 1px  solid rgba(0,0,0,0.2); */
    background: -webkit-linear-gradient(left,#E2D8F3,#E8DEFE,#FDFBFF,#E2D8F3);
}
.container3 {
@@ -106,6 +93,7 @@
.font-wenzi {
    /* margin-left: 20px; */
    font-size: 13px;
    font-weight: 900;
}
@@ -146,7 +134,7 @@
}
.list .font-wenzi1 {
    font-size: 14px;
    font-size: 17px;
    margin-bottom: 4px;
    margin-left: 0.5rem;
    font-weight: 900;
@@ -155,7 +143,7 @@
.list .more {
    margin-bottom: 4px;
    float: right;
    font-size: 14px;
    font-size: 17px;
    color: rgba(0, 0, 0, 0.7);
    margin-right: 0.5rem;
    font-weight: 900;
@@ -165,6 +153,13 @@
    margin-top: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
}
.lists .swiper-video{
    height: 100%;
    width: 100%;
}
.lists:last-child{
    margin-bottom: 1rem;
}
.top-img{
    width: 100%;
@@ -180,6 +175,7 @@
    color: rgba(0, 0, 0, 0.5);
    margin-right: 0.5rem;
    width: 50%;
    text-align: right;
}
.lists .lists-top .lists-top-title {
@@ -189,10 +185,21 @@
    margin-left: 0.5rem;
    word-wrap: normal;
    width: 50%;
    overflow:hidden;/*内容超出后隐藏*/
    text-overflow: ellipsis;/* 超出内容显示为省略号 */
    white-space: nowrap;/* 文本不进行换行 */
}
.lists .lists-content {
    font-size: 11px;
    margin: 0.5rem;
    margin-bottom: 0.5rem;
    width: 90%;
    overflow:hidden;/*内容超出后隐藏*/
    text-overflow: ellipsis;/* 超出内容显示为省略号 */
    white-space: nowrap;/* 文本不进行换行 */
}