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/navBar/navBar.wxss

42 lines
582 B
Plaintext
Raw Permalink Normal View History

2020-04-25 22:59:04 +08:00
/* common.wxss */
/* @import "/utils/common.wxss"; */
/* 导航组 */
.diy-navBar .data-list::after {
clear: both;
content: " ";
display: table;
}
.diy-navBar .item-nav {
float: left;
margin: 10px 0;
text-align: center;
}
.diy-navBar .item-nav .item-image {
margin-bottom: 4px;
font-size: 0;
}
.diy-navBar .item-nav .item-image .image {
width: 88rpx;
height: 88rpx;
}
/* 分列布局 */
.diy-navBar .avg-sm-3 > .item-nav {
width: 33.33333333%;
}
.diy-navBar .avg-sm-4 > .item-nav {
width: 25%;
}
.diy-navBar .avg-sm-5 > .item-nav {
width: 20%;
}