diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/index.html" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..19d69c39473fded44f2e6f93a1b75f4c231bb46e --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/index.html" @@ -0,0 +1,25 @@ + + + + + + + Your shopping cart + + +
+ + + + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/App.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/App.vue" new file mode 100644 index 0000000000000000000000000000000000000000..bd59b5c5894ccec79971b7bf0eb02118d2a4e527 --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/App.vue" @@ -0,0 +1,49 @@ + + + + + diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/assets/base.css" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/assets/base.css" new file mode 100644 index 0000000000000000000000000000000000000000..71dc55a3cb5a72589496743a327c738ead3e1c83 --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/assets/base.css" @@ -0,0 +1,74 @@ +/* color palette from */ +:root { + --vt-c-white: #ffffff; + --vt-c-white-soft: #f8f8f8; + --vt-c-white-mute: #f2f2f2; + + --vt-c-black: #181818; + --vt-c-black-soft: #222222; + --vt-c-black-mute: #282828; + + --vt-c-indigo: #2c3e50; + + --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); + --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); + --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); + --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); + + --vt-c-text-light-1: var(--vt-c-indigo); + --vt-c-text-light-2: rgba(60, 60, 60, 0.66); + --vt-c-text-dark-1: var(--vt-c-white); + --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); +} + +/* semantic color variables for this project */ +:root { + --color-background: var(--vt-c-white); + --color-background-soft: var(--vt-c-white-soft); + --color-background-mute: var(--vt-c-white-mute); + + --color-border: var(--vt-c-divider-light-2); + --color-border-hover: var(--vt-c-divider-light-1); + + --color-heading: var(--vt-c-text-light-1); + --color-text: var(--vt-c-text-light-1); + + --section-gap: 160px; +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--vt-c-black); + --color-background-soft: var(--vt-c-black-soft); + --color-background-mute: var(--vt-c-black-mute); + + --color-border: var(--vt-c-divider-dark-2); + --color-border-hover: var(--vt-c-divider-dark-1); + + --color-heading: var(--vt-c-text-dark-1); + --color-text: var(--vt-c-text-dark-2); + } +} + +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + position: relative; + font-weight: normal; +} + +body { + min-height: 100vh; + color: var(--color-text); + background: var(--color-background); + transition: color 0.5s, background-color 0.5s; + line-height: 1.6; + font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/assets/main.css" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/assets/main.css" new file mode 100644 index 0000000000000000000000000000000000000000..e8667cd4508b6163e44e675ff899de1896544c84 --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/assets/main.css" @@ -0,0 +1,35 @@ +@import './base.css'; + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + + font-weight: normal; +} + +a, +.green { + text-decoration: none; + color: hsla(160, 100%, 37%, 1); + transition: 0.4s; +} + +@media (hover: hover) { + a:hover { + background-color: hsla(160, 100%, 37%, 0.2); + } +} + +@media (min-width: 1024px) { + body { + display: flex; + place-items: center; + } + + #app { + display: grid; + grid-template-columns: 1fr 1fr; + padding: 0 2rem; + } +} diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/bottom.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/bottom.vue" new file mode 100644 index 0000000000000000000000000000000000000000..ba102d31968f131aeb8407853321732dc0dfea98 --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/bottom.vue" @@ -0,0 +1,41 @@ + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/goods.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/goods.vue" new file mode 100644 index 0000000000000000000000000000000000000000..b48aa1bf3daabb0f986df94d6e22486fd0b7d32f --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/goods.vue" @@ -0,0 +1,183 @@ + + + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/top.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/top.vue" new file mode 100644 index 0000000000000000000000000000000000000000..92c5e301c4af539bc188be3d402649c036bc0b90 --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/gwc/top.vue" @@ -0,0 +1,54 @@ + + + + + + diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconCommunity.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconCommunity.vue" new file mode 100644 index 0000000000000000000000000000000000000000..2dc8b055253af30fb797037e2fe260505f0cf711 --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconCommunity.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconDocumentation.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconDocumentation.vue" new file mode 100644 index 0000000000000000000000000000000000000000..6d4791cfbcf2782b3e5ffbabd042d4c47b2fbbed --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconDocumentation.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconEcosystem.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconEcosystem.vue" new file mode 100644 index 0000000000000000000000000000000000000000..c3a4f078c0bd340a33c61ea9ecd8a755d03571ed --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconEcosystem.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconSupport.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconSupport.vue" new file mode 100644 index 0000000000000000000000000000000000000000..7452834d3ef961ce24c3a072ddba2620b6158bae --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconSupport.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconTooling.vue" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconTooling.vue" new file mode 100644 index 0000000000000000000000000000000000000000..660598d7c76644ffe126a1a1feb1606650bfb937 --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/components/icons/IconTooling.vue" @@ -0,0 +1,19 @@ + + diff --git "a/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/main.js" "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/main.js" new file mode 100644 index 0000000000000000000000000000000000000000..8461739fd10b7654f14c4c09e32e50fce3c9dbab --- /dev/null +++ "b/\344\275\234\344\270\232/Vue\345\272\224\347\224\250/src/main.js" @@ -0,0 +1,5 @@ +import { createApp } from 'vue' +import App from './App.vue' + + +createApp(App).mount('#app') diff --git "a/\344\275\234\344\270\232/setup/p/index.html" "b/\344\275\234\344\270\232/setup/p/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..c2bcd7735418066b9821c198c86af6543f10c291 --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/index.html" @@ -0,0 +1,17 @@ + + + + + + + + setup + + + + +
+ + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/setup/p/src/App.vue" "b/\344\275\234\344\270\232/setup/p/src/App.vue" new file mode 100644 index 0000000000000000000000000000000000000000..84a4405e3a0d93e14427e086b1c30dbbed6e7d17 --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/App.vue" @@ -0,0 +1,127 @@ + + + + + diff --git "a/\344\275\234\344\270\232/setup/p/src/assets/base.css" "b/\344\275\234\344\270\232/setup/p/src/assets/base.css" new file mode 100644 index 0000000000000000000000000000000000000000..71dc55a3cb5a72589496743a327c738ead3e1c83 --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/assets/base.css" @@ -0,0 +1,74 @@ +/* color palette from */ +:root { + --vt-c-white: #ffffff; + --vt-c-white-soft: #f8f8f8; + --vt-c-white-mute: #f2f2f2; + + --vt-c-black: #181818; + --vt-c-black-soft: #222222; + --vt-c-black-mute: #282828; + + --vt-c-indigo: #2c3e50; + + --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); + --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); + --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); + --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); + + --vt-c-text-light-1: var(--vt-c-indigo); + --vt-c-text-light-2: rgba(60, 60, 60, 0.66); + --vt-c-text-dark-1: var(--vt-c-white); + --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); +} + +/* semantic color variables for this project */ +:root { + --color-background: var(--vt-c-white); + --color-background-soft: var(--vt-c-white-soft); + --color-background-mute: var(--vt-c-white-mute); + + --color-border: var(--vt-c-divider-light-2); + --color-border-hover: var(--vt-c-divider-light-1); + + --color-heading: var(--vt-c-text-light-1); + --color-text: var(--vt-c-text-light-1); + + --section-gap: 160px; +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--vt-c-black); + --color-background-soft: var(--vt-c-black-soft); + --color-background-mute: var(--vt-c-black-mute); + + --color-border: var(--vt-c-divider-dark-2); + --color-border-hover: var(--vt-c-divider-dark-1); + + --color-heading: var(--vt-c-text-dark-1); + --color-text: var(--vt-c-text-dark-2); + } +} + +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + position: relative; + font-weight: normal; +} + +body { + min-height: 100vh; + color: var(--color-text); + background: var(--color-background); + transition: color 0.5s, background-color 0.5s; + line-height: 1.6; + font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git "a/\344\275\234\344\270\232/setup/p/src/assets/main.css" "b/\344\275\234\344\270\232/setup/p/src/assets/main.css" new file mode 100644 index 0000000000000000000000000000000000000000..e8667cd4508b6163e44e675ff899de1896544c84 --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/assets/main.css" @@ -0,0 +1,35 @@ +@import './base.css'; + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + + font-weight: normal; +} + +a, +.green { + text-decoration: none; + color: hsla(160, 100%, 37%, 1); + transition: 0.4s; +} + +@media (hover: hover) { + a:hover { + background-color: hsla(160, 100%, 37%, 0.2); + } +} + +@media (min-width: 1024px) { + body { + display: flex; + place-items: center; + } + + #app { + display: grid; + grid-template-columns: 1fr 1fr; + padding: 0 2rem; + } +} diff --git "a/\344\275\234\344\270\232/setup/p/src/components/chacao/home.vue" "b/\344\275\234\344\270\232/setup/p/src/components/chacao/home.vue" new file mode 100644 index 0000000000000000000000000000000000000000..2eb0d58655530fc135b70371fbb2f8db1321533e --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/components/chacao/home.vue" @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/setup/p/src/components/chacao/right.vue" "b/\344\275\234\344\270\232/setup/p/src/components/chacao/right.vue" new file mode 100644 index 0000000000000000000000000000000000000000..f9ee9c4cfee2bcbfdc193129d47509ae2230d872 --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/components/chacao/right.vue" @@ -0,0 +1,13 @@ + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/setup/p/src/components/icons/IconCommunity.vue" "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconCommunity.vue" new file mode 100644 index 0000000000000000000000000000000000000000..2dc8b055253af30fb797037e2fe260505f0cf711 --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconCommunity.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/setup/p/src/components/icons/IconDocumentation.vue" "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconDocumentation.vue" new file mode 100644 index 0000000000000000000000000000000000000000..6d4791cfbcf2782b3e5ffbabd042d4c47b2fbbed --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconDocumentation.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/setup/p/src/components/icons/IconEcosystem.vue" "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconEcosystem.vue" new file mode 100644 index 0000000000000000000000000000000000000000..c3a4f078c0bd340a33c61ea9ecd8a755d03571ed --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconEcosystem.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/setup/p/src/components/icons/IconSupport.vue" "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconSupport.vue" new file mode 100644 index 0000000000000000000000000000000000000000..7452834d3ef961ce24c3a072ddba2620b6158bae --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconSupport.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/setup/p/src/components/icons/IconTooling.vue" "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconTooling.vue" new file mode 100644 index 0000000000000000000000000000000000000000..660598d7c76644ffe126a1a1feb1606650bfb937 --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/components/icons/IconTooling.vue" @@ -0,0 +1,19 @@ + + diff --git "a/\344\275\234\344\270\232/setup/p/src/main.js" "b/\344\275\234\344\270\232/setup/p/src/main.js" new file mode 100644 index 0000000000000000000000000000000000000000..8461739fd10b7654f14c4c09e32e50fce3c9dbab --- /dev/null +++ "b/\344\275\234\344\270\232/setup/p/src/main.js" @@ -0,0 +1,5 @@ +import { createApp } from 'vue' +import App from './App.vue' + + +createApp(App).mount('#app') diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/index.html" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..ded2fb2bdadffd12c0e473ea3db8ec9833326421 --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/index.html" @@ -0,0 +1,26 @@ + + + + + + + Your shopping cart + + + +
+ + + + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/App.vue" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/App.vue" new file mode 100644 index 0000000000000000000000000000000000000000..d819ebce6c89781dd8c95a5b3d9d261ba76e14fc --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/App.vue" @@ -0,0 +1,46 @@ + + + + + diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/assets/base.css" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/assets/base.css" new file mode 100644 index 0000000000000000000000000000000000000000..71dc55a3cb5a72589496743a327c738ead3e1c83 --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/assets/base.css" @@ -0,0 +1,74 @@ +/* color palette from */ +:root { + --vt-c-white: #ffffff; + --vt-c-white-soft: #f8f8f8; + --vt-c-white-mute: #f2f2f2; + + --vt-c-black: #181818; + --vt-c-black-soft: #222222; + --vt-c-black-mute: #282828; + + --vt-c-indigo: #2c3e50; + + --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); + --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); + --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); + --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); + + --vt-c-text-light-1: var(--vt-c-indigo); + --vt-c-text-light-2: rgba(60, 60, 60, 0.66); + --vt-c-text-dark-1: var(--vt-c-white); + --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); +} + +/* semantic color variables for this project */ +:root { + --color-background: var(--vt-c-white); + --color-background-soft: var(--vt-c-white-soft); + --color-background-mute: var(--vt-c-white-mute); + + --color-border: var(--vt-c-divider-light-2); + --color-border-hover: var(--vt-c-divider-light-1); + + --color-heading: var(--vt-c-text-light-1); + --color-text: var(--vt-c-text-light-1); + + --section-gap: 160px; +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--vt-c-black); + --color-background-soft: var(--vt-c-black-soft); + --color-background-mute: var(--vt-c-black-mute); + + --color-border: var(--vt-c-divider-dark-2); + --color-border-hover: var(--vt-c-divider-dark-1); + + --color-heading: var(--vt-c-text-dark-1); + --color-text: var(--vt-c-text-dark-2); + } +} + +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + position: relative; + font-weight: normal; +} + +body { + min-height: 100vh; + color: var(--color-text); + background: var(--color-background); + transition: color 0.5s, background-color 0.5s; + line-height: 1.6; + font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/assets/main.css" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/assets/main.css" new file mode 100644 index 0000000000000000000000000000000000000000..e8667cd4508b6163e44e675ff899de1896544c84 --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/assets/main.css" @@ -0,0 +1,35 @@ +@import './base.css'; + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + + font-weight: normal; +} + +a, +.green { + text-decoration: none; + color: hsla(160, 100%, 37%, 1); + transition: 0.4s; +} + +@media (hover: hover) { + a:hover { + background-color: hsla(160, 100%, 37%, 0.2); + } +} + +@media (min-width: 1024px) { + body { + display: flex; + place-items: center; + } + + #app { + display: grid; + grid-template-columns: 1fr 1fr; + padding: 0 2rem; + } +} diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/evenBus.js" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/evenBus.js" new file mode 100644 index 0000000000000000000000000000000000000000..6ac55e4b0492c2bcaabc50fb4649c81f087a5603 --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/evenBus.js" @@ -0,0 +1,5 @@ +import mitt from 'mitt'; + +const emitter = mitt(); + +export default emitter; \ No newline at end of file diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/goods.css" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/goods.css" new file mode 100644 index 0000000000000000000000000000000000000000..b0195d62b24c1779e58965fdb78aaf8d4468a8d9 --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/goods.css" @@ -0,0 +1,136 @@ +.goodsList { + width: 600px; + margin: auto; + display: flex; + justify-content: space-between; + margin-top: 20px; +} + +.goodsLeft { + width: 100px; + height: 120px; +} + +.image img { + width: 100px; + height: 100px; +} + +.goodsRight { + width: 480px; + height: 120px; + border-bottom: 1px lightgray solid; + display: flex; + flex-direction: column; +} + +.goodsTop { + width: 480px; + height: 90px; + display: flex; + flex-direction: row; +} + +.goods { + width: 160px; + display: flex; + flex-direction: column; +} + +.goodsName { + font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; + font-weight: 1000; +} + +.brand { + font-size: 10px; + color: gray; + margin-top: 10px; +} + +.operate { + width: 160px; + height: 25px; + border: 1px solid black; + text-align: center; + display: flex; + flex-direction: column; +} + +.quantity { + font-size: 14px; + font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; + color: gray; +} + +.quantity span { + color: black; + font-weight: 500; + font-size: 8px; +} + +.btn button { + width: 40px; + height: 25px; + background-color: white; + border: none; + font-size: 20px; +} + +.btn a{ + color: black; +} + +.price { + width: 160px; + text-align: right; + font-weight: 600; +} + +#price { + font-size: 6px; +} + +.goodsBottom { + width: 480px; + height: 30px; + display: flex; + justify-content: space-between; +} + +.product { + font-size: 8px; + line-height: 30px; + font-weight: 500; +} + +.cancel a { + color: black; + font-size: 20px; +} + +.bottom { + width: 600px; + height: 100px; + margin: auto; + display: flex; + justify-content: right; + align-items: center; +} + +.checkout { + width: 130px; + height: 30px; + border: none; + background-color: black; + text-align: center; + line-height: 30px; + color: white; + font-size: 10px; + font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; + font-weight: 500; +} + +.checkout:hover { + background-color: rgb(61, 61, 61); +} \ No newline at end of file diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/goods.vue" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/goods.vue" new file mode 100644 index 0000000000000000000000000000000000000000..a1cd744cefe91644824b0cd98667010ef97de6ea --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/goods.vue" @@ -0,0 +1,111 @@ + + + diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/top.vue" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/top.vue" new file mode 100644 index 0000000000000000000000000000000000000000..9f932408178646014f71927e0aab2a0701c1d362 --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/gwc/top.vue" @@ -0,0 +1,82 @@ + + + + + + + diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconCommunity.vue" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconCommunity.vue" new file mode 100644 index 0000000000000000000000000000000000000000..2dc8b055253af30fb797037e2fe260505f0cf711 --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconCommunity.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconDocumentation.vue" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconDocumentation.vue" new file mode 100644 index 0000000000000000000000000000000000000000..6d4791cfbcf2782b3e5ffbabd042d4c47b2fbbed --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconDocumentation.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconEcosystem.vue" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconEcosystem.vue" new file mode 100644 index 0000000000000000000000000000000000000000..c3a4f078c0bd340a33c61ea9ecd8a755d03571ed --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconEcosystem.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconSupport.vue" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconSupport.vue" new file mode 100644 index 0000000000000000000000000000000000000000..7452834d3ef961ce24c3a072ddba2620b6158bae --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconSupport.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconTooling.vue" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconTooling.vue" new file mode 100644 index 0000000000000000000000000000000000000000..660598d7c76644ffe126a1a1feb1606650bfb937 --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/components/icons/IconTooling.vue" @@ -0,0 +1,19 @@ + + diff --git "a/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/main.js" "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/main.js" new file mode 100644 index 0000000000000000000000000000000000000000..01433bca2ac76590c48fabfee8d69d7b223f48bb --- /dev/null +++ "b/\344\275\234\344\270\232/\345\205\250\345\261\200\344\272\213\344\273\266\346\200\273\347\272\277/p/src/main.js" @@ -0,0 +1,4 @@ +import { createApp } from 'vue' +import App from './App.vue' + +createApp(App).mount('#app') diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/index.html" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..3431dc8e14c4f55c94e95144ceb046c1249dd20f --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/index.html" @@ -0,0 +1,16 @@ + + + + + + + + 插槽 + + + +
+ + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/App.vue" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/App.vue" new file mode 100644 index 0000000000000000000000000000000000000000..3fe7bdc5d2082157da4f9e3659b0e7be5b070026 --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/App.vue" @@ -0,0 +1,130 @@ + + + + + diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/assets/base.css" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/assets/base.css" new file mode 100644 index 0000000000000000000000000000000000000000..71dc55a3cb5a72589496743a327c738ead3e1c83 --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/assets/base.css" @@ -0,0 +1,74 @@ +/* color palette from */ +:root { + --vt-c-white: #ffffff; + --vt-c-white-soft: #f8f8f8; + --vt-c-white-mute: #f2f2f2; + + --vt-c-black: #181818; + --vt-c-black-soft: #222222; + --vt-c-black-mute: #282828; + + --vt-c-indigo: #2c3e50; + + --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); + --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); + --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); + --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); + + --vt-c-text-light-1: var(--vt-c-indigo); + --vt-c-text-light-2: rgba(60, 60, 60, 0.66); + --vt-c-text-dark-1: var(--vt-c-white); + --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); +} + +/* semantic color variables for this project */ +:root { + --color-background: var(--vt-c-white); + --color-background-soft: var(--vt-c-white-soft); + --color-background-mute: var(--vt-c-white-mute); + + --color-border: var(--vt-c-divider-light-2); + --color-border-hover: var(--vt-c-divider-light-1); + + --color-heading: var(--vt-c-text-light-1); + --color-text: var(--vt-c-text-light-1); + + --section-gap: 160px; +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--vt-c-black); + --color-background-soft: var(--vt-c-black-soft); + --color-background-mute: var(--vt-c-black-mute); + + --color-border: var(--vt-c-divider-dark-2); + --color-border-hover: var(--vt-c-divider-dark-1); + + --color-heading: var(--vt-c-text-dark-1); + --color-text: var(--vt-c-text-dark-2); + } +} + +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + position: relative; + font-weight: normal; +} + +body { + min-height: 100vh; + color: var(--color-text); + background: var(--color-background); + transition: color 0.5s, background-color 0.5s; + line-height: 1.6; + font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/assets/main.css" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/assets/main.css" new file mode 100644 index 0000000000000000000000000000000000000000..e8667cd4508b6163e44e675ff899de1896544c84 --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/assets/main.css" @@ -0,0 +1,35 @@ +@import './base.css'; + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + + font-weight: normal; +} + +a, +.green { + text-decoration: none; + color: hsla(160, 100%, 37%, 1); + transition: 0.4s; +} + +@media (hover: hover) { + a:hover { + background-color: hsla(160, 100%, 37%, 0.2); + } +} + +@media (min-width: 1024px) { + body { + display: flex; + place-items: center; + } + + #app { + display: grid; + grid-template-columns: 1fr 1fr; + padding: 0 2rem; + } +} diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/chacao/right.vue" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/chacao/right.vue" new file mode 100644 index 0000000000000000000000000000000000000000..f9ee9c4cfee2bcbfdc193129d47509ae2230d872 --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/chacao/right.vue" @@ -0,0 +1,13 @@ + + + \ No newline at end of file diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconCommunity.vue" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconCommunity.vue" new file mode 100644 index 0000000000000000000000000000000000000000..2dc8b055253af30fb797037e2fe260505f0cf711 --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconCommunity.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconDocumentation.vue" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconDocumentation.vue" new file mode 100644 index 0000000000000000000000000000000000000000..6d4791cfbcf2782b3e5ffbabd042d4c47b2fbbed --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconDocumentation.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconEcosystem.vue" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconEcosystem.vue" new file mode 100644 index 0000000000000000000000000000000000000000..c3a4f078c0bd340a33c61ea9ecd8a755d03571ed --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconEcosystem.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconSupport.vue" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconSupport.vue" new file mode 100644 index 0000000000000000000000000000000000000000..7452834d3ef961ce24c3a072ddba2620b6158bae --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconSupport.vue" @@ -0,0 +1,7 @@ + diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconTooling.vue" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconTooling.vue" new file mode 100644 index 0000000000000000000000000000000000000000..660598d7c76644ffe126a1a1feb1606650bfb937 --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/components/icons/IconTooling.vue" @@ -0,0 +1,19 @@ + + diff --git "a/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/main.js" "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/main.js" new file mode 100644 index 0000000000000000000000000000000000000000..8461739fd10b7654f14c4c09e32e50fce3c9dbab --- /dev/null +++ "b/\344\275\234\344\270\232/\346\217\222\346\247\275/p/src/main.js" @@ -0,0 +1,5 @@ +import { createApp } from 'vue' +import App from './App.vue' + + +createApp(App).mount('#app')