diff --git a/package.json b/package.json
index 559632c7..8a3847fb 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,6 @@
"@halo-dev/admin-api": "^1.0.0",
"@vueuse/core": "^8.5.0",
"pinia": "^2.0.14",
- "tailwindcss-safe-area": "^0.2.2",
"tippy.js": "^6.3.7",
"vue": "^3.2.33",
"vue-router": "^4.0.15"
@@ -54,6 +53,7 @@
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.0.24",
"tailwindcss-themeable": "^1.3.0",
+ "tailwindcss-safe-area": "^0.2.2",
"typescript": "~4.6.4",
"unplugin-icons": "^0.14.3",
"vite": "^2.9.9",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cf4e63ed..90b7e8a3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -48,7 +48,6 @@ dependencies:
'@halo-dev/admin-api': 1.0.0
'@vueuse/core': 8.5.0_vue@3.2.33
pinia: 2.0.14_ytvqwwdyss532bvoq2clv4ed5m
- tailwindcss-safe-area: 0.2.2
tippy.js: 6.3.7
vue: 3.2.33
vue-router: 4.0.15_vue@3.2.33
@@ -80,6 +79,7 @@ devDependencies:
sass: 1.51.0
start-server-and-test: 1.14.0
tailwindcss: 3.0.24
+ tailwindcss-safe-area: 0.2.2
tailwindcss-themeable: 1.3.0
typescript: 4.6.4
unplugin-icons: 0.14.3_vite@2.9.9
@@ -5931,7 +5931,7 @@ packages:
/tailwindcss-safe-area/0.2.2:
resolution: {integrity: sha512-sygGuEFFBBzjqR6d2gB9hDW9xX/4yLt7ymhR2E/XVa6Ar4B86Net8/9EmPAsqFUvXY40+W0HnXwFavFJEM+eCQ==}
- dev: false
+ dev: true
/tailwindcss-themeable/1.3.0:
resolution: {integrity: sha512-AmZrk3yAZaJqfrbGast24KrFDtD21rwil05xuqNMFPWTswCHyFugetPk9vy1X+KD4ZTAFWZwW2ULov6VUeK/1A==}
diff --git a/src/core/icons.ts b/src/core/icons.ts
index 3fcc534c..24d57e5a 100644
--- a/src/core/icons.ts
+++ b/src/core/icons.ts
@@ -42,6 +42,10 @@ import IconInformation from "~icons/ri/information-line";
import IconCloseCircle from "~icons/ri/close-circle-line";
// @ts-ignore
import IconDeleteBin from "~icons/ri/delete-bin-2-line";
+// @ts-ignore
+import IconAddCircle from "~icons/ri/add-circle-line";
+// @ts-ignore
+import IconSave from "~icons/ri/save-line";
export {
IconDashboard,
@@ -66,4 +70,6 @@ export {
IconInformation,
IconCloseCircle,
IconDeleteBin,
+ IconAddCircle,
+ IconSave,
};
diff --git a/src/views/contents/attachments/AttachmentList.vue b/src/views/contents/attachments/AttachmentList.vue
index f71186c6..9333ad32 100644
--- a/src/views/contents/attachments/AttachmentList.vue
+++ b/src/views/contents/attachments/AttachmentList.vue
@@ -4,9 +4,11 @@ import { VButton } from "@/components/base/button";
import { VModal } from "@/components/base/modal";
import { IconPalette, IconSettings } from "@/core/icons";
import { VCard } from "@/components/base/card";
+import { VSpace } from "@/components/base/space";
import { ref } from "vue";
const strategyVisible = ref(false);
+const attachmentSelectVisible = ref(false);
const strategies = ref([
{
@@ -34,12 +36,52 @@ const selected = ref(strategies.value[0].id);
+ {{ i * 100 }}
+
+
+