移动端图片轮播?
来源:互联网 发布:脱发知乎 编辑:程序博客网 时间:2024/05/16 17:07
移动端图片轮播?
在移动端的时候,经常会遇到好多图片,可以用手滑动来实现轮播?好吧,我也不知道是不是应该叫轮播,但是类似的就是那种效果。把//html<div class="product-exihibate"> <ul> <li class="item" v-on:click="productDetail(desc.desc_id)" v-for="desc in product.desc_list"> <img class="product-pic" src="{{desc.title_image}}" alt=""> <p class="product-name">{{desc.title}}</p> <p class="product-aims">{{desc.second_title}}</p> </li> </ul></div>
//css
.product-exihibate{
padding-top: 1rem;
overflow:auto;
}
.product-exihibate ul{
display: flex;
height: 10.5rem;
width: auto;
overflow-x: auto;
background-color: white;
}
::-webkit-scrollbar{ display:none;}
.item{
list-style: none;
display: inline-block;
width: 8rem;
height: 9.6rem;
margin-right: 1rem;
padding-bottom: 0.3rem;
background-color: #f5f5f5;
text-align: center;
}
.item img{
height: 6.01rem;
width: 8rem;
}
.product-name{
width: 8rem;
color: #333;
font-size: 1.05rem;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.product-aims{
margin-top: 0.3rem;
width: 8rem;
color: #777;
font-size: 0.85rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
- 移动端图片轮播?
- 移动端的图片轮播
- HTML5移动端触摸屏图片轮播滑动
- 移动端使用touchstart,touchmove,touchend实现图片轮播
- js实现图片左右移动轮播
- 移动端 案例--轮播
- 基于jq的图片轮播插件,滑动切图,兼容移动,PC端
- 使用Swiper开发移动端页面,轻松实现图片的轮播
- 使用Swiper开发移动端页面,轻松实现图片的轮播
- PC和移动的轮播图片开发
- HTML5-文字图片轮播-翻牌效果-酒的移动轮播
- 移动端页面滑动轮播
- 移动端h5轮播插件swipe
- 移动端touch轮播+transition动画
- 非常简单的图片轮播,自动轮播,按下和移动停止轮播,有点击事件
- PC端、移动端都可以用的图片轮播(左右滑动切换)插件及使用
- Js实现图片轮播,以及鼠标移动选择指定图片
- react 手机端touch 图片轮播
- 广播的类型————拦截有序广播
- AlertDialog弹框apk版本升级
- 【LeetCode】 73. Set Matrix Zeroes
- Mysql 创建数据库、用户、授权、导入数据
- mysql百万级数据优化
- 移动端图片轮播?
- NumPy 便利的函数
- optee os 的启动和初始化
- android studio 插件版本太旧导致不能正常编译
- UEditor自定义上传和读取文件路径
- 随机向量
- Failure [DELETE_FAILED_INTERNAL_ERROR] 不能卸载
- DemoA
- TextView图文混排,设置部分字体背景色