zoukankan      html  css  js  c++  java
  • EasyUI Window和Layout

    我们建立tabs内容。

    <div class="easyui-window" title="Layout Window" icon="icon-help" style="500px;height:250px;padding:5px;background: #fafafa;">
    
        <div class="easyui-layout" fit="true">
    
            <div region="west" split="true" style="120px;">
    
                <ul class="easyui-tree">
    
                    <li>
    
                        <span>Library</span>
    
                        <ul>
    
                            <li><span>easyui</span></li>
    
                            <li><span>Music</span></li>
    
                            <li><span>Picture</span></li>
    
                            <li><span>Database</span></li>
    
                        </ul>
    
                    </li>
    
                </ul>
    
            </div>
    
            <div region="center" border="false" border="false">
    
                <div class="easyui-tabs" fit="true">
    
                    <div title="Home" style="padding:10px;">
    
                        jQuery easyui framework help you build your web page easily.
    
                    </div>
    
                    <div title="Contacts">
    
                        No contact data.
    
                    </div>
    
                </div>
    
            </div>
    
            <div region="south" border="false" style="text-align:right;height:30px;line-height:30px;">
    
                <a class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)">Ok</a>
    
                <a class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">Cancel</a>
    
            </div>
    
        </div>
    
    </div>
    
    

    看上面的代码,我们只需使用HTML标记,然后复合版面和window就会显示。这个jquery-easyui框架,是容易和强大的。

  • 相关阅读:
    Codeforces 1244C The Football Season (解方程)
    BZOJ 2006 [NOI2010]超级钢琴(ST表+堆)
    51Nod 1681 公共祖先(dfs+树状数组/主席树)
    CF 1076E Vasya and a Tree(dfs+树状数组)
    CF 1076 D Edge Deletion(最短路径+bfs)
    CF Gym 102059I Game on Plane(sg函数)
    POJ 2311 Cutting Game(二维sg)
    POJ 2960 S-Nim(SG函数模板题)
    CF Gym 102059F Fake Plastic Trees
    CF Gym 102059H Fractions(思维题)
  • 原文地址:https://www.cnblogs.com/huangf714/p/5911816.html
Copyright © 2011-2022 走看看