mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-04-12 14:40:47 +08:00
doc: pure english
This commit is contained in:
parent
7f7c27adf8
commit
c6a404a32e
@ -1,4 +1,4 @@
|
||||
u<template>
|
||||
<template>
|
||||
<div class="doc">
|
||||
<h1>一堆列 / n-column-group</h1>
|
||||
<hr>
|
||||
|
@ -65,9 +65,9 @@
|
||||
<div class="n-doc-section__source">
|
||||
<textarea>
|
||||
/**
|
||||
* 注意 auto-text-color 会将 type="primary" 的按钮的文字颜色设定为背景色
|
||||
* 如果不设定 将使用黑色作为文字颜色
|
||||
* 请注意设计稿还原
|
||||
* Note: auto-text-color will set button of type="primary"'s color as its first
|
||||
* background-colored parent's background-color
|
||||
* If auto-text-color is not set, its color will be black
|
||||
*/
|
||||
<n-button
|
||||
size="small"
|
||||
|
@ -16,39 +16,39 @@
|
||||
<div class="n-doc-section__view">
|
||||
<n-nimbus-service-layout
|
||||
icon="md-musical-notes"
|
||||
name="My Generation"
|
||||
name="Oasis"
|
||||
:items="[
|
||||
{
|
||||
name: '第一个服务',
|
||||
name: 'Definitely Maybe',
|
||||
path: '/n-nimbus-service-layout?param=666'
|
||||
},
|
||||
{
|
||||
name: '第二个服务',
|
||||
name: `Morning Glory`,
|
||||
childItems: [
|
||||
{
|
||||
name: '二级菜单1',
|
||||
name: 'Hello',
|
||||
path: '/n-nimbus-service-layout?param=777'
|
||||
},
|
||||
{
|
||||
name: '二级菜单2',
|
||||
name: 'Roll with It',
|
||||
path: '/n-nimbus-service-layout?param=888'
|
||||
},
|
||||
{
|
||||
name: '二级菜单3',
|
||||
name: 'Wonderwall',
|
||||
path: '/n-nimbus-service-layout?param=999'
|
||||
},
|
||||
{
|
||||
name: '二级菜单4',
|
||||
name: `Don't Look Back in Anger`,
|
||||
path: '/n-nimbus-service-layout?param=000'
|
||||
},
|
||||
{
|
||||
name: '二级菜单5',
|
||||
name: 'Some Might Say',
|
||||
path: '/n-nimbus-service-layout?param=111'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: '第三个服务',
|
||||
name: 'Be Here Now',
|
||||
path: '/n-nimbus-service-layout?param=222'
|
||||
}
|
||||
]"
|
||||
@ -62,39 +62,39 @@
|
||||
<div class="n-doc-section__source">
|
||||
<textarea><n-nimbus-service-layout
|
||||
icon="md-musical-notes"
|
||||
name="My Generation"
|
||||
name="Oasis"
|
||||
:items="[
|
||||
{
|
||||
name: '第一个服务',
|
||||
name: 'Definitely Maybe',
|
||||
path: '/n-nimbus-service-layout?param=666'
|
||||
},
|
||||
{
|
||||
name: '第二个服务',
|
||||
name: `What's the Story(Morning Glory)`,
|
||||
childItems: [
|
||||
{
|
||||
name: '二级菜单1',
|
||||
name: 'Hello',
|
||||
path: '/n-nimbus-service-layout?param=777'
|
||||
},
|
||||
{
|
||||
name: '二级菜单2',
|
||||
name: 'Roll with It',
|
||||
path: '/n-nimbus-service-layout?param=888'
|
||||
},
|
||||
{
|
||||
name: '二级菜单3',
|
||||
name: 'Wonderwall',
|
||||
path: '/n-nimbus-service-layout?param=999'
|
||||
},
|
||||
{
|
||||
name: '二级菜单4',
|
||||
name: `Don't Look Back in Anger`,
|
||||
path: '/n-nimbus-service-layout?param=000'
|
||||
},
|
||||
{
|
||||
name: '二级菜单5',
|
||||
name: 'Some Might Say',
|
||||
path: '/n-nimbus-service-layout?param=111'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: '第三个服务',
|
||||
name: 'Be Here Now',
|
||||
path: '/n-nimbus-service-layout?param=222'
|
||||
}
|
||||
]"
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="demo">
|
||||
<n-nimbus-service-layout
|
||||
icon="md-contacts"
|
||||
name="NAIVE UI (0.1.59)"
|
||||
name="NAIVE UI (0.1.64)"
|
||||
:padding-body="false"
|
||||
:items="items"
|
||||
>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "0.1.63",
|
||||
"version": "0.1.64",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user