diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html" "b/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..4c6518671a6edd9b1d086c2a6a51be70947514b7 --- /dev/null +++ "b/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html" @@ -0,0 +1,55 @@ + + + + + + + vue练习el与data + + + +
+ {{message}}
+ {{hong}} +
+

+ {{hong}} +

+ +
+ {{message}} +
+ + + \ No newline at end of file diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-30vue/index.html" "b/\351\273\204\346\266\246\345\261\261/2022-3-30vue/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..fda361be2f66c880b24dcf84d9a917721d9b7e67 --- /dev/null +++ "b/\351\273\204\346\266\246\345\261\261/2022-3-30vue/index.html" @@ -0,0 +1,69 @@ + + + + + + 模板语法 + + + + +
+
{{text}}+第一段文字
+
+使用v-text,显示不了
  • 这是li,也显示不了
  • + +
    {{html}}
    +
    使用v-html
    + +
    +
    控制台查看v-bind:id
    + +
    +
    class
    + + + +
    {{num+'+num后续的输出'}}
    +
    {{ok?'输出ok':'输出不ok'}}
    +
    {{val.trim()}}
    +
    {{echo(val)}}
    +
    if显示?????
    +
    else显示!!!
    +
    show的显示???
    +
    点击
    +
    点击2
    +
    + + + + \ No newline at end of file