利用jQuery实现左侧手风琴菜单代码



47 184 62



特效描述:利用jQuery实现 左侧手风琴 菜单代码,利用jQuery实现左侧手风琴菜单代码

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/leftnav.css" media="screen" type="text/css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/leftnav.css" media="screen" type="text/css">

2. 引入JS

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src='js/leftnav.js'></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src='js/leftnav.js'></script>

3. HTML代码

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!-- Iconos -->
</head>
<body style="padding: 100px;">
<div class="account-l fl">
	<a class="list-title">账户概览</a>
	<ul id="accordion" class="accordion">
		<li>
			<div class="link"><i class="fa fa-leaf"></i>产品管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="shop"><a>查看店铺</a></li>
				<li id="publicproducts"><a>发布产品</a></li>
				<li id="productlists"><a>查看产品</a></li>
				<li id="mysaled"><a>已卖出产品</a></li>
			</ul>
		</li>
		<li>
			<div class="link"><i class="fa fa-shopping-cart"></i>采购管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="publishpurchase"><a>发布采购</a></li>
				<li id="postneeds"><a>查看采购</a></li>
				<li id="getneeds"><a>已收到的报价单</a></li>
				<li id="mypricesheet"><a>我的报价单</a></li>
				<li id="concernshop"><a>已关注的店铺</a></li>
				<li id="concerngood"><a>已关注的商品</a></li>
			</ul>
		</li>
		<li>
			<div class="link"><i class="fa fa-pencil-square-o"></i>询盘管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="buyerxunpanlist"><a>收到的询盘</a></li>
				<li id="publishrequire"><a>我的询盘</a></li>
			</ul>
		</li>
		<li>
			<div class="link"><i class="fa fa-file-text"></i>订单管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="myorder"><a>我的订单</a></li>
				<li id="myrefund"><a>退款申请</a></li>
			</ul>
		</li>
		<li>
			<div class="link"><i class="fa fa-globe"></i>金融管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="myloan"><a>我的借贷</a></li>
				<li id="financialmanage"><a>需求申请</a></li>
				<li id="myapplication"><a>我的申请</a></li>
			</ul>
		</li>
		<li>
			<div class="link"><i class="fa fa-unlock-alt"></i>安全管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="basecomInfo"><a>基本信息</a></li>
				<li id="authenchange"><a>认证信息</a></li>
				<li id="phoneAuth"><a>手机认证</a></li>
				<li id="bankCardAuth"><a>银行卡认证</a></li>
				<li id="emailAuth"><a>邮箱认证</a></li>
				<li id="passwordmodify"><a>密码修改</a></li>
				<li id="paymentpsdmodify"><a>支付密码</a></li>
				<li id="address"><a>收货地址</a></li>
			</ul>
		</li>
		<li>
			<div class="link"><i class="fa fa-star"></i>评价管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="usercomments"><a>我的评价</a></li>
			</ul>
		</li>
		<li>
			<div class="link"><i class="fa fa-bell"></i>消息管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="mymsg"><a>我的消息</a></li>
			</ul>
		</li>
		<!-- 视情况而定 -->
		<li>
			<div class="link"><i class="fa fa-signal"></i>统计管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="censusmanager"><a>月贸易量</a></li>
				<li id="statisticmanager"><a>月订单量</a></li>
			</ul>
		</li>
		<li>
			<div class="link"><i class="fa fa-credit-card"></i>白条管理<i class="fa fa-chevron-down"></i></div>
			<ul class="submenu">
				<li id="oweindex"><a>开通白条</a></li>
				<li id="myIous"><a>我的白条</a></li>
				<li id="louorderlist"><a>订单列表</a></li>
			</ul>
		</li>
	</ul>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>
</body>
</html>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 导航切换 二级导航菜单 下拉导航菜单 图片切换 竖直导航菜单 文字切换 图标导航菜单 背景切换 固定导航菜单 手风琴 侧边导航菜单 选项卡自动切换 树形导航菜单 视频切换 网址导航菜单 列表切换 导航菜单插件 渐隐切换 文字导航菜单 全屏切换 切换按钮 缩放切换 滚动导航菜单 滑动导航菜单 浮动导航菜单 导航切换 右键菜单 收缩导航菜单 html5动画导航菜单 flash导航菜单 滚动切换 滑动选项卡切换 选项卡切换 滑动手风琴 导航菜单导航条

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到