From 20ce94a2b7090709aa7236b860eaa9b1450413ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E6=9D=8E=E6=8C=AF=E5=8D=8E=E2=80=9D?= <877611343@qq.com> Date: Sat, 1 Jun 2024 15:56:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vue-jingdong/.gitignore" | 30 + .../vue-jingdong/README.md" | 29 + .../vue-jingdong/index.html" | 13 + .../vue-jingdong/jsconfig.json" | 8 + .../vue-jingdong/package-lock.json" | 1191 +++++++++++++++++ .../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" | 35 + .../src/components/cart/CartCard.vue" | 98 ++ .../src/components/home/NearBy.vue" | 39 + .../src/components/home/ShopInfo.vue" | 71 + .../src/components/home/StaticPart.vue" | 123 ++ .../src/components/layout/Tabbar.vue" | 66 + .../src/components/order/OrderCard.vue" | 77 ++ .../src/components/shop/CartBottom.vue" | 345 +++++ .../src/components/shop/Product.vue" | 154 +++ .../vue-jingdong/src/main.js" | 17 + .../vue-jingdong/src/router/index.js" | 50 + .../vue-jingdong/src/stores/cart.js" | 11 + .../vue-jingdong/src/stores/order.js" | 11 + .../vue-jingdong/src/stores/shop.js" | 176 +++ .../vue-jingdong/src/stores/test.js" | 11 + .../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" | 68 + .../vue-jingdong/src/views/cart/CartView.vue" | 59 + .../vue-jingdong/src/views/home/HomeView.vue" | 27 + .../src/views/layout/LayoutView.vue" | 15 + .../vue-jingdong/src/views/my/MyView.vue" | 186 +++ .../src/views/order/OrderConfirm.vue" | 289 ++++ .../src/views/order/OrderView.vue" | 52 + .../vue-jingdong/src/views/shop/ShopView.vue" | 159 +++ .../vue-jingdong/vite.config.js" | 16 + 40 files changed, 3706 insertions(+) create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/.gitignore" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/README.md" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/index.html" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/jsconfig.json" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/package-lock.json" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/package.json" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/public/favicon.ico" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/App.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/assets/base.css" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/assets/logo.svg" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/assets/main.css" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/address/AddressCard.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/cart/CartCard.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/home/NearBy.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/home/ShopInfo.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/home/StaticPart.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/layout/Tabbar.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/order/OrderCard.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/shop/CartBottom.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/components/shop/Product.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/main.js" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/router/index.js" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/stores/cart.js" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/stores/order.js" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/stores/shop.js" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/stores/test.js" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/stores/user.js" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/style/base.scss" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/style/iconfont.css" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/style/mixins.scss" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/style/viriables.scss" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/views/address/AddressView.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/views/cart/CartView.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/views/home/HomeView.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/views/layout/LayoutView.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/views/my/MyView.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/views/order/OrderConfirm.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/views/order/OrderView.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/src/views/shop/ShopView.vue" create mode 100644 "28 \346\235\216\346\214\257\345\215\216/vue-jingdong/vite.config.js" diff --git "a/28 \346\235\216\346\214\257\345\215\216/vue-jingdong/.gitignore" "b/28 \346\235\216\346\214\257\345\215\216/vue-jingdong/.gitignore" new file mode 100644 index 0000000..8ee54e8 --- /dev/null +++ "b/28 \346\235\216\346\214\257\345\215\216/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/28 \346\235\216\346\214\257\345\215\216/vue-jingdong/README.md" "b/28 \346\235\216\346\214\257\345\215\216/vue-jingdong/README.md" new file mode 100644 index 0000000..823d32b --- /dev/null +++ "b/28 \346\235\216\346\214\257\345\215\216/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/28 \346\235\216\346\214\257\345\215\216/vue-jingdong/index.html" "b/28 \346\235\216\346\214\257\345\215\216/vue-jingdong/index.html" new file mode 100644 index 0000000..99f583a --- /dev/null +++ "b/28 \346\235\216\346\214\257\345\215\216/vue-jingdong/index.html" @@ -0,0 +1,13 @@ + + +
+ + + +{{ item.desc }}
+