no message
Former-commit-id: 7f8cb372dc60400bf24e20c9d2999bc349091948 Former-commit-id: 8e2d0a3ff2c74ce2e0ddaf5b123eaf12e0320170 Former-commit-id: 239cafabc645fc81016cc99d962872772bc461e6
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<d2-container type="ghost" class="demo-plugins-vue-grid-layout-demo">
|
||||
<d2-container type="ghost" class="demo-layout-grid">
|
||||
<d2-grid-layout
|
||||
v-bind="layout"
|
||||
@layout-updated="layoutUpdatedHandler">
|
||||
@@ -11,7 +11,7 @@
|
||||
@move="moveHandler"
|
||||
@resized="resizedHandler"
|
||||
@moved="movedHandler">
|
||||
<el-card>
|
||||
<el-card shadow="never">
|
||||
<el-tag size="mini" type="info" slot="header">Card {{item.i}}</el-tag>
|
||||
<template v-if="item.i === '0'">
|
||||
<div class="d2-mb">拖拽卡片调整位置</div>
|
||||
@@ -88,7 +88,7 @@ export default {
|
||||
|
||||
<style lang="scss">
|
||||
@import '~@/assets/style/public.scss';
|
||||
.demo-plugins-vue-grid-layout-demo {
|
||||
.demo-layout-grid {
|
||||
.vue-grid-layout {
|
||||
margin: -10px;
|
||||
.el-card {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<d2-container>
|
||||
<d2-demo-page-header slot="header" title="基本示例"/>
|
||||
<template slot="header">基本示例</template>
|
||||
<div style="height: 400px; margin: -16px;">
|
||||
<SplitPane :min-percent='20' :default-percent='30' split="vertical">
|
||||
<template slot="paneL"><div style="margin: 10px;">左</div></template>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<d2-container>
|
||||
<d2-demo-page-header slot="header" title="效果演示"/>
|
||||
<template slot="header">效果演示</template>
|
||||
<d2-markdown url="/static/md/组件 - markdown - 演示.md"/>
|
||||
</d2-container>
|
||||
</template>
|
||||
Reference in New Issue
Block a user