You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
157 lines
2.7 KiB
157 lines
2.7 KiB
/* pages/topics/common/interactive/common/imageCell/index.wxss */
|
|
.cell {
|
|
/* border-bottom: 1px solid #E7E7E7;
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 10px 20px;
|
|
align-items: center; */
|
|
/* min-height: 80px; */
|
|
}
|
|
.left{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
/* width: 70%; */
|
|
flex:1;
|
|
height: 80px;
|
|
|
|
}
|
|
.leftActive{
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 80px;
|
|
}
|
|
.left-bottom{
|
|
display: flex;
|
|
flex: row;
|
|
justify-content: space-between;
|
|
padding: 5px 0;
|
|
}
|
|
.left-bottom-userInfo{
|
|
display: flex;
|
|
flex: row;
|
|
align-items: center;
|
|
}
|
|
.user-icon{
|
|
width: 20px;
|
|
height: 20px;
|
|
/* border-radius: 50%; */
|
|
/* border: 1px solid #ddd; */
|
|
/* background-color: #EEEEEE; */
|
|
}
|
|
.user-icon image {
|
|
/* border-radius: 50%; */
|
|
}
|
|
.userName{
|
|
max-width: 120rpx;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
margin: 0 5px 0 5px;
|
|
font-size: 12px;
|
|
color: #3B3B3B;
|
|
}
|
|
.left-bottom-comments{
|
|
display: flex;
|
|
flex: row;
|
|
align-items: center;
|
|
margin-right: 10px;
|
|
}
|
|
.comments-icon{
|
|
width: 15px;
|
|
height: 12px;
|
|
line-height: 10px;
|
|
margin-right: 5px;
|
|
}
|
|
.image_icon {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.commentNum{
|
|
font-size: 12px;
|
|
color: #3B3B3B;
|
|
}
|
|
.right{
|
|
width: 35%;
|
|
height: 80px;
|
|
border-radius: 5px;
|
|
background-color: #EEEEEE;
|
|
}
|
|
image{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.articleImg{
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 5px;
|
|
}
|
|
.cell_title {
|
|
font-weight: 300;
|
|
font-size: 17px;
|
|
color: #000;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.cell_title_selected {
|
|
color: #9C9C9C;
|
|
}
|
|
.cell_info_meta {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
color: #D4D4D4;
|
|
}
|
|
.cell_info_top {
|
|
padding: 0 10px;
|
|
width: 20px;
|
|
height: 12px;
|
|
}
|
|
|
|
.touch-item {
|
|
font-size: 14px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-bottom:1px solid #E7E7E7;
|
|
width: 100%;
|
|
overflow: hidden
|
|
}
|
|
.content {
|
|
width: 100%;
|
|
/* padding: 10px; */
|
|
|
|
line-height: 22px;
|
|
margin-right:0;
|
|
-webkit-transition: all 0.4s;
|
|
transition: all 0.4s;
|
|
-webkit-transform: translateX(120px);
|
|
transform: translateX(120px);
|
|
margin-left: -120px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 10px 20px;
|
|
align-items: center;
|
|
}
|
|
.del {
|
|
background-color: orangered;
|
|
width: 120px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
-webkit-transform: translateX(120px);
|
|
transform: translateX(120px);
|
|
-webkit-transition: all 0.4s;
|
|
transition: all 0.4s;
|
|
}
|
|
.touch-move-active .content,
|
|
.touch-move-active .del {
|
|
-webkit-transform: translateX(0);
|
|
transform: translateX(0);
|
|
}
|