模块:收纳表:修订间差异

跳到导航 跳到搜索
添加65字节 、​ 2022年6月7日 (星期二)
无编辑摘要
无编辑摘要
无编辑摘要
第9行: 第9行:
textWidth      = nil:  内容框的宽度,如75ch。同上。
textWidth      = nil:  内容框的宽度,如75ch。同上。
splitCount      = 5:    决定每行有几个物件
splitCount      = 5:    决定每行有几个物件
textDisplay    = top: 内容相对于选择栏的位置,可输入
textDisplay    = down: 内容相对于选择栏的位置,可输入
                         top(内容在选择栏上)
                         top(内容在选择栏上)
                         down(内容在选择栏下)
                         down(内容在选择栏下)
                         left(内容在选择栏左,此时selectWidth会被设置成20%、textWidth被设成60%、textHeight, selectHeight皆被设成400px)
                         left(内容在选择栏左,此时若用户无指定,则selectWidth会被预设成20%、textWidth被设成60%、textHeight, selectHeight皆被设成400px)
                         right(内容在选择栏右,同上)
                         right(内容在选择栏右,同上)
--]]
--]]
第33行: 第33行:
             :css('display', 'inline-grid')
             :css('display', 'inline-grid')
             :css('height', '400px')
             :css('height', '400px')
            :css('overflow-y', 'auto')
             :css('width', '20%')
             :css('width', '20%')
     end
     end
第68行: 第69行:
         tabs_contents
         tabs_contents
             :css('display', 'inline-grid')
             :css('display', 'inline-grid')
             :css('height', '400px')
             :css('overflow-y', 'auto')
             :css('width', '60%')
             :css('width', '60%')
     end
     end
第117行: 第118行:
         :addClass('tabs-container')
         :addClass('tabs-container')
      
      
     if args['textDisplay'] == 'down' or args['textDisplay'] == 'left' then
     if args['textDisplay'] == 'top' or args['textDisplay'] == 'left' then
         mainDiv:node(renderContent(tabIndices, args))
         mainDiv:node(renderContent(tabIndices, args))
         mainDiv:node(renderSelect(tabIndices, args))
         mainDiv:node(renderSelect(tabIndices, args))

导航菜单