From d041b197e70084e64e03cb753c409e3223d21bae Mon Sep 17 00:00:00 2001 From: wenlin <507319093@qq.com> Date: Sun, 5 Jul 2020 19:21:26 +0800 Subject: [PATCH] =?UTF-8?q?vue=E7=AC=AC=E4=BA=8C=E6=AC=A1=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Css/style.css" | 0 .../bindClass.html" | 83 ++++++++ .../bindStyle.html" | 27 +++ .../text/index-1.html" | 0 .../text/index-2.html" | 0 .../text/index-3.html" | 0 .../text/index-4.html" | 1 + .../text/index-5.html" | 0 .../text/index-6.html" | 3 - .../vFor.html" | 62 ++++++ .../vfor-1.html" | 96 +++++++++ .../vif.html" | 47 +++++ ...5\347\275\256\346\214\207\344\273\244.txt" | 0 .../Css/style.css" | 24 +++ .../Js/index.js" | 166 +++++++++++++++ .../index-shopp.html" | 101 +++------ .../index.js" | 0 .../text/index-text1.html" | 132 ------------ .../text/text1.html" | 193 ------------------ 19 files changed, 536 insertions(+), 399 deletions(-) rename "\350\260\242\346\261\266\351\234\226/\350\264\255\347\211\251\350\275\246/style.css" => "\350\260\242\346\261\266\351\234\226/Css/style.css" (100%) create mode 100644 "\350\260\242\346\261\266\351\234\226/bindClass.html" create mode 100644 "\350\260\242\346\261\266\351\234\226/bindStyle.html" rename "\350\260\242\346\261\266\351\234\226/index-1.html" => "\350\260\242\346\261\266\351\234\226/text/index-1.html" (100%) rename "\350\260\242\346\261\266\351\234\226/index-2.html" => "\350\260\242\346\261\266\351\234\226/text/index-2.html" (100%) rename "\350\260\242\346\261\266\351\234\226/index-3.html" => "\350\260\242\346\261\266\351\234\226/text/index-3.html" (100%) rename "\350\260\242\346\261\266\351\234\226/index-4.html" => "\350\260\242\346\261\266\351\234\226/text/index-4.html" (99%) rename "\350\260\242\346\261\266\351\234\226/index-5.html" => "\350\260\242\346\261\266\351\234\226/text/index-5.html" (100%) rename "\350\260\242\346\261\266\351\234\226/index-6.html" => "\350\260\242\346\261\266\351\234\226/text/index-6.html" (98%) create mode 100644 "\350\260\242\346\261\266\351\234\226/vFor.html" create mode 100644 "\350\260\242\346\261\266\351\234\226/vfor-1.html" create mode 100644 "\350\260\242\346\261\266\351\234\226/vif.html" delete mode 100644 "\350\260\242\346\261\266\351\234\226/\347\254\254\344\272\224\347\253\240\345\206\205\347\275\256\346\214\207\344\273\244.txt" create mode 100644 "\350\260\242\346\261\266\351\234\226/\350\264\255\347\211\251\350\275\246/Css/style.css" create mode 100644 "\350\260\242\346\261\266\351\234\226/\350\264\255\347\211\251\350\275\246/Js/index.js" delete mode 100644 "\350\260\242\346\261\266\351\234\226/\350\264\255\347\211\251\350\275\246/index.js" delete mode 100644 "\350\260\242\346\261\266\351\234\226/\350\264\255\347\211\251\350\275\246/text/index-text1.html" delete mode 100644 "\350\260\242\346\261\266\351\234\226/\350\264\255\347\211\251\350\275\246/text/text1.html" diff --git "a/\350\260\242\346\261\266\351\234\226/\350\264\255\347\211\251\350\275\246/style.css" "b/\350\260\242\346\261\266\351\234\226/Css/style.css" similarity index 100% rename from "\350\260\242\346\261\266\351\234\226/\350\264\255\347\211\251\350\275\246/style.css" rename to "\350\260\242\346\261\266\351\234\226/Css/style.css" diff --git "a/\350\260\242\346\261\266\351\234\226/bindClass.html" "b/\350\260\242\346\261\266\351\234\226/bindClass.html" new file mode 100644 index 0000000..9c56a21 --- /dev/null +++ "b/\350\260\242\346\261\266\351\234\226/bindClass.html" @@ -0,0 +1,83 @@ + + + + + + + Class 与 Style 绑定 + + + + +
+ + 百度一下 +
+
+ +
v-bind对象语法 切换属性
+
+
+

v-bind对象语法传入多个属性

+
+
+
v-bind对象语法绑定一计算属性
+
+ +
v-bind数组语法
+
+
使用三元表达式根据条件切换class
+
+ +
+ + + + + + \ No newline at end of file diff --git "a/\350\260\242\346\261\266\351\234\226/bindStyle.html" "b/\350\260\242\346\261\266\351\234\226/bindStyle.html" new file mode 100644 index 0000000..f4e6d12 --- /dev/null +++ "b/\350\260\242\346\261\266\351\234\226/bindStyle.html" @@ -0,0 +1,27 @@ + + + + + + + v-bind绑定style + + + +
+ +
文本
+
+ + + + + \ No newline at end of file diff --git "a/\350\260\242\346\261\266\351\234\226/index-1.html" "b/\350\260\242\346\261\266\351\234\226/text/index-1.html" similarity index 100% rename from "\350\260\242\346\261\266\351\234\226/index-1.html" rename to "\350\260\242\346\261\266\351\234\226/text/index-1.html" diff --git "a/\350\260\242\346\261\266\351\234\226/index-2.html" "b/\350\260\242\346\261\266\351\234\226/text/index-2.html" similarity index 100% rename from "\350\260\242\346\261\266\351\234\226/index-2.html" rename to "\350\260\242\346\261\266\351\234\226/text/index-2.html" diff --git "a/\350\260\242\346\261\266\351\234\226/index-3.html" "b/\350\260\242\346\261\266\351\234\226/text/index-3.html" similarity index 100% rename from "\350\260\242\346\261\266\351\234\226/index-3.html" rename to "\350\260\242\346\261\266\351\234\226/text/index-3.html" diff --git "a/\350\260\242\346\261\266\351\234\226/index-4.html" "b/\350\260\242\346\261\266\351\234\226/text/index-4.html" similarity index 99% rename from "\350\260\242\346\261\266\351\234\226/index-4.html" rename to "\350\260\242\346\261\266\351\234\226/text/index-4.html" index d1a871a..80de12d 100644 --- "a/\350\260\242\346\261\266\351\234\226/index-4.html" +++ "b/\350\260\242\346\261\266\351\234\226/text/index-4.html" @@ -25,6 +25,7 @@ +