ionic的tabs能左右滑动吗
1个回答
展开全部
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height">
<link rel="stylesheet" type="text/css" href="ionic.min.css">
</head>
<body>
<div class="tabs tabs-top tabs-stable">
<a class="tab-item">要闻</a>
<a class="tab-item active">河南</a>
<a class="tab-item">房产</a>
<a class="tab-item">财经</a>
<a class="tab-item">娱乐</a>
</div>
<div class="content stable-bg">
</div>
<div class="tabs tabs-stable tabs-icon-top">
<a class="tab-item active">
<i class="icon ion-ios-paper-outline"></i>新闻
</a>
<a class="tab-item">
<i class="icon ion-ios-book-outline"></i>订阅
</a>
<a class="tab-item">
<i class="icon ion-images"></i>图片
</a>
<a class="tab-item">
<i class="icon ion-ios-videocam-outline"></i>视频
</a>
</div>
</body>
</html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height">
<link rel="stylesheet" type="text/css" href="ionic.min.css">
</head>
<body>
<div class="tabs tabs-top tabs-stable">
<a class="tab-item">要闻</a>
<a class="tab-item active">河南</a>
<a class="tab-item">房产</a>
<a class="tab-item">财经</a>
<a class="tab-item">娱乐</a>
</div>
<div class="content stable-bg">
</div>
<div class="tabs tabs-stable tabs-icon-top">
<a class="tab-item active">
<i class="icon ion-ios-paper-outline"></i>新闻
</a>
<a class="tab-item">
<i class="icon ion-ios-book-outline"></i>订阅
</a>
<a class="tab-item">
<i class="icon ion-images"></i>图片
</a>
<a class="tab-item">
<i class="icon ion-ios-videocam-outline"></i>视频
</a>
</div>
</body>
</html>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询