Skip to content

Commit 8dda2cc

Browse files
committed
no message
1 parent 2a32ff4 commit 8dda2cc

File tree

3 files changed

+28
-25
lines changed

3 files changed

+28
-25
lines changed

cn/about.html

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ <h4 class="text-gray">关于网站</h4>
6666
<p>有一段时间我发现我的收藏夹越来越多,很难找到某个不常用的网站。所以就有了这个网站,这里收集的基本都是我自己浏览器收藏夹里的网站,我平时用的相对比较多的一些都在这里。</p>
6767
</br>
6868
<p>如果你也是设计师,如果你也正好喜欢设计,那希望这个网站能给你带来一些作用。</p>
69+
<p>闲聊或者有任何建议都可以加QQ群交流:304584722</p>
6970
</blockquote>
7071
</div>
7172
</div>

en/about.html

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ <h4 class="text-gray">关于网站</h4>
6666
<p>有一段时间我发现我的收藏夹越来越多,很难找到某个不常用的网站。所以就有了这个网站,这里收集的基本都是我自己浏览器收藏夹里的网站,我平时用的相对比较多的一些都在这里。</p>
6767
</br>
6868
<p>如果你也是设计师,如果你也正好喜欢设计,那希望这个网站能给你带来一些作用。</p>
69+
<p>闲聊或者有任何建议都可以加QQ群交流:304584722</p>
6970
</blockquote>
7071
</div>
7172
</div>

en/index.html

+26-25
Original file line numberDiff line numberDiff line change
@@ -4110,36 +4110,37 @@ <h4 class="text-gray"><i class="linecons-tag" style="margin-right: 7px;" id="UED
41104110
</div>
41114111
</div>
41124112
<!-- 锚点平滑移动 -->
4113-
<script type="text/javascript">
4114-
// $(document).ready(function() {
4115-
// $("#main-menu li ul li").click(function() {
4116-
// $(this).siblings('li').removeClass('active'); // 删除其他兄弟元素的样式
4117-
// $(this).addClass('active'); // 添加当前元素的样式
4118-
// });
4119-
// $("a.smooth").click(function() {
4120-
// $("html, body").animate({
4121-
// scrollTop: $($(this).attr("href")).offset().top - 30
4122-
// }, {
4123-
// duration: 500,
4124-
// easing: "swing"
4125-
// });
4126-
// });
4127-
// return false;
4128-
// });
4113+
<script type=”text/javascript“>
4114+
$(document).ready(function() {
4115+
$(#main - menu li ul li“).click(function() {
4116+
$(this).siblings(’li‘).removeClass(’active‘); // 删除其他兄弟元素的样式
4117+
$(this).addClass(’active‘); // 添加当前元素的样式
4118+
});
4119+
$(”a.smooth“).click(function(ev) {
4120+
ev.preventDefault();
4121+
4122+
public_vars.$mainMenu.add(public_vars.$sidebarProfile).toggleClass(’mobile - is - visible‘);
4123+
ps_destroy();
4124+
$(”html, body“).animate({
4125+
scrollTop: $($(this).attr(”href“)).offset().top - 30
4126+
}, {
4127+
duration: 500,
4128+
easing: ”swing“
4129+
});
4130+
});
4131+
return false;
4132+
});
41294133

4130-
var href = "";
4134+
var href = ”“;
41314135
var pos = 0;
4132-
$("a.smooth").click(function(e) {
4133-
$("#main-menu li").each(function() {
4134-
$(this).removeClass("active");
4136+
$(a.smooth).click(function(e) {
4137+
$(#main - menu li).each(function() {
4138+
$(this).removeClass(active);
41354139
});
4136-
$(this).parent("li").addClass("active");
4140+
$(this).parent(”li“).addClass(active);
41374141
e.preventDefault();
4138-
href = $(this).attr("href");
4142+
href = $(this).attr(href);
41394143
pos = $(href).position().top - 30;
4140-
$("html,body").animate({
4141-
scrollTop: pos
4142-
}, 500);
41434144
});
41444145
</script>
41454146
<!-- Global site tag (gtag.js) - Google Analytics -->

0 commit comments

Comments
 (0)