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
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 0000000000000000000000000000000000000000..887539353452c738e438c7caede854c3f33a69c8
--- /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 0000000000000000000000000000000000000000..0e67774924d7daba40ed15c14ec537b8c119b65b
--- /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 0000000000000000000000000000000000000000..d1227877c727405e4de855416969f68e27f47c43
--- /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 0000000000000000000000000000000000000000..617dc785de76b03667633c14c035541f1ce7f0eb
--- /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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 0000000000000000000000000000000000000000..de909bb000b043fe1d8cf32a705ba2dfd62b72be
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-01vue/demo01.html"
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+ 商品列表
+
+
+
+
+
+
+
+
+ -
+
+ {{i.name}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-06vue/rush.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-06vue/rush.html"
new file mode 100644
index 0000000000000000000000000000000000000000..6239c22b20d4aeccbb1fd6c2508fbc1f45a786b3
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-06vue/rush.html"
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+ 抢购
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+ |
+
+
+
+ {{countDown}}
+ {{timeText}}
+ {{hours}} :
+ {{minutes}} :
+ {{seconds}}
+ |
+
+
+
+ 原价
+ ¥ {{yuan}}
+ |
+
+
+
+ 秒 杀 价
+ ¥ {{price}}
+ |
+
+
+
+ 点击抢购
+ |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-07vue/css/index.css" "b/\351\273\204\346\266\246\345\261\261/2022-4-07vue/css/index.css"
new file mode 100644
index 0000000000000000000000000000000000000000..f39a188163e31471a5c7808da4188e2cb635d472
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-07vue/css/index.css"
@@ -0,0 +1,46 @@
+* {
+ margin: 0 auto;
+ padding: 0;
+ background-color: seashell;
+
+}
+
+form {
+ margin-top: 150px;
+}
+.middle {
+
+}
+table {
+ border-spacing: 20px 35px;
+}
+.form-item {
+ width: 300px;
+ height: 40px;
+ padding-left: 15px;
+ /* -webkit-appearance:none;去除阴影边框 */
+ border: solid 1px rgb(255, 217, 0);
+ border-radius: 10px;
+
+}
+
+.middle .sex{
+ width: 20px;
+}
+
+.middle .butt {
+ cursor: pointer;
+ margin-top: 40px;
+ width: 280px;
+ height: 45px;
+ border: solid 1px white;
+ border-radius: 20px;
+ background-color: tomato;
+ color: white;
+ font-size: 18px;
+}
+
+
+.err {
+ border-color: red;
+}
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-07vue/registration.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-07vue/registration.html"
new file mode 100644
index 0000000000000000000000000000000000000000..c7b2a8d78e67ff1a312ea266485e65f3c246d8ba
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-07vue/registration.html"
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+ 注册页面
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-08vue/demo01.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-08vue/demo01.html"
new file mode 100644
index 0000000000000000000000000000000000000000..09cd0d57b6b89bb7997eb2c1eb4b2cae0bb1f43f
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-08vue/demo01.html"
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-12vue/demo01.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-12vue/demo01.html"
new file mode 100644
index 0000000000000000000000000000000000000000..5b15f9a12941fd03d78f735c2736c99e1a1ef995
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-12vue/demo01.html"
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-13vue/demo01.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-13vue/demo01.html"
new file mode 100644
index 0000000000000000000000000000000000000000..8a0b5b4a5d2c372aca5e9f20cefac0b4e4cddd21
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-13vue/demo01.html"
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-14vue/demo01.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-14vue/demo01.html"
new file mode 100644
index 0000000000000000000000000000000000000000..54d852e1a89d0fada7d257ca2c30939a7eac8df4
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-14vue/demo01.html"
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-14vue/demo02.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-14vue/demo02.html"
new file mode 100644
index 0000000000000000000000000000000000000000..29a649fd1e8213a4e2e4f6f8394ccd6a67aa4062
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-14vue/demo02.html"
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+ slot插槽
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-15vue/demo01.html" "b/\351\273\204\346\266\246\345\261\261/2022-4-15vue/demo01.html"
new file mode 100644
index 0000000000000000000000000000000000000000..4dd8af77fc3d7812f662ef6dee80d485f57e9ad9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-15vue/demo01.html"
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-19vue/demo01.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-19vue/demo01.js"
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/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/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/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/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-20vue/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/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/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/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/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/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-21vue/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/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/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/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/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/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-26vue/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/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/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/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/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/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-27vue/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/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/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/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/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/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-4-29vue/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/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-03vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/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/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/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/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-04vue/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/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-05vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..a58bcec5320ceb62fdf0c4631800be37794b4166
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/components/CartItem.vue"
@@ -0,0 +1,103 @@
+
+
+
+
+
{{ name }}
+
+
+ ¥{{ price }}.00
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6c46e28632361045b469c21c18c3df48c94cd84c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/components/HeaderBase.vue"
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..2c27f0a1ad1fac9566e5be622c06d94bcec9790e
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..3d939607560c1496abd45e158a97073d912fa67a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/AdvList.vue"
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.num }}折起
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..e65b32e571049317e7e4f77b8781862d109411c9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/BodyBase.vue"
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dd87bc9191f3b5f045fea15fcf894a60c6b0fb15
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/CartList.vue"
@@ -0,0 +1,71 @@
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4f03081a6ea4c6a690d9184582e6423652789a7a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/pages/Detail.vue"
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+ ¥{{ price }}
+ ¥4995.2折
+
+
+
+
+
+
+
{{ name }}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{ price }}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/plugins/plugin1.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/plugins/plugin1.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a62e97a02d5d658149055a8fc742b53ee37542a1
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-06vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..46a97438fdbab4388479b63b75851abef2612c7d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6407152dc883992a2a77cafae0339a1eb9413f3a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/components/CartItem.vue"
@@ -0,0 +1,85 @@
+
+
+
+
+
{{name}}
+
+
+ {{price}}折起
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..56b1927836121838ac601f9fc7e60810b999a687
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/components/HeaderBase.vue"
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/data/product.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/data/product.js"
new file mode 100644
index 0000000000000000000000000000000000000000..33bcfc92bb743fd6b93c7f1bb6ed4d832094ad14
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/adidas.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/adidas.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..8fe067a09f1a02ff14144dccbca474f69b9094c0
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/adidas.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/akf.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/akf.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..23138e7d592667493502d1cc23279cd92c997d66
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/akf.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/lining.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/lining.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..48dfd1e7da19af708b5095258ff98ea2b67479d5
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/lining.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/threece.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/threece.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..2300dc74b2e7a4f07cab100bba56dae3eec489e9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/threece.vue"
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+
+
+ ¥79
+ ¥1107.2折
+
+
+
+
+
+
+
3CE |【柔焦唇妆】水唇釉雾面慕斯唇釉唇泥哑光
显白烂番茄色南瓜色
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥110
+
+
+
+ ¥79
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/ugg.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/ugg.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..ff48e788b35ad11d251b32a03d2fc7aa499af339
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/detail/ugg.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..6cb9215cca06b6a19beb23aa0cdff394a1b98d8d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..278aa02541b85b2678d29fb87606bbd8548c7be2
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/AdvList.vue"
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.price}}---{{item.num}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..632eeb0ba495302afc7c64858f4a13ba3a17ca3c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/BodyBase.vue"
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dc56a809c8e25c2524a27b252e85f806b27193d4
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/CartList.vue"
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..ad7281f8b79b0f897ef609c00155ab672409dc89
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/pages/Detail.vue"
@@ -0,0 +1,244 @@
+
+
+ {{this.$store.state.buyNums}}
+ {{getBuyNums}}
+
+
+
+
+
+
+
+
+ ¥{{price}}
+ ¥4995.2折
+
+
+
+
+
+
+
{{name}}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{price}}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..e894839a98442b4a7ec971344bf48e4c5d824e14
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/vuex.md" "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/vuex.md"
new file mode 100644
index 0000000000000000000000000000000000000000..5dfe881c43fd202302f30e39d314953033fe6f8f
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-10vue/src/vuex.md"
@@ -0,0 +1 @@
+## mutioan 更改 Vuex 的 store 中的状态的唯一方法是提交 mutation,mutation 中的函数必须是同步的
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6407152dc883992a2a77cafae0339a1eb9413f3a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/components/CartItem.vue"
@@ -0,0 +1,85 @@
+
+
+
+
+
{{name}}
+
+
+ {{price}}折起
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..56b1927836121838ac601f9fc7e60810b999a687
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/components/HeaderBase.vue"
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/data/product.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/data/product.js"
new file mode 100644
index 0000000000000000000000000000000000000000..33bcfc92bb743fd6b93c7f1bb6ed4d832094ad14
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/adidas.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/adidas.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..8fe067a09f1a02ff14144dccbca474f69b9094c0
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/adidas.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/akf.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/akf.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..23138e7d592667493502d1cc23279cd92c997d66
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/akf.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/lining.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/lining.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..48dfd1e7da19af708b5095258ff98ea2b67479d5
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/lining.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/threece.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/threece.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..2300dc74b2e7a4f07cab100bba56dae3eec489e9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/threece.vue"
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+
+
+ ¥79
+ ¥1107.2折
+
+
+
+
+
+
+
3CE |【柔焦唇妆】水唇釉雾面慕斯唇釉唇泥哑光
显白烂番茄色南瓜色
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥110
+
+
+
+ ¥79
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/ugg.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/ugg.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..ff48e788b35ad11d251b32a03d2fc7aa499af339
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/detail/ugg.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..f6bb6db3aa3d4e11f73c880a20c1feaf5c96e8b7
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..4ec65d0ff7095b401867fbd30f18de7f2bf78162
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/AdvList.vue"
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.price}}---{{item.num}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..632eeb0ba495302afc7c64858f4a13ba3a17ca3c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/BodyBase.vue"
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dc56a809c8e25c2524a27b252e85f806b27193d4
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/CartList.vue"
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..bcee73c143dde0b94a1a994b706855c2c11a90ca
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/pages/Detail.vue"
@@ -0,0 +1,255 @@
+
+
+ {{this.$store.state.buyNums}}
+ {{getBuyNums}}
+ {{this.$store.state.user.userInfo.name}}
+
{{userInfo.name}}
+
+
+
+
+
+
+
+
+ ¥{{price}}
+ ¥4995.2折
+
+
+
+
+
+
+
{{name}}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{price}}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..e894839a98442b4a7ec971344bf48e4c5d824e14
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/actions.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/actions.js"
new file mode 100644
index 0000000000000000000000000000000000000000..f9b47bd8e44f5a32e92ea34456aa931a3005d2b2
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..a58a3e765c52465582772faff9c8a6e5584add08
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/mudules/user.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/mudules/user.js"
new file mode 100644
index 0000000000000000000000000000000000000000..6e9c593eb8e10d1b964539e9376e611f0430e3f2
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/mutations.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/mutations.js"
new file mode 100644
index 0000000000000000000000000000000000000000..01134bad23a3b73a08e7ba03df939f73c1c3a10d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/state.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/store/state.js"
new file mode 100644
index 0000000000000000000000000000000000000000..90f8d00b2a664f63a090ba52726e45cda7ce4376
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/vuex.md" "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/vuex.md"
new file mode 100644
index 0000000000000000000000000000000000000000..50fe2077b08c9e3ce440e6a50074c4f5a383348d
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-11vue/src/vuex.md"
@@ -0,0 +1,3 @@
+## mutioan 更改 Vuex 的 store 中的状态的唯一方法是提交 mutation,mutation 中的函数必须是同步的
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/App.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/App.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..72248fd61be78392d39e4189212a95a6d3cf0c56
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/App.vue"
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/components/CartItem.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/components/CartItem.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..6407152dc883992a2a77cafae0339a1eb9413f3a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/components/CartItem.vue"
@@ -0,0 +1,85 @@
+
+
+
+
+
{{name}}
+
+
+ {{price}}折起
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/components/HeaderBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/components/HeaderBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..56b1927836121838ac601f9fc7e60810b999a687
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/components/HeaderBase.vue"
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/data/product.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/data/product.js"
new file mode 100644
index 0000000000000000000000000000000000000000..33bcfc92bb743fd6b93c7f1bb6ed4d832094ad14
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/adidas.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/adidas.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..8fe067a09f1a02ff14144dccbca474f69b9094c0
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/adidas.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/akf.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/akf.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..23138e7d592667493502d1cc23279cd92c997d66
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/akf.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/lining.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/lining.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..48dfd1e7da19af708b5095258ff98ea2b67479d5
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/lining.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/threece.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/threece.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..2300dc74b2e7a4f07cab100bba56dae3eec489e9
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/threece.vue"
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+
+
+ ¥79
+ ¥1107.2折
+
+
+
+
+
+
+
3CE |【柔焦唇妆】水唇釉雾面慕斯唇釉唇泥哑光
显白烂番茄色南瓜色
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥110
+
+
+
+ ¥79
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/ugg.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/ugg.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..ff48e788b35ad11d251b32a03d2fc7aa499af339
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/detail/ugg.vue"
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+ ¥259
+ ¥4995.2折
+
+
+
+
+
+
+
adidas NEO | 春季新款轻便耐磨低帮男女休闲鞋
男鞋女鞋运动鞋情侣鞋训练跑步黑
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥259
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/main.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/main.js"
new file mode 100644
index 0000000000000000000000000000000000000000..4753647c6caa881dafab5f28ccfc9a0d6b0404c2
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/AdvList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/AdvList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..bb5ef312701a881754ba1be890f5c7be152ad8f8
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/AdvList.vue"
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.price}}---{{item.num}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/BodyBase.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/BodyBase.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..632eeb0ba495302afc7c64858f4a13ba3a17ca3c
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/BodyBase.vue"
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
{{item.name}}
+
{{item.num}}折起
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/CartList.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/CartList.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..dc56a809c8e25c2524a27b252e85f806b27193d4
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/CartList.vue"
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/Detail.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/Detail.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..162b9e0199820068748f0aca273961d03a79951a
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/Detail.vue"
@@ -0,0 +1,263 @@
+
+
+
+ {{this.$store.getters.getName}}
+ {{this.$store.state.user.userInfo.name}}
+ {{this.$store.state.money}}
+
{{userInfo}}
+
+
+
+
+
+
+
+
+ ¥{{price}}
+ ¥4995.2折
+
+
+
+
+
+
+
{{name}}
+
+ 7天可退首单30元免邮上门退款
+
+
+
+
+
100%正品·专业鉴定·正品险
+
>
+
+
+
+
+
客服
+
+
+
购物车
+
+
+
+ ¥499
+
+
+
+ ¥{{price}}
+
+
+
特卖价 抢
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/Ele.vue" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/Ele.vue"
new file mode 100644
index 0000000000000000000000000000000000000000..7b291ae8b807809511b308092576672492c8f16f
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/pages/Ele.vue"
@@ -0,0 +1,114 @@
+
+
+
+ 默认按钮
+ 主要按钮
+ 成功按钮
+ 信息按钮
+ 警告按钮
+ 危险按钮
+ 自定义标签
+
+
+
+
+
+
+
+
+
+
+
+ 默认 Hover 指示器触发
+
+
+ {{ item }}
+
+
+
+
+ Click 指示器触发
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/router/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/router/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..7d33edbc86271d7f5f6792839098e943ea819422
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/store/actions.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/store/actions.js"
new file mode 100644
index 0000000000000000000000000000000000000000..fb14e72b726522cf3e294f62a89fda109fcf2e4b
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/store/index.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/store/index.js"
new file mode 100644
index 0000000000000000000000000000000000000000..fe67add79b72b94016134af2805b8540c641bcd7
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/store/modules/user.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/store/modules/user.js"
new file mode 100644
index 0000000000000000000000000000000000000000..68d1b2507c029352b964ad8016d034ad9d1b0f34
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/store/mutations.js" "b/\351\273\204\346\266\246\345\261\261/2022-5-12vue/src/store/mutations.js"
new file mode 100644
index 0000000000000000000000000000000000000000..eee0d474fb15c7e64f26d898d8c1175d6b0c7829
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/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