Merge branch 'develop' of ***REMOVED*** into develop

This commit is contained in:
JiwenBai 2019-08-13 13:59:46 +08:00
commit 3f27aa6dbd
13 changed files with 177 additions and 1 deletions

View File

@ -0,0 +1,32 @@
<template>
<div
ref="doc"
class="n-doc"
>
<div class="n-doc-header">
<n-gradient-text :font-size="20">
scaffold
</n-gradient-text>
</div>
<div class="n-doc-body">
<scaffold />
</div>
</div>
</template>
<script>
import scaffold from './scaffold.demo.vue'
export default {
components: {
scaffold
},
data () {
return {
}
},
methods: {
}
}
</script>

View File

@ -0,0 +1,28 @@
<template>
<div class="n-doc-section">
<div class="n-doc-section__header">
Scaffold
</div>
<div
class="n-doc-section__view"
style="flex-wrap: nowrap;"
>
<!--EXAMPLE_START-->
Write some demo here
<!--EXAMPLE_END-->
</div>
<pre class="n-doc-section__inspect">Inspect some value here</pre>
<n-doc-source-block>
<!--SOURCE-->
</n-doc-source-block>
</div>
</template>
<script>
export default {
data () {
return {
}
}
}
</script>

View File

@ -0,0 +1,32 @@
<template>
<div
ref="doc"
class="n-doc"
>
<div class="n-doc-header">
<n-gradient-text :font-size="20">
scaffold
</n-gradient-text>
</div>
<div class="n-doc-body">
<scaffold />
</div>
</div>
</template>
<script>
import scaffold from './scaffold.demo.vue'
export default {
components: {
scaffold
},
data () {
return {
}
},
methods: {
}
}
</script>

View File

@ -0,0 +1,28 @@
<template>
<div class="n-doc-section">
<div class="n-doc-section__header">
Scaffold
</div>
<div
class="n-doc-section__view"
style="flex-wrap: nowrap;"
>
<!--EXAMPLE_START-->
Write some demo here
<!--EXAMPLE_END-->
</div>
<pre class="n-doc-section__inspect">Inspect some value here</pre>
<n-doc-source-block>
<!--SOURCE-->
</n-doc-source-block>
</div>
</template>
<script>
export default {
data () {
return {
}
}
}
</script>

View File

@ -47,6 +47,8 @@ import tagDemo from './components/tagDemo'
import timelineDemo from './components/timelineDemo'
import progressDemo from './components/progressDemo'
import dividerDemo from './components/dividerDemo'
import popConfirmDemo from './components/popConfirmDemo'
import anchorDemo from './components/anchorDemo'
import demo from './demo'
import popoverDebug from './debugComponents/popoverDebug'
@ -120,7 +122,9 @@ const routes = [
{ path: '/n-scrollbar-debug2', component: scrollbarDebug2 },
{ path: '/n-back-top', component: backTopDemo },
{ path: '/n-date-picker-debug', component: datePickerDebug },
{ path: '/n-divider', component: dividerDemo }
{ path: '/n-divider', component: dividerDemo },
{ path: '/n-pop-confirm', component: popConfirmDemo },
{ path: '/n-anchor', component: anchorDemo }
]
},
{

View File

@ -45,6 +45,8 @@ import BackTop from './packages/common/BackTop'
import Divider from './packages/common/Divider'
import Collapse from './packages/common/Collapse'
import Timeline from './packages/common/Timeline'
import PopConfirm from './packages/common/PopConfirm'
import Anchor from './packages/common/Anchor'
function install (Vue) {
Card.install(Vue)
@ -94,6 +96,8 @@ function install (Vue) {
Divider.install(Vue)
Collapse.install(Vue)
Timeline.install(Vue)
PopConfirm.install(Vue)
Anchor.install(Vue)
}
export default {

View File

@ -0,0 +1,8 @@
/* istanbul ignore file */
import Scaffold from './src/main.vue'
Scaffold.install = function (Vue) {
Vue.component(Scaffold.name, Scaffold)
}
export default Scaffold

View File

@ -0,0 +1,9 @@
<template>
<div>example</div>
</template>
<script>
export default {
name: 'NScaffold'
}
</script>

View File

@ -0,0 +1,8 @@
/* istanbul ignore file */
import Scaffold from './src/main.vue'
Scaffold.install = function (Vue) {
Vue.component(Scaffold.name, Scaffold)
}
export default Scaffold

View File

@ -0,0 +1,9 @@
<template>
<div>example</div>
</template>
<script>
export default {
name: 'NScaffold'
}
</script>

6
styles/Anchor.scss Normal file
View File

@ -0,0 +1,6 @@
@import './mixins/mixins.scss';
@import './theme/default.scss';
@include b(scaffold) {
position: relative;
}

6
styles/PopConfirm.scss Normal file
View File

@ -0,0 +1,6 @@
@import './mixins/mixins.scss';
@import './theme/default.scss';
@include b(scaffold) {
position: relative;
}

View File

@ -35,6 +35,8 @@
@import './Divider.scss';
@import './Collapse.scss';
@import './Timeline.scss';
@import './PopConfirm.scss';
@import './Anchor.scss';
@import "./NimbusServiceLayout.scss";
@import "./Popover.scss";