no message

Former-commit-id: 67884c24f35ac96b06aabef37e9fd375bccd47a8
Former-commit-id: dd0f0a39432d722c87c7bda08b94868687cfa157
Former-commit-id: b2db59c70e6f9b324cf2af00b0b5a7f895247459
Former-commit-id: d569ecec1b2c264ba11b981941fbefea45ebd4fc
This commit is contained in:
liyang
2018-06-12 09:42:09 +08:00
parent e317202e85
commit 1386d61cee
5 changed files with 18 additions and 1 deletions

View File

@@ -18,6 +18,7 @@
"axios": "^0.17.1",
"clipboard-polyfill": "^2.4.1",
"countup.js": "^1.9.3",
"dayjs": "^1.6.7",
"element-ui": "^2.0.11",
"file-saver": "^1.3.3",
"github-markdown-css": "^2.10.0",

View File

@@ -8,7 +8,7 @@ $theme-bg-image: '/static/image/bg/star-squashed.jpg';
// container组件
$theme-container-background-color: rgba(#FFF, .9);
$theme-container-header-footer-background-color: rgba(#FFF, .6);
$theme-container-border-inner: 1px solid #8fb0b1;
$theme-container-border-inner: 1px solid #cecece;
$theme-container-border-outer: none;
// 顶栏和侧边栏中展开的菜单 hover 状态下

View File

@@ -40,6 +40,7 @@ const demoPlugins = {
},
{ path: `${pre}build`, title: '环境区分' },
{ path: `${pre}clipboard-polyfill`, title: '剪贴板访问' },
{ path: `${pre}day`, title: '日期计算' },
{ path: `${pre}js-cookie`, title: 'Cookie 读写' },
{ path: `${pre}timeago`, title: '时间差计算' }
])('/demo/plugins/')

View File

@@ -0,0 +1,14 @@
<template>
<d2-container type="full">
<template slot="header">日期计算</template>
<template slot="footer">
<a href="https://github.com/iamkun/dayjs">https://github.com/iamkun/dayjs</a>
</template>
</d2-container>
</template>
<script>
import dayjs from 'dayjs'
export default {
}
</script>

View File

@@ -52,6 +52,7 @@ const routes = [
children: (pre => [
{ path: 'build', name: `${pre}build`, component: () => import('@/pages/demo/plugins/build/index.vue') },
{ path: 'clipboard-polyfill', name: `${pre}clipboard-polyfill`, component: () => import('@/pages/demo/plugins/clipboard-polyfill/index.vue') },
{ path: 'day', name: `${pre}day`, component: () => import('@/pages/demo/plugins/day/index.vue') },
{ path: 'export/table', name: `${pre}export-table`, component: () => import('@/pages/demo/plugins/export/table.vue') },
{ path: 'export/txt', name: `${pre}export-txt`, component: () => import('@/pages/demo/plugins/export/txt.vue') },
{ path: 'i18n/demo1', name: `${pre}i18n-demo1`, component: () => import('@/pages/demo/plugins/i18n/demo1.vue') },