yuminge-app/yun-min-program-plugin-master/packageC/mycomponent/temp/headline/headline.wxss

87 lines
1.2 KiB
Plaintext

/* pages/headline/headline.wxss */
.headline-box {
margin-top: 2rpx;
display: flex;
height: 120rpx;
}
.headline-box .img {
margin-right: 20rpx;
width: 15%;
padding: 12rpx;
box-sizing: border-box;
}
.headline-box .img image {
width: 100%;
height: 100%;
}
.headline-box .more {
width: 15%;
}
.headline-box .li {
display: flex;
align-items: center;
height: 30px;
}
.headline-box .left {
color: #f15353;
border: solid 2rpx #f15353;
padding: 0 8rpx;
border-radius: 4rpx;
margin-right: 20rpx;
}
.headline-box .right {
text-align: left;
width: 500rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.headline {
margin-top: 2rpx;
display: flex;
height: 60rpx;
/* background-color: #fff; */
padding: 10rpx 0;
}
.headline .img {
width: 15%;
padding: 0 12rpx;
margin-right: 20rpx;
box-sizing: border-box;
}
.headline .more {
width: 15%;
}
.headline .li {
display: flex;
align-items: center;
height: 60rpx;
}
.headline .left {
color: #f15353;
border: solid 2rpx #f15353;
padding: 0 8rpx;
border-radius: 4rpx;
margin-right: 20rpx;
}
.headline .right {
text-align: left;
width: 500rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}