From 706aebe7c275ada2456f974afcc710442aa2bb6c Mon Sep 17 00:00:00 2001 From: luoer Date: Wed, 20 Dec 2023 17:38:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E7=B4=A0=E6=9D=90?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/content/material/index.vue | 43 +++-- src/pages/user/index.vue | 247 ++++++++++++--------------- src/styles/css-base.less | 8 + 3 files changed, 138 insertions(+), 160 deletions(-) diff --git a/src/pages/content/material/index.vue b/src/pages/content/material/index.vue index 178163d..3864bce 100644 --- a/src/pages/content/material/index.vue +++ b/src/pages/content/material/index.vue @@ -1,17 +1,23 @@ @@ -63,7 +69,7 @@ const { return (
- {record.mimetype.startsWith('image') ? ( + {record.mimetype.startsWith('image1') ? ( @@ -106,13 +112,6 @@ const { title: '操作', width: 160, buttons: [ - { - text: '下载', - onClick: props => { - window.open(props.record.path, '_blank'); - }, - icon: 'icon-park-outline-download', - }, { type: 'modify', text: '修改', @@ -171,9 +170,9 @@ const { width: '100px', }, triggerProps: { - autoFitPopupMinWidth: true - } - } + autoFitPopupMinWidth: true, + }, + }, }, { field: 'name', diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue index b156db1..7eaa1f6 100644 --- a/src/pages/user/index.vue +++ b/src/pages/user/index.vue @@ -1,60 +1,16 @@ @@ -196,7 +164,17 @@ import { useAppStore } from '@/store'; import { reactive } from 'vue'; -const appStore = useAppStore() +const appStore = useAppStore(); + +const mail = reactive({ + enable: true, + smtpHost: '10.10.10.30', + smtpPort: 25, + sender: 'no-reply@juetan.cn', + authNeed: true, + authUser: '952222@163.com', + authPass: 'FenZyealdsa@s92.', +}); const user = reactive({ nickname: '绝弹', @@ -215,8 +193,10 @@ const user = reactive({