<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <title></title> <script src="js/mui.min.js"></script> <link href="css/mui.min.css" rel="stylesheet"/> </head> <body> <header class="mui-bar mui-bar-nav"><!--顶部导航栏-带返回键--> <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a> <h1 class="mui-title">测试属性</h1> </header> <div class="mui-content"><!--mbody主体,控件建议都写在content里边--> <div class="mui-card" style="margin: 10px;"><!--四个外边距--> <!--页眉,放置标题--> <div class="mui-card-header"> <img src="imgs/2.png" width="40" class="mui-pull-left" style="padding-left: 0px;line-height: 0px;"/> <div class="mui-media-body" style="padding: 5px;"><!--里边可嵌套标题,文本内容,padding,四个内边距设置--> <p>发表于 2016-06-30 15:30</p> </div> </div> <!--内容区--> <div class="mui-card-content" style="line-height: 0px;"> <img src="imgs/1.png" width="100%" /> </div> <!--页脚,放置补充信息或支持的操作--> <div class="mui-card-footer"> <div class="mui-media-body" style="padding: 5px;"><!--里边可嵌套标题,文本内容,padding,四个内边距设置--> 小M <p>发表于 2016-06-30 15:30</p> </div> </div> </div> <!--可循环,设置卡片试图--> <div class="mui-card" style="margin: 10px;"><!--四个外边距--> <!--页眉,放置标题--> <!--<div class="mui-card-header">页眉</div>--> <!--内容区--> <div class="mui-card-content" style=" background:#900; line-height: 0px;"><!--line-height: 0px;缩小间距,去掉背景白色--> <img src="imgs/1.png" width="100%" /> </div> <!--页脚,放置补充信息或支持的操作--> <div class="mui-card-footer"> <div class="mui-media-body" style="padding: 5px;"><!--里边可嵌套标题,文本内容,padding,四个内边距设置--> 小M <p>发表于 2016-06-30 15:30</p> </div> </div> </div> </div> <script type="text/javascript" charset="utf-8">mui.init();</script> </body> </html>