From db95f3e18bcd4d132f0728fdc00b92cff42d2ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B6=A6=E5=B1=B1?= <1968965292@qq.com> Date: Tue, 5 Apr 2022 13:02:21 +0800 Subject: [PATCH] =?UTF-8?q?vue=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2022-3-29vue/index.html" | 55 ++++++++ .../2022-3-30vue/index.html" | 69 ++++++++++ .../2022-3-31vue/css/index.css" | 40 ++++++ .../2022-3-31vue/registration.html" | 60 +++++++++ .../demo01.html" | 52 ++++++++ .../demo02.html" | 43 +++++++ .../2022-4-01vue/demo01.html" | 119 ++++++++++++++++++ 7 files changed, 438 insertions(+) create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html" create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-3-30vue/index.html" create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-3-31vue/css/index.css" create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-3-31vue/registration.html" create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-3-31vue/\350\257\276\345\240\202\347\254\224\350\256\260/demo01.html" create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-3-31vue/\350\257\276\345\240\202\347\254\224\350\256\260/demo02.html" create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-4-01vue/demo01.html" 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 0000000..4c65186 --- /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 0000000..fda361b --- /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 diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-31vue/css/index.css" "b/\351\273\204\346\266\246\345\261\261/2022-3-31vue/css/index.css" new file mode 100644 index 0000000..8875393 --- /dev/null +++ "b/\351\273\204\346\266\246\345\261\261/2022-3-31vue/css/index.css" @@ -0,0 +1,40 @@ +* { + margin: 0 auto; + padding: 0; + background-color: seashell; + +} + +form { + margin-top: 200px; +} +.middle { + display: grid; + grid-template-columns:90px 300px; + grid-template-rows: repeat(4,80px); + justify-content: center; + align-items: center; +} +input { + width: 300px; + height: 40px; + padding-left: 12px; + /* -webkit-appearance:none;去除阴影边框 */ + border: solid 1px chocolate; + border-radius: 10px; + +} +.middle span { + justify-self: flex-end; + padding-right: 15px; + +} +.middle .butt { + display: inline-grid; + width: 60px; + height: 40px; + border: solid 1px chocolate; + border-radius: 20px; + background-color: chocolate; + margin-left: 220px; +} \ No newline at end of file diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-31vue/registration.html" "b/\351\273\204\346\266\246\345\261\261/2022-3-31vue/registration.html" new file mode 100644 index 0000000..0e67774 --- /dev/null +++ "b/\351\273\204\346\266\246\345\261\261/2022-3-31vue/registration.html" @@ -0,0 +1,60 @@ + + + + + + + 注册页面 + + + + + +
    + 手机号: + 密码: + 确认密码: + +
    + + + + \ No newline at end of file diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-31vue/\350\257\276\345\240\202\347\254\224\350\256\260/demo01.html" "b/\351\273\204\346\266\246\345\261\261/2022-3-31vue/\350\257\276\345\240\202\347\254\224\350\256\260/demo01.html" new file mode 100644 index 0000000..d122787 --- /dev/null +++ "b/\351\273\204\346\266\246\345\261\261/2022-3-31vue/\350\257\276\345\240\202\347\254\224\350\256\260/demo01.html" @@ -0,0 +1,52 @@ + + + + + + + vue事件 + + +
    +
    + + +
    +
    +
    小区域
    +
    +
    +
    +
    动态方法绑定
    +
    + + + \ No newline at end of file diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-31vue/\350\257\276\345\240\202\347\254\224\350\256\260/demo02.html" "b/\351\273\204\346\266\246\345\261\261/2022-3-31vue/\350\257\276\345\240\202\347\254\224\350\256\260/demo02.html" new file mode 100644 index 0000000..617dc78 --- /dev/null +++ "b/\351\273\204\346\266\246\345\261\261/2022-3-31vue/\350\257\276\345\240\202\347\254\224\350\256\260/demo02.html" @@ -0,0 +1,43 @@ + + + + + + + + + + + +
    +
    + {{msg}} +
    +
    + + + + \ No newline at end of file diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-01vue/demo01.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-01vue/demo01.html" new file mode 100644 index 0000000..de909bb --- /dev/null +++ "b/\351\273\204\346\266\246\345\261\261/2022-4-01vue/demo01.html" @@ -0,0 +1,119 @@ + + + + + + + 商品列表 + + + + + + +
    + +
    + + + + + \ No newline at end of file -- Gitee