Commit 454395ff by lmf

优化底部js脚本

parent 3eff3ea0
......@@ -5,6 +5,6 @@
var config = {
deps: [
'Magento_Theme/js/public'
]
};
(function () {
'use strict';
$(document).on('breeze:load', function () {
console.log('Hello');
});
//footer
$("h4").click(function () {
var dis = $(this).siblings("ul").css("display");
if (dis == "none"){
$(this).siblings("ul").css("display","block");
$(this).children("span").html('^')
}else{
$(this).siblings("ul").css("display","none");
$(this).children("span").html('>')
}
})
})();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment