- 博客(3)
- 收藏
- 关注
原创 微信小程序swiper实现显示两条新闻数据滚动
<swiper wx:if="{{newsList.length>0}}" class="swiper_container shadow shadow-lg margi-right" vertical="true" autoplay="true" circular="true" interval="3000"> <swiper-item wx:for="{{newsList}}" wx:key="index" bindtap="toNewsList"> <..
2021-11-11 15:49:22 798
原创 jq二级导航栏下拉效果
$(".ui-menu").hover(function() { if($(this).find("li").length > 0){ $(this).children("ul").stop(true, true).slideDown(100) }},function() { $(this).children("ul").stop(true, true).slideUp("fast");});
2021-05-20 11:15:38 113
原创 img在div左右居中显示,超出部分隐藏
<div style="width:100%;height:280px; overflow:hidden; position:relative; "> <div style="width: 1920px; height: 100%;position: absolute;left: 50%;margin-left: -960px;"> <img style="width:100%; height:100%" src="/img/banne...
2021-05-20 09:42:59 847
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人