Commit d9afb7fc by 陈超

T

parent bbdda898
...@@ -309,3 +309,94 @@ div::-webkit-scrollbar { ...@@ -309,3 +309,94 @@ div::-webkit-scrollbar {
background: rgba(163,228,96,0.5); background: rgba(163,228,96,0.5);
} }
/*
* Home
*/
.home_divider.divider {
margin-left: 1.5rem;
margin-right: 1.5rem;
margin-top: 0.75rem;
}
.home_swapper {
height: 7.5rem;
padding-bottom: 1rem;
}
.home_swapper_image {
margin-left: 1rem;
margin-right: 1rem;
background: rgba(216, 216, 216, 1);
box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.3);
border-radius: 8px;
overflow: hidden;
}
.home_list_part {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.home_list_header_v_line {
width: 0.25rem;
height: 1rem;
background-color: #A3E460;
align-self: center;
}
.home_class_item {
position: relative;
margin-left: 0.75rem;
margin-right: 0.75rem;
margin-top: 0.75rem;
}
.home_item_mark_green {
width: 2rem;
height: 1rem;
border-radius: 0.5625rem;
color: white;
font-size:10px;
font-weight:400;
background: #65C000;
}
.home_item_mark_orange {
width: 2rem;
height: 1rem;
border-radius: 0.5625rem;
color: white;
font-size:10px;
font-weight:400;
background: #F5A623;
}
.home_button_green {
width:80px;
height:28px;
background:rgba(163,228,96,1);
border-radius:14px;
font-size:14px;
font-weight:400;
color:rgba(255,255,255,1);
}
.home_button_green:focus {
background:rgba(163,228,96,0.5);
}
.home_button_orange {
width:80px;
height:28px;
background:rgba(245,166,35,1);
border-radius:14px;
font-size:14px;
font-weight:400;
color:rgba(255,255,255,1);
}
.home_question_item {
padding: 1.5rem 0.75rem 0 0.75rem;
}
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
<van-swipe class="home_swapper" indicator-color="white"> <van-swipe class="home_swapper" indicator-color="white">
<volist name="ad_list" id="adlt"> <volist name="ad_list" id="adlt">
<van-swipe-item> <van-swipe-item>
<a href="{$adlt['bannerurl']}" title="{$adlt['banner_title']}"> <a class="home_swapper_image" href="{$adlt['bannerurl']}" title="{$adlt['banner_title']}">
<van-image class="home_swapper_image" height="100%" fit="cover" src="{:getCover($adlt['banner'],720,300)}" /> <van-image height="100%" fit="cover" src="{:getCover($adlt['banner'],720,300)}" />
</a> </a>
</van-swipe-item> </van-swipe-item>
</volist> </volist>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment