From ca7751ce6a45ab317305933723102c737debb890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=90=91=E6=96=87=E5=8F=AF?= <1041367524@qq.com>
Date: Fri, 18 Mar 2022 18:12:50 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E7=BB=84=E4=BB=B6=E4=BA=8C=E6=AC=A1?=
=?UTF-8?q?=E5=B0=81=E8=A3=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.vscode/extra.code-snippets | 44 ++++++
src/App.vue | 2 +-
src/components/extra/ElCascader.vue | 4 +-
src/components/extra/ElDialog.vue | 20 +++
src/components/extra/ElDropdown.vue | 4 -
src/components/extra/ElImage.vue | 87 +++++++++++
src/components/extra/ElInput.vue | 53 +++++++
src/components/extra/ElRadioGroup.vue | 61 ++++++++
src/components/extra/ElUploadImage.vue | 202 +++++++++++++++++++++++++
src/views/home/index.vue | 10 ++
10 files changed, 480 insertions(+), 7 deletions(-)
create mode 100644 .vscode/extra.code-snippets
create mode 100644 src/components/extra/ElImage.vue
create mode 100644 src/components/extra/ElInput.vue
create mode 100644 src/components/extra/ElRadioGroup.vue
create mode 100644 src/components/extra/ElUploadImage.vue
diff --git a/.vscode/extra.code-snippets b/.vscode/extra.code-snippets
new file mode 100644
index 0000000..e229412
--- /dev/null
+++ b/.vscode/extra.code-snippets
@@ -0,0 +1,44 @@
+{
+ // Place your shop-admin 工作区 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
+ // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
+ // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
+ // used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
+ // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
+ // Placeholders with the same ids are connected.
+ // Example:
+ // "Print to console": {
+ // "scope": "javascript,typescript",
+ // "prefix": "log",
+ // "body": [
+ // "console.log('$1');",
+ // "$2"
+ // ],
+ // "description": "Log output to console"
+ // }
+ "import element plus component": {
+ "scope": "javascript,typescript",
+ "prefix": "import ele",
+ "body": [
+ "import { ${1:El} } from 'element-plus/es/components/$2/index';",
+ "import 'element-plus/es/components/$2/style/css';"
+ ],
+ "description": "按需引用ElementPlus组件及其样式"
+ },
+ "vbase extra component": {
+ "scope": "vue",
+ "prefix": "vbase extra",
+ "body": [
+ "\n