• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

主攻ASP.NETMVC4.0之重生:JqueryMobile列表

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

代码:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Jquery Mobile Web Page</title>
    <link href="~/Content/css/themes/default/jquery.mobile.structure-1.4.0-beta.1.min.css" rel="stylesheet" />
    <link href="~/Content/css/themes/default/jquery.mobile-1.4.0-beta.1.min.css" rel="stylesheet" />
    <script src="~/Content/js/jquery.js"></script>
    <script src="~/Content/js/jquery.mobile-1.4.0-beta.1.js"></script>
</head>
<body>

    <div data-role="page" id="page">
        <h1>List效果</h1>

        <div data-role="content">

            <span style="color: red">列表</span>
            <br />
            <br />
            <ul data-role="listview">
                <li>苹果</li>
                <li>香蕉</li>
                <li>梨子</li>
                <li>哈密瓜</li>
                <li>水蜜桃</li>
            </ul>
            <br />
            <br />
            <span style="color: red">数字列表</span>
            <br />
            <br />
            <ol data-role="listview">
                <li>苹果</li>
                <li>香蕉</li>
                <li>梨子</li>
                <li>哈密瓜</li>
                <li>水蜜桃</li>
            </ol>
            <br />
            <br />
            <span style="color: red">InSet列表 [data-inset="ture"]</span>
            <br />
            <br />
            <ol data-role="listview" data-inset="ture">
                <li>苹果</li>
                <li>香蕉</li>
                <li>梨子</li>
                <li>哈密瓜</li>
                <li>水蜜桃</li>
            </ol>

            <br />
            <br />
            <span style="color: red">ICO 16*16 列表</span>
            <br />
            <br />
            <ul data-role="listview" data-inset="true">
                <li><a href="#">

                    <img src="~/Content/image/gb.png" alt="France" class="ui-li-icon ui-corner-none">英国K</a></li>
                <li><a href="#">
                    <img src="~/Content/image/gb.png" alt="Germany" class="ui-li-icon">英国A</a></li>
                <li><a href="#">
                    <img src="~/Content/image/gb.png" alt="Great Britain" class="ui-li-icon">英国B</a></li>
                <li><a href="#">
                    <img src="~/Content/image/gb.png" alt="Finland" class="ui-li-icon">英国C</a></li>
                <li><a href="#">
                    <img src="~/Content/image/gb.png" alt="United States" class="ui-li-icon ui-corner-none">英国D</a></li>
            </ul>
            <br />
            <br />
            <span style="color: red">带图列表</span>
            <br />
            <br />

            <ul data-role="listview">
                <li><a href="#">
                    <img src="~/Content/image/1.jpg">
                    <h2>独自上场</h2>
                    <p>¥59.00</p>
                </a>
                </li>
                <li><a href="#">
                    <img src="~/Content/image/5.jpg">
                    <h2>所有的猪都到齐了</h2>
                    <p>¥26.00</p>
                </a>
                </li>
                <li><a href="#">
                    <img src="~/Content/image/3.jpg">
                    <h2>假如给我三天光明</h2>
                    <p>¥32.00</p>
                </a>
                </li>
            </ul>
            <br />
            <br />
            <span style="color: red">Inset带图列表</span>
            <br />
            <br />

            <ul data-role="listview" data-inset="true">
                <li><a href="#">
                    <img src="~/Content/image/1.jpg">
                    <h2>独自上场</h2>
                    <p>¥59.00</p>
                </a>
                </li>
                <li><a href="#">
                    <img src="~/Content/image/5.jpg">
                    <h2>所有的猪都到齐了</h2>
                    <p>¥26.00</p>
                </a>
                </li>
                <li><a href="#">
                    <img src="~/Content/image/3.jpg">
                    <h2>假如给我三天光明</h2>
                    <p>¥32.00</p>
                </a>
                </li>
            </ul>



            <ul data-role="listview" data-split-icon="gear" data-split-theme="b" data-inset="true" data-theme="b">
                <li><a href="#">
                    <img src="~/Content/image/1.jpg">
                    <h2>独自上场</h2>
                    <p>¥59.00</p>
                </a>
                    <a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">立即购买</a>
                </li>
                <li><a href="#">
                    <img src="~/Content/image/5.jpg">
                    <h2>所有的猪都到齐了</h2>
                    <p>¥26.00</p>
                </a>
                    <a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
                </li>
                <li><a href="#">
                    <img src="~/Content/image/3.jpg">
                    <h2>假如给我三天光明</h2>
                    <p>¥32.00</p>
                </a>
                    <a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
                </li>
            </ul>
            <div data-role="popup" id="purchase" data-theme="a" data-overlay-theme="b" class="ui-content" style="max-width: 340px; padding-bottom: 2em;">
                <h3>立即购买?</h3>
                <p>请确定是否购买?</p>
                <a href="index.html" data-role="button" data-rel="back" data-theme="b" data-icon="check" data-inline="true" data-mini="true">¥$26.99</a>
                <a href="index.html" data-role="button" data-rel="back" data-inline="true" data-mini="true">取消</a>
            </div>


            <ul data-role="listview" data-inset="true" data-divider-theme="a">
                <li data-role="list-divider">小说类图书</li>
                <li><a href="#">
                    <h2>【推荐】</h2>
                    <h1>《青春不老》</h1>
                    <p class="ui-li-aside"><strong>作者:</strong>卡夫</p>
                </a></li>
                <li><a href="#">《再见,北京》<p class="ui-li-aside"><strong>发行年份:2013</strong>第2版</p>
                </a></li>
                <li data-role="list-divider">编程类图书</li>
                <li><a href="#">《C#》<p class="ui-li-aside"><strong>06:51</strong>AM</p>
                </a></li>
                <li><a href="#">《Java》<p class="ui-li-aside"><strong>16:51</strong>PM</p>
                </a></li>
            </ul>
            <br />
            <br />
            <span style="color: red">可折叠列表</span>
            <br />
            <br />
            <div data-role="collapsible" data-theme="b" data-content-theme="b">
                <h2>热门书籍-点击展开</h2>
                <ul data-role="listview">
                    <li data-role="list-divider">小说类图书</li>
                    <li><a href="#">《青春不老》<p class="ui-li-aside"><strong>作者:</strong>卡夫</p>
                    </a></li>
                    <li><a href="#">《再见,北京》<p class="ui-li-aside"><strong>发行年份:2013</strong>第2版</p>
                    </a></li>
                    <li data-role="list-divider">编程类图书</li>
                    <li><a href="#">《C#》<p class="ui-li-aside"><strong>06:51</strong>AM</p>
                    </a></li>
                    <li><a href="#">《Java》<p class="ui-li-aside"><strong>16:51</strong>PM</p>
                    </a></li>
                </ul>
            </div>
            <br />
            <br />
            <span style="color: red">可折叠列表组</span>
            <br />
            <br />

            <div data-role="collapsible-set" data-theme="a" data-content-theme="a">
                <div data-role="collapsible">
                    <h2>热门书籍</h2>
                    <ul data-role="listview" 
                       
                    
                    

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
(转)ASP.NET页面缓存发布时间:2022-07-10
下一篇:
在ASP.NETMVCWeb应用程序中输出RSSFeeds发布时间:2022-07-10
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap