jQuery mobile 學習11 listview 列表顯示 帶圖

來源:互聯網
上載者:User

標籤:jquery mobile   listview   帶圖   

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%><!DOCTYPE html><html><head>    <meta charset="utf-8" />    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">    <link rel="stylesheet" href="./css/jquery.mobile-1.3.0.css"/>            <script type="text/javascript" src="./js/jquery-1.8.3.js"></script>    <script type="text/javascript" src="./js/jquery.mobile-1.3.0.js"></script></head><body>   <div data-role="page" id="a">   <div data-role="header" data-position="fixed" data-theme="b">   <h2>   a頁面的標題   </h2>   </div>      <div data-role="content">   <h3>listview帶圖顯示</h3>   <br><ul data-role="listview" data-inset="true"><li><a><img style="top:10px;left:10px;" alt="法拉利跑車" src="images/car.jpg"><h4>法拉利跑車跑得很快... </h4><p>售價:RMB 200 W</p><b>可以點擊</b></a></li><li><a><img style="top:10px;left:10px;" alt="法拉利跑車" src="images/car.jpg"><h4>法拉利跑車跑得很快... </h4><p>售價:RMB 200 W</p><b>可以點擊</b></a></li><li><img style="top:10px;left:10px;" alt="法拉利跑車" src="images/car.jpg"><h4>法拉利跑車跑得很快... </h4><p>售價:RMB 200 W</p><b>不能點擊</b></li><li><img style="top:10px;left:10px;" alt="法拉利跑車" src="images/car.jpg"><h4>法拉利跑車跑得很快... </h4><p>售價:RMB 200 W</p><b>不能點擊</b></li></ul>   </div>   <div data-role="footer" data-theme="a" data-position="fixed">   <h2>a頁面的底部</h2>   </div>   </div></body></html>

jQuery mobile 學習11 listview 列表顯示 帶圖

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.