mdui实现移动端手机端个人中心我的页面菜单效果代码
代码语言:html
所属分类:布局界面
代码描述:mdui实现移动端手机端个人中心我的页面菜单效果代码
代码标签: 端 手机 端 个人 中心 我的 页面 菜单 效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/mdui.min.css"> <style> .mw-mf-page-left, #mengji-sidebar { background-color: #fcfaf2; min-height: 100vh; } #mengji-sidebar-header { min-height: 33vh; /* https://www.pixiv.net/artworks/90849869 */ background-image: url(//repo.bfw.wiki/bfwrepo/image/611da9b999795.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_600,h_400,/quality,q_90); background-size: 100% auto; background-position: bottom; background-color: #3a5d5e; color: #fcfaf2; padding: 10px; } #mengji-sidebar-header a { color: inherit; text-decoration: none; } #mengji-sidebar .name-card { display: flex; padding: 15px; align-items: center; } #mengji-sidebar .name-card > .avator { width: 56px; height: 56px; margin-right: 32px; border-radius: 50%; overflow: hidden; } #mengji-sidebar .name-card > .avator > img { width: 100%; height: 100%; } #mengji-sidebar-content { padding-bottom: 76px; } .glass { opacity: 0.75; } </style> </head> <body translate="no"> <div id="mengji-sidebar"> <div id="mengji-sidebar-header"> <div class="mdui-toolbar tool glass"> <div class="mdui-toolbar-spacer"></div> <a href="javascript:;" class="mdui-btn mdui-btn-icon"> <i class="mdui-icon material-icons">settings</i> </a> </div> <a class="name-card"> <div class="avator"> <img src="//repo.bfw.wiki/bfwrepo/image/60d41f5173b0d.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100,h_100,/quality,q_90"> </div> <div class="mdui-typo-headline">小傲娇</div> </a> </div> <div id="mengji-sidebar-content"> <div class="mdui-tab" mdui-tab> <a href="#menu" class="mdui-ripple">菜单</a> <a href="#bookmark" class="mdui-ripple">书签</a> </div> <div id="menu" class="mdui-list" mdui-collapse="{accordion:false}"> <div class="mdui-collapse-item "> <div class="mdui-collapse-item-header mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-icon material-icons mdui-text-color-blue">near_me</i> <div class="mdui-list-item-content">萌娘百科</div> <i class="mdui-collapse-item-arrow mdui-icon material-icons">keyboard_arrow_down</i> </div> <div class="mdui-collapse-item-body mdui-list"> <a href="#" class="mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-text-color-orange-300 mdui-icon material-icons">settings</i> <div class="mdui-list-item-content">参数设置</div> </a> <a href="#" class="mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-text-color-deep-orange-300 mdui-icon material-icons">build</i> <div class="mdui-list-item-content">移动版选项</div> </a> <a href="${logoutURL}" class="mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-text-color-red mdui-icon material-icons">exit_to_app</i> <div class="mdui-list-item-content">退出</div> </a> </div> </div> <div class="mdui-collapse-item "> <div class="mdui-collapse-item-header mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-icon material-icons mdui-text-color-cyan">portrait</i> <div class="mdui-list-item-content">用户</div> <i class="mdui-collapse-item-arrow mdui-icon material-icons">keyboard_arrow_down</i> </div> <div class="mdui-collapse-item-body mdui-list"> <a href="#" class="mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-text-color-orange-300 mdui-icon material-icons">settings</i> <div class="mdui-list-item-content">参数设置</div> </a> <a href="#" class="mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-text-color-deep-orange-300 mdui-icon material-icons">build</i> <div class="mdui-list-item-content">移动版选项</div> </a> <a href="${logoutURL}" class="mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-text-color-red mdui-icon material-icons">exit_to_app</i> <div class="mdui-list-item-content">退出</div> </a> </div> </div> <div class="mdui-collapse-item "> <div class="mdui-collapse-item-header mdui-list-item mdui-ripple"> <i class="mdui-list-item-icon mdui-icon material-icons mdui-text-color-blue-grey">description</i> <div class="mdui-list-item-content">页面</div> <i class="mdui-collapse-item-arrow mdui-icon material-icons">keyboard_arrow_down</i> </div> <div class="mdui-collapse-item-body mdui-list"> <a href="#" class="mdui-l.........完整代码请登录后点击上方下载按钮下载查看
网友评论0