Skip to content

Commit 67d922e

Browse files
committed
JDMenu 优化
优化菜单选取,利用三角形坐标选取
1 parent e5881ee commit 67d922e

File tree

5 files changed

+251
-69
lines changed

5 files changed

+251
-69
lines changed

.idea/workspace.xml

Lines changed: 89 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

JDMenu/index.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<meta charset="UTF-8">
55
<title>Title</title>
66
<link rel="stylesheet" href="css/base.css">
7+
8+
79
</head>
810
<body>
911
<div class="wrap" id="test">
@@ -77,6 +79,16 @@
7779
<a href="#">互联网品牌</a>
7880
</dd>
7981
</dl>
82+
<dl>
83+
<dt>
84+
<a href="#">家用电器<i>&gt;</i></a>
85+
</dt>
86+
<dd>
87+
<a href="#">合资品牌</a>
88+
<a href="#">国产品牌</a>
89+
<a href="#">互联网品牌</a>
90+
</dd>
91+
</dl>
8092
</div>
8193
<div id="d" class="sub_content none">
8294
<dl>
@@ -89,10 +101,41 @@
89101
<a href="#">互联网品牌</a>
90102
</dd>
91103
</dl>
104+
<dl>
105+
<dt>
106+
<a href="#">家用电器<i>&gt;</i></a>
107+
</dt>
108+
<dd>
109+
<a href="#">合资品牌</a>
110+
<a href="#">国产品牌</a>
111+
<a href="#">互联网品牌</a>
112+
</dd>
113+
</dl>
114+
<dl>
115+
<dt>
116+
<a href="#">家用电器<i>&gt;</i></a>
117+
</dt>
118+
<dd>
119+
<a href="#">合资品牌</a>
120+
<a href="#">国产品牌</a>
121+
<a href="#">互联网品牌</a>
122+
</dd>
123+
</dl>
124+
<dl>
125+
<dt>
126+
<a href="#">家用电器<i>&gt;</i></a>
127+
</dt>
128+
<dd>
129+
<a href="#">合资品牌</a>
130+
<a href="#">国产品牌</a>
131+
<a href="#">互联网品牌</a>
132+
</dd>
133+
</dl>
92134
</div>
93135
</div>
94136
</div>
95137
<script src="../node_modules/jquery/dist/jquery.min.js"></script>
138+
<script src="js/functions.js"></script>
96139
<script src="js/base.js"></script>
97140
</body>
98141
</html>

0 commit comments

Comments
 (0)