123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- @body-bg:#03C762;
- @title-top:#03C762;
- @title-bg: #cdf5df;
- .body {
- // 行头
- .row-style {
- margin-top: 20px;
- @media screen and (max-width:768px) {
- & {
- margin-top: 0px;
- border-radius: 10px;
- overflow: hidden;
- }
- }
- // 轮播图片
- .carousel-img-style {
- width: 100%;
- border-radius: 10px;
- }
- }
- // 消息通用样式模板
- .hotspot {
- padding: 0 20px 20px;
- h4 {
- margin-top: 0px;
- font-weight: normal;
- padding-bottom: 7px;
- border-bottom: 1px solid #eee;
- font-size: 16px;
-
- a {
- width: 100%;
- text-decoration: none;
- color: black;
- display: flex;justify-content: space-between;align-items: flex-end;
- .icon-fire-style {
- margin-right: 10px;
- color: #a94442;
- }
- span{
- padding: 5px 0;
- }
- &>span:last-child{
- font-size: 14px;
- margin-bottom: 3px;
- }
- // 卡片底边颜色
- .b {
- border-bottom: 3px solid #a94442;
- }
- .a {
- border-bottom: 3px solid @body-bg;
- }
- }
- }
- ul {
- padding-left: 20px;
- li {
- list-style-type: square;
- color: #777;
- list-style-position: inherit;
- line-height: 36px;
- a {
- display: block;
- width: 100%;
- text-decoration: none;
- color: #777;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- border-bottom: 1px solid #f5f5f5;
- }
- }
- }
- }
- // 标题模板
- .title-style {
- width: 100%;
- margin-top: 20px;
- padding: 0 15px;
- // vertical-align: middle;
- .h4 {
- padding: 15px;
- vertical-align: middle;
- border-bottom: 2px solid @title-top;
- background-color: @title-bg;
- font-size: 20px;
- display: flex;
- i{
- margin-right: 10px;
- }
- }
- }
- // 横向滚动
- .scroll-style {
- ul {
- padding: 0;
- width: 100%;
- display: flex;
- justify-content: space-between;
- flex-wrap: nowrap;
- align-items: center;
- overflow-x: auto;
- &::-webkit-scrollbar {
- // 滚动条整体
- background: none;
- }
- .scroll-li-style {
- // flex: 1;
- width: 19%;
- min-width: 160px;
- list-style-type: none;
- display: block;
- text-align: center;
- margin: 10px;
- a {
- color: #777;
- text-decoration: none;
- width: 100%;
- img {
- width: 100%;
- }
- h5 {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- }
- }
- }
- }
|