diff --git a/src/views/email/index.vue b/src/views/email/index.vue new file mode 100644 index 0000000..7d2916e --- /dev/null +++ b/src/views/email/index.vue @@ -0,0 +1,2525 @@ +我来帮您将 `email-admin.html` 转换为 Vue 组件 `email/index.vue`。这是一个完整的邮件管理系统,需要将HTML、CSS和JavaScript逻辑转换为Vue的组件形式。 + +```vue:src/views/email/index.vue + + + + + + + + + + + + 邮件模板 + + + + 选择邮件模板 + + + 创建模板 + + + + + + + + + + + + + + {{ template.name }} + + {{ template.createTime }} + 使用{{ template.useCount }}次 + {{ template.variables.length }}个变量 + + + + + + + + + + 编辑 + + + 复制 + + + 删除 + + + + + + + {{ template.description }} + + + + 可用变量: + + {{ '{' + '{' + variable + '}' + '}' }} + + + + + + + + + + + 收件人管理 + + + + 收件人管理 + + 已选择模板:{{ selectedTemplate ? selectedTemplate.name : '未选择' }} + + + + + + Excel批量导入 + + + 点击上传Excel文件 + 支持 .xlsx, .xls 格式 + + + + + Excel文件应包含:姓名、邮箱、课程名称、公司等字段 + + + + + + + 全选用户 + + + + + + + + + + + + + + + {{ recipients.length }} + 总用户数 + + + + {{ selectedRecipients.length }} + 已选择 + + + + {{ validEmailsCount }} + 有效邮箱 + + + + + + + 已选择的收件人 ({{ selectedRecipients.length }}人) + + + 清空选择 + + + 导出选中 + + + + + + + + + + + + + + + + + + + + + 暂未选择收件人 + + + + + + + 上一步:选择模板 + + + + 下一步:批量发送 + + + + + + + 批量发送 + + + + 批量发送确认 + + 模板:{{ selectedTemplate ? selectedTemplate.name : '-' }} + 收件人:{{ selectedRecipients.length }}人 + + + + + + 收件人预览(前3条) + + + + + + + + + 还有 {{ selectedRecipients.length - 3 }} 位收件人未显示 + + + + 发送设置 + + + + + + + + + 立即发送 + 定时发送 + + + + + + + + + + + 先发送测试邮件到我的邮箱 + + + + + + + 邮件内容预览 + + 邮件预览 + 以第一位收件人为示例 + + + + + + + + + 上一步:选择收件人 + + + + 确定发送 + + + + + + 发送进度 + + + + + {{ status.name }} ({{ status.email }}) + + {{ getStatusText(status.status) }} + + + + + + + + 发送记录 + + + + 发送记录 + + + + + + + + + + + + + {{ scope.row.recipientCount }}人 + + + + {{ scope.row.successCount }} / + {{ scope.row.failCount }} + + + + + + {{ scope.row.status === 'completed' ? '已完成' : '进行中' }} + + + + + + 详情 + + + + + + + + + + + + + + + + + + + + + + {{ '{' + '{' + variable + '}' + '}' }} + + + + + + + + + + + + + + + + + + 取消 + 保存模板 + + + + + + + + + \ No newline at end of file diff --git a/src/views/library/index.vue b/src/views/library/index.vue index 72a9639..42f3f65 100644 --- a/src/views/library/index.vue +++ b/src/views/library/index.vue @@ -1,408 +1,732 @@ - - - - - - 供需管理 - - - {{ pendingCount }} - 待审核 - + + + + + + 图书管理 + + + 添加图书 + + + + + + + 1,247 + 总图书数量 - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 - - - 导出数据 - - + + 856 + 可借阅 - - - - - - - - - {{ scope.row.title }} - {{ scope.row.description }} - - - - - {{ scope.row.typeText }} - - - - - - {{ scope.row.publisher.name.charAt(0) }} - - {{ scope.row.publisher.name }} - {{ scope.row.publisher.year }}届 - - - - - - - {{ scope.row.statusText }} - - - - - {{ scope.row.priorityText }} - - - - - {{ scope.row.publishDate }} - {{ scope.row.publishTime }} - - - - - - {{ scope.row.auditDate }} - {{ scope.row.auditTime }} - - - - - - - - - 通过 - 隐藏 - 编辑 - 拒绝 - 详情 - - - - + + 391 + 已借出 - - - - + + 23 + 维护中 - - - - - - \ No newline at end of file +} + \ No newline at end of file
{{ template.description }}
支持 .xlsx, .xls 格式