diff --git a/src/pages/demo/components/editor-quill/index.vue b/src/pages/demo/components/editor-quill/index.vue
index fe4a1cc0..a19b59f1 100644
--- a/src/pages/demo/components/editor-quill/index.vue
+++ b/src/pages/demo/components/editor-quill/index.vue
@@ -7,7 +7,7 @@
@text-change="textChangeHandler"
@selection-change="selectionChangeHandler"
@editor-change="editorChangeHandler"/>
-
+
diff --git a/src/pages/demo/components/editor-simpleMDE/index.vue b/src/pages/demo/components/editor-simpleMDE/index.vue
index e36049ee..b9c99560 100644
--- a/src/pages/demo/components/editor-simpleMDE/index.vue
+++ b/src/pages/demo/components/editor-simpleMDE/index.vue
@@ -4,7 +4,7 @@
-
+
{{text}}
diff --git a/src/pages/demo/components/highlight/index.vue b/src/pages/demo/components/highlight/index.vue
index ea77e68a..b6daa6f1 100644
--- a/src/pages/demo/components/highlight/index.vue
+++ b/src/pages/demo/components/highlight/index.vue
@@ -1,19 +1,19 @@
代码高亮组件
-
+
javascript
-
+
css
-
+
scss
-
+
html
diff --git a/src/pages/demo/components/layout/grid.vue b/src/pages/demo/components/layout/grid.vue
index f156e0f4..ebebce1a 100644
--- a/src/pages/demo/components/layout/grid.vue
+++ b/src/pages/demo/components/layout/grid.vue
@@ -11,7 +11,7 @@
@move="moveHandler"
@resized="resizedHandler"
@moved="movedHandler">
-
+
Card {{item.i}}
拖拽卡片调整位置
diff --git a/src/pages/demo/element/basic-typography/index.vue b/src/pages/demo/element/basic-typography/index.vue
index 30282081..ebc53420 100644
--- a/src/pages/demo/element/basic-typography/index.vue
+++ b/src/pages/demo/element/basic-typography/index.vue
@@ -4,19 +4,19 @@
中文字体
-
+
PingFang SC
和畅惠风
-
+
Hiragino Sans GB
和畅惠风
-
+
Microsoft YaHei
和畅惠风
@@ -26,19 +26,19 @@
英文/数字字体
-
+
Helvetica Neue
RGag
-
+
Helvetica
RGag
-
+
Arial
RGag
diff --git a/src/pages/demo/element/data-table/index.vue b/src/pages/demo/element/data-table/index.vue
index cd7fd8cf..9ea11691 100644
--- a/src/pages/demo/element/data-table/index.vue
+++ b/src/pages/demo/element/data-table/index.vue
@@ -1,26 +1,31 @@
-
+
+ 表格组件
+
-
基础用法
-
-
-
-
-
-
-
-
+
+ 基础用法
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/demo/playground/env/index.vue b/src/pages/demo/playground/env/index.vue
new file mode 100644
index 00000000..719b4a8f
--- /dev/null
+++ b/src/pages/demo/playground/env/index.vue
@@ -0,0 +1,9 @@
+
+
+ 环境信息
+
+
+
+
diff --git a/src/pages/demo/plugins/build/index.vue b/src/pages/demo/plugins/build/index.vue
deleted file mode 100644
index 52246673..00000000
--- a/src/pages/demo/plugins/build/index.vue
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- 环境区分
- 当前是{{$env === 'development' ? '开发' : '生产'}}环境
-
-
diff --git a/src/pages/demo/plugins/day/index.vue b/src/pages/demo/plugins/day/index.vue
index fa8f52f5..7a762317 100644
--- a/src/pages/demo/plugins/day/index.vue
+++ b/src/pages/demo/plugins/day/index.vue
@@ -3,59 +3,59 @@
日期计算
解析
- {{dayjs()}}
- {{dayjs('1995-12-25')}}
- {{dayjs(1318781876406)}}
- {{dayjs(new Date(2018, 8, 18))}}
- {{dayjs().clone()}}
- {{dayjs().isValid()}}
+ {{dayjs()}}
+ {{dayjs('1995-12-25')}}
+ {{dayjs(1318781876406)}}
+ {{dayjs(new Date(2018, 8, 18))}}
+ {{dayjs().clone()}}
+ {{dayjs().isValid()}}
获取
- {{dayjs().year()}}
- {{dayjs().month()}}
- {{dayjs().date()}}
- {{dayjs().day()}}
- {{dayjs().hour()}}
- {{dayjs().minute()}}
- {{dayjs().second()}}
- {{dayjs().millisecond()}}
+ {{dayjs().year()}}
+ {{dayjs().month()}}
+ {{dayjs().date()}}
+ {{dayjs().day()}}
+ {{dayjs().hour()}}
+ {{dayjs().minute()}}
+ {{dayjs().second()}}
+ {{dayjs().millisecond()}}
设置
- {{dayjs().set('month', 6).month()}}
- {{dayjs().set('second', 30).second()}}
- {{dayjs().set('hour', 4).hour()}}
+ {{dayjs().set('month', 6).month()}}
+ {{dayjs().set('second', 30).second()}}
+ {{dayjs().set('hour', 4).hour()}}
操作
- {{dayjs().add(1, 'day').format('YYYY年M月D日 HH:mm:ss')}}
- {{dayjs().subtract(7, 'year').format('YYYY年M月D日 HH:mm:ss')}}
- {{dayjs().startOf('year').format('YYYY年M月D日 HH:mm:ss')}}
- {{dayjs().endOf('month').format('YYYY年M月D日 HH:mm:ss')}}
+ {{dayjs().add(1, 'day').format('YYYY年M月D日 HH:mm:ss')}}
+ {{dayjs().subtract(7, 'year').format('YYYY年M月D日 HH:mm:ss')}}
+ {{dayjs().startOf('year').format('YYYY年M月D日 HH:mm:ss')}}
+ {{dayjs().endOf('month').format('YYYY年M月D日 HH:mm:ss')}}
显示
- {{dayjs().format('YYYY-M-D HH:mm:ss')}}
- {{dayjs().diff(dayjs().subtract(1, 'day'), 'days')}}
- {{dayjs().valueOf()}}
- {{dayjs().unix()}}
- {{dayjs().daysInMonth()}}
- {{dayjs().toDate()}}
- {{dayjs().toArray()}}
- {{dayjs().toJSON()}}
- {{dayjs().toISOString()}}
- {{dayjs().toString()}}
- {{dayjs().toObject()}}
+ {{dayjs().format('YYYY-M-D HH:mm:ss')}}
+ {{dayjs().diff(dayjs().subtract(1, 'day'), 'days')}}
+ {{dayjs().valueOf()}}
+ {{dayjs().unix()}}
+ {{dayjs().daysInMonth()}}
+ {{dayjs().toDate()}}
+ {{dayjs().toArray()}}
+ {{dayjs().toJSON()}}
+ {{dayjs().toISOString()}}
+ {{dayjs().toString()}}
+ {{dayjs().toObject()}}
查询
- {{dayjs().isBefore(dayjs().add(1, 'day'))}}
- {{dayjs().isBefore(dayjs().subtract(1, 'day'))}}
- {{dayjs().isSame(dayjs())}}
- {{dayjs().isSame(dayjs().add(1, 'day'))}}
- {{dayjs().isAfter(dayjs().add(1, 'day'))}}
- {{dayjs().isAfter(dayjs().subtract(1, 'day'))}}
+ {{dayjs().isBefore(dayjs().add(1, 'day'))}}
+ {{dayjs().isBefore(dayjs().subtract(1, 'day'))}}
+ {{dayjs().isSame(dayjs())}}
+ {{dayjs().isSame(dayjs().add(1, 'day'))}}
+ {{dayjs().isAfter(dayjs().add(1, 'day'))}}
+ {{dayjs().isAfter(dayjs().subtract(1, 'day'))}}
diff --git a/src/pages/demo/plugins/mock/components/d2-demo-mock-card.vue b/src/pages/demo/plugins/mock/components/d2-demo-mock-card.vue
index 2b3aabd4..b8f5cd2b 100644
--- a/src/pages/demo/plugins/mock/components/d2-demo-mock-card.vue
+++ b/src/pages/demo/plugins/mock/components/d2-demo-mock-card.vue
@@ -1,5 +1,5 @@
-
+
{{title}}
diff --git a/src/router/routes.js.REMOVED.git-id b/src/router/routes.js.REMOVED.git-id
index 9d1ea352..07c62191 100644
--- a/src/router/routes.js.REMOVED.git-id
+++ b/src/router/routes.js.REMOVED.git-id
@@ -1 +1 @@
-778f82e9fa1924d95e2ffc6766eeefe0b17f09a3
\ No newline at end of file
+d7908a30f437509d8a39a3e966cc0534b4bd81c2
\ No newline at end of file