From 7f52005752a6075ae29c08ad2de43f31d63b4493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E7=BE=8E=E9=9B=AA?= <3140918699@qq.com> Date: Wed, 29 Jun 2022 11:36:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2022-5-03vue/src/App.vue" | 44 +++ .../2022-5-03vue/src/components/CartItem.vue" | 103 +++++++ .../src/components/HeaderBase.vue" | 88 ++++++ .../2022-5-03vue/src/main.js" | 21 ++ .../2022-5-03vue/src/pages/AdvList.vue" | 121 ++++++++ .../2022-5-03vue/src/pages/BodyBase.vue" | 74 +++++ .../2022-5-03vue/src/pages/CartList.vue" | 71 +++++ .../2022-5-03vue/src/pages/Detail.vue" | 237 ++++++++++++++++ .../2022-5-03vue/src/plugins/plugin1.js" | 26 ++ .../2022-5-03vue/src/router/index.js" | 39 +++ .../2022-5-05vue/src/App.vue" | 44 +++ .../2022-5-05vue/src/components/CartItem.vue" | 103 +++++++ .../src/components/HeaderBase.vue" | 88 ++++++ .../2022-5-05vue/src/main.js" | 21 ++ .../2022-5-05vue/src/pages/AdvList.vue" | 121 ++++++++ .../2022-5-05vue/src/pages/BodyBase.vue" | 74 +++++ .../2022-5-05vue/src/pages/CartList.vue" | 71 +++++ .../2022-5-05vue/src/pages/Detail.vue" | 237 ++++++++++++++++ .../2022-5-05vue/src/plugins/plugin1.js" | 26 ++ .../2022-5-05vue/src/router/index.js" | 39 +++ .../2022-5-06vue/src/App.vue" | 44 +++ .../2022-5-06vue/src/components/CartItem.vue" | 103 +++++++ .../src/components/HeaderBase.vue" | 88 ++++++ .../2022-5-06vue/src/main.js" | 21 ++ .../2022-5-06vue/src/pages/AdvList.vue" | 121 ++++++++ .../2022-5-06vue/src/pages/BodyBase.vue" | 74 +++++ .../2022-5-06vue/src/pages/CartList.vue" | 71 +++++ .../2022-5-06vue/src/pages/Detail.vue" | 237 ++++++++++++++++ .../2022-5-06vue/src/plugins/plugin1.js" | 26 ++ .../2022-5-06vue/src/router/index.js" | 39 +++ .../2022-5-10vue/src/App.vue" | 44 +++ .../2022-5-10vue/src/components/CartItem.vue" | 85 ++++++ .../src/components/HeaderBase.vue" | 109 ++++++++ .../2022-5-10vue/src/data/product.js" | 47 ++++ .../2022-5-10vue/src/detail/adidas.vue" | 202 ++++++++++++++ .../2022-5-10vue/src/detail/akf.vue" | 202 ++++++++++++++ .../2022-5-10vue/src/detail/lining.vue" | 202 ++++++++++++++ .../2022-5-10vue/src/detail/threece.vue" | 239 ++++++++++++++++ .../2022-5-10vue/src/detail/ugg.vue" | 202 ++++++++++++++ .../2022-5-10vue/src/main.js" | 98 +++++++ .../2022-5-10vue/src/pages/AdvList.vue" | 142 ++++++++++ .../2022-5-10vue/src/pages/BodyBase.vue" | 70 +++++ .../2022-5-10vue/src/pages/CartList.vue" | 67 +++++ .../2022-5-10vue/src/pages/Detail.vue" | 244 ++++++++++++++++ .../2022-5-10vue/src/router/index.js" | 49 ++++ .../2022-5-10vue/src/vuex.md" | 1 + .../2022-5-11vue/2022-5-12vue/src/App.vue" | 44 +++ .../2022-5-12vue/src/components/CartItem.vue" | 85 ++++++ .../src/components/HeaderBase.vue" | 109 ++++++++ .../2022-5-12vue/src/data/product.js" | 47 ++++ .../2022-5-12vue/src/detail/adidas.vue" | 202 ++++++++++++++ .../2022-5-12vue/src/detail/akf.vue" | 202 ++++++++++++++ .../2022-5-12vue/src/detail/lining.vue" | 202 ++++++++++++++ .../2022-5-12vue/src/detail/threece.vue" | 239 ++++++++++++++++ .../2022-5-12vue/src/detail/ugg.vue" | 202 ++++++++++++++ .../2022-5-11vue/2022-5-12vue/src/main.js" | 61 ++++ .../2022-5-12vue/src/pages/AdvList.vue" | 120 ++++++++ .../2022-5-12vue/src/pages/BodyBase.vue" | 70 +++++ .../2022-5-12vue/src/pages/CartList.vue" | 67 +++++ .../2022-5-12vue/src/pages/Detail.vue" | 263 ++++++++++++++++++ .../2022-5-12vue/src/pages/Ele.vue" | 114 ++++++++ .../2022-5-12vue/src/router/index.js" | 54 ++++ .../2022-5-12vue/src/store/actions.js" | 7 + .../2022-5-12vue/src/store/index.js" | 29 ++ .../2022-5-12vue/src/store/modules/user.js" | 22 ++ .../2022-5-12vue/src/store/mutations.js" | 26 ++ .../2022-5-11vue/src/App.vue" | 44 +++ .../2022-5-11vue/src/components/CartItem.vue" | 85 ++++++ .../src/components/HeaderBase.vue" | 109 ++++++++ .../2022-5-11vue/src/data/product.js" | 47 ++++ .../2022-5-11vue/src/detail/adidas.vue" | 202 ++++++++++++++ .../2022-5-11vue/src/detail/akf.vue" | 202 ++++++++++++++ .../2022-5-11vue/src/detail/lining.vue" | 202 ++++++++++++++ .../2022-5-11vue/src/detail/threece.vue" | 239 ++++++++++++++++ .../2022-5-11vue/src/detail/ugg.vue" | 202 ++++++++++++++ .../2022-5-11vue/src/main.js" | 47 ++++ .../2022-5-11vue/src/pages/AdvList.vue" | 142 ++++++++++ .../2022-5-11vue/src/pages/BodyBase.vue" | 70 +++++ .../2022-5-11vue/src/pages/CartList.vue" | 67 +++++ .../2022-5-11vue/src/pages/Detail.vue" | 255 +++++++++++++++++ .../2022-5-11vue/src/router/index.js" | 49 ++++ .../2022-5-11vue/src/store/actions.js" | 13 + .../2022-5-11vue/src/store/index.js" | 25 ++ .../2022-5-11vue/src/store/mudules/user.js" | 24 ++ .../2022-5-11vue/src/store/mutations.js" | 32 +++ .../2022-5-11vue/src/store/state.js" | 8 + .../2022-5-11vue/src/vuex.md" | 3 + .../2022-5-12vue/src/App.vue" | 44 +++ .../2022-5-12vue/src/components/CartItem.vue" | 85 ++++++ .../src/components/HeaderBase.vue" | 109 ++++++++ .../2022-5-12vue/src/data/product.js" | 47 ++++ .../2022-5-12vue/src/detail/adidas.vue" | 202 ++++++++++++++ .../2022-5-12vue/src/detail/akf.vue" | 202 ++++++++++++++ .../2022-5-12vue/src/detail/lining.vue" | 202 ++++++++++++++ .../2022-5-12vue/src/detail/threece.vue" | 239 ++++++++++++++++ .../2022-5-12vue/src/detail/ugg.vue" | 202 ++++++++++++++ .../2022-5-12vue/src/main.js" | 61 ++++ .../2022-5-12vue/src/pages/AdvList.vue" | 120 ++++++++ .../2022-5-12vue/src/pages/BodyBase.vue" | 70 +++++ .../2022-5-12vue/src/pages/CartList.vue" | 67 +++++ .../2022-5-12vue/src/pages/Detail.vue" | 263 ++++++++++++++++++ .../2022-5-12vue/src/pages/Ele.vue" | 114 ++++++++ .../2022-5-12vue/src/router/index.js" | 54 ++++ .../2022-5-12vue/src/store/actions.js" | 7 + .../2022-5-12vue/src/store/index.js" | 29 ++ .../2022-5-12vue/src/store/modules/user.js" | 22 ++ .../2022-5-12vue/src/store/mutations.js" | 26 ++ ...\345\274\217\345\267\245\345\205\267.html" | 82 ++++++ .../\346\240\205\346\240\274.html" | 73 +++++ ...\345\265\214\345\245\227\345\210\227.html" | 83 ++++++ ...\346\250\241\346\200\201\346\241\206.html" | 65 +++++ .../\350\241\250\345\215\225.html" | 62 +++++ .../\350\241\250\346\240\274.html" | 90 ++++++ ...3\351\207\215\347\256\227\346\263\225.txt" | 1 + ...\347\273\204\345\216\273\351\207\215.html" | 58 ++++ .../2022.05.19\342\200\224js/index.html" | 68 +++++ .../\346\225\260\347\273\204.html" | 28 ++ 117 files changed, 11482 insertions(+) create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/App.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/components/CartItem.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/components/HeaderBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/main.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/AdvList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/BodyBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/CartList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/Detail.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/plugins/plugin1.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/router/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/App.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/components/CartItem.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/components/HeaderBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/main.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/AdvList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/BodyBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/CartList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/Detail.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/plugins/plugin1.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/router/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/App.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/components/CartItem.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/components/HeaderBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/main.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/AdvList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/BodyBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/CartList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/Detail.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/plugins/plugin1.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/router/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/App.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/components/CartItem.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/components/HeaderBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/data/product.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/adidas.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/akf.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/lining.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/threece.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/ugg.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/main.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/AdvList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/BodyBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/CartList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/Detail.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/router/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/vuex.md" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/App.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/components/CartItem.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/components/HeaderBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/data/product.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/adidas.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/akf.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/lining.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/threece.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/ugg.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/main.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/AdvList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/BodyBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/CartList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/Detail.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/Ele.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/router/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/actions.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/modules/user.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/mutations.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/App.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/components/CartItem.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/components/HeaderBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/data/product.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/adidas.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/akf.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/lining.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/threece.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/ugg.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/main.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/AdvList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/BodyBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/CartList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/Detail.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/router/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/actions.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/mudules/user.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/mutations.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/state.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/vuex.md" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/App.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/components/CartItem.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/components/HeaderBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/data/product.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/adidas.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/akf.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/lining.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/threece.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/ugg.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/main.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/AdvList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/BodyBase.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/CartList.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/Detail.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/Ele.vue" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/router/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/actions.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/index.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/modules/user.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/mutations.js" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\345\223\215\345\272\224\345\274\217\345\267\245\345\205\267.html" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\240\205\346\240\274.html" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\240\205\346\240\274\345\265\214\345\245\227\345\210\227.html" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\250\241\346\200\201\346\241\206.html" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\350\241\250\345\215\225.html" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\350\241\250\346\240\274.html" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.17\342\200\224\346\225\260\347\273\204\345\216\273\351\207\215/\345\216\273\351\207\215\347\256\227\346\263\225.txt" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.17\342\200\224\346\225\260\347\273\204\345\216\273\351\207\215/\346\225\260\347\273\204\345\216\273\351\207\215.html" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.19\342\200\224js/index.html" create mode 100644 "\346\235\250\347\276\216\351\233\252/2022.05.19\342\200\224js/\346\225\260\347\273\204.html" diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/App.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/App.vue" new file mode 100644 index 00000000..72248fd6 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/App.vue" @@ -0,0 +1,44 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/components/CartItem.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/components/CartItem.vue" new file mode 100644 index 00000000..a58bcec5 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/components/CartItem.vue" @@ -0,0 +1,103 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/components/HeaderBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/components/HeaderBase.vue" new file mode 100644 index 00000000..6c46e286 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/components/HeaderBase.vue" @@ -0,0 +1,88 @@ + + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/main.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/main.js" new file mode 100644 index 00000000..2c27f0a1 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/main.js" @@ -0,0 +1,21 @@ +import Vue from 'vue' +import App from './App.vue' + +import VueRouter from 'vue-router' + +Vue.use(VueRouter) + +import router from './router/index' +import plugin1 from './plugins/plugin1' + +Vue.use(plugin1) + +Vue.config.productionTip = false +new Vue({ + el:'#app', + + render:(createElement) => { + return createElement(App) + }, + router +}) \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/AdvList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/AdvList.vue" new file mode 100644 index 00000000..3d939607 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/AdvList.vue" @@ -0,0 +1,121 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/BodyBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/BodyBase.vue" new file mode 100644 index 00000000..e65b32e5 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/BodyBase.vue" @@ -0,0 +1,74 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/CartList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/CartList.vue" new file mode 100644 index 00000000..dd87bc91 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/CartList.vue" @@ -0,0 +1,71 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/Detail.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/Detail.vue" new file mode 100644 index 00000000..4f03081a --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/pages/Detail.vue" @@ -0,0 +1,237 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/plugins/plugin1.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/plugins/plugin1.js" new file mode 100644 index 00000000..a62e97a0 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/plugins/plugin1.js" @@ -0,0 +1,26 @@ +import VueScroller from 'vue-scroller' + + +const plugin1 = { + install: function (Vue) { + console.log('plugin1 start') + console.log(Vue); + //增强属性 + Vue.prototype.$class = 'class7'; + //全局的混入 + Vue.mixin({ + data: function () { + return { + month: 15, + hope: '挣大钱', + pageSize: 20 + } + } + }) + //全局的指令..... + + Vue.use(VueScroller) + } + +} +export default plugin1 \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/router/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/router/index.js" new file mode 100644 index 00000000..46a97438 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-03vue/src/router/index.js" @@ -0,0 +1,39 @@ +// 配置路由规则 +import VueRouter from 'vue-router' +//默认的商品首页 +import BodyBase from '../pages/BodyBase' +//活动列表页 +import AdvList from '../pages/AdvList' +//活动商品详情页 +import Detail from '../pages/Detail' +import CartList from '../pages/CartList' + +//创建并暴露一个路由器 +export default new VueRouter({ + routes: [ + { + path: '/', + component:BodyBase, + }, + { + path: '/base', + component: BodyBase, + }, + { + path:'/adv', + component:AdvList + }, + { + name:'detail', + path:'/detail/:id/:name', + component:Detail, + props:true + }, + { + name:'cartList', + path:'/cartList', + component:CartList, + props:true + } + ] +}) diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/App.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/App.vue" new file mode 100644 index 00000000..72248fd6 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/App.vue" @@ -0,0 +1,44 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/components/CartItem.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/components/CartItem.vue" new file mode 100644 index 00000000..a58bcec5 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/components/CartItem.vue" @@ -0,0 +1,103 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/components/HeaderBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/components/HeaderBase.vue" new file mode 100644 index 00000000..6c46e286 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/components/HeaderBase.vue" @@ -0,0 +1,88 @@ + + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/main.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/main.js" new file mode 100644 index 00000000..2c27f0a1 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/main.js" @@ -0,0 +1,21 @@ +import Vue from 'vue' +import App from './App.vue' + +import VueRouter from 'vue-router' + +Vue.use(VueRouter) + +import router from './router/index' +import plugin1 from './plugins/plugin1' + +Vue.use(plugin1) + +Vue.config.productionTip = false +new Vue({ + el:'#app', + + render:(createElement) => { + return createElement(App) + }, + router +}) \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/AdvList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/AdvList.vue" new file mode 100644 index 00000000..3d939607 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/AdvList.vue" @@ -0,0 +1,121 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/BodyBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/BodyBase.vue" new file mode 100644 index 00000000..e65b32e5 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/BodyBase.vue" @@ -0,0 +1,74 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/CartList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/CartList.vue" new file mode 100644 index 00000000..dd87bc91 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/CartList.vue" @@ -0,0 +1,71 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/Detail.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/Detail.vue" new file mode 100644 index 00000000..4f03081a --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/pages/Detail.vue" @@ -0,0 +1,237 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/plugins/plugin1.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/plugins/plugin1.js" new file mode 100644 index 00000000..a62e97a0 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/plugins/plugin1.js" @@ -0,0 +1,26 @@ +import VueScroller from 'vue-scroller' + + +const plugin1 = { + install: function (Vue) { + console.log('plugin1 start') + console.log(Vue); + //增强属性 + Vue.prototype.$class = 'class7'; + //全局的混入 + Vue.mixin({ + data: function () { + return { + month: 15, + hope: '挣大钱', + pageSize: 20 + } + } + }) + //全局的指令..... + + Vue.use(VueScroller) + } + +} +export default plugin1 \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/router/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/router/index.js" new file mode 100644 index 00000000..46a97438 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-05vue/src/router/index.js" @@ -0,0 +1,39 @@ +// 配置路由规则 +import VueRouter from 'vue-router' +//默认的商品首页 +import BodyBase from '../pages/BodyBase' +//活动列表页 +import AdvList from '../pages/AdvList' +//活动商品详情页 +import Detail from '../pages/Detail' +import CartList from '../pages/CartList' + +//创建并暴露一个路由器 +export default new VueRouter({ + routes: [ + { + path: '/', + component:BodyBase, + }, + { + path: '/base', + component: BodyBase, + }, + { + path:'/adv', + component:AdvList + }, + { + name:'detail', + path:'/detail/:id/:name', + component:Detail, + props:true + }, + { + name:'cartList', + path:'/cartList', + component:CartList, + props:true + } + ] +}) diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/App.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/App.vue" new file mode 100644 index 00000000..72248fd6 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/App.vue" @@ -0,0 +1,44 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/components/CartItem.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/components/CartItem.vue" new file mode 100644 index 00000000..a58bcec5 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/components/CartItem.vue" @@ -0,0 +1,103 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/components/HeaderBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/components/HeaderBase.vue" new file mode 100644 index 00000000..6c46e286 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/components/HeaderBase.vue" @@ -0,0 +1,88 @@ + + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/main.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/main.js" new file mode 100644 index 00000000..2c27f0a1 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/main.js" @@ -0,0 +1,21 @@ +import Vue from 'vue' +import App from './App.vue' + +import VueRouter from 'vue-router' + +Vue.use(VueRouter) + +import router from './router/index' +import plugin1 from './plugins/plugin1' + +Vue.use(plugin1) + +Vue.config.productionTip = false +new Vue({ + el:'#app', + + render:(createElement) => { + return createElement(App) + }, + router +}) \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/AdvList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/AdvList.vue" new file mode 100644 index 00000000..3d939607 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/AdvList.vue" @@ -0,0 +1,121 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/BodyBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/BodyBase.vue" new file mode 100644 index 00000000..e65b32e5 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/BodyBase.vue" @@ -0,0 +1,74 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/CartList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/CartList.vue" new file mode 100644 index 00000000..dd87bc91 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/CartList.vue" @@ -0,0 +1,71 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/Detail.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/Detail.vue" new file mode 100644 index 00000000..4f03081a --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/pages/Detail.vue" @@ -0,0 +1,237 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/plugins/plugin1.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/plugins/plugin1.js" new file mode 100644 index 00000000..a62e97a0 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/plugins/plugin1.js" @@ -0,0 +1,26 @@ +import VueScroller from 'vue-scroller' + + +const plugin1 = { + install: function (Vue) { + console.log('plugin1 start') + console.log(Vue); + //增强属性 + Vue.prototype.$class = 'class7'; + //全局的混入 + Vue.mixin({ + data: function () { + return { + month: 15, + hope: '挣大钱', + pageSize: 20 + } + } + }) + //全局的指令..... + + Vue.use(VueScroller) + } + +} +export default plugin1 \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/router/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/router/index.js" new file mode 100644 index 00000000..46a97438 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-06vue/src/router/index.js" @@ -0,0 +1,39 @@ +// 配置路由规则 +import VueRouter from 'vue-router' +//默认的商品首页 +import BodyBase from '../pages/BodyBase' +//活动列表页 +import AdvList from '../pages/AdvList' +//活动商品详情页 +import Detail from '../pages/Detail' +import CartList from '../pages/CartList' + +//创建并暴露一个路由器 +export default new VueRouter({ + routes: [ + { + path: '/', + component:BodyBase, + }, + { + path: '/base', + component: BodyBase, + }, + { + path:'/adv', + component:AdvList + }, + { + name:'detail', + path:'/detail/:id/:name', + component:Detail, + props:true + }, + { + name:'cartList', + path:'/cartList', + component:CartList, + props:true + } + ] +}) diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/App.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/App.vue" new file mode 100644 index 00000000..72248fd6 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/App.vue" @@ -0,0 +1,44 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/components/CartItem.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/components/CartItem.vue" new file mode 100644 index 00000000..6407152d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/components/CartItem.vue" @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/components/HeaderBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/components/HeaderBase.vue" new file mode 100644 index 00000000..56b19278 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/components/HeaderBase.vue" @@ -0,0 +1,109 @@ + + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/data/product.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/data/product.js" new file mode 100644 index 00000000..33bcfc92 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/data/product.js" @@ -0,0 +1,47 @@ + +// export let products=[ +// {id:1,name:'韩国三熹玉3CE彩妆香水专场',img:'../assets/header.jpg',num:80,price:1000}, +// {id:2,name:'阿迪达斯三叶草运动户外专场',img:'../assets/center.jpg',num:90,price:2000}, +// {id:3,name:'UGG专场',img:'../assets/bottom.jpg',num:80,price:3000}, +// {id:4,name:'伊芙丽eifini女装专场',img:'../assets/yfl.jpg',num:67,price:3000} +// ]; + +// export let cart=[]; + +export default { + name:'product', + products:[ + {id:1,name:'韩国三熹玉3CE彩妆香水专场',img:'../assets/header.jpg',num:80,price:1000}, + {id:2,name:'阿迪达斯三叶草运动户外专场',img:'../assets/center.jpg',num:90,price:2000}, + {id:3,name:'UGG专场',img:'../assets/bottom.jpg',num:80,price:3000}, + {id:4,name:'伊芙丽eifini女装专场',img:'../assets/yfl.jpg',num:67,price:3000} + ], + cart:[], + + addToCart:function(id){ + + let inCart = false; + this.cart.forEach(el=>{ + if(id==el.id){ + inCart=true; + el.num++; + } + }) + if(inCart==false){ + this.products.forEach(el=>{ + if(el.id==id){ + let product =el; + product.num=1; + this.cart.push(product); + } + }) + } + console.log(this.cart) + }, + getCart(){ + return this.cart; + }, +} + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/adidas.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/adidas.vue" new file mode 100644 index 00000000..8fe067a0 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/adidas.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/akf.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/akf.vue" new file mode 100644 index 00000000..23138e7d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/akf.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/lining.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/lining.vue" new file mode 100644 index 00000000..48dfd1e7 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/lining.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/threece.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/threece.vue" new file mode 100644 index 00000000..2300dc74 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/threece.vue" @@ -0,0 +1,239 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/ugg.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/ugg.vue" new file mode 100644 index 00000000..ff48e788 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/detail/ugg.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/main.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/main.js" new file mode 100644 index 00000000..6cb9215c --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/main.js" @@ -0,0 +1,98 @@ +import Vue from 'vue' +import App from './App.vue' +import axios from 'axios' +import Vuex from 'vuex'; + +import VueScroller from 'vue-scroller' +Vue.use(VueScroller) + +//引入VueRouter +import VueRouter from 'vue-router' +//应用插件 +Vue.use(VueRouter) + +Vue.use(Vuex); + + + +const store = new Vuex.Store({ + state: { + name:'外卖系统', + cart:[], + buyNums:0,//购买的数量,每次点击购买时,把对应购买数量+1 + + }, + + mutations:{ + changeName(state,name){ + state.name=name; + + }, + changeBuyNum(state,num){ + console.log('change buynum'); + //请求后台数据, + axios.get('https://question.llblog.cc/api.php').then(res=>{ + console.log(res); + state.buyNums = state.buyNums+num; //0+1 1+1 0 + console.log(state.buyNums); + }); + + }, + addToCart(state,product){ + let inCart = false; + state.cart.forEach(el=>{ + if(el.id==product.id){ + el.num++ + inCart=true; + } + }) + if(!inCart){ + state.push(product); + } + }, + + + }, + actions:{ + changeNumByAction (context,num) { + console.log(context);//context 是store的精简版 + context.commit('changeBuyNum',num) + } + }, + getters:{ + getBuyNums(state){ + return state.buyNums+' ====数量'; + } + } + + }) + +//引入路由器 +import router from './router/index'; + + + +// axios.defaults.baseURL='http://123.207.32.32:8000'; + +Vue.prototype.$axios=axios; + +//关闭生产环境提交 +Vue.config.productionTip = false +//render 渲染 temldate. +new Vue({ + el:'#app', + // template:'', + // components:{ + // App, + // } + //脚手架引入的vue是残缺的,为了性能 + render: (createElement) => { + // console.log(typeof createElement); + return createElement(App) + }, + beforeCreate:function(){ + Vue.prototype.$bus=this; + }, + router, + store +}) diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/AdvList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/AdvList.vue" new file mode 100644 index 00000000..278aa025 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/AdvList.vue" @@ -0,0 +1,142 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/BodyBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/BodyBase.vue" new file mode 100644 index 00000000..632eeb0b --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/BodyBase.vue" @@ -0,0 +1,70 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/CartList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/CartList.vue" new file mode 100644 index 00000000..dc56a809 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/CartList.vue" @@ -0,0 +1,67 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/Detail.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/Detail.vue" new file mode 100644 index 00000000..ad7281f8 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/pages/Detail.vue" @@ -0,0 +1,244 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/router/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/router/index.js" new file mode 100644 index 00000000..e894839a --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/router/index.js" @@ -0,0 +1,49 @@ +// 配置路由规则 +import VueRouter from 'vue-router' +//默认商品列表 +import BodyBase from '../pages/BodyBase' +//默认商品广告列表 +import AdvList from '../pages/AdvList' +import Detail from '../pages/Detail' +import CartList from '../pages/CartList' + +//创建并暴露一个路由器 +export default new VueRouter({ + routes: [ + { + path: '/', + component: BodyBase, + }, + { + path: '/base', + component: BodyBase, + }, + { + name:'listName', + path: '/adv', + component: AdvList, + meta:{ + keepalive:true + } + }, + { + name:'detail', + //path:'/detail', + path: '/detail/:id/:name', + component: Detail, + //props:{id:'id1',name:'name1'}, 对象写法 + props:true + }, + { + name:'cartList', + //path:'/detail', + path: '/cartList', + component: CartList, + //props:{id:'id1',name:'name1'}, 对象写法 + props:true + }, + + ] +}) + +// export default router \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/vuex.md" "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/vuex.md" new file mode 100644 index 00000000..5dfe881c --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-10vue/src/vuex.md" @@ -0,0 +1 @@ +## mutioan 更改 Vuex 的 store 中的状态的唯一方法是提交 mutation,mutation 中的函数必须是同步的 diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/App.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/App.vue" new file mode 100644 index 00000000..72248fd6 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/App.vue" @@ -0,0 +1,44 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/components/CartItem.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/components/CartItem.vue" new file mode 100644 index 00000000..6407152d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/components/CartItem.vue" @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/components/HeaderBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/components/HeaderBase.vue" new file mode 100644 index 00000000..56b19278 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/components/HeaderBase.vue" @@ -0,0 +1,109 @@ + + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/data/product.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/data/product.js" new file mode 100644 index 00000000..33bcfc92 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/data/product.js" @@ -0,0 +1,47 @@ + +// export let products=[ +// {id:1,name:'韩国三熹玉3CE彩妆香水专场',img:'../assets/header.jpg',num:80,price:1000}, +// {id:2,name:'阿迪达斯三叶草运动户外专场',img:'../assets/center.jpg',num:90,price:2000}, +// {id:3,name:'UGG专场',img:'../assets/bottom.jpg',num:80,price:3000}, +// {id:4,name:'伊芙丽eifini女装专场',img:'../assets/yfl.jpg',num:67,price:3000} +// ]; + +// export let cart=[]; + +export default { + name:'product', + products:[ + {id:1,name:'韩国三熹玉3CE彩妆香水专场',img:'../assets/header.jpg',num:80,price:1000}, + {id:2,name:'阿迪达斯三叶草运动户外专场',img:'../assets/center.jpg',num:90,price:2000}, + {id:3,name:'UGG专场',img:'../assets/bottom.jpg',num:80,price:3000}, + {id:4,name:'伊芙丽eifini女装专场',img:'../assets/yfl.jpg',num:67,price:3000} + ], + cart:[], + + addToCart:function(id){ + + let inCart = false; + this.cart.forEach(el=>{ + if(id==el.id){ + inCart=true; + el.num++; + } + }) + if(inCart==false){ + this.products.forEach(el=>{ + if(el.id==id){ + let product =el; + product.num=1; + this.cart.push(product); + } + }) + } + console.log(this.cart) + }, + getCart(){ + return this.cart; + }, +} + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/adidas.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/adidas.vue" new file mode 100644 index 00000000..8fe067a0 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/adidas.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/akf.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/akf.vue" new file mode 100644 index 00000000..23138e7d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/akf.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/lining.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/lining.vue" new file mode 100644 index 00000000..48dfd1e7 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/lining.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/threece.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/threece.vue" new file mode 100644 index 00000000..2300dc74 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/threece.vue" @@ -0,0 +1,239 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/ugg.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/ugg.vue" new file mode 100644 index 00000000..ff48e788 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/detail/ugg.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/main.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/main.js" new file mode 100644 index 00000000..4753647c --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/main.js" @@ -0,0 +1,61 @@ +import Vue from 'vue' +import App from './App.vue' +import axios from 'axios' +//全局引入 +// import ElementUI from 'element-ui'; +// import 'element-ui/lib/theme-chalk/index.css'; +// Vue.use(ElementUI); + +//按需引入 +import {Button,Row,Input,Carousel,CarouselItem} from 'element-ui'; + +//全局注册 +Vue.component(Button.name,Button); +Vue.component(Input.name,Input); +Vue.component(Carousel.name,Carousel); +Vue.component(CarouselItem.name,CarouselItem); +Vue.component(Row.name,Row); + +Vue.component('class7-button',Button); + +import VueScroller from 'vue-scroller' +Vue.use(VueScroller) +// 在js es2015,有优先级别,优先级别比较好的是 import +//引入VueRouter +import VueRouter from 'vue-router' +//应用插件 +Vue.use(VueRouter) + +import store from './store'; +//引入路由器 +import router from './router/index'; + + + +// axios.defaults.baseURL='http://123.207.32.32:8000'; + +Vue.prototype.$axios=axios; + + + + +//关闭生产环境提交 +Vue.config.productionTip = false +//render 渲染 temldate. +new Vue({ + el:'#app', + // template:'', + // components:{ + // App, + // } + //脚手架引入的vue是残缺的,为了性能 + render: (createElement) => { + // console.log(typeof createElement); + return createElement(App) + }, + beforeCreate:function(){ + Vue.prototype.$bus=this; + }, + router, + store +}) diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/AdvList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/AdvList.vue" new file mode 100644 index 00000000..bb5ef312 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/AdvList.vue" @@ -0,0 +1,120 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/BodyBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/BodyBase.vue" new file mode 100644 index 00000000..632eeb0b --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/BodyBase.vue" @@ -0,0 +1,70 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/CartList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/CartList.vue" new file mode 100644 index 00000000..dc56a809 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/CartList.vue" @@ -0,0 +1,67 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/Detail.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/Detail.vue" new file mode 100644 index 00000000..162b9e01 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/Detail.vue" @@ -0,0 +1,263 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/Ele.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/Ele.vue" new file mode 100644 index 00000000..7b291ae8 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/pages/Ele.vue" @@ -0,0 +1,114 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/router/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/router/index.js" new file mode 100644 index 00000000..7d33edbc --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/router/index.js" @@ -0,0 +1,54 @@ +// 配置路由规则 +import VueRouter from 'vue-router' +//默认商品列表 +import BodyBase from '../pages/BodyBase' +//默认商品广告列表 +import AdvList from '../pages/AdvList' +import Detail from '../pages/Detail' +import CartList from '../pages/CartList' +import Ele from '../pages/Ele' + +//创建并暴露一个路由器 +export default new VueRouter({ + routes: [ + { + path: '/', + component: BodyBase, + }, + { + path: '/ele', + component: Ele, + }, + { + path: '/base', + component: BodyBase, + }, + { + name:'listName', + path: '/adv', + component: AdvList, + meta:{ + keepalive:true + } + }, + { + name:'detail', + //path:'/detail', + path: '/detail/:id/:name', + component: Detail, + //props:{id:'id1',name:'name1'}, 对象写法 + props:true + }, + { + name:'cartList', + //path:'/detail', + path: '/cartList', + component: CartList, + //props:{id:'id1',name:'name1'}, 对象写法 + props:true + }, + + ] +}) + +// export default router \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/actions.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/actions.js" new file mode 100644 index 00000000..fb14e72b --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/actions.js" @@ -0,0 +1,7 @@ +const actions={ + add2Cart(context,product) { + console.log(product); + context.commit('addToCart',product); + } + }; + export default actions; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/index.js" new file mode 100644 index 00000000..fe67add7 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/index.js" @@ -0,0 +1,29 @@ +import Vuex from 'vuex'; +import Vue from 'vue'; +import mutations from './mutations' +import actions from './actions' +import user from './modules/user' +Vue.use(Vuex); +const store = new Vuex.Store({ + state: { + name:'外卖系统', + cart:[], + buyNums:0, + money:0 + }, + + mutations, + actions, + + getters:{ + getName:(state)=>{ + return state.name+'----我们的项目'; + } + }, + modules:{ + user + } + + }) + export default store; + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/modules/user.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/modules/user.js" new file mode 100644 index 00000000..68d1b250 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/modules/user.js" @@ -0,0 +1,22 @@ +const user={ + namespaced: true, + //每个模块都有自己的 state mutation .... + state:{ + userInfo:{name:'刘斌明天要准备',age:29} + }, + mutations:{ + changeUser(state,payload){ + state.userInfo=payload; + + } + }, + actions:{ + changeUserByAction({commit},payload){ + commit('changeUser',payload) + //触发全局的mutation的修改 + commit('makeMoney',1000,{ root: true }) + } + } + + } + export default user; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/mutations.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/mutations.js" new file mode 100644 index 00000000..eee0d474 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/2022-5-12vue/src/store/mutations.js" @@ -0,0 +1,26 @@ +const mutations={ + changeName(state,name){ + state.name=name + }, + //加入到购物车 + addToCart(state,product){ + console.log('购物商品修改'); + console.log(state.buyNums) + let inCart = false; + state.cart.forEach(el=>{ + if(el.id==product.id){ + el.num++ + inCart=true; + } + }) + if(!inCart){ + state.cart.push(product); + } + state.buyNums++; + console.log(state.buyNums,111); + }, + makeMoney(state,payload){ + state.money = state.money+payload + } + }; + export default mutations; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/App.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/App.vue" new file mode 100644 index 00000000..72248fd6 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/App.vue" @@ -0,0 +1,44 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/components/CartItem.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/components/CartItem.vue" new file mode 100644 index 00000000..6407152d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/components/CartItem.vue" @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/components/HeaderBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/components/HeaderBase.vue" new file mode 100644 index 00000000..56b19278 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/components/HeaderBase.vue" @@ -0,0 +1,109 @@ + + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/data/product.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/data/product.js" new file mode 100644 index 00000000..33bcfc92 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/data/product.js" @@ -0,0 +1,47 @@ + +// export let products=[ +// {id:1,name:'韩国三熹玉3CE彩妆香水专场',img:'../assets/header.jpg',num:80,price:1000}, +// {id:2,name:'阿迪达斯三叶草运动户外专场',img:'../assets/center.jpg',num:90,price:2000}, +// {id:3,name:'UGG专场',img:'../assets/bottom.jpg',num:80,price:3000}, +// {id:4,name:'伊芙丽eifini女装专场',img:'../assets/yfl.jpg',num:67,price:3000} +// ]; + +// export let cart=[]; + +export default { + name:'product', + products:[ + {id:1,name:'韩国三熹玉3CE彩妆香水专场',img:'../assets/header.jpg',num:80,price:1000}, + {id:2,name:'阿迪达斯三叶草运动户外专场',img:'../assets/center.jpg',num:90,price:2000}, + {id:3,name:'UGG专场',img:'../assets/bottom.jpg',num:80,price:3000}, + {id:4,name:'伊芙丽eifini女装专场',img:'../assets/yfl.jpg',num:67,price:3000} + ], + cart:[], + + addToCart:function(id){ + + let inCart = false; + this.cart.forEach(el=>{ + if(id==el.id){ + inCart=true; + el.num++; + } + }) + if(inCart==false){ + this.products.forEach(el=>{ + if(el.id==id){ + let product =el; + product.num=1; + this.cart.push(product); + } + }) + } + console.log(this.cart) + }, + getCart(){ + return this.cart; + }, +} + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/adidas.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/adidas.vue" new file mode 100644 index 00000000..8fe067a0 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/adidas.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/akf.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/akf.vue" new file mode 100644 index 00000000..23138e7d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/akf.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/lining.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/lining.vue" new file mode 100644 index 00000000..48dfd1e7 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/lining.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/threece.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/threece.vue" new file mode 100644 index 00000000..2300dc74 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/threece.vue" @@ -0,0 +1,239 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/ugg.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/ugg.vue" new file mode 100644 index 00000000..ff48e788 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/detail/ugg.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/main.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/main.js" new file mode 100644 index 00000000..f6bb6db3 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/main.js" @@ -0,0 +1,47 @@ +import Vue from 'vue' +import App from './App.vue' +import axios from 'axios' +import VueScroller from 'vue-scroller' + +//import 的级别是最好的,优先执行 import +Vue.use(VueScroller) + +//引入VueRouter +import VueRouter from 'vue-router' +//应用插件 +Vue.use(VueRouter) + + +import store from './store'; + + + +//引入路由器 +import router from './router/index'; + + + +// axios.defaults.baseURL='http://123.207.32.32:8000'; + +Vue.prototype.$axios=axios; + +//关闭生产环境提交 +Vue.config.productionTip = false +//render 渲染 temldate. +new Vue({ + el:'#app', + // template:'', + // components:{ + // App, + // } + //脚手架引入的vue是残缺的,为了性能 + render: (createElement) => { + // console.log(typeof createElement); + return createElement(App) + }, + beforeCreate:function(){ + Vue.prototype.$bus=this; + }, + router, + store +}) diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/AdvList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/AdvList.vue" new file mode 100644 index 00000000..4ec65d0f --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/AdvList.vue" @@ -0,0 +1,142 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/BodyBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/BodyBase.vue" new file mode 100644 index 00000000..632eeb0b --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/BodyBase.vue" @@ -0,0 +1,70 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/CartList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/CartList.vue" new file mode 100644 index 00000000..dc56a809 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/CartList.vue" @@ -0,0 +1,67 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/Detail.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/Detail.vue" new file mode 100644 index 00000000..bcee73c1 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/pages/Detail.vue" @@ -0,0 +1,255 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/router/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/router/index.js" new file mode 100644 index 00000000..e894839a --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/router/index.js" @@ -0,0 +1,49 @@ +// 配置路由规则 +import VueRouter from 'vue-router' +//默认商品列表 +import BodyBase from '../pages/BodyBase' +//默认商品广告列表 +import AdvList from '../pages/AdvList' +import Detail from '../pages/Detail' +import CartList from '../pages/CartList' + +//创建并暴露一个路由器 +export default new VueRouter({ + routes: [ + { + path: '/', + component: BodyBase, + }, + { + path: '/base', + component: BodyBase, + }, + { + name:'listName', + path: '/adv', + component: AdvList, + meta:{ + keepalive:true + } + }, + { + name:'detail', + //path:'/detail', + path: '/detail/:id/:name', + component: Detail, + //props:{id:'id1',name:'name1'}, 对象写法 + props:true + }, + { + name:'cartList', + //path:'/detail', + path: '/cartList', + component: CartList, + //props:{id:'id1',name:'name1'}, 对象写法 + props:true + }, + + ] +}) + +// export default router \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/actions.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/actions.js" new file mode 100644 index 00000000..f9b47bd8 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/actions.js" @@ -0,0 +1,13 @@ + +const actions={ + + changeNumByAction (context,num) { + console.log(context);//context 是store的精简版 + context.commit('changeBuyNum',num) + }, + changeName({commit},name){ + commit('changeName',name) + } +} + +export default actions \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/index.js" new file mode 100644 index 00000000..a58a3e76 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/index.js" @@ -0,0 +1,25 @@ +import Vuex from 'vuex'; + +import Vue from 'vue'; +import state from './state'; +import actions from './actions'; +import mutations from './mutations' +import user from './mudules/user' +Vue.use(Vuex); + +const store = new Vuex.Store({ + state, + mutations, + actions, + getters:{ + getBuyNums(state){ + return state.buyNums+' ====数量'; + } + }, + modules:{// 每个模块对象都有自己的 state mutation action getters + user + } + + }) + + export default store; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/mudules/user.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/mudules/user.js" new file mode 100644 index 00000000..6e9c593e --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/mudules/user.js" @@ -0,0 +1,24 @@ +const user={ + namespaced: true, + state:{ + userInfo:{name:'vue',age:5}, + }, + mutations:{ + changeUserInfo(state,payload){ + console.log('userInfo的changeUserInfo'); + state.userInfo=payload + } + }, + actions:{ + changeUserInfoByAction({commit},payload){// context commit + console.log('userInfo的changeUserInfoByActio'); + commit('changeUserInfo',payload); + //联动的操作,还要把全局的name给修改 + //因为 name 是全局的,官网提供了 他们可以接受 `root` 属性以访问根 dispatch 或 commit + commit('changeName','区块链',{root: true}); + } + } + + } + + export default user; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/mutations.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/mutations.js" new file mode 100644 index 00000000..01134bad --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/mutations.js" @@ -0,0 +1,32 @@ +import axios from 'axios'; +const mutations={ + changeName(state,name){ + console.log('修改全局的name') + state.name=name; + + }, + changeBuyNum(state,num){ + console.log('change buynum'); + //请求后台数据, + axios.get('https://question.llblog.cc/api.php').then(res=>{ + console.log(res); + state.buyNums = state.buyNums+num; //0+1 1+1 0 + console.log(state.buyNums); + }); + + }, + addToCart(state,product){ + let inCart = false; + state.cart.forEach(el=>{ + if(el.id==product.id){ + el.num++ + inCart=true; + } + }) + if(!inCart){ + state.push(product); + } + } +} + +export default mutations; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/state.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/state.js" new file mode 100644 index 00000000..90f8d00b --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/store/state.js" @@ -0,0 +1,8 @@ +const state={ + name:'外卖系统', + cart:[], + buyNums:0,//购买的数量,每次点击购买时,把对应购买数量+1 + //userInfo:{}, + +} +export default state; diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/vuex.md" "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/vuex.md" new file mode 100644 index 00000000..50fe2077 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-11vue/src/vuex.md" @@ -0,0 +1,3 @@ +## mutioan 更改 Vuex 的 store 中的状态的唯一方法是提交 mutation,mutation 中的函数必须是同步的 + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/App.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/App.vue" new file mode 100644 index 00000000..72248fd6 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/App.vue" @@ -0,0 +1,44 @@ + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/components/CartItem.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/components/CartItem.vue" new file mode 100644 index 00000000..6407152d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/components/CartItem.vue" @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/components/HeaderBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/components/HeaderBase.vue" new file mode 100644 index 00000000..56b19278 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/components/HeaderBase.vue" @@ -0,0 +1,109 @@ + + + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/data/product.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/data/product.js" new file mode 100644 index 00000000..33bcfc92 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/data/product.js" @@ -0,0 +1,47 @@ + +// export let products=[ +// {id:1,name:'韩国三熹玉3CE彩妆香水专场',img:'../assets/header.jpg',num:80,price:1000}, +// {id:2,name:'阿迪达斯三叶草运动户外专场',img:'../assets/center.jpg',num:90,price:2000}, +// {id:3,name:'UGG专场',img:'../assets/bottom.jpg',num:80,price:3000}, +// {id:4,name:'伊芙丽eifini女装专场',img:'../assets/yfl.jpg',num:67,price:3000} +// ]; + +// export let cart=[]; + +export default { + name:'product', + products:[ + {id:1,name:'韩国三熹玉3CE彩妆香水专场',img:'../assets/header.jpg',num:80,price:1000}, + {id:2,name:'阿迪达斯三叶草运动户外专场',img:'../assets/center.jpg',num:90,price:2000}, + {id:3,name:'UGG专场',img:'../assets/bottom.jpg',num:80,price:3000}, + {id:4,name:'伊芙丽eifini女装专场',img:'../assets/yfl.jpg',num:67,price:3000} + ], + cart:[], + + addToCart:function(id){ + + let inCart = false; + this.cart.forEach(el=>{ + if(id==el.id){ + inCart=true; + el.num++; + } + }) + if(inCart==false){ + this.products.forEach(el=>{ + if(el.id==id){ + let product =el; + product.num=1; + this.cart.push(product); + } + }) + } + console.log(this.cart) + }, + getCart(){ + return this.cart; + }, +} + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/adidas.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/adidas.vue" new file mode 100644 index 00000000..8fe067a0 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/adidas.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/akf.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/akf.vue" new file mode 100644 index 00000000..23138e7d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/akf.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/lining.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/lining.vue" new file mode 100644 index 00000000..48dfd1e7 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/lining.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/threece.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/threece.vue" new file mode 100644 index 00000000..2300dc74 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/threece.vue" @@ -0,0 +1,239 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/ugg.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/ugg.vue" new file mode 100644 index 00000000..ff48e788 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/detail/ugg.vue" @@ -0,0 +1,202 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/main.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/main.js" new file mode 100644 index 00000000..4753647c --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/main.js" @@ -0,0 +1,61 @@ +import Vue from 'vue' +import App from './App.vue' +import axios from 'axios' +//全局引入 +// import ElementUI from 'element-ui'; +// import 'element-ui/lib/theme-chalk/index.css'; +// Vue.use(ElementUI); + +//按需引入 +import {Button,Row,Input,Carousel,CarouselItem} from 'element-ui'; + +//全局注册 +Vue.component(Button.name,Button); +Vue.component(Input.name,Input); +Vue.component(Carousel.name,Carousel); +Vue.component(CarouselItem.name,CarouselItem); +Vue.component(Row.name,Row); + +Vue.component('class7-button',Button); + +import VueScroller from 'vue-scroller' +Vue.use(VueScroller) +// 在js es2015,有优先级别,优先级别比较好的是 import +//引入VueRouter +import VueRouter from 'vue-router' +//应用插件 +Vue.use(VueRouter) + +import store from './store'; +//引入路由器 +import router from './router/index'; + + + +// axios.defaults.baseURL='http://123.207.32.32:8000'; + +Vue.prototype.$axios=axios; + + + + +//关闭生产环境提交 +Vue.config.productionTip = false +//render 渲染 temldate. +new Vue({ + el:'#app', + // template:'', + // components:{ + // App, + // } + //脚手架引入的vue是残缺的,为了性能 + render: (createElement) => { + // console.log(typeof createElement); + return createElement(App) + }, + beforeCreate:function(){ + Vue.prototype.$bus=this; + }, + router, + store +}) diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/AdvList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/AdvList.vue" new file mode 100644 index 00000000..bb5ef312 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/AdvList.vue" @@ -0,0 +1,120 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/BodyBase.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/BodyBase.vue" new file mode 100644 index 00000000..632eeb0b --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/BodyBase.vue" @@ -0,0 +1,70 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/CartList.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/CartList.vue" new file mode 100644 index 00000000..dc56a809 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/CartList.vue" @@ -0,0 +1,67 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/Detail.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/Detail.vue" new file mode 100644 index 00000000..162b9e01 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/Detail.vue" @@ -0,0 +1,263 @@ + + + + diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/Ele.vue" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/Ele.vue" new file mode 100644 index 00000000..7b291ae8 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/pages/Ele.vue" @@ -0,0 +1,114 @@ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/router/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/router/index.js" new file mode 100644 index 00000000..7d33edbc --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/router/index.js" @@ -0,0 +1,54 @@ +// 配置路由规则 +import VueRouter from 'vue-router' +//默认商品列表 +import BodyBase from '../pages/BodyBase' +//默认商品广告列表 +import AdvList from '../pages/AdvList' +import Detail from '../pages/Detail' +import CartList from '../pages/CartList' +import Ele from '../pages/Ele' + +//创建并暴露一个路由器 +export default new VueRouter({ + routes: [ + { + path: '/', + component: BodyBase, + }, + { + path: '/ele', + component: Ele, + }, + { + path: '/base', + component: BodyBase, + }, + { + name:'listName', + path: '/adv', + component: AdvList, + meta:{ + keepalive:true + } + }, + { + name:'detail', + //path:'/detail', + path: '/detail/:id/:name', + component: Detail, + //props:{id:'id1',name:'name1'}, 对象写法 + props:true + }, + { + name:'cartList', + //path:'/detail', + path: '/cartList', + component: CartList, + //props:{id:'id1',name:'name1'}, 对象写法 + props:true + }, + + ] +}) + +// export default router \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/actions.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/actions.js" new file mode 100644 index 00000000..fb14e72b --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/actions.js" @@ -0,0 +1,7 @@ +const actions={ + add2Cart(context,product) { + console.log(product); + context.commit('addToCart',product); + } + }; + export default actions; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/index.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/index.js" new file mode 100644 index 00000000..fe67add7 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/index.js" @@ -0,0 +1,29 @@ +import Vuex from 'vuex'; +import Vue from 'vue'; +import mutations from './mutations' +import actions from './actions' +import user from './modules/user' +Vue.use(Vuex); +const store = new Vuex.Store({ + state: { + name:'外卖系统', + cart:[], + buyNums:0, + money:0 + }, + + mutations, + actions, + + getters:{ + getName:(state)=>{ + return state.name+'----我们的项目'; + } + }, + modules:{ + user + } + + }) + export default store; + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/modules/user.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/modules/user.js" new file mode 100644 index 00000000..68d1b250 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/modules/user.js" @@ -0,0 +1,22 @@ +const user={ + namespaced: true, + //每个模块都有自己的 state mutation .... + state:{ + userInfo:{name:'刘斌明天要准备',age:29} + }, + mutations:{ + changeUser(state,payload){ + state.userInfo=payload; + + } + }, + actions:{ + changeUserByAction({commit},payload){ + commit('changeUser',payload) + //触发全局的mutation的修改 + commit('makeMoney',1000,{ root: true }) + } + } + + } + export default user; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/mutations.js" "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/mutations.js" new file mode 100644 index 00000000..eee0d474 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022-5-12vue/src/store/mutations.js" @@ -0,0 +1,26 @@ +const mutations={ + changeName(state,name){ + state.name=name + }, + //加入到购物车 + addToCart(state,product){ + console.log('购物商品修改'); + console.log(state.buyNums) + let inCart = false; + state.cart.forEach(el=>{ + if(el.id==product.id){ + el.num++ + inCart=true; + } + }) + if(!inCart){ + state.cart.push(product); + } + state.buyNums++; + console.log(state.buyNums,111); + }, + makeMoney(state,payload){ + state.money = state.money+payload + } + }; + export default mutations; \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\345\223\215\345\272\224\345\274\217\345\267\245\345\205\267.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\345\223\215\345\272\224\345\274\217\345\267\245\345\205\267.html" new file mode 100644 index 00000000..7a1e08e4 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\345\223\215\345\272\224\345\274\217\345\267\245\345\205\267.html" @@ -0,0 +1,82 @@ + + + + + + Document + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
.col-md-8
+
.col-md-4
+
+ +
+ +
+
.col-md-4
+
.col-md-4
+
.col-md-4
+
+ +
+ +
+ +
.col-md-6
+
.col-md-6
+
+ +
+ + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\240\205\346\240\274.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\240\205\346\240\274.html" new file mode 100644 index 00000000..0df378bd --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\240\205\346\240\274.html" @@ -0,0 +1,73 @@ + + + + + + Document + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
.col-md-8
+
.col-md-4
+
+ +
+ +
+
.col-md-4
+
.col-md-4
+
.col-md-4
+
+ +
+ +
+
.col-md-6
+
.col-md-6
+
+ +
+ + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\240\205\346\240\274\345\265\214\345\245\227\345\210\227.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\240\205\346\240\274\345\265\214\345\245\227\345\210\227.html" new file mode 100644 index 00000000..073a55ac --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\240\205\346\240\274\345\265\214\345\245\227\345\210\227.html" @@ -0,0 +1,83 @@ + + + + + + Document + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
col-md-8
+ +
+
col-md-6
+
col-md-6
+
+
+ +
+ +
+
.col-md-4
+
.col-md-4
+
.col-md-4
+
+ +
+ +
+
.col-md-6
+
.col-md-6
+
+ +
+ + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\250\241\346\200\201\346\241\206.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\250\241\346\200\201\346\241\206.html" new file mode 100644 index 00000000..cc1c74d5 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\346\250\241\346\200\201\346\241\206.html" @@ -0,0 +1,65 @@ + + + + + + Document + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\350\241\250\345\215\225.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\350\241\250\345\215\225.html" new file mode 100644 index 00000000..f5570c4d --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\350\241\250\345\215\225.html" @@ -0,0 +1,62 @@ + + + + + + Document + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
+
+ + +
+
+ + +

Example block-level help text here.

+
+
+ +
+ +
+ +
+ + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\350\241\250\346\240\274.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\350\241\250\346\240\274.html" new file mode 100644 index 00000000..a846ff32 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.16\342\200\224bootstrap/\350\241\250\346\240\274.html" @@ -0,0 +1,90 @@ + + + + + + Document + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Optional table caption.
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
+ +
+ + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.17\342\200\224\346\225\260\347\273\204\345\216\273\351\207\215/\345\216\273\351\207\215\347\256\227\346\263\225.txt" "b/\346\235\250\347\276\216\351\233\252/2022.05.17\342\200\224\346\225\260\347\273\204\345\216\273\351\207\215/\345\216\273\351\207\215\347\256\227\346\263\225.txt" new file mode 100644 index 00000000..1882f1c8 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.17\342\200\224\346\225\260\347\273\204\345\216\273\351\207\215/\345\216\273\351\207\215\347\256\227\346\263\225.txt" @@ -0,0 +1 @@ +arr=[1,2,2,3,4,5,6,6] дһδȥ \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.17\342\200\224\346\225\260\347\273\204\345\216\273\351\207\215/\346\225\260\347\273\204\345\216\273\351\207\215.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.17\342\200\224\346\225\260\347\273\204\345\216\273\351\207\215/\346\225\260\347\273\204\345\216\273\351\207\215.html" new file mode 100644 index 00000000..780168e9 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.17\342\200\224\346\225\260\347\273\204\345\216\273\351\207\215/\346\225\260\347\273\204\345\216\273\351\207\215.html" @@ -0,0 +1,58 @@ + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.19\342\200\224js/index.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.19\342\200\224js/index.html" new file mode 100644 index 00000000..8230d07e --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.19\342\200\224js/index.html" @@ -0,0 +1,68 @@ + + + + + + Document + + + + + + +
+ +
点击我1!
+ +
点击我2!
+ +
点击我3!
+ +
点击我4!
+ +
+ + + + + + \ No newline at end of file diff --git "a/\346\235\250\347\276\216\351\233\252/2022.05.19\342\200\224js/\346\225\260\347\273\204.html" "b/\346\235\250\347\276\216\351\233\252/2022.05.19\342\200\224js/\346\225\260\347\273\204.html" new file mode 100644 index 00000000..92851b60 --- /dev/null +++ "b/\346\235\250\347\276\216\351\233\252/2022.05.19\342\200\224js/\346\225\260\347\273\204.html" @@ -0,0 +1,28 @@ + + + + + + Document + + + + + + + + \ No newline at end of file -- Gitee