This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/components/diy/article/article.wxss

47 lines
678 B
Plaintext
Raw Normal View History

2020-04-25 22:59:04 +08:00
/* common.wxss */
/* @import "/utils/common.wxss"; */
/* 文章组 */
.diy-article {
background: #f7f7f7;
}
.diy-article .article-item {
margin-bottom: 20rpx;
padding: 30rpx;
background: #fff;
}
.diy-article .article-item:last-child {
margin-bottom: 0;
}
.diy-article .article-item .article-item__image .image {
display: block;
}
/* 小图模式 */
.show-type__10 {
display: flex;
}
.show-type__10 .article-item__left {
padding-right: 20rpx;
}
.show-type__10 .article-item__title {
min-height: 72rpx;
}
.show-type__10 .article-item__image .image {
width: 240rpx;
}
/* 大图模式 */
.show-type__20 .article-item__image .image {
width: 100%;
}