naive-ui/demo/documentation/components/descriptions/zhCN/size.demo.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

4.8 KiB

尺寸

smallmediumlarge 尺寸。

<n-descriptions label-placement="left" title="描述" size="small">
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
<n-descriptions label-placement="left" title="描述" size="medium">
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
<n-descriptions label-placement="left" title="描述" size="large">
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
<n-descriptions label-placement="top" title="描述" size="small">
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
<n-descriptions label-placement="top" title="描述" size="medium">
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
<n-descriptions label-placement="top" title="描述" size="large">
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
<n-descriptions label-placement="top" title="描述" size="small" bordered>
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
<n-descriptions label-placement="top" title="描述" size="medium" bordered>
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
<n-descriptions label-placement="top" title="描述" size="large" bordered>
  <n-descriptions-item>
    <template v-slot:label>
      早餐
    </template>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="早午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="午餐">
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="晚餐" :span="2">
    两个<br>
    苹果
  </n-descriptions-item>
  <n-descriptions-item label="宵夜">
    苹果
  </n-descriptions-item>
</n-descriptions>
.n-descriptions {
  margin-bottom: 20px;
}