no message
Former-commit-id: 5780d44ef810039a95e544cef9b2e4cd583cabac Former-commit-id: 1835ab3f08ff49c7f9f71b897d1b3f0c305efb14 Former-commit-id: 4c5d58f77c77c98504f625d37f983822e8a7bafe
This commit is contained in:
@@ -11,6 +11,5 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
// 公用 class
|
||||
@import '~@/assets/style/public-class.scss';
|
||||
</style>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<Container type="ghost">
|
||||
<p style="margin-top: 0px;">这是一个隐形的页面容器</p>
|
||||
<p>没有边界和背景颜色</p>
|
||||
<p style="margin-bottom: 0px;">适合一些比较特殊的页面</p>
|
||||
<el-card style="width: 50%;">
|
||||
<Markdown url="/static/md/组件 - 页面容器 - 隐形.md"></Markdown>
|
||||
</el-card>
|
||||
</Container>
|
||||
</template>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
基础页面容器
|
||||
|
||||
高度根据内容适应
|
||||
|
||||
```
|
||||
<Container>
|
||||
主体内容
|
||||
@@ -13,4 +15,4 @@
|
||||
<template slot="header">我是插入到 header 中的内容</template>
|
||||
主体内容
|
||||
</Container>
|
||||
```
|
||||
```
|
||||
9
static/md/组件 - 页面容器 - 隐形.md
Normal file
9
static/md/组件 - 页面容器 - 隐形.md
Normal file
@@ -0,0 +1,9 @@
|
||||
隐形页面容器
|
||||
|
||||
不显示任何背景色和边框
|
||||
|
||||
```
|
||||
<Container type="ghost">
|
||||
主体内容
|
||||
</Container>
|
||||
```
|
||||
Reference in New Issue
Block a user