mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 20:48:49 +08:00
608dd5c3fe
* fix: tabs 宽度 sensor 问题 和 样式修复 * feat: tabs 新增 editor 样式风格 * feat: tabs 新增 editor 样式风格 * feat: tabs schema fix * feat: tabs toobar style fix * feat: tabs md 修改 * feat: tabs md 修改 * feat: tabs snapshots Co-authored-by: liuzedong02 <liuzedong02@baidu.com>
151 lines
3.8 KiB
Plaintext
151 lines
3.8 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Renderer:portlet 1`] = `
|
|
<div>
|
|
<div
|
|
class="cxd-Portlet"
|
|
>
|
|
<div
|
|
class="cxd-Tabs cxd-Tabs--line cxd-Portlet-tab"
|
|
>
|
|
<div
|
|
class="cxd-Tabs-linksContainer-wrapper cxd-Tabs-linksContainer-wrapper--toolbar"
|
|
style="position: relative;"
|
|
>
|
|
<div
|
|
class="cxd-Tabs-linksContainer"
|
|
>
|
|
<div
|
|
class="cxd-Tabs-linksContainer-main"
|
|
>
|
|
<ul
|
|
class="cxd-Tabs-links"
|
|
role="tablist"
|
|
>
|
|
<li
|
|
class="cxd-Tabs-link is-active"
|
|
>
|
|
<a>
|
|
Tab 1
|
|
</a>
|
|
</li>
|
|
<li
|
|
class="cxd-Tabs-link"
|
|
>
|
|
<a>
|
|
Tab 2
|
|
</a>
|
|
</li>
|
|
<div
|
|
class="cxd-Portlet-toolbar"
|
|
>
|
|
<div
|
|
class="cxd-toolbar"
|
|
>
|
|
<button
|
|
class="cxd-Button cxd-Button--link cxd-Button--sm"
|
|
type="button"
|
|
>
|
|
<span>
|
|
固定操作
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div
|
|
class="cxd-tab-toolbar"
|
|
>
|
|
<button
|
|
class="cxd-Button cxd-Button--link cxd-Button--sm"
|
|
type="button"
|
|
>
|
|
<span>
|
|
ajax请求
|
|
</span>
|
|
</button>
|
|
<div
|
|
class="cxd-DropDown "
|
|
>
|
|
<button
|
|
class="cxd-Button cxd-Button--link cxd-Button--sm"
|
|
>
|
|
<i
|
|
class="m-r-xs fa fa-ellipsis-h"
|
|
/>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="resize-sensor"
|
|
style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: scroll; z-index: -1; visibility: hidden;"
|
|
>
|
|
|
|
|
|
<div
|
|
class="resize-sensor-expand"
|
|
style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;"
|
|
>
|
|
|
|
|
|
<div
|
|
style="position: absolute; left: 0px; top: 0px; width: 10px; height: 10px;"
|
|
/>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
class="resize-sensor-shrink"
|
|
style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;"
|
|
>
|
|
|
|
|
|
<div
|
|
style="position: absolute; left: 0; top: 0; width: 200%; height: 200%"
|
|
/>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
class="resize-sensor-appear"
|
|
style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;animation-name: apearSensor; animation-duration: 0.2s;"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="cxd-Tabs-content"
|
|
>
|
|
<div
|
|
class="in is-active cxd-Tabs-pane"
|
|
>
|
|
<span
|
|
class="cxd-TplField"
|
|
>
|
|
<span>
|
|
Content 1
|
|
</span>
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="cxd-Tabs-pane"
|
|
>
|
|
<span
|
|
class="cxd-TplField"
|
|
>
|
|
<span>
|
|
Content 2
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|