jquery实现微信公众号后台添加菜单效果
代码语言:html
所属分类:布局界面
代码描述:jquery实现微信公众号后台添加菜单效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html > <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <style> @charset "UTF-8"; ul,li{ list-style: none; padding: 0; margin: 0; } body{ line-height: 24px; font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; color: #666; } .fluid{ box-sizing: border-box; padding: 15px; margin: 0 auto; position: relative; } .pannel{ background-color: #ffffff; } .fluid-btn{ display: inline-block; padding: 8px 12px; background-color: #1b8bf5; border-radius: 3px; color: #fff; text-align: center; font-size: 12px; transition: .3s all; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; line-height: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,.2); margin-right: 8px; } .fluid-btn.big-btn{ line-height: 1.2rem; padding: 8px 1.5rem; } .fluid-btn i{ padding-right: 3px; } .fluid-btn:hover{ color: #fff; /*color: rgba(255,255,255,.8);*/ background-color: #00bcd4; } .triangle { display: block; width: 0; height: 0; border-width: 10px 11px 0; border-style: solid; border-color: #e8e8e8 transparent transparent; position: absolute; bottom: -10px; left: 50%; margin-left: -10px; } .triangle em { display: block; width: 0; height: 0; border-width: 8px 8px 0; border-style: solid; border-color: #fafafa transparent transparent; position: absolute; top: -10px; left: -8px; } .wx-card{ position: relative; } .wx-card:before, .wx-card:after{ content: ' '; display: block; clear: both; } .wx-box { width: 320px; height: 550px; background-color: #f3f3f3; position: relative; float: left; /* border: 1px solid #e8e8e8; */ border-radius: 5px; overflow: hidden; box-shadow: 0 1px 5px #a9a9a9; } .wx-box .wx-head { height: 68px; line-height: 68px; background-color: #464646; text-align: center; color: #fff; user-select: none; position: relative; } .wx-box .wx-head .left-icon { position: absolute; left: 16px; top: 28px; color: #fff; } .wx-footer{ position: absolute; bottom: 0; left: 0; width: 100%; height: 46px; box-sizing: border-box; border-top: 1px solid #e8e8e8; } .wx-footer .menu-item,.add-menu{ display: block; width: 33.33333%; height: 100%; float: left; text-align: center; line-height: 46px; box-sizing: border-box; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; font-size: 12px; position: relative; background-color: #ffffff; } .wx-footer .menu-item:before{ content: ' '; display: block; height: 100%; position: absolute; right: -1px; border-left: 1px solid #e8e8e8; z-index: 1; } .wx-footer .menu-item:last-child:before{ content: ''; } .add-menu i{ line-height: 46px; color: #777; } .wx-footer .menu-item.ac{ background-color: #f1f1f1; } .wx-footer .menu-item:last-child{ border-right: 0; } .wx-footer .menu-item:hover{ background-color: #f1f1f1; } .wx-footer .menu-item .item-text{ display: block; width: 100%; height: 100%; } .wx-footer .menu-item.ac .menu-child-list{ display: block; } .menu-child-list{ position: absolute; bottom: 58px; left: 0; width: 100%; background-color: #fafafa; box-shadow: 0 1px 3px rgba(0,0,0,.2); border-radius: 3px; display: none; } .child-menu-item{ border-bottom: 1px solid #e8e8e8; box-sizing: border-box; } .child-menu-item.active{ background-color: #f1f1f1; } .child-menu-item:last-child{ border-bottom: 0; } .child-menu-item .item-text{ display: block; } .wx-editor { position: absolute; left: 0; top: 0; bottom: 0; right: 0; margin-left: 332px; background.........完整代码请登录后点击上方下载按钮下载查看
网友评论0