From 44719cfd86ab017721894f8b279774af9c0a0a5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=BA=86=E8=BE=89?= <11802687+cai-qinghui@user.noreply.gitee.com> Date: Thu, 30 May 2024 21:19:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E5=88=B0=E5=AE=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vue-jingdong/.gitignore" | 30 + .../vue-jingdong/.vscode/extensions.json" | 3 + .../vue-jingdong/README.md" | 29 + .../vue-jingdong/index.html" | 13 + .../vue-jingdong/jsconfig.json" | 8 + .../vue-jingdong/package-lock.json" | 1210 +++++++++++++++++ .../vue-jingdong/package.json" | 21 + .../vue-jingdong/public/favicon.ico" | Bin 0 -> 4286 bytes .../vue-jingdong/src/App.vue" | 9 + .../vue-jingdong/src/assets/base.css" | 86 ++ .../vue-jingdong/src/assets/logo.svg" | 1 + .../vue-jingdong/src/assets/main.css" | 35 + .../src/components/address/AddressCard.vue" | 36 + .../src/components/cart/CartCard.vue" | 93 ++ .../src/components/home/NearBy.vue" | 37 + .../src/components/home/ShopInfo.vue" | 70 + .../src/components/home/StaticPart.vue" | 122 ++ .../src/components/layout/Tabbar.vue" | 65 + .../src/components/order/OrderCard.vue" | 78 ++ .../src/components/shop/CartBottom.vue" | 273 ++++ .../src/components/shop/Product.vue" | 134 ++ .../vue-jingdong/src/main.js" | 19 + .../vue-jingdong/src/router/index.js" | 62 + .../vue-jingdong/src/stores/cart.js" | 11 + .../vue-jingdong/src/stores/counter.js" | 12 + .../vue-jingdong/src/stores/order.js" | 9 + .../vue-jingdong/src/stores/shop.js" | 176 +++ .../vue-jingdong/src/stores/user.js" | 51 + .../vue-jingdong/src/style/base.scss" | 17 + .../vue-jingdong/src/style/iconfont.css" | 43 + .../vue-jingdong/src/style/mixins.scss" | 5 + .../vue-jingdong/src/style/viriables.scss" | 12 + .../src/views/address/AddressView.vue" | 64 + .../vue-jingdong/src/views/cart/CartView.vue" | 60 + .../vue-jingdong/src/views/home/HomeView.vue" | 27 + .../src/views/layout/LayoutView.vue" | 15 + .../src/views/my/CreateAddressView.vue" | 123 ++ .../vue-jingdong/src/views/my/MyView.vue" | 187 +++ .../src/views/order/OrderConfirm.vue" | 277 ++++ .../src/views/order/OrderView.vue" | 52 + .../vue-jingdong/src/views/shop/ShopView.vue" | 159 +++ .../vue-jingdong/vite.config.js" | 16 + 42 files changed, 3750 insertions(+) create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/.gitignore" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/.vscode/extensions.json" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/README.md" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/index.html" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/jsconfig.json" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/package-lock.json" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/package.json" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/public/favicon.ico" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/App.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/assets/base.css" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/assets/logo.svg" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/assets/main.css" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/address/AddressCard.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/cart/CartCard.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/home/NearBy.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/home/ShopInfo.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/home/StaticPart.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/layout/Tabbar.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/order/OrderCard.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/shop/CartBottom.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/components/shop/Product.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/main.js" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/router/index.js" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/stores/cart.js" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/stores/counter.js" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/stores/order.js" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/stores/shop.js" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/stores/user.js" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/style/base.scss" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/style/iconfont.css" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/style/mixins.scss" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/style/viriables.scss" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/address/AddressView.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/cart/CartView.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/home/HomeView.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/layout/LayoutView.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/my/CreateAddressView.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/my/MyView.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/order/OrderConfirm.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/order/OrderView.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/src/views/shop/ShopView.vue" create mode 100644 "\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/vite.config.js" diff --git "a/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/.gitignore" "b/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/.gitignore" new file mode 100644 index 0000000..8ee54e8 --- /dev/null +++ "b/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/.gitignore" @@ -0,0 +1,30 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +*.tsbuildinfo diff --git "a/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/.vscode/extensions.json" "b/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/.vscode/extensions.json" new file mode 100644 index 0000000..a7cea0b --- /dev/null +++ "b/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/.vscode/extensions.json" @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar"] +} diff --git "a/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/README.md" "b/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/README.md" new file mode 100644 index 0000000..823d32b --- /dev/null +++ "b/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/README.md" @@ -0,0 +1,29 @@ +# vue-jingdong + +This template should help get you started developing with Vue 3 in Vite. + +## Recommended IDE Setup + +[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur). + +## Customize configuration + +See [Vite Configuration Reference](https://vitejs.dev/config/). + +## Project Setup + +```sh +npm install +``` + +### Compile and Hot-Reload for Development + +```sh +npm run dev +``` + +### Compile and Minify for Production + +```sh +npm run build +``` diff --git "a/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/index.html" "b/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/index.html" new file mode 100644 index 0000000..99f583a --- /dev/null +++ "b/\350\224\241\345\272\206\350\276\211/5-30-\350\224\241\345\272\206\350\276\211-\344\272\254\344\270\234\345\210\260\345\256\266/vue-jingdong/index.html" @@ -0,0 +1,13 @@ + + +
+ + + +{{ item.desc }}
+