源代码 :
点击运行
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.css"> <script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script> <script src="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script> </head> <body> <div data-role="page" id="pageone"> <div data-role="header"> <h1>页眉文本</h1> </div> <div data-role="main" class="ui-content"> <h2>我的日历</h2> <ul data-role="listview" data-inset="true"> <li data-role="list-divider">星期三, 1 月 2 日, 2013 <span class="ui-li-count">2</span></li> <li><a href="#"> <h2>医生</h2> <p><b>To Peter Griffin</b></p> <p>Well, Mr. Griffin, I've looked into physical results.</p> <p>Ah, Mr. Griffin, I'm not quite sure how to say this. Kim Bassinger? Bass singer? Bassinger?</p> <p>But now, onto the cancer</p> <p>You are a Cancer, right? You were born in July? Now onto these test results.</p> <p class="ui-li-aside">Re: Appointment</p></a> </li> <li><a href="#"> <h2>Glen Quagmire</h2> <p>Don't forget me this weekend!</p> <br> <p>- giggity giggity goo</p> <p class="ui-li-aside">Re: Camping</p></a> </li> <li data-role="list-divider">周二, 1 月 1 日, 2013 <span class="ui-li-count">1</span></li> <li><a href="#"> <h2>Louis</h2> <p><b>Happy Girl!</b></p> <p>Thank you so much, Peter!!</p> <p class="ui-li-aside">Re: Christmas Gifts</p></a> </li> </ul> </div> <div data-role="footer"> <h1>页脚文本</h1> </div> </div> </body> </html>
运行结果