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 @@ + + + +
+ + +v-bind对象语法传入多个属性
+索引:{{index}} - {{book.name}}
+当status为1的时候显示该行
+当status为2的时候显示该行
+否则显示该行
+| + + | + | 商品类别 | +id | 商品名称 | 商品单价 | 购买数量 | 操作 |
|---|---|---|---|---|---|---|---|
| {{index+1}} | -{{item.name}} | -{{item.price}} | -- - {{item.count}} - - | -- - | -|||
| + | {{item.ctaName}} | +{{xi.id}} | +{{xi.name}} | +{{xi.price}} | ++ + {{xi.count}} + + | ++ + | +