diff --git a/01_初识Vue/基础模板.html b/01_初识Vue/基础模板.html new file mode 100644 index 0000000..56b4a19 --- /dev/null +++ b/01_初识Vue/基础模板.html @@ -0,0 +1,26 @@ + + + + + xxxx + + + +
+

Hello, {{name}}, {{address}}, {{Date.now()}}

+
+ + + + \ No newline at end of file diff --git a/14_过滤器/过滤器.html b/14_过滤器/过滤器.html new file mode 100644 index 0000000..7a83c74 --- /dev/null +++ b/14_过滤器/过滤器.html @@ -0,0 +1,60 @@ + + + + + 过滤器 + + + + +
+

显示格式化后的时间

+ +

计算属性实现:{{formatDatetime}}

+ +

方法实现:{{fmtDatetime()}}

+ +

过滤器实现1:{{time | formatDt}}

+ +

过滤器实现2:{{time | formatDt('YYYY_MM_DD')}}

+ +

多过滤器实现:{{time | formatDt('YYYY_MM_DD') | yearSlice}}

+ +

全局过滤器:{{time | formatDt('YYYY_MM_DD') | globalSlice}}

+ +

绑定时使用过滤器:F12

+
+ + + + \ No newline at end of file diff --git a/15_内置指令/1.v-text_指令.html b/15_内置指令/1.v-text_指令.html new file mode 100644 index 0000000..34365d0 --- /dev/null +++ b/15_内置指令/1.v-text_指令.html @@ -0,0 +1,36 @@ + + + + + v-text + + + + +
+

Hello, {{name}}, {{address}}, {{Date.now()}}

+

+
+ + + + \ No newline at end of file diff --git a/15_内置指令/2.v-html_指令.html b/15_内置指令/2.v-html_指令.html new file mode 100644 index 0000000..98dd413 --- /dev/null +++ b/15_内置指令/2.v-html_指令.html @@ -0,0 +1,39 @@ + + + + + v-html + + + + +
+

Hello, {{name}}, {{address}}, {{Date.now()}}

+

+
+
+ + + + \ No newline at end of file diff --git a/15_内置指令/3.v-cloak_指令.html b/15_内置指令/3.v-cloak_指令.html new file mode 100644 index 0000000..beed676 --- /dev/null +++ b/15_内置指令/3.v-cloak_指令.html @@ -0,0 +1,39 @@ + + + + + v-cloak + + + + +
+

{{name}}

+
+ + + + + \ No newline at end of file