From dc358fb0e4c1e6f7ee27a4112491e2a3bda75ab3 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Mon, 1 Sep 2025 17:13:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E6=97=A7=E7=89=88?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E7=A8=BF=E4=BB=B6=E5=AE=A1=E6=A0=B8=E6=97=A7=E7=89=88=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router copy/app-menus/index.ts | 20 - src/router copy/constants.ts | 30 -- src/router copy/guard/index.ts | 27 - src/router copy/guard/permission.ts | 29 -- src/router copy/guard/userLoginInfo.ts | 45 -- src/router copy/index.ts | 48 -- src/router copy/routes/base.ts | 35 -- src/router copy/routes/index.ts | 22 - src/router copy/routes/modules/agent.ts | 65 --- src/router copy/routes/modules/dataEngine.ts | 89 ---- src/router copy/routes/modules/management.ts | 56 --- .../routes/modules/propertyMarketing.ts | 227 --------- src/router copy/routes/types.ts | 19 - src/router copy/typeings.d.ts | 20 - .../modules/creativeGenerationWorkshop.ts | 142 ------ .../routes/modules/manuscript-writer.ts | 115 ----- .../ai-suggest/delete-comment-modal.vue | 39 -- .../detail/components/ai-suggest/index.vue | 320 ------------ .../detail/components/ai-suggest/style.scss | 121 ----- .../explore/detail/constants.ts | 44 -- .../explore/detail/index.vue | 275 ---------- .../explore/detail/style.scss | 135 ----- .../explore/list/index.vue | 117 ----- .../explore/list/style.scss | 75 --- .../components/filter-block/index.vue | 141 ------ .../delete-manuscript-modal.vue | 53 -- .../manuscript-check-table/index.vue | 195 ------- .../manuscript-check-table/style.scss | 19 - .../manuscript-writer/check-list/constants.ts | 249 --------- .../manuscript-writer/check-list/index.vue | 204 -------- .../manuscript-writer/check-list/style.scss | 35 -- .../check/cancel-check-modal.vue | 58 --- .../check/check-success-modal.vue | 81 --- .../components/check-list-drawer/index.vue | 87 ---- .../components/check-list-drawer/style.scss | 45 -- .../components/content-card/constants.ts | 57 --- .../content-card/highlight-textarea.vue | 233 --------- .../check/components/content-card/index.vue | 475 ----------------- .../check/components/content-card/style.scss | 202 -------- .../check/components/header-card/index.vue | 116 ----- .../check/components/header-card/style.scss | 74 --- .../manuscript-writer/check/index.vue | 264 ---------- .../manuscript-writer/check/style.scss | 48 -- .../components/edit-form/img-box.vue | 99 ---- .../components/edit-form/index.vue | 376 -------------- .../components/edit-form/style.scss | 32 -- .../manuscript-writer/detail/index.vue | 204 -------- .../manuscript-writer/detail/style.scss | 69 --- .../edit/cancel-edit-modal.vue | 35 -- .../manuscript-writer/edit/index.vue | 143 ------ .../manuscript-writer/edit/style.scss | 28 -- .../list/components/filter-block/index.vue | 149 ------ .../components/manuscript-table/constants.ts | 68 --- .../delete-manuscript-modal.vue | 53 -- .../components/manuscript-table/index.vue | 144 ------ .../components/manuscript-table/style.scss | 16 - .../upload-manuscript-modal/index.vue | 374 -------------- .../upload-manuscript-modal/style.scss | 31 -- .../manuscript-writer/list/constants.ts | 56 --- .../manuscript-writer/list/index.vue | 114 ----- .../manuscript-writer/list/style.scss | 22 - .../upload/cancel-upload-modal.vue | 39 -- .../manuscript-writer/upload/index.vue | 323 ------------ .../manuscript-writer/upload/style.scss | 32 -- .../upload/upload-success-modal.vue | 65 --- .../components/filter-block/index.vue | 141 ------ .../delete-manuscript-modal.vue | 58 --- .../manuscript-check-table/index.vue | 200 -------- .../manuscript-check-table/style.scss | 19 - .../manuscript/check-list/constants.ts | 259 ---------- .../manuscript/check-list/index.vue | 201 -------- .../manuscript/check-list/style.scss | 35 -- .../manuscript/check/cancel-check-modal.vue | 57 --- .../manuscript/check/check-success-modal.vue | 61 --- .../components/check-list-drawer/index.vue | 87 ---- .../components/check-list-drawer/style.scss | 45 -- .../components/content-card/constants.ts | 57 --- .../content-card/highlight-textarea.vue | 234 --------- .../check/components/content-card/index.vue | 476 ------------------ .../check/components/content-card/style.scss | 205 -------- .../check/components/header-card/index.vue | 116 ----- .../check/components/header-card/style.scss | 74 --- .../manuscript/check/index.vue | 266 ---------- .../manuscript/check/style.scss | 48 -- .../components/edit-form/img-box.vue | 99 ---- .../manuscript/components/edit-form/index.vue | 373 -------------- .../components/edit-form/style.scss | 38 -- .../share-manuscript-modal/constants.ts | 40 -- .../share-manuscript-modal/index.vue | 296 ----------- .../share-manuscript-modal/share-modal.vue | 152 ------ .../share-manuscript-modal/style.scss | 68 --- .../manuscript/detail/index.vue | 203 -------- .../manuscript/detail/style.scss | 71 --- .../manuscript/edit/cancel-edit-modal.vue | 34 -- .../manuscript/edit/index.vue | 142 ------ .../manuscript/edit/style.scss | 28 -- .../list/components/filter-block/index.vue | 149 ------ .../components/manuscript-table/constants.ts | 73 --- .../delete-manuscript-modal.vue | 58 --- .../components/manuscript-table/index.vue | 157 ------ .../components/manuscript-table/style.scss | 16 - .../upload-manuscript-modal/index.vue | 417 --------------- .../upload-manuscript-modal/style.scss | 31 -- .../manuscript/list/constants.ts | 56 --- .../manuscript/list/index.vue | 121 ----- .../manuscript/list/style.scss | 22 - .../manuscript/upload/cancel-upload-modal.vue | 38 -- .../manuscript/upload/index.vue | 325 ------------ .../manuscript/upload/style.scss | 32 -- .../upload/upload-success-modal.vue | 64 --- .../list/components/filter-block/index.vue | 2 +- 111 files changed, 1 insertion(+), 12966 deletions(-) delete mode 100644 src/router copy/app-menus/index.ts delete mode 100644 src/router copy/constants.ts delete mode 100644 src/router copy/guard/index.ts delete mode 100644 src/router copy/guard/permission.ts delete mode 100644 src/router copy/guard/userLoginInfo.ts delete mode 100644 src/router copy/index.ts delete mode 100644 src/router copy/routes/base.ts delete mode 100644 src/router copy/routes/index.ts delete mode 100644 src/router copy/routes/modules/agent.ts delete mode 100644 src/router copy/routes/modules/dataEngine.ts delete mode 100644 src/router copy/routes/modules/management.ts delete mode 100644 src/router copy/routes/modules/propertyMarketing.ts delete mode 100644 src/router copy/routes/types.ts delete mode 100644 src/router copy/typeings.d.ts delete mode 100644 src/router/routes/modules/creativeGenerationWorkshop.ts delete mode 100644 src/router/routes/modules/manuscript-writer.ts delete mode 100644 src/views/creative-generation-workshop/explore/detail/components/ai-suggest/delete-comment-modal.vue delete mode 100644 src/views/creative-generation-workshop/explore/detail/components/ai-suggest/index.vue delete mode 100644 src/views/creative-generation-workshop/explore/detail/components/ai-suggest/style.scss delete mode 100644 src/views/creative-generation-workshop/explore/detail/constants.ts delete mode 100644 src/views/creative-generation-workshop/explore/detail/index.vue delete mode 100644 src/views/creative-generation-workshop/explore/detail/style.scss delete mode 100644 src/views/creative-generation-workshop/explore/list/index.vue delete mode 100644 src/views/creative-generation-workshop/explore/list/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check-list/components/filter-block/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/delete-manuscript-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check-list/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check-list/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check-list/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/cancel-check-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/check-success-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/components/check-list-drawer/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/components/check-list-drawer/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/highlight-textarea.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/components/header-card/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/components/header-card/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/check/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/components/edit-form/img-box.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/components/edit-form/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/components/edit-form/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/detail/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/detail/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/edit/cancel-edit-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/edit/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/edit/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/components/filter-block/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/delete-manuscript-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/list/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/upload/cancel-upload-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/upload/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/upload/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript-writer/upload/upload-success-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check-list/components/filter-block/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/delete-manuscript-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/check-list/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript/check-list/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check-list/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/check/cancel-check-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check/check-success-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/check-list-drawer/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/check-list-drawer/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/content-card/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/content-card/highlight-textarea.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/content-card/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/content-card/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/header-card/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/header-card/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/check/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/check/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/components/edit-form/img-box.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/components/edit-form/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/components/edit-form/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/share-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/detail/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/detail/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/edit/cancel-edit-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/edit/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/edit/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/list/components/filter-block/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/delete-manuscript-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/list/components/upload-manuscript-modal/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/list/components/upload-manuscript-modal/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/list/constants.ts delete mode 100644 src/views/creative-generation-workshop/manuscript/list/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/list/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/upload/cancel-upload-modal.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/upload/index.vue delete mode 100644 src/views/creative-generation-workshop/manuscript/upload/style.scss delete mode 100644 src/views/creative-generation-workshop/manuscript/upload/upload-success-modal.vue diff --git a/src/router copy/app-menus/index.ts b/src/router copy/app-menus/index.ts deleted file mode 100644 index 9a8a4f0..0000000 --- a/src/router copy/app-menus/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * @Author: RenXiaoDong - * @Date: 2025-06-19 01:45:53 - */ -import { appRoutes } from '../routes'; - -const mixinRoutes = [...appRoutes]; - -const appClientMenus = mixinRoutes.map((el) => { - const { name, path, meta, redirect, children } = el; - return { - name, - path, - meta, - redirect, - children, - }; -}); - -export default mixinRoutes; diff --git a/src/router copy/constants.ts b/src/router copy/constants.ts deleted file mode 100644 index 1b17254..0000000 --- a/src/router copy/constants.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * @Author: RenXiaoDong - * @Date: 2025-06-24 16:50:35 - */ -export const WHITE_LIST = [ - { name: 'notFound', children: [] }, - { name: 'login', children: [] }, -]; - -export const NOT_FOUND = { - name: 'notFound', -}; - -export const REDIRECT_ROUTE_NAME = 'Redirect'; - -export const DEFAULT_ROUTE_NAME = 'main'; - -export const DEFAULT_ROUTE = { - title: '首页', - name: DEFAULT_ROUTE_NAME, - fullPath: '/', -}; - -export const MENU_GROUP_IDS = { - DATA_ENGINE_ID: 1, // 全域数据分析 - MANAGEMENT_ID: -1, // 管理中心 - PROPERTY_ID: 10, // 资产营销平台 - WORK_BENCH_ID: -99, // 工作台 - AGENT: 2, // 智能体 -}; diff --git a/src/router copy/guard/index.ts b/src/router copy/guard/index.ts deleted file mode 100644 index 983ba1a..0000000 --- a/src/router copy/guard/index.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * @Author: 田鑫 - * @Date: 2023-03-05 18:14:17 - * @LastEditors: Please set LastEditors - * @LastEditTime: 2025-06-23 04:10:41 - * @Description: - */ -import type { Router } from 'vue-router'; -import { setRouteEmitter } from '@/utils/route-listener'; -import setupUserLoginInfoGuard from './userLoginInfo'; -import { MENU_GROUP_IDS } from '@/router/constants'; -// import setupPermissionGuard from './permission'; - -function setupPageGuard(router: Router) { - router.beforeEach(async (to) => { - // emit route change - setRouteEmitter(to); - }); -} - - -export default function createRouteGuard(router: Router) { - - setupPageGuard(router); - setupUserLoginInfoGuard(router); - // setupPermissionGuard(router); -} diff --git a/src/router copy/guard/permission.ts b/src/router copy/guard/permission.ts deleted file mode 100644 index 9b32487..0000000 --- a/src/router copy/guard/permission.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * @Author: 田鑫 - * @Date: 2023-03-05 14:46:43 - * @LastEditors: Please set LastEditors - * @LastEditTime: 2025-06-23 04:07:43 - * @Description: 路由权限守卫 - */ -// import type { Router, RouteRecordNormalized } from 'vue-router'; -// import NProgress from 'nprogress'; // progress bar -// import { useAppStore } from '@/stores'; - -// export default function setupPermissionGuard(router: Router) { -// router.beforeEach(async (to, from, next) => { -// console.log('access permission router guard'); -// const appStore = useAppStore(); -// //* 菜单是否为服务端渲染 -// if (appStore.menuFromServer) { -// //* 没有服务端渲染的菜单 -// if (!appStore.appAsyncMenus) { -// // todo 请求服务端渲染菜单的接口,当前为mock数据 -// // await appStore.fetchServerMenuConfig(); -// } -// next(); -// } else { -// next(); -// } -// NProgress.done(); -// }); -// } diff --git a/src/router copy/guard/userLoginInfo.ts b/src/router copy/guard/userLoginInfo.ts deleted file mode 100644 index 729750c..0000000 --- a/src/router copy/guard/userLoginInfo.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * @Author: RenXiaoDong - * @Date: 2025-06-22 22:59:16 - */ -import type { Router } from 'vue-router'; -import NProgress from 'nprogress'; -import { goUserLogin } from '@/utils/user'; -// import router from '@/router'; -// import { checkRoutePermission } from '@/permission/permission'; - -import { useUserStore } from '@/stores/modules/user'; - -export default function setupUserLoginInfoGuard(router: Router) { - router.beforeEach(async (to, from, next) => { - NProgress.start(); - const userStore = useUserStore(); - - const routeName = to?.name as string; - const requiresAuth = to?.meta?.requiresAuth || false; - const requireLogin = to?.meta?.requireLogin || false; - const query = to?.query ?? {}; - - if (requireLogin && !userStore.isLogin) { - goUserLogin(query); - next(); - return; - } - - // if (requiresAuth) { - // const hasPermission = checkRoutePermission(routeName); - // if (!hasPermission) { - // AMessage.error('您没有权限访问该页面'); - // next('/'); - // return; - // } - // next(); - // return; - // } - - next(); - }); - router.afterEach((to) => { - NProgress.done(); - }); -} diff --git a/src/router copy/index.ts b/src/router copy/index.ts deleted file mode 100644 index 0af8eb0..0000000 --- a/src/router copy/index.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* - * @Author: RenXiaoDong - * @Date: 2025-06-22 22:59:16 - */ -import { createRouter, createWebHistory } from 'vue-router'; -import { appRoutes } from './routes'; -import { NOT_FOUND_ROUTE } from './routes/base'; -import NProgress from 'nprogress'; -import 'nprogress/nprogress.css'; -import { MENU_GROUP_IDS } from './constants'; -import createRouteGuard from './guard'; - -NProgress.configure({ showSpinner: false }); // NProgress Configuration - -export const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/login', - name: 'UserLogin', - component: () => import('@/views/components/login'), - meta: { - requiresAuth: false, - requireLogin: false, - }, - }, - { - path: '/', - name: 'Home', - component: () => import('@/views/components/workplace'), - meta: { - hideSidebar: true, - requiresAuth: false, - requireLogin: true, - id: MENU_GROUP_IDS.WORK_BENCH_ID, - }, - }, - ...appRoutes, - NOT_FOUND_ROUTE, - ], - scrollBehavior() { - return { top: 0 }; - }, -}); - -createRouteGuard(router); - -export default router; diff --git a/src/router copy/routes/base.ts b/src/router copy/routes/base.ts deleted file mode 100644 index f10ef89..0000000 --- a/src/router copy/routes/base.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RouteRecordRaw } from 'vue-router'; -import { REDIRECT_ROUTE_NAME } from '@/router/constants'; - -// export const REDIRECT_MAIN: RouteRecordRaw = { -// path: '/redirect', -// name: 'redirect', -// meta: { -// requiresAuth: false, -// requireLogin: false, -// hideInMenu: true, -// }, -// children: [ -// { -// path: '/redirect/:path', -// name: REDIRECT_ROUTE_NAME, -// component: () => import('@/layouts/Basic.vue'), -// meta: { -// requiresAuth: false, -// requireLogin: false, -// hideInMenu: true, -// }, -// }, -// ], -// }; - -export const NOT_FOUND_ROUTE: RouteRecordRaw = { - path: '/:pathMatch(.*)*', - name: 'notFound', - component: () => import('@/layouts/NotFound.vue'), - meta: { - requiresAuth: false, - hideInMenu: true, - hideSidebar: true, - }, -}; diff --git a/src/router copy/routes/index.ts b/src/router copy/routes/index.ts deleted file mode 100644 index 433925f..0000000 --- a/src/router copy/routes/index.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RouteRecordNormalized } from 'vue-router'; -// import { REDIRECT_MAIN, NOT_FOUND_ROUTE } from './base'; -import { MENU_GROUP_IDS } from '@/router/constants'; - -const modules = import.meta.glob('./modules/*.ts', { eager: true }); -// const externalModules = import.meta.glob('./externalModules/*.ts', { -// eager: true, -// }); - -function formatModules(_modules: any, result: RouteRecordNormalized[]) { - Object.keys(_modules).forEach((key) => { - const defaultModule = _modules[key].default; - if (!defaultModule) return; - const moduleList = Array.isArray(defaultModule) ? [...defaultModule] : [defaultModule]; - result.push(...moduleList); - }); - return result; -} - -export const appRoutes: RouteRecordNormalized[] = formatModules(modules, []); - -// export const appExternalRoutes: RouteRecordNormalized[] = formatModules(externalModules, []); diff --git a/src/router copy/routes/modules/agent.ts b/src/router copy/routes/modules/agent.ts deleted file mode 100644 index 3617ce0..0000000 --- a/src/router copy/routes/modules/agent.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { AppRouteRecordRaw } from '../types'; -import { MENU_GROUP_IDS } from '@/router/constants'; - -import IconRepository from '@/assets/svg/svg-agent.svg'; - -const COMPONENTS: AppRouteRecordRaw[] = [ - { - path: '/agent', - name: 'Agent', - redirect: 'agent/index', - meta: { - locale: '灵机ai', - icon: IconRepository, - requiresAuth: true, - requireLogin: true, - roles: ['*'], - id: MENU_GROUP_IDS.AGENT, - }, - children: [ - { - path: 'index', - name: 'AgentIndex', - component: () => import('@/views/agent/index'), - meta: { - locale:'智能体应用', - requiresAuth: false, - requireLogin: true, - hideFooter: true, - isAgentRoute: true - }, - }, - { - path: 'chat', - name: 'AgentChat', - component: () => import('@/views/agent/chat'), - meta: { - hideSidebar: true, - requiresAuth: false, - requireLogin: true, - hideFooter: true, - id: MENU_GROUP_IDS.AGENT, - isAgentRoute: true, - hideInMenu: true, - }, - }, - - { - path: 'workFlow', - name: 'AgentWorkFlow', - component: () => import('@/views/agent/work-flow'), - meta: { - hideSidebar: true, - requiresAuth: false, - requireLogin: true, - hideFooter: true, - id: MENU_GROUP_IDS.AGENT, - isAgentRoute: true, - hideInMenu: true, - }, - }, - ], - }, -]; - -export default COMPONENTS; diff --git a/src/router copy/routes/modules/dataEngine.ts b/src/router copy/routes/modules/dataEngine.ts deleted file mode 100644 index 60828fc..0000000 --- a/src/router copy/routes/modules/dataEngine.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { IconBookmark } from '@arco-design/web-vue/es/icon'; -import type { AppRouteRecordRaw } from '../types'; -import { MENU_GROUP_IDS } from '@/router/constants'; - -const COMPONENTS: AppRouteRecordRaw[] = [ - { - path: '/dataEngine', - name: 'DataEngine', - redirect: 'dataEngine/hotTranslation', - meta: { - locale: '全域数据引擎', - icon: IconBookmark, - requiresAuth: true, - requireLogin: true, - roles: ['*'], - id: MENU_GROUP_IDS.DATA_ENGINE_ID, - }, - children: [ - { - path: 'hotTranslation', - name: 'DataEngineHotTranslation', - meta: { - locale: '行业热门话题洞察', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/components/dataEngine/hotTranslation.vue'), - }, - { - path: 'hotCloud', - name: 'DataEngineHotCloud', - meta: { - locale: '行业词云', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/components/dataEngine/hotCloud.vue'), - }, - { - path: 'keyWord', - name: 'DataEngineKeyWord', - meta: { - locale: '行业关键词动向', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/components/dataEngine/keyWord.vue'), - }, - { - path: 'userPainPoints', - name: 'DataEngineUserPainPoints', - meta: { - locale: '用户痛点观察', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/components/dataEngine/userPainPoints.vue'), - }, - { - path: 'keyBrandMovement', - name: 'DataEngineKeyBrandMovement', - meta: { - locale: '重点品牌动向', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/components/dataEngine/keyBrandMovement.vue'), - }, - { - path: 'userPersona', - name: 'DataEngineUserPersona', - meta: { - locale: '用户画像', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/components/dataEngine/userPersona.vue'), - }, - ], - }, -]; - -export default COMPONENTS; diff --git a/src/router copy/routes/modules/management.ts b/src/router copy/routes/modules/management.ts deleted file mode 100644 index 4539afc..0000000 --- a/src/router copy/routes/modules/management.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { IconBookmark } from '@arco-design/web-vue/es/icon'; -import type { AppRouteRecordRaw } from '../types'; -import { MENU_GROUP_IDS } from '@/router/constants'; - -const COMPONENTS: AppRouteRecordRaw[] = [ - { - path: '/management', - name: 'Management', - redirect: 'management/person', - meta: { - locale: '管理中心', - icon: IconBookmark, - requiresAuth: false, - requireLogin: true, - roles: ['*'], - id: MENU_GROUP_IDS.MANAGEMENT_ID, - }, - children: [ - { - path: 'person', - name: 'ManagementPerson', - component: () => import('@/views/components/management/person'), - meta: { - locale: '个人信息', - requiresAuth: false, - requireLogin: true, - roles: ['*'], - }, - }, - { - path: 'enterprise', - name: 'ManagementEnterprise', - component: () => import('@/views/components/management/enterprise'), - meta: { - locale: '企业信息', - requiresAuth: false, - requireLogin: true, - roles: ['*'], - }, - }, - { - path: 'account', - name: 'ManagementAccount', - component: () => import('@/views/components/management/account'), - meta: { - locale: '账号管理', - requiresAuth: false, - requireLogin: true, - roles: ['*'], - }, - }, - ], - }, -]; - -export default COMPONENTS; diff --git a/src/router copy/routes/modules/propertyMarketing.ts b/src/router copy/routes/modules/propertyMarketing.ts deleted file mode 100644 index 79f8f33..0000000 --- a/src/router copy/routes/modules/propertyMarketing.ts +++ /dev/null @@ -1,227 +0,0 @@ -/** - * 资产营销平台 - */ - -import type { AppRouteRecordRaw } from '../types'; -import { MENU_GROUP_IDS } from '@/router/constants'; - -import IconRepository from '@/assets/svg/svg-repository.svg'; -import IconMediaAccount from '@/assets/svg/svg-mediaAccount.svg'; -import IconPutAccount from '@/assets/svg/svg-putAccount.svg'; -import IconIntelligentSolution from '@/assets/svg/svg-intelligentSolution.svg'; -import IconProjectManagement from '@/assets/svg/svg-projectManagement.svg'; - -const COMPONENTS: AppRouteRecordRaw[] = [ - { - path: '/repository', - name: 'Repository', - redirect: 'repository/brandMaterials', - meta: { - locale: '品牌资产管理', - icon: IconRepository, - requiresAuth: true, - requireLogin: true, - roles: ['*'], - id: MENU_GROUP_IDS.PROPERTY_ID, - }, - children: [ - { - path: 'brandMaterials', - name: 'RepositoryBrandMaterials', - meta: { - locale: '品牌信息', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/property-marketing/brands/brand-materials/index.vue'), - }, - ], - }, - { - path: '/media-account', - name: 'MediaAccount', - redirect: 'media-account/accountManagement', - meta: { - locale: '账号资源中心', - icon: IconMediaAccount, - requiresAuth: true, - requireLogin: true, - roles: ['*'], - id: MENU_GROUP_IDS.PROPERTY_ID, - }, - children: [ - { - path: 'manage', - name: 'MediaAccountAccountManagement', - meta: { - locale: '账号管理', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/property-marketing/media-account/account-manage'), - }, - { - path: 'dashboard', - name: 'MediaAccountAccountDashboard', - meta: { - locale: '账号数据看板', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/property-marketing/media-account/account-dashboard'), - }, - { - path: 'detail/:id', - name: 'MediaAccountAccountDetails', - meta: { - locale: '账号详情', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - hideInMenu: true, - activeMenu: 'MediaAccountAccountDashboard', - }, - component: () => import('@/views/property-marketing/media-account/account-detail'), - }, - ], - }, - { - path: '/put-account', - name: 'PutAccount', - redirect: 'put-account/accountManagement', - meta: { - locale: '投放资源中心', - icon: IconPutAccount, - requiresAuth: true, - requireLogin: true, - roles: ['*'], - id: MENU_GROUP_IDS.PROPERTY_ID, - }, - children: [ - { - path: 'manage', - name: 'PutAccountAccountManagement', - meta: { - locale: '账户管理', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/property-marketing/put-account/account-manage'), - }, - { - path: 'data', - name: 'PutAccountAccountData', - meta: { - locale: '账户数据', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/property-marketing/put-account/account-data'), - }, - { - path: 'account-dashboard', - name: 'PutAccountAccountDashboard', - meta: { - locale: '投放表现分析', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/property-marketing/put-account/account-dashboard'), - }, - { - path: 'investmentGuidelines', - name: 'PutAccountInvestmentGuidelines', - meta: { - locale: '投放指南', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/property-marketing/put-account/investment-guidelines'), - }, - { - path: 'detail/:id', - name: 'PutAccountInvestmentGuidelinesDetail', - meta: { - locale: '投放指南详情', - requiresAuth: true, - hideInMenu: true, - roles: ['*'], - activeMenu: 'PutAccountInvestmentGuidelines', - }, - component: () => import('@/views/property-marketing/put-account/investment-guidelines/detail'), - }, - ], - }, - // { - // path: '/intelligent-solution', - // name: 'IntelligentSolution', - // redirect: 'intelligent-solution/businessAnalysisReport', - // meta: { - // locale: '智能方案管理', - // icon: IconIntelligentSolution, - // requiresAuth: true, - // requireLogin: true, - // roles: ['*'], - // id: MENU_GROUP_IDS.PROPERTY_ID, - // }, - // children: [ - // { - // path: 'businessAnalysisReport', - // name: 'IntelligentSolutionBusinessAnalysisReport', - // meta: { - // locale: '业务洞察报告', - // requiresAuth: true, - // requireLogin: true, - // roles: ['*'], - // }, - // component: () => import('@/views/property-marketing/intelligent-solution/businessAnalysisReport'), - // }, - // { - // path: 'competitiveProductAnalysisReport', - // name: 'IntelligentSolutionCompetitiveProductAnalysisReport', - // meta: { - // locale: '竟品对比报告', - // requiresAuth: true, - // requireLogin: true, - // roles: ['*'], - // }, - // component: () => import('@/views/property-marketing/intelligent-solution/competitiveProductAnalysisReport'), - // }, - // ], - // }, - { - path: '/project-manage', - name: 'ProjectManagement', - redirect: 'project-manage/project-list', - meta: { - locale: '项目管理', - icon: IconProjectManagement, - requiresAuth: true, - requireLogin: true, - roles: ['*'], - id: MENU_GROUP_IDS.PROPERTY_ID, - }, - children: [ - { - path: 'project-list', - name: 'ProjectList', - meta: { - locale: '项目列表', - requiresAuth: true, - requireLogin: true, - roles: ['*'], - }, - component: () => import('@/views/property-marketing/project-manage/project-list'), - }, - ], - }, -]; - -export default COMPONENTS; diff --git a/src/router copy/routes/types.ts b/src/router copy/routes/types.ts deleted file mode 100644 index ab069b8..0000000 --- a/src/router copy/routes/types.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* - * @Author: RenXiaoDong - * @Date: 2025-06-19 01:45:53 - */ -import type { RouteMeta, NavigationGuard, RouteComponent } from 'vue-router'; - -export interface AppRouteRecordRaw { - id?: number; - path: string; - name?: string | symbol; - meta?: RouteMeta; - redirect?: string; - component?: RouteComponent; - children?: AppRouteRecordRaw[]; - alias?: string | string[]; - props?: Record; - beforeEnter?: NavigationGuard | NavigationGuard[]; - fullPath?: string; -} diff --git a/src/router copy/typeings.d.ts b/src/router copy/typeings.d.ts deleted file mode 100644 index c9ab096..0000000 --- a/src/router copy/typeings.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { RouteComponent } from 'vue-router'; - -declare module 'vue-router' { - interface RouteMeta { - roles?: string[]; // Controls roles that have access to the page - requiresAuth?: boolean; // Whether login is required to access the current page (every route must declare) - icon?: RouteComponent | string; // The icon show in the side menu - locale?: string; // The locale name show in side menu and breadcrumb - needNavigate?: boolean; // if set true, the breadcrumb will support navigate - hideInMenu?: boolean; // If true, it is not displayed in the side menu - hideChildrenInMenu?: boolean; // if set true, the children are not displayed in the side menu - activeMenu?: string; // if set name, the menu will be highlighted according to the name you set - order?: number; // Sort routing menu items. If set key, the higher the value, the more forward it is - noAffix?: boolean; // if set true, the tag will not affix in the tab-bar - ignoreCache?: boolean; // if set true, the page will not be cached - hideSidebar?: boolean; - isAgentRoute?:boolean; - requireLogin?: boolean; // 是否需要登陆才能访问 - } -} diff --git a/src/router/routes/modules/creativeGenerationWorkshop.ts b/src/router/routes/modules/creativeGenerationWorkshop.ts deleted file mode 100644 index 8281dca..0000000 --- a/src/router/routes/modules/creativeGenerationWorkshop.ts +++ /dev/null @@ -1,142 +0,0 @@ -// import type { AppRouteRecordRaw } from '../types'; -// import { MENU_GROUP_IDS } from '@/router/constants'; - -// import IconContentManuscript from '@/assets/svg/svg-contentManuscript.svg'; - -// const COMPONENTS: AppRouteRecordRaw[] = [ -// { -// path: '/manuscript', -// name: 'Manuscript', -// redirect: 'manuscript/list', -// meta: { -// locale: '内容稿件', -// icon: IconContentManuscript, -// requiresAuth: true, -// requireLogin: true, -// roles: ['*'], -// id: MENU_GROUP_IDS.CREATIVE_GENERATION_WORKSHOP_ID, -// }, -// children: [ -// // { -// // path: 'list', -// // name: 'ManuscriptList', -// // meta: { -// // locale: '内容稿件列表', -// // requiresAuth: true, -// // requireLogin: true, -// // roles: ['*'], -// // }, -// // component: () => import('@/views/material-center/components/finished-products/manuscript/list/index.vue'), -// // }, -// { -// path: 'upload', -// name: 'ManuscriptUpload', -// meta: { -// locale: '稿件上传', -// requiresAuth: true, -// requireLogin: true, -// hideFooter: true, -// roles: ['*'], -// hideInMenu: true, -// activeMenu: 'ManuscriptList', -// }, -// component: () => import('@/views/material-center/components/finished-products/manuscript/upload/index.vue'), -// }, -// { -// path: 'edit/:id', -// name: 'ManuscriptEdit', -// meta: { -// locale: '账号详情', -// requiresAuth: true, -// requireLogin: true, -// hideFooter: true, -// roles: ['*'], -// hideInMenu: true, -// activeMenu: 'ManuscriptList', -// }, -// component: () => import('@/views/material-center/components/finished-products/manuscript/edit/index.vue'), -// }, -// { -// path: 'detail/:id', -// name: 'ManuscriptDetail', -// meta: { -// locale: '稿件详情', -// requiresAuth: true, -// requireLogin: true, -// hideFooter: true, -// roles: ['*'], -// hideInMenu: true, -// activeMenu: 'ManuscriptList', -// }, -// component: () => import('@/views/material-center/components/finished-products/manuscript/detail/index.vue'), -// }, -// // { -// // path: 'check-list', -// // name: 'ManuscriptCheckList', -// // meta: { -// // locale: '内容稿件审核', -// // requiresAuth: true, -// // requireLogin: true, -// // roles: ['*'], -// // }, -// // component: () => import('@/views/material-center/components/finished-products/manuscript/check-list/index.vue'), -// // }, -// { -// path: 'check-list/detail/:id', -// name: 'ManuscriptCheckListDetail', -// meta: { -// locale: '内容稿件审核详情', -// requiresAuth: true, -// requireLogin: true, -// hideFooter: true, -// hideInMenu: true, -// roles: ['*'], -// activeMenu: 'ManuscriptCheckList', -// }, -// component: () => import('@/views/material-center/components/finished-products/manuscript/detail/index.vue'), -// }, -// { -// path: 'check', -// name: 'ManuscriptCheck', -// meta: { -// locale: '稿件审核', -// requiresAuth: true, -// requireLogin: true, -// hideFooter: true, -// roles: ['*'], -// hideInMenu: true, -// activeMenu: 'ManuscriptCheckList', -// }, -// component: () => import('@/views/material-center/components/finished-products/manuscript/check/index.vue'), -// }, -// ], -// }, -// { -// path: '/explore/list/:shareCode', -// name: 'ExploreList', -// meta: { -// locale: '分享链接列表', -// requiresAuth: false, -// requireLogin: false, -// hideFooter: true, -// hideSidebar: true, -// roles: ['*'], -// }, -// component: () => import('@/views/creative-generation-workshop/explore/list/index.vue'), -// }, -// { -// path: '/explore/detail/:shareCode/:id', -// name: 'ExploreDetail', -// meta: { -// locale: '分享链接详情', -// requiresAuth: false, -// requireLogin: false, -// hideFooter: true, -// hideSidebar: true, -// roles: ['*'], -// }, -// component: () => import('@/views/creative-generation-workshop/explore/detail/index.vue'), -// }, -// ]; - -// export default COMPONENTS; diff --git a/src/router/routes/modules/manuscript-writer.ts b/src/router/routes/modules/manuscript-writer.ts deleted file mode 100644 index 791f462..0000000 --- a/src/router/routes/modules/manuscript-writer.ts +++ /dev/null @@ -1,115 +0,0 @@ -// import type { AppRouteRecordRaw } from '../types'; -// import IconContentManuscript from '@/assets/svg/svg-contentManuscript.svg'; -// import { MENU_GROUP_IDS } from '@/router/constants'; - -// // 内容稿件-写手端 -// const COMPONENTS: AppRouteRecordRaw[] = [ -// { -// path: '/writer/manuscript', -// name: 'WriterManuscript', -// redirect: 'writer/manuscript/list', -// meta: { -// locale: '内容稿件', -// icon: IconContentManuscript, -// requiresAuth: false, -// requireLogin: false, -// roles: ['*'], -// id: MENU_GROUP_IDS.WRITER_CREATIVE_GENERATION_WORKSHOP_ID, -// }, -// children: [ -// { -// path: 'list/:writerCode', -// name: 'WriterManuscriptList', -// meta: { -// locale: '内容稿件列表', -// requiresAuth: false, -// requireLogin: false, -// roles: ['*'], -// }, -// component: () => import('@/views/creative-generation-workshop/manuscript-writer/list/index.vue'), -// }, -// { -// path: 'upload/:writerCode', -// name: 'WriterManuscriptUpload', -// meta: { -// locale: '稿件上传', -// requiresAuth: false, -// requireLogin: false, -// hideFooter: true, -// roles: ['*'], -// hideInMenu: true, -// activeMenu: 'WriterManuscriptList', -// }, -// component: () => import('@/views/creative-generation-workshop/manuscript-writer/upload/index.vue'), -// }, -// { -// path: 'edit/:writerCode/:id', -// name: 'WriterManuscriptEdit', -// meta: { -// locale: '账号详情', -// requiresAuth: false, -// requireLogin: false, -// hideFooter: true, -// roles: ['*'], -// hideInMenu: true, -// activeMenu: 'WriterManuscriptList', -// }, -// component: () => import('@/views/creative-generation-workshop/manuscript-writer/edit/index.vue'), -// }, -// { -// path: 'detail/:writerCode/:id', -// name: 'WriterManuscriptDetail', -// meta: { -// locale: '稿件详情', -// requiresAuth: false, -// requireLogin: false, -// hideFooter: true, -// roles: ['*'], -// hideInMenu: true, -// activeMenu: 'ManuscriptList', -// }, -// component: () => import('@/views/creative-generation-workshop/manuscript-writer/detail/index.vue'), -// }, -// { -// path: 'check-list/:writerCode', -// name: 'WriterManuscriptCheckList', -// meta: { -// locale: '内容稿件审核', -// requiresAuth: false, -// requireLogin: false, -// roles: ['*'], -// }, -// component: () => import('@/views/creative-generation-workshop/manuscript-writer/check-list/index.vue'), -// }, -// { -// path: 'check-list/detail/:id/:writerCode', -// name: 'WriterManuscriptCheckListDetail', -// meta: { -// locale: '内容稿件审核详情', -// requiresAuth: false, -// requireLogin: false, -// hideFooter: true, -// hideInMenu: true, -// roles: ['*'], -// activeMenu: 'WriterManuscriptCheckList', -// }, -// component: () => import('@/views/creative-generation-workshop/manuscript-writer/detail/index.vue'), -// }, -// { -// path: 'check/:writerCode', -// name: 'WriterManuscriptCheck', -// meta: { -// locale: '稿件审核', -// requiresAuth: false, -// requireLogin: false, -// hideFooter: true, -// roles: ['*'], -// hideInMenu: true, -// activeMenu: 'WriterManuscriptCheckList', -// }, -// component: () => import('@/views/creative-generation-workshop/manuscript-writer/check/index.vue'), -// }, -// ], -// }, -// ]; -// export default COMPONENTS; diff --git a/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/delete-comment-modal.vue b/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/delete-comment-modal.vue deleted file mode 100644 index a160c8a..0000000 --- a/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/delete-comment-modal.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/index.vue b/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/index.vue deleted file mode 100644 index 4ad7cbb..0000000 --- a/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/index.vue +++ /dev/null @@ -1,320 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/style.scss b/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/style.scss deleted file mode 100644 index 81a7616..0000000 --- a/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/style.scss +++ /dev/null @@ -1,121 +0,0 @@ -.ai-suggest-wrap { - top: $navbar-height; - height: calc(100% - ($navbar-height + 12px)); - .ai-suggest-box { - width: 440px; - height: fit-content; - max-height: 100%; - border-radius: 16px; - background: linear-gradient(126deg, #eef2fd 8.36%, #f5ebfe 49.44%, #fdebf3 90.52%); - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1); - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .ai-text { - font-family: $font-family-medium; - font-size: 16px; - font-style: normal; - font-weight: 400; - line-height: 24px; - background: linear-gradient(85deg, #7d419d 4.56%, #31353d 94.75%); - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - } - :deep(.arco-textarea-wrapper) { - min-height: 38px; - display: flex; - border-color: transparent !important; - align-items: center; - border-radius: 8px !important; - background-color: #fff; - color: #211f24 !important; - transition: all 0.3s; - .arco-textarea-mirror, - .arco-textarea { - padding: 8px 16px !important; - } - &:hover { - border-color: #6d4cfe !important; - } - &.arco-textarea-focus { - border-color: #6d4cfe !important; - } - } - .result-box { - background: rgba(255, 255, 255, 0.8); - backdrop-filter: blur(4px); - .result-item { - .s1 { - color: var(--Brand-6, #6d4cfe); - font-family: $font-family-manrope-medium; - font-size: 24px; - font-style: normal; - font-weight: 700; - line-height: 32px; - } - &:first-child { - position: relative; - &::after { - content: ''; - position: absolute; - top: 50%; - transform: translateY(-50%); - right: 0; - width: 1px; - height: 32px; - background: var(--Border-1, #d7d7d9); - } - } - } - } - .collapse-box { - transition: all 0.3s; - } - .comment-box { - .cm { - background: linear-gradient(85deg, #7d419d 4.56%, #31353d 94.75%); - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - } - - .comment-list { - backdrop-filter: blur(4px); - .comment-item { - &:not(:last-child) { - margin-bottom: 8px; - } - &:hover { - border-radius: 8px; - background: rgba(255, 255, 255, 0.8); - } - } - } - } - .main-box { - scrollbar-width: none; - -ms-overflow-style: none; - &::-webkit-scrollbar { - width: 0; - height: 0; - background: transparent; - } - &::-webkit-scrollbar-thumb { - background-color: transparent; - border: none; - } - &::-webkit-scrollbar-track { - background: transparent; - } - } - } -} diff --git a/src/views/creative-generation-workshop/explore/detail/constants.ts b/src/views/creative-generation-workshop/explore/detail/constants.ts deleted file mode 100644 index 174f732..0000000 --- a/src/views/creative-generation-workshop/explore/detail/constants.ts +++ /dev/null @@ -1,44 +0,0 @@ -export const ENUM_OPINION = { - wait: 0, // 待确认 - confirm: 1, // 已确认 -}; - -export const formatRelativeTime = (date: number): string => { - const target = dayjs(date * 1000); - - if (!target.isValid()) return ''; - - const now = dayjs(); - // 处理未来时间 - if (target.isAfter(now)) return '刚刚'; - - const diffInMinutes = now.diff(target, 'minute'); - const diffInHours = now.diff(target, 'hour'); - const diffInDays = now.diff(target, 'day'); - const diffInYears = now.diff(target, 'year'); - - // 1分钟内 - if (diffInMinutes < 1) { - return '刚刚'; - } - // 1分钟 ~ 1小时 - else if (diffInMinutes < 60) { - return `${diffInMinutes}分钟前`; - } - // 1小时 ~ 24小时 - else if (diffInHours < 24) { - return `${diffInHours}小时前`; - } - // 1天 ~ 30天 - else if (diffInDays < 30) { - return `${diffInDays}天前`; - } - // 超过30天但不到1年 - else if (diffInYears < 1) { - return target.format('MM-DD HH:mm'); - } - // 超过1年 - else { - return target.format('YYYY-MM-DD HH:mm'); - } -}; diff --git a/src/views/creative-generation-workshop/explore/detail/index.vue b/src/views/creative-generation-workshop/explore/detail/index.vue deleted file mode 100644 index 6a9b37c..0000000 --- a/src/views/creative-generation-workshop/explore/detail/index.vue +++ /dev/null @@ -1,275 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/explore/detail/style.scss b/src/views/creative-generation-workshop/explore/detail/style.scss deleted file mode 100644 index 3ee8f91..0000000 --- a/src/views/creative-generation-workshop/explore/detail/style.scss +++ /dev/null @@ -1,135 +0,0 @@ -.explore-page { - position: relative; - min-width: $layout-min-width; - min-height: 100vh; - background: #fff; - display: flex; - flex-direction: column; - &::before { - content: ''; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #fff; - z-index: -1; - } - .fold-box { - width: 40px; - height: 40px; - border-radius: 30px; - border: 1px solid var(--Border-1, #d7d7d9); - background: #fff; - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15); - position: fixed; - right: 16px; - top: calc($navbar-height + 32px); - display: flex; - justify-content: center; - align-items: center; - } - .page-header { - position: sticky; - left: 0; - right: 0; - top: 0; - z-index: 1000; - min-width: $layout-min-width; - .content { - height: $navbar-height; - // border-bottom: 1px solid var(--Border-1, #d7d7d9); - } - &::before { - width: 100%; - height: 100%; - background: url('@/assets/img/icon-app-header-bg.png') center top no-repeat !important; - background-size: cover !important; - bottom: 0; - content: ''; - display: block; - left: 0; - position: absolute; - right: 0; - top: 0; - z-index: -998; - } - } - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - - .page-wrap { - width: 100%; - flex: 1; - display: flex; - justify-content: center; - background: #fff; - &.expand { - width: calc(100% - 456px); - } - .explore-detail-wrap { - min-height: 500px; - width: 684px; - .title { - color: var(--Text-1, #211f24); - font-family: $font-family-medium; - font-size: 28px; - font-style: normal; - font-weight: 400; - line-height: 40px; /* 142.857% */ - } - } - - .main-video-box { - width: 320px; - height: 472px; - background: #333; - aspect-ratio: 3 / 4; - } - .main-img-box { - width: 320px; - height: auto; - max-height: 472px; - background: #fff; - } - .desc-img-wrap { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 24px; - .desc-img-box { - width: 212px; - height: 283px; - background: #fff; - object-fit: contain; - aspect-ratio: 3/4; - } - } - .play-icon { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 222; - width: 64px; - height: 64px; - background-image: url('@/assets/img/creative-generation-workshop/icon-play.png'); - background-size: contain; - background-repeat: no-repeat; - background-position: center; - transition: background-image 0.3s ease; - } - - .play-icon:hover { - background-image: url('@/assets/img/creative-generation-workshop/icon-play-hover.png'); - } - } -} diff --git a/src/views/creative-generation-workshop/explore/list/index.vue b/src/views/creative-generation-workshop/explore/list/index.vue deleted file mode 100644 index 6dc9f3d..0000000 --- a/src/views/creative-generation-workshop/explore/list/index.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/explore/list/style.scss b/src/views/creative-generation-workshop/explore/list/style.scss deleted file mode 100644 index f8e960a..0000000 --- a/src/views/creative-generation-workshop/explore/list/style.scss +++ /dev/null @@ -1,75 +0,0 @@ -.explore-page { - position: relative; - padding-top: $navbar-height; - min-width: $layout-min-width; - .cts { - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .page-header { - position: fixed; - left: 0; - right: 0; - top: 0; - z-index: 1000; - min-width: $layout-min-width; - .content { - height: $navbar-height; - // border-bottom: 1px solid var(--Border-1, #d7d7d9); - } - &::before { - width: 100%; - height: 100%; - background: url('@/assets/img/icon-app-header-bg.png') center top no-repeat !important; - background-size: cover !important; - bottom: 0; - content: ''; - display: block; - left: 0; - position: absolute; - right: 0; - top: 0; - z-index: -998; - } - } - .page-wrapper { - min-height: calc(100vh - $navbar-height); - .explore-container { - width: $layout-min-width; - .explore-list-wrap { - :deep(.overflow-text) { - color: var(--Text-1, #211f24); - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .card-container { - display: grid; - grid-template-columns: repeat(4, 1fr); - gap: 24px; - .card-item { - border: 1px solid var(--Border-1, #d7d7d9); - cursor: pointer; - transition: all 0.3s; - &:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15); - border: 1.01px solid var(--Border-1, #d7d7d9); - border-radius: 8.08px; - } - } - } - } - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/components/filter-block/index.vue b/src/views/creative-generation-workshop/manuscript-writer/check-list/components/filter-block/index.vue deleted file mode 100644 index 5a2f9a3..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/components/filter-block/index.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/delete-manuscript-modal.vue b/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/delete-manuscript-modal.vue deleted file mode 100644 index 8cc9527..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/delete-manuscript-modal.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/index.vue b/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/index.vue deleted file mode 100644 index a2be8ca..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/index.vue +++ /dev/null @@ -1,195 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/style.scss b/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/style.scss deleted file mode 100644 index 5a1711b..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/components/manuscript-check-table/style.scss +++ /dev/null @@ -1,19 +0,0 @@ -.manuscript-table { - .cts { - color: var(--Text-1, #211f24); - font-family: $font-family-medium; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.num { - font-family: $font-family-manrope-regular; - } - } - :deep(.title) { - cursor: pointer; - &:hover { - color: #6d4cfe; - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/constants.ts b/src/views/creative-generation-workshop/manuscript-writer/check-list/constants.ts deleted file mode 100644 index 76b6b00..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/constants.ts +++ /dev/null @@ -1,249 +0,0 @@ -export const TABLE_COLUMNS1 = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '图片/视频', - dataIndex: 'cover', - width: 120, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 300, - }, - // { - // title: '客户意见', - // dataIndex: 'customer_opinion', - // width: 120, - // }, - { - title: '稿件类型', - dataIndex: 'type', - width: 120, - }, - { - title: '上传时间', - dataIndex: 'created_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '操作', - dataIndex: 'operation', - width: 120, - fixed: 'right', - }, -]; -export const TABLE_COLUMNS2 = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '图片/视频', - dataIndex: 'cover', - width: 120, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 300, - }, - // { - // title: '客户意见', - // dataIndex: 'customer_opinion', - // width: 120, - // }, - { - title: '审核平台', - dataIndex: 'platform', - width: 120, - }, - { - title: '合规程度', - dataIndex: 'compliance_level', - suffix: '%', - width: 120, - }, - { - title: '稿件类型', - dataIndex: 'type', - width: 120, - }, - { - title: '审核时间', - dataIndex: 'audit_started_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - // { - // title: '修改人员', - // dataIndex: 'last_modifier', - // width: 180, - // }, - { - title: '操作', - dataIndex: 'operation', - width: 120, - fixed: 'right', - }, -]; -export const TABLE_COLUMNS3 = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '图片/视频', - dataIndex: 'cover', - width: 120, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 300, - }, - // { - // title: '客户意见', - // dataIndex: 'customer_opinion', - // width: 120, - // }, - { - title: '审核平台', - dataIndex: 'platform', - width: 120, - }, - { - title: '稿件类型', - dataIndex: 'type', - width: 120, - }, - { - title: '通过时间', - dataIndex: 'audit_passed_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - // { - // title: '修改人员', - // dataIndex: 'last_modifier', - // width: 180, - // }, - { - title: '操作', - dataIndex: 'operation', - width: 120, - fixed: 'right', - }, -]; -export enum AuditStatus { - Pending = '1', - Auditing = '2', - Passed = '3', -} - -export const AUDIT_STATUS_LIST = [ - { - label: '待审核', - value: AuditStatus.Pending, - tableColumns: TABLE_COLUMNS1, - }, - { - label: '审核中', - value: AuditStatus.Auditing, - tableColumns: TABLE_COLUMNS2, - }, - { - label: '已通过', - value: AuditStatus.Passed, - tableColumns: TABLE_COLUMNS3, - }, -]; - -export const INITIAL_QUERY = { - audit_status: AuditStatus.Pending, - title: '', - created_at: [], - audit_started_at: [], - audit_platform: '', - sort_column: undefined, - sort_order: undefined, -}; - -import icon1 from '@/assets/img/platform/icon-dy.png'; -import icon2 from '@/assets/img/platform/icon-xhs.png'; - -export const PLATFORMS = [ - { - label: '小红书', - value: 1, - icon: icon2, - }, - { - label: '抖音', - value: 2, - icon: icon1, - }, -]; - -export const CUSTOMER_OPINION = [ - { - label: '待确认', - value: 0, - bg: '#F2F3F5', - color: 'color-#3C4043', - }, - { - label: '已确认', - value: 1, - bg: '#F0EDFF', - color: '!color-#6D4CFE', - }, -]; diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/index.vue b/src/views/creative-generation-workshop/manuscript-writer/check-list/index.vue deleted file mode 100644 index 32a0fa5..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/index.vue +++ /dev/null @@ -1,204 +0,0 @@ - - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/style.scss b/src/views/creative-generation-workshop/manuscript-writer/check-list/style.scss deleted file mode 100644 index a3a41fc..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/style.scss +++ /dev/null @@ -1,35 +0,0 @@ -.manuscript-check-wrap { - // height: 100%; - display: flex; - flex-direction: column; - .filter-wrap { - :deep(.arco-tabs) { - .arco-tabs-tab { - height: 56px; - padding: 0 8px; - } - .arco-tabs-nav-extra { - padding-right: 24px; - } - .arco-tabs-content { - display: none; - } - } - .top { - .title { - font-family: $font-family-medium; - font-style: normal; - } - - :deep(.arco-btn) { - .arco-btn-icon { - line-height: 16px; - } - } - } - } - .table-wrap { - display: flex; - flex-direction: column; - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/cancel-check-modal.vue b/src/views/creative-generation-workshop/manuscript-writer/check/cancel-check-modal.vue deleted file mode 100644 index a54389f..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/cancel-check-modal.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/check-success-modal.vue b/src/views/creative-generation-workshop/manuscript-writer/check/check-success-modal.vue deleted file mode 100644 index e2a4fef..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/check-success-modal.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/components/check-list-drawer/index.vue b/src/views/creative-generation-workshop/manuscript-writer/check/components/check-list-drawer/index.vue deleted file mode 100644 index 78dc722..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/components/check-list-drawer/index.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/components/check-list-drawer/style.scss b/src/views/creative-generation-workshop/manuscript-writer/check/components/check-list-drawer/style.scss deleted file mode 100644 index e32fa77..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/components/check-list-drawer/style.scss +++ /dev/null @@ -1,45 +0,0 @@ -.check-list-drawer-xt { - .arco-drawer-mask { - background-color: transparent; - } - .arco-drawer { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15); - .arco-drawer-body { - overflow: hidden; - display: flex; - flex-direction: column; - padding: 0 0 24px; - .cts { - color: var(--Text-1, #939499); - - font-family: $font-family-regular; - font-size: 16px; - font-style: normal; - font-weight: 400; - line-height: 24px; - &.bold { - color: var(--Text-1, #211f24); - font-family: $font-family-medium; - } - } - .card-item { - cursor: pointer; - border: 1px solid transparent; - transition: all; - &:hover { - background-color: #e6e6e8; - } - &:not(:last-child) { - margin-bottom: 12px; - } - &.active { - border-color: #6d4cfe; - background-color: #f0edff; - :deep(.overflow-text) { - font-family: $font-family-medium !important; - } - } - } - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/constants.ts b/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/constants.ts deleted file mode 100644 index 0dbe0da..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/constants.ts +++ /dev/null @@ -1,57 +0,0 @@ -export const escapeRegExp = (str: string) => { - return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); -}; - -export const FORM_RULES = { - title: [{ required: true, message: '请输入标题' }], -}; -export const enumTab = { - TEXT: 0, - IMAGE: 1, -}; -export const TAB_LIST = [ - { - label: '文本', - value: enumTab.TEXT, - }, - // { - // label: '图片', - // value: enumTab.IMAGE, - // }, -]; - -export enum Enum_Level { - LOW = 0, - MEDIUM = 1, - HIGH = 2, -} - -export const LEVEL_MAP = new Map([ - [Enum_Level.LOW, { label: '低风险', value: 'low_risk_number', color: '#6d4cfe' }], - [Enum_Level.MEDIUM, { label: '中风险', value: 'medium_risk_number', color: '#FFAE00' }], - [Enum_Level.HIGH, { label: '高风险', value: 'high_risk_number', color: '#F64B31' }], -]); - -export const RESULT_LIST = [ - { - label: '合规程度', - value: 'compliance_level', - color: LEVEL_MAP.get(Enum_Level.LOW)?.color, - suffix: '%', - }, - { - label: '检验项', - value: 'inspection_count', - color: '#211F24', - }, - { - label: '高风险', - value: 'high_risk_number', - color: LEVEL_MAP.get(Enum_Level.HIGH)?.color, - }, - { - label: '中风险', - value: 'medium_risk_number', - color: LEVEL_MAP.get(Enum_Level.MEDIUM)?.color, - }, -]; diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/highlight-textarea.vue b/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/highlight-textarea.vue deleted file mode 100644 index 59ab272..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/highlight-textarea.vue +++ /dev/null @@ -1,233 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/index.vue b/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/index.vue deleted file mode 100644 index ec85c4a..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/index.vue +++ /dev/null @@ -1,475 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/style.scss b/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/style.scss deleted file mode 100644 index 1cbfb8b..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/components/content-card/style.scss +++ /dev/null @@ -1,202 +0,0 @@ -.content-wrap { - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .check-btn { - .check-text { - background: linear-gradient(84deg, #266cff 4.57%, #a15af0 84.93%); - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - } - &:hover { - opacity: 0.8; - } - } - .left-box { - :deep(.arco-tabs) { - .arco-tabs-nav { - .arco-tabs-tab { - height: 40px; - // padding: 0 8px; - margin: 0 16px; - } - &::before { - display: none; - } - } - .arco-tabs-content { - display: none; - } - } - :deep(.arco-form) { - height: 100%; - display: flex; - flex-direction: column; - .arco-form-item { - margin-bottom: 24px; - .arco-form-item-label-col { - .arco-form-item-label { - color: #939499; - } - } - } - .content-form-item { - margin-bottom: 0; - display: flex; - flex-direction: column; - .arco-form-item-wrapper-col { - flex: 1; - .arco-form-item-content-wrapper, - .arco-form-item-content, - .arco-textarea-wrapper { - height: 100%; - } - } - } - } - .upload-box { - display: flex; - width: 100px; - height: 100px; - cursor: pointer; - transition: all 0.3s ease; - flex-direction: column; - justify-content: center; - align-items: center; - border-radius: 8px; - border: 1px dashed var(--Border-1, #d7d7d9); - background: var(--BG-200, #f2f3f5); - &:hover { - background: var(--Primary-1, #e6e6e8); - } - } - .swiper-wrap { - :deep(.swiper) { - height: 100%; - .swiper-wrapper { - align-items: center; - .swiper-slide { - transition: all; - &.active { - width: 60px !important; - height: 60px !important; - .group { - border: 2px solid var(--Brand-6, #6d4cfe); - background: url() lightgray 50% / cover no-repeat; - } - } - &:hover { - .close-icon { - display: block; - } - } - } - } - } - - .swiper-box { - position: absolute; - margin-top: 0 !important; - width: 40px; - height: 40px; - border-radius: 50%; - background: rgba(0, 0, 0, 0.4); - transition: all; - display: flex; - justify-content: center; - align-items: center; - top: 50%; - transform: translateY(-50%); - &:hover { - background: rgba(0, 0, 0, 0.6); - } - &.swiper-button-prev { - left: 16px; - } - &.swiper-button-next { - right: 16px; - } - &::after { - display: none; - } - &.swiper-button-disabled { - display: none; - } - } - } - } - .right-box { - border: 1px solid #E6E6E8; - flex: 1; - border-radius: 8px; padding: 16px; display: flex; - flex-direction: column; - overflow-y: auto; - height: fit-content; - max-height: 100%; - .s1 { - font-family: $font-family-manrope-medium; - font-size: 24px; - font-style: normal; - font-weight: 700; - line-height: 32px; /* 133.333% */ - } - .result-item { - &:first-child { - position: relative; - &::after { - content: ''; - position: absolute; - top: 50%; - transform: translateY(-50%); - right: 0; - width: 1px; - height: 32px; - background: var(--Border-1, #d7d7d9); - } - } - } - .suggestion-box { - .ai-text { - background: linear-gradient(85deg, #7d419d 4.56%, #31353d 94.75%); - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - font-family: $font-family-medium; - font-size: 16px; - font-style: normal; - font-weight: 400; - line-height: 24px; - } - } - :deep(.overflow-text) { - color: #211f24; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - } - .forbid-word-box { - :deep(.overflow-text) { - &.level0 { - color: #6d4cfe; - } - &.level2 { - color: #f64b31; - } - &.level1 { - color: #ffae00; - } - } - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/components/header-card/index.vue b/src/views/creative-generation-workshop/manuscript-writer/check/components/header-card/index.vue deleted file mode 100644 index a360bb9..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/components/header-card/index.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/components/header-card/style.scss b/src/views/creative-generation-workshop/manuscript-writer/check/components/header-card/style.scss deleted file mode 100644 index 9a4dcef..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/components/header-card/style.scss +++ /dev/null @@ -1,74 +0,0 @@ -.header-wrap { - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .swiper-wrap { - .swiper-item { - transition: all; - &:hover { - background-color: #e6e6e8; - } - &.active { - background-color: #f0edff; - border-color: #6d4cfe; - :deep(.overflow-text) { - font-family: $font-family-medium !important; - } - } - } - .swiper-box { - width: 100px; - height: 64px; - position: absolute; - &.swiper-button-prev { - background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #fff 43.06%); - margin-top: 0 !important; - top: 0; - left: 0; - justify-content: flex-start; - padding-left: 8px; - } - &.swiper-button-next { - background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 43.06%); - margin-top: 0 !important; - top: 0; - right: 0; - justify-content: flex-end; - padding-right: 8px; - } - &::after { - display: none; - } - .swiper-button { - width: 40px; - height: 40px; - background-color: #fff; - display: flex; - justify-content: center; - align-items: center; - border-radius: 8px; - border: 1px solid var(--Border-1, #d7d7d9); - &:hover { - background-color: #f7f8fa; - } - &.click { - background-color: #f2f3f5; - } - } - &.swiper-button-disabled { - display: none; - } - } - } - .platform-row { - border-bottom: 1px solid var(--Border-2, #e6e6e8); - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/index.vue b/src/views/creative-generation-workshop/manuscript-writer/check/index.vue deleted file mode 100644 index 9af6448..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/index.vue +++ /dev/null @@ -1,264 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/check/style.scss b/src/views/creative-generation-workshop/manuscript-writer/check/style.scss deleted file mode 100644 index 9bd24ba..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/check/style.scss +++ /dev/null @@ -1,48 +0,0 @@ -$footer-height: 68px; -.manuscript-check-wrap { - width: 100%; - height: calc(100% - ($footer-height - $layout-padding-bottom)); - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .check-list-icon { - // width: 92px; - cursor: pointer; - height: 36px; - display: flex; - padding: 8px 12px; - justify-content: center; - align-items: center; - border-radius: 30px 0 0 30px; - border: 1px solid var(--Border-1, #d7d7d9); - background: #fff; - position: absolute; - right: 0; - top: calc($navbar-height + 8px); - &:hover { - .icon, - .cts { - color: #6d4cfe !important; - } - } - } -} -.footer-row { - position: fixed; - bottom: 0; - left: $sidebar-width; - width: calc(100% - $sidebar-width); - height: $footer-height; - &.collapsed { - left: $sidebar-width-collapse; - width: calc(100% - $sidebar-width-collapse); - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/img-box.vue b/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/img-box.vue deleted file mode 100644 index 0746114..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/img-box.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/index.vue b/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/index.vue deleted file mode 100644 index 0319044..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/index.vue +++ /dev/null @@ -1,376 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/style.scss b/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/style.scss deleted file mode 100644 index c16695e..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/components/edit-form/style.scss +++ /dev/null @@ -1,32 +0,0 @@ -.cts { - font-family: $font-family-regular; - font-size: 12px; - font-style: normal; - font-weight: 400; - line-height: 20px; -} -.upload-box { - display: flex; - width: 100px; - height: 100px; - cursor: pointer; - transition: all 0.3s ease; - flex-direction: column; - justify-content: center; - align-items: center; - border-radius: 8px; - border: 1px dashed var(--Border-1, #d7d7d9); - background: var(--BG-200, #f2f3f5); - &:hover { - background: var(--Primary-1, #e6e6e8); - } -} -.group { - border-radius: 8px; - &:hover { - .group-container { - background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), - url() lightgray 0px -40.771px / 100% 149.766% no-repeat; - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/detail/index.vue b/src/views/creative-generation-workshop/manuscript-writer/detail/index.vue deleted file mode 100644 index 89c6fac..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/detail/index.vue +++ /dev/null @@ -1,204 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/detail/style.scss b/src/views/creative-generation-workshop/manuscript-writer/detail/style.scss deleted file mode 100644 index 436f9e0..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/detail/style.scss +++ /dev/null @@ -1,69 +0,0 @@ -$footer-height: 68px; -.manuscript-detail-wrap { - width: 100%; - height: calc(100% - ($footer-height - $layout-padding-bottom)); - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .main-video-box { - width: 320px; - height: 472px; - background: #333; - aspect-ratio: 3 / 4; - } - .main-img-box { - width: 320px; - height: auto; - max-height: 472px; - background: #fff; - } - .desc-img-wrap { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 24px; - .desc-img-box { - width: 212px; - height: 283px; - background: #fff; - object-fit: contain; - aspect-ratio: 3/4; - } - } - .play-icon { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 222; - width: 64px; - height: 64px; - background-image: url('@/assets/img/creative-generation-workshop/icon-play.png'); - background-size: contain; - background-repeat: no-repeat; - background-position: center; - transition: background-image 0.3s ease; - } - - .play-icon:hover { - background-image: url('@/assets/img/creative-generation-workshop/icon-play-hover.png'); - } -} -.footer-row { - position: fixed; - bottom: 0; - left: $sidebar-width; - width: calc(100% - $sidebar-width); - height: $footer-height; - &.collapsed { - left: $sidebar-width-collapse; - width: calc(100% - $sidebar-width-collapse); - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/edit/cancel-edit-modal.vue b/src/views/creative-generation-workshop/manuscript-writer/edit/cancel-edit-modal.vue deleted file mode 100644 index 754b24c..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/edit/cancel-edit-modal.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/edit/index.vue b/src/views/creative-generation-workshop/manuscript-writer/edit/index.vue deleted file mode 100644 index 0373367..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/edit/index.vue +++ /dev/null @@ -1,143 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/edit/style.scss b/src/views/creative-generation-workshop/manuscript-writer/edit/style.scss deleted file mode 100644 index 0509c0a..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/edit/style.scss +++ /dev/null @@ -1,28 +0,0 @@ -$footer-height: 68px; -.manuscript-edit-wrap { - height: calc(100% - ($footer-height - $layout-padding-bottom)); - display: flex; - flex-direction: column; - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } -} -.footer-row { - position: fixed; - bottom: 0; - left: $sidebar-width; - width: calc(100% - $sidebar-width); - height: $footer-height; - &.collapsed { - left: $sidebar-width-collapse; - width: calc(100% - $sidebar-width-collapse); - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/components/filter-block/index.vue b/src/views/creative-generation-workshop/manuscript-writer/list/components/filter-block/index.vue deleted file mode 100644 index 4826fe8..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/components/filter-block/index.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/constants.ts b/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/constants.ts deleted file mode 100644 index dad1cb9..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/constants.ts +++ /dev/null @@ -1,68 +0,0 @@ -export const TABLE_COLUMNS = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '图片/视频', - dataIndex: 'cover', - width: 120, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 240, - }, - // { - // title: '所属项目', - // dataIndex: 'projects', - // width: 240, - // }, - { - title: '稿件类型', - dataIndex: 'type', - width: 180, - }, - { - title: '审核状态', - dataIndex: 'audit_status', - width: 180, - }, - { - title: '上传时间', - dataIndex: 'created_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - // { - // title: '上传人员', - // dataIndex: 'uploader', - // width: 180, - // }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - // { - // title: '最后修改人员', - // dataIndex: 'last_modifier', - // width: 180, - // }, - { - title: '操作', - dataIndex: 'operation', - width: 180, - fixed: 'right' - }, -]; diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/delete-manuscript-modal.vue b/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/delete-manuscript-modal.vue deleted file mode 100644 index 2108398..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/delete-manuscript-modal.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/index.vue b/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/index.vue deleted file mode 100644 index d9a932c..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/index.vue +++ /dev/null @@ -1,144 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/style.scss b/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/style.scss deleted file mode 100644 index 8621a01..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/components/manuscript-table/style.scss +++ /dev/null @@ -1,16 +0,0 @@ -.manuscript-table { - .cts { - color: var(--Text-1, #211f24); - font-family: $font-family-medium; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - } - :deep(.title) { - cursor: pointer; - &:hover { - color: #6d4cfe; - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/index.vue b/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/index.vue deleted file mode 100644 index 676ee58..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/index.vue +++ /dev/null @@ -1,374 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/style.scss b/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/style.scss deleted file mode 100644 index 494dff7..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/style.scss +++ /dev/null @@ -1,31 +0,0 @@ -.upload-manuscript-modal { - .text { - color: var(--Text-1, #211f24); - text-align: center; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - } - .tip { - color: var(--Text-3, #737478); - text-align: center; - font-family: $font-family-regular; - font-size: 12px; - font-style: normal; - font-weight: 400; - line-height: 20px; - } - .upload-box { - display: flex; - height: 120px; - padding: 0 16px; - flex-direction: column; - justify-content: center; - align-items: center; - border-radius: 2px; - border: 1px dashed var(--Border-1, #d7d7d9); - background: var(--BG-200, #f2f3f5); - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/constants.ts b/src/views/creative-generation-workshop/manuscript-writer/list/constants.ts deleted file mode 100644 index b06f7cd..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/constants.ts +++ /dev/null @@ -1,56 +0,0 @@ -export const INITIAL_QUERY = { - title: '', - // project_ids: [], - uid: '', - audit_status: '', - created_at: [], - sort_column: undefined, - sort_order: undefined, -}; - -export enum EnumCheckStatus { - All = '', - Wait = 1, - Checking = 2, - Passed = 3, -} -export enum EnumManuscriptType { - All = '', - Image = 0, - Video = 1, -} - -export const CHECK_STATUS = [ - { - name: '待审核', - id: EnumCheckStatus.Wait, - backgroundColor: '#F2F3F5', - color: '#3C4043' - }, - { - name: '审核中', - id: EnumCheckStatus.Checking, - backgroundColor: '#FFF7E5', - color: '#FFAE00' - }, - { - name: '已通过', - id: EnumCheckStatus.Passed, - backgroundColor: '#EBF7F2', - color: '#25C883' - }, -]; -export const MANUSCRIPT_TYPE = [ - { - label: '全部', - value: EnumManuscriptType.All, - }, - { - label: '图片', - value: EnumManuscriptType.Image, - }, - { - label: '视频', - value: EnumManuscriptType.Video, - }, -] diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/index.vue b/src/views/creative-generation-workshop/manuscript-writer/list/index.vue deleted file mode 100644 index 3526540..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/index.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/style.scss b/src/views/creative-generation-workshop/manuscript-writer/list/style.scss deleted file mode 100644 index 8570520..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/list/style.scss +++ /dev/null @@ -1,22 +0,0 @@ -.manuscript-list-wrap { - // height: 100%; - display: flex; - flex-direction: column; - .filter-wrap { - .top { - .title { - font-family: $font-family-medium; - font-style: normal; - } - :deep(.arco-btn) { - .arco-btn-icon { - line-height: 16px; - } - } - } - } - .table-wrap { - display: flex; - flex-direction: column; - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/upload/cancel-upload-modal.vue b/src/views/creative-generation-workshop/manuscript-writer/upload/cancel-upload-modal.vue deleted file mode 100644 index 3f847d9..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/upload/cancel-upload-modal.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/upload/index.vue b/src/views/creative-generation-workshop/manuscript-writer/upload/index.vue deleted file mode 100644 index 91c0f9c..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/upload/index.vue +++ /dev/null @@ -1,323 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript-writer/upload/style.scss b/src/views/creative-generation-workshop/manuscript-writer/upload/style.scss deleted file mode 100644 index d3c3f70..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/upload/style.scss +++ /dev/null @@ -1,32 +0,0 @@ -$footer-height: 68px; -.manuscript-upload-wrap { - height: calc(100% - ($footer-height - $layout-padding-bottom)); - .cts, - :deep(.overflow-text) { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .right { - border-left: 1px solid var(--Border-2, #e6e6e8); - width: 320px; - flex-shrink: 0; - } -} -.footer-row { - position: fixed; - bottom: 0; - left: $sidebar-width; - width: calc(100% - $sidebar-width); - height: $footer-height; - &.collapsed { - left: $sidebar-width-collapse; - width: calc(100% - $sidebar-width-collapse); - } -} diff --git a/src/views/creative-generation-workshop/manuscript-writer/upload/upload-success-modal.vue b/src/views/creative-generation-workshop/manuscript-writer/upload/upload-success-modal.vue deleted file mode 100644 index 8b9e1e9..0000000 --- a/src/views/creative-generation-workshop/manuscript-writer/upload/upload-success-modal.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - - diff --git a/src/views/creative-generation-workshop/manuscript/check-list/components/filter-block/index.vue b/src/views/creative-generation-workshop/manuscript/check-list/components/filter-block/index.vue deleted file mode 100644 index 2cfc05a..0000000 --- a/src/views/creative-generation-workshop/manuscript/check-list/components/filter-block/index.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/delete-manuscript-modal.vue b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/delete-manuscript-modal.vue deleted file mode 100644 index 39f8fd3..0000000 --- a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/delete-manuscript-modal.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/index.vue b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/index.vue deleted file mode 100644 index 045b299..0000000 --- a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/index.vue +++ /dev/null @@ -1,200 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/style.scss b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/style.scss deleted file mode 100644 index 5a1711b..0000000 --- a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/style.scss +++ /dev/null @@ -1,19 +0,0 @@ -.manuscript-table { - .cts { - color: var(--Text-1, #211f24); - font-family: $font-family-medium; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.num { - font-family: $font-family-manrope-regular; - } - } - :deep(.title) { - cursor: pointer; - &:hover { - color: #6d4cfe; - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript/check-list/constants.ts b/src/views/creative-generation-workshop/manuscript/check-list/constants.ts deleted file mode 100644 index 429ebd6..0000000 --- a/src/views/creative-generation-workshop/manuscript/check-list/constants.ts +++ /dev/null @@ -1,259 +0,0 @@ -export const TABLE_COLUMNS1 = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '图片/视频', - dataIndex: 'cover', - width: 120, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 300, - }, - { - title: '客户意见', - dataIndex: 'customer_opinion', - width: 120, - }, - { - title: '稿件类型', - dataIndex: 'type', - width: 120, - }, - { - title: '上传时间', - dataIndex: 'created_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '上传人员', - dataIndex: 'uploader', - width: 180, - }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '修改人员', - dataIndex: 'last_modifier', - width: 180, - }, - { - title: '操作', - dataIndex: 'operation', - width: 120, - fixed: 'right', - }, -]; -export const TABLE_COLUMNS2 = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '图片/视频', - dataIndex: 'cover', - width: 120, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 300, - }, - { - title: '客户意见', - dataIndex: 'customer_opinion', - width: 120, - }, - { - title: '审核平台', - dataIndex: 'platform', - width: 120, - }, - { - title: '合规程度', - dataIndex: 'compliance_level', - suffix: '%', - width: 120, - }, - { - title: '稿件类型', - dataIndex: 'type', - width: 120, - }, - { - title: '审核时间', - dataIndex: 'audit_started_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '修改人员', - dataIndex: 'last_modifier', - width: 180, - }, - { - title: '操作', - dataIndex: 'operation', - width: 120, - fixed: 'right', - }, -]; -export const TABLE_COLUMNS3 = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '图片/视频', - dataIndex: 'cover', - width: 120, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 300, - }, - { - title: '客户意见', - dataIndex: 'customer_opinion', - width: 120, - }, - { - title: '审核平台', - dataIndex: 'platform', - width: 120, - }, - { - title: '稿件类型', - dataIndex: 'type', - width: 120, - }, - { - title: '通过时间', - dataIndex: 'audit_passed_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '修改人员', - dataIndex: 'last_modifier', - width: 180, - }, - { - title: '操作', - dataIndex: 'operation', - width: 120, - fixed: 'right', - }, -]; -export enum AuditStatus { - Pending = '1', - Auditing = '2', - Passed = '3', -} - -export const AUDIT_STATUS_LIST = [ - { - label: '待审核', - value: AuditStatus.Pending, - tableColumns: TABLE_COLUMNS1, - }, - { - label: '审核中', - value: AuditStatus.Auditing, - tableColumns: TABLE_COLUMNS2, - }, - { - label: '已通过', - value: AuditStatus.Passed, - tableColumns: TABLE_COLUMNS3, - }, -]; - -export const INITIAL_QUERY = { - audit_status: AuditStatus.Pending, - title: '', - created_at: [], - audit_started_at: [], - audit_platform: '', - sort_column: undefined, - sort_order: undefined, -}; - -import icon1 from '@/assets/img/platform/icon-dy.png'; -import icon2 from '@/assets/img/platform/icon-xhs.png'; - -export const PLATFORMS = [ - { - label: '小红书', - value: 1, - icon: icon2, - }, - { - label: '抖音', - value: 2, - icon: icon1, - }, -]; - -export const CUSTOMER_OPINION = [ - { - label: '待确认', - value: 0, - bg: '#F2F3F5', - color: 'color-#3C4043', - }, - { - label: '已确认', - value: 1, - bg: '#F0EDFF', - color: '!color-#6D4CFE', - }, -]; diff --git a/src/views/creative-generation-workshop/manuscript/check-list/index.vue b/src/views/creative-generation-workshop/manuscript/check-list/index.vue deleted file mode 100644 index b6ff5f7..0000000 --- a/src/views/creative-generation-workshop/manuscript/check-list/index.vue +++ /dev/null @@ -1,201 +0,0 @@ - - - - diff --git a/src/views/creative-generation-workshop/manuscript/check-list/style.scss b/src/views/creative-generation-workshop/manuscript/check-list/style.scss deleted file mode 100644 index a3a41fc..0000000 --- a/src/views/creative-generation-workshop/manuscript/check-list/style.scss +++ /dev/null @@ -1,35 +0,0 @@ -.manuscript-check-wrap { - // height: 100%; - display: flex; - flex-direction: column; - .filter-wrap { - :deep(.arco-tabs) { - .arco-tabs-tab { - height: 56px; - padding: 0 8px; - } - .arco-tabs-nav-extra { - padding-right: 24px; - } - .arco-tabs-content { - display: none; - } - } - .top { - .title { - font-family: $font-family-medium; - font-style: normal; - } - - :deep(.arco-btn) { - .arco-btn-icon { - line-height: 16px; - } - } - } - } - .table-wrap { - display: flex; - flex-direction: column; - } -} diff --git a/src/views/creative-generation-workshop/manuscript/check/cancel-check-modal.vue b/src/views/creative-generation-workshop/manuscript/check/cancel-check-modal.vue deleted file mode 100644 index 235f796..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/cancel-check-modal.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/check/check-success-modal.vue b/src/views/creative-generation-workshop/manuscript/check/check-success-modal.vue deleted file mode 100644 index f1b0bf8..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/check-success-modal.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - - diff --git a/src/views/creative-generation-workshop/manuscript/check/components/check-list-drawer/index.vue b/src/views/creative-generation-workshop/manuscript/check/components/check-list-drawer/index.vue deleted file mode 100644 index 23d48f9..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/components/check-list-drawer/index.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/check/components/check-list-drawer/style.scss b/src/views/creative-generation-workshop/manuscript/check/components/check-list-drawer/style.scss deleted file mode 100644 index e32fa77..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/components/check-list-drawer/style.scss +++ /dev/null @@ -1,45 +0,0 @@ -.check-list-drawer-xt { - .arco-drawer-mask { - background-color: transparent; - } - .arco-drawer { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15); - .arco-drawer-body { - overflow: hidden; - display: flex; - flex-direction: column; - padding: 0 0 24px; - .cts { - color: var(--Text-1, #939499); - - font-family: $font-family-regular; - font-size: 16px; - font-style: normal; - font-weight: 400; - line-height: 24px; - &.bold { - color: var(--Text-1, #211f24); - font-family: $font-family-medium; - } - } - .card-item { - cursor: pointer; - border: 1px solid transparent; - transition: all; - &:hover { - background-color: #e6e6e8; - } - &:not(:last-child) { - margin-bottom: 12px; - } - &.active { - border-color: #6d4cfe; - background-color: #f0edff; - :deep(.overflow-text) { - font-family: $font-family-medium !important; - } - } - } - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript/check/components/content-card/constants.ts b/src/views/creative-generation-workshop/manuscript/check/components/content-card/constants.ts deleted file mode 100644 index 0dbe0da..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/components/content-card/constants.ts +++ /dev/null @@ -1,57 +0,0 @@ -export const escapeRegExp = (str: string) => { - return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); -}; - -export const FORM_RULES = { - title: [{ required: true, message: '请输入标题' }], -}; -export const enumTab = { - TEXT: 0, - IMAGE: 1, -}; -export const TAB_LIST = [ - { - label: '文本', - value: enumTab.TEXT, - }, - // { - // label: '图片', - // value: enumTab.IMAGE, - // }, -]; - -export enum Enum_Level { - LOW = 0, - MEDIUM = 1, - HIGH = 2, -} - -export const LEVEL_MAP = new Map([ - [Enum_Level.LOW, { label: '低风险', value: 'low_risk_number', color: '#6d4cfe' }], - [Enum_Level.MEDIUM, { label: '中风险', value: 'medium_risk_number', color: '#FFAE00' }], - [Enum_Level.HIGH, { label: '高风险', value: 'high_risk_number', color: '#F64B31' }], -]); - -export const RESULT_LIST = [ - { - label: '合规程度', - value: 'compliance_level', - color: LEVEL_MAP.get(Enum_Level.LOW)?.color, - suffix: '%', - }, - { - label: '检验项', - value: 'inspection_count', - color: '#211F24', - }, - { - label: '高风险', - value: 'high_risk_number', - color: LEVEL_MAP.get(Enum_Level.HIGH)?.color, - }, - { - label: '中风险', - value: 'medium_risk_number', - color: LEVEL_MAP.get(Enum_Level.MEDIUM)?.color, - }, -]; diff --git a/src/views/creative-generation-workshop/manuscript/check/components/content-card/highlight-textarea.vue b/src/views/creative-generation-workshop/manuscript/check/components/content-card/highlight-textarea.vue deleted file mode 100644 index a0bf5bb..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/components/content-card/highlight-textarea.vue +++ /dev/null @@ -1,234 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript/check/components/content-card/index.vue b/src/views/creative-generation-workshop/manuscript/check/components/content-card/index.vue deleted file mode 100644 index aaa3564..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/components/content-card/index.vue +++ /dev/null @@ -1,476 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/check/components/content-card/style.scss b/src/views/creative-generation-workshop/manuscript/check/components/content-card/style.scss deleted file mode 100644 index 3ee72d6..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/components/content-card/style.scss +++ /dev/null @@ -1,205 +0,0 @@ -.content-wrap { - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .check-btn { - .check-text { - background: linear-gradient(84deg, #266cff 4.57%, #a15af0 84.93%); - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - } - &:hover { - opacity: 0.8; - } - } - - .left-box { - :deep(.arco-tabs) { - .arco-tabs-nav { - .arco-tabs-tab { - height: 40px; - // padding: 0 8px; - margin: 0 16px; - } - &::before { - display: none; - } - } - .arco-tabs-content { - display: none; - } - } - :deep(.arco-form) { - height: 100%; - display: flex; - flex-direction: column; - .arco-form-item { - margin-bottom: 24px; - .arco-form-item-label-col { - .arco-form-item-label { - color: #939499; - } - } - } - .content-form-item { - margin-bottom: 0; - display: flex; - flex-direction: column; - .arco-form-item-wrapper-col { - flex: 1; - .arco-form-item-content-wrapper, - .arco-form-item-content, - .arco-textarea-wrapper { - height: 100%; - } - } - } - } - .upload-box { - display: flex; - width: 100px; - height: 100px; - cursor: pointer; - transition: all 0.3s ease; - flex-direction: column; - justify-content: center; - align-items: center; - border-radius: 8px; - border: 1px dashed var(--Border-1, #d7d7d9); - background: var(--BG-200, #f2f3f5); - &:hover { - background: var(--Primary-1, #e6e6e8); - } - } - .swiper-wrap { - :deep(.swiper) { - height: 100%; - .swiper-wrapper { - align-items: center; - .swiper-slide { - transition: all; - &.active { - width: 60px !important; - height: 60px !important; - .group { - border: 2px solid var(--Brand-6, #6d4cfe); - background: url() lightgray 50% / cover no-repeat; - } - } - &:hover { - .close-icon { - display: block; - } - } - } - } - } - - .swiper-box { - position: absolute; - margin-top: 0 !important; - width: 40px; - height: 40px; - border-radius: 50%; - background: rgba(0, 0, 0, 0.4); - transition: all; - display: flex; - justify-content: center; - align-items: center; - top: 50%; - transform: translateY(-50%); - &:hover { - background: rgba(0, 0, 0, 0.6); - } - &.swiper-button-prev { - left: 16px; - } - &.swiper-button-next { - right: 16px; - } - &::after { - display: none; - } - &.swiper-button-disabled { - display: none; - } - } - } - } - .right-box { - border: 1px solid #e6e6e8; - flex: 1; - border-radius: 8px; - padding: 16px; - display: flex; - flex-direction: column; - overflow-y: auto; - height: fit-content; - max-height: 100%; - .s1 { - font-family: $font-family-manrope-medium; - font-size: 24px; - font-style: normal; - font-weight: 700; - line-height: 32px; /* 133.333% */ - } - .result-item { - &:first-child { - position: relative; - &::after { - content: ''; - position: absolute; - top: 50%; - transform: translateY(-50%); - right: 0; - width: 1px; - height: 32px; - background: var(--Border-1, #d7d7d9); - } - } - } - .suggestion-box { - .ai-text { - background: linear-gradient(85deg, #7d419d 4.56%, #31353d 94.75%); - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - font-family: $font-family-medium; - font-size: 16px; - font-style: normal; - font-weight: 400; - line-height: 24px; - } - } - :deep(.overflow-text) { - color: #211f24; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - } - .forbid-word-box { - :deep(.overflow-text) { - &.level0 { - color: #6d4cfe; - } - &.level2 { - color: #f64b31; - } - &.level1 { - color: #ffae00; - } - } - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript/check/components/header-card/index.vue b/src/views/creative-generation-workshop/manuscript/check/components/header-card/index.vue deleted file mode 100644 index c6d5883..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/components/header-card/index.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/check/components/header-card/style.scss b/src/views/creative-generation-workshop/manuscript/check/components/header-card/style.scss deleted file mode 100644 index 9a4dcef..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/components/header-card/style.scss +++ /dev/null @@ -1,74 +0,0 @@ -.header-wrap { - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .swiper-wrap { - .swiper-item { - transition: all; - &:hover { - background-color: #e6e6e8; - } - &.active { - background-color: #f0edff; - border-color: #6d4cfe; - :deep(.overflow-text) { - font-family: $font-family-medium !important; - } - } - } - .swiper-box { - width: 100px; - height: 64px; - position: absolute; - &.swiper-button-prev { - background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #fff 43.06%); - margin-top: 0 !important; - top: 0; - left: 0; - justify-content: flex-start; - padding-left: 8px; - } - &.swiper-button-next { - background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 43.06%); - margin-top: 0 !important; - top: 0; - right: 0; - justify-content: flex-end; - padding-right: 8px; - } - &::after { - display: none; - } - .swiper-button { - width: 40px; - height: 40px; - background-color: #fff; - display: flex; - justify-content: center; - align-items: center; - border-radius: 8px; - border: 1px solid var(--Border-1, #d7d7d9); - &:hover { - background-color: #f7f8fa; - } - &.click { - background-color: #f2f3f5; - } - } - &.swiper-button-disabled { - display: none; - } - } - } - .platform-row { - border-bottom: 1px solid var(--Border-2, #e6e6e8); - } -} diff --git a/src/views/creative-generation-workshop/manuscript/check/index.vue b/src/views/creative-generation-workshop/manuscript/check/index.vue deleted file mode 100644 index 79bbfdb..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/index.vue +++ /dev/null @@ -1,266 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/check/style.scss b/src/views/creative-generation-workshop/manuscript/check/style.scss deleted file mode 100644 index 680c950..0000000 --- a/src/views/creative-generation-workshop/manuscript/check/style.scss +++ /dev/null @@ -1,48 +0,0 @@ -$footer-height: 68px; -.manuscript-check-wrap { - width: 100%; - height: calc(100% - 72px); - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .check-list-icon { - // width: 92px; - cursor: pointer; - height: 36px; - display: flex; - padding: 8px 12px; - justify-content: center; - align-items: center; - border-radius: 30px 0 0 30px; - border: 1px solid var(--Border-1, #d7d7d9); - background: #fff; - position: absolute; - right: 0; - top: calc($navbar-height + 8px); - &:hover { - .icon, - .cts { - color: #6d4cfe !important; - } - } - } -} -.footer-row { - position: fixed; - bottom: 0; - left: $sidebar-width; - width: calc(100% - $sidebar-width); - height: $footer-height; - &.collapsed { - left: $sidebar-width-collapse; - width: calc(100% - $sidebar-width-collapse); - } -} diff --git a/src/views/creative-generation-workshop/manuscript/components/edit-form/img-box.vue b/src/views/creative-generation-workshop/manuscript/components/edit-form/img-box.vue deleted file mode 100644 index 0746114..0000000 --- a/src/views/creative-generation-workshop/manuscript/components/edit-form/img-box.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript/components/edit-form/index.vue b/src/views/creative-generation-workshop/manuscript/components/edit-form/index.vue deleted file mode 100644 index 0f1b3c4..0000000 --- a/src/views/creative-generation-workshop/manuscript/components/edit-form/index.vue +++ /dev/null @@ -1,373 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/components/edit-form/style.scss b/src/views/creative-generation-workshop/manuscript/components/edit-form/style.scss deleted file mode 100644 index daff403..0000000 --- a/src/views/creative-generation-workshop/manuscript/components/edit-form/style.scss +++ /dev/null @@ -1,38 +0,0 @@ -.cts { - font-family: $font-family-regular; - font-size: 12px; - font-style: normal; - font-weight: 400; - line-height: 20px; -} -.upload-box { - display: flex; - width: 100px; - height: 100px; - cursor: pointer; - transition: all 0.3s ease; - flex-direction: column; - justify-content: center; - align-items: center; - border-radius: 8px; - border: 1px dashed var(--Border-1, #d7d7d9); - background: var(--BG-200, #f2f3f5); - &:hover { - background: var(--Primary-1, #e6e6e8); - } -} -.group { - border-radius: 8px; - &:hover { - .group-container { - background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), - url() lightgray 0px -40.771px / 100% 149.766% no-repeat; - } - } -} -.textarea-box { - :deep(.arco-textarea) { - height: 140px; - max-height: 298px; - } -} diff --git a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/constants.ts b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/constants.ts deleted file mode 100644 index 19964f0..0000000 --- a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/constants.ts +++ /dev/null @@ -1,40 +0,0 @@ -export const INITIAL_FORM = { - audit_status: '', - sort_column: undefined, - sort_order: undefined, -}; - -export const TABLE_COLUMNS = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 220, - }, - { - title: '审核状态', - dataIndex: 'audit_status', - width: 120, - }, - { - title: '稿件类型', - dataIndex: 'type', - width: 120, - }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 160, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, -]; diff --git a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue deleted file mode 100644 index 8046ee2..0000000 --- a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue +++ /dev/null @@ -1,296 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/share-modal.vue b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/share-modal.vue deleted file mode 100644 index c849795..0000000 --- a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/share-modal.vue +++ /dev/null @@ -1,152 +0,0 @@ - diff --git a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/style.scss b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/style.scss deleted file mode 100644 index a3b9dd3..0000000 --- a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/style.scss +++ /dev/null @@ -1,68 +0,0 @@ -.share-manuscript-modal { - .cts { - font-family: $font-family-regular; - font-size: 12px; - font-style: normal; - font-weight: 400; - line-height: 20px; - &.bold { - font-family: $font-family-medium; - } - &.num { - font-family: $font-family-manrope-regular; - } - } - .filter-row-item { - .label { - color: var(--Text-1, #211f24); - font-size: 14px; - } - } - .arco-modal-body { - height: 464px; - display: flex; - flex-direction: column; - overflow: hidden; - .arco-scrollbar-track { - display: none !important; - } - .arco-table { - .arco-table-container { - .arco-table-element { - thead { - .arco-table-tr { - .arco-table-th { - .arco-table-cell { - padding: 10px 16px !important; - } - } - } - } - tbody { - .arco-table-tr { - .arco-table-td { - .arco-table-cell { - padding: 6px 16px; - .arco-table-cell-content, - .arco-table-td-content { - font-size: 12px; - line-height: 20px; - } - } - } - } - } - } - } - } - .arco-pagination { - .arco-pagination-total, - .arco-pagination-jumper-prepend { - font-size: 14px; - } - .arco-pagination-jumper-prepend { - font-family: $font-family-regular; - } - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript/detail/index.vue b/src/views/creative-generation-workshop/manuscript/detail/index.vue deleted file mode 100644 index 0bc8cf3..0000000 --- a/src/views/creative-generation-workshop/manuscript/detail/index.vue +++ /dev/null @@ -1,203 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/detail/style.scss b/src/views/creative-generation-workshop/manuscript/detail/style.scss deleted file mode 100644 index e583a48..0000000 --- a/src/views/creative-generation-workshop/manuscript/detail/style.scss +++ /dev/null @@ -1,71 +0,0 @@ -$footer-height: 68px; -.manuscript-detail-wrap { - width: 100%; - height: calc(100% - 72px); - margin-bottom: 72px; - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .main-video-box { - width: 320px; - height: 472px; - background: #333; - aspect-ratio: 3 / 4; - } - .main-img-box { - width: 320px; - height: auto; - max-height: 472px; - background: #fff; - // aspect-ratio: 3/4; - } - .desc-img-wrap { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 24px; - .desc-img-box { - width: 212px; - height: 283px; - background: #fff; - object-fit: contain; - aspect-ratio: 3/4; - } - } - .play-icon { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 222; - width: 64px; - height: 64px; - background-image: url('@/assets/img/creative-generation-workshop/icon-play.png'); - background-size: contain; - background-repeat: no-repeat; - background-position: center; - transition: background-image 0.3s ease; - } - - .play-icon:hover { - background-image: url('@/assets/img/creative-generation-workshop/icon-play-hover.png'); - } -} -.footer-row { - position: fixed; - bottom: 0; - left: $sidebar-width; - width: calc(100% - $sidebar-width); - height: $footer-height; - &.collapsed { - left: $sidebar-width-collapse; - width: calc(100% - $sidebar-width-collapse); - } -} diff --git a/src/views/creative-generation-workshop/manuscript/edit/cancel-edit-modal.vue b/src/views/creative-generation-workshop/manuscript/edit/cancel-edit-modal.vue deleted file mode 100644 index 7aff674..0000000 --- a/src/views/creative-generation-workshop/manuscript/edit/cancel-edit-modal.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/edit/index.vue b/src/views/creative-generation-workshop/manuscript/edit/index.vue deleted file mode 100644 index 263e577..0000000 --- a/src/views/creative-generation-workshop/manuscript/edit/index.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/edit/style.scss b/src/views/creative-generation-workshop/manuscript/edit/style.scss deleted file mode 100644 index 2ba50dc..0000000 --- a/src/views/creative-generation-workshop/manuscript/edit/style.scss +++ /dev/null @@ -1,28 +0,0 @@ -$footer-height: 68px; -.manuscript-edit-wrap { - height: calc(100% - 72px); - display: flex; - flex-direction: column; - .cts { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } -} -.footer-row { - position: fixed; - bottom: 0; - left: $sidebar-width; - width: calc(100% - $sidebar-width); - height: $footer-height; - &.collapsed { - left: $sidebar-width-collapse; - width: calc(100% - $sidebar-width-collapse); - } -} diff --git a/src/views/creative-generation-workshop/manuscript/list/components/filter-block/index.vue b/src/views/creative-generation-workshop/manuscript/list/components/filter-block/index.vue deleted file mode 100644 index 9e411aa..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/components/filter-block/index.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts deleted file mode 100644 index d6d437b..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts +++ /dev/null @@ -1,73 +0,0 @@ -export const TABLE_COLUMNS = [ - { - title: '序号', - dataIndex: 'uid', - width: 120, - fixed: 'left', - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '图片/视频', - dataIndex: 'cover', - width: 120, - }, - { - title: '内容稿件标题', - dataIndex: 'title', - width: 240, - }, - { - title: '客户意见', - dataIndex: 'customer_opinion', - width: 120, - }, - // { - // title: '所属项目', - // dataIndex: 'projects', - // width: 240, - // }, - { - title: '稿件类型', - dataIndex: 'type', - width: 120, - }, - { - title: '审核状态', - dataIndex: 'audit_status', - width: 120, - }, - { - title: '上传时间', - dataIndex: 'created_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '上传人员', - dataIndex: 'uploader', - width: 180, - }, - { - title: '最后修改时间', - dataIndex: 'last_modified_at', - width: 180, - sortable: { - sortDirections: ['ascend', 'descend'], - }, - }, - { - title: '最后修改人员', - dataIndex: 'last_modifier', - width: 180, - }, - { - title: '操作', - dataIndex: 'operation', - width: 180, - fixed: 'right', - }, -]; diff --git a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/delete-manuscript-modal.vue b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/delete-manuscript-modal.vue deleted file mode 100644 index ef68bd5..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/delete-manuscript-modal.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue deleted file mode 100644 index 7c14fb4..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - - - diff --git a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/style.scss b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/style.scss deleted file mode 100644 index 8621a01..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/style.scss +++ /dev/null @@ -1,16 +0,0 @@ -.manuscript-table { - .cts { - color: var(--Text-1, #211f24); - font-family: $font-family-medium; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - } - :deep(.title) { - cursor: pointer; - &:hover { - color: #6d4cfe; - } - } -} diff --git a/src/views/creative-generation-workshop/manuscript/list/components/upload-manuscript-modal/index.vue b/src/views/creative-generation-workshop/manuscript/list/components/upload-manuscript-modal/index.vue deleted file mode 100644 index 3a975cb..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/components/upload-manuscript-modal/index.vue +++ /dev/null @@ -1,417 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/list/components/upload-manuscript-modal/style.scss b/src/views/creative-generation-workshop/manuscript/list/components/upload-manuscript-modal/style.scss deleted file mode 100644 index 494dff7..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/components/upload-manuscript-modal/style.scss +++ /dev/null @@ -1,31 +0,0 @@ -.upload-manuscript-modal { - .text { - color: var(--Text-1, #211f24); - text-align: center; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - } - .tip { - color: var(--Text-3, #737478); - text-align: center; - font-family: $font-family-regular; - font-size: 12px; - font-style: normal; - font-weight: 400; - line-height: 20px; - } - .upload-box { - display: flex; - height: 120px; - padding: 0 16px; - flex-direction: column; - justify-content: center; - align-items: center; - border-radius: 2px; - border: 1px dashed var(--Border-1, #d7d7d9); - background: var(--BG-200, #f2f3f5); - } -} diff --git a/src/views/creative-generation-workshop/manuscript/list/constants.ts b/src/views/creative-generation-workshop/manuscript/list/constants.ts deleted file mode 100644 index b06f7cd..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/constants.ts +++ /dev/null @@ -1,56 +0,0 @@ -export const INITIAL_QUERY = { - title: '', - // project_ids: [], - uid: '', - audit_status: '', - created_at: [], - sort_column: undefined, - sort_order: undefined, -}; - -export enum EnumCheckStatus { - All = '', - Wait = 1, - Checking = 2, - Passed = 3, -} -export enum EnumManuscriptType { - All = '', - Image = 0, - Video = 1, -} - -export const CHECK_STATUS = [ - { - name: '待审核', - id: EnumCheckStatus.Wait, - backgroundColor: '#F2F3F5', - color: '#3C4043' - }, - { - name: '审核中', - id: EnumCheckStatus.Checking, - backgroundColor: '#FFF7E5', - color: '#FFAE00' - }, - { - name: '已通过', - id: EnumCheckStatus.Passed, - backgroundColor: '#EBF7F2', - color: '#25C883' - }, -]; -export const MANUSCRIPT_TYPE = [ - { - label: '全部', - value: EnumManuscriptType.All, - }, - { - label: '图片', - value: EnumManuscriptType.Image, - }, - { - label: '视频', - value: EnumManuscriptType.Video, - }, -] diff --git a/src/views/creative-generation-workshop/manuscript/list/index.vue b/src/views/creative-generation-workshop/manuscript/list/index.vue deleted file mode 100644 index 492adac..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/index.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - - diff --git a/src/views/creative-generation-workshop/manuscript/list/style.scss b/src/views/creative-generation-workshop/manuscript/list/style.scss deleted file mode 100644 index 8570520..0000000 --- a/src/views/creative-generation-workshop/manuscript/list/style.scss +++ /dev/null @@ -1,22 +0,0 @@ -.manuscript-list-wrap { - // height: 100%; - display: flex; - flex-direction: column; - .filter-wrap { - .top { - .title { - font-family: $font-family-medium; - font-style: normal; - } - :deep(.arco-btn) { - .arco-btn-icon { - line-height: 16px; - } - } - } - } - .table-wrap { - display: flex; - flex-direction: column; - } -} diff --git a/src/views/creative-generation-workshop/manuscript/upload/cancel-upload-modal.vue b/src/views/creative-generation-workshop/manuscript/upload/cancel-upload-modal.vue deleted file mode 100644 index 358e4c4..0000000 --- a/src/views/creative-generation-workshop/manuscript/upload/cancel-upload-modal.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/upload/index.vue b/src/views/creative-generation-workshop/manuscript/upload/index.vue deleted file mode 100644 index b713e8a..0000000 --- a/src/views/creative-generation-workshop/manuscript/upload/index.vue +++ /dev/null @@ -1,325 +0,0 @@ - - - diff --git a/src/views/creative-generation-workshop/manuscript/upload/style.scss b/src/views/creative-generation-workshop/manuscript/upload/style.scss deleted file mode 100644 index 3588836..0000000 --- a/src/views/creative-generation-workshop/manuscript/upload/style.scss +++ /dev/null @@ -1,32 +0,0 @@ -$footer-height: 68px; -.manuscript-upload-wrap { - height: calc(100% - 72px); - .cts, - :deep(.overflow-text) { - color: #939499; - font-family: $font-family-regular; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - &.bold { - font-family: $font-family-medium; - } - } - .right { - border-left: 1px solid var(--Border-2, #e6e6e8); - width: 320px; - flex-shrink: 0; - } -} -.footer-row { - position: fixed; - bottom: 0; - left: $sidebar-width; - width: calc(100% - $sidebar-width); - height: $footer-height; - &.collapsed { - left: $sidebar-width-collapse; - width: calc(100% - $sidebar-width-collapse); - } -} diff --git a/src/views/creative-generation-workshop/manuscript/upload/upload-success-modal.vue b/src/views/creative-generation-workshop/manuscript/upload/upload-success-modal.vue deleted file mode 100644 index 5ced374..0000000 --- a/src/views/creative-generation-workshop/manuscript/upload/upload-success-modal.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - diff --git a/src/views/writer-material-center/components/finished-products/manuscript/list/components/filter-block/index.vue b/src/views/writer-material-center/components/finished-products/manuscript/list/components/filter-block/index.vue index 4826fe8..0270933 100644 --- a/src/views/writer-material-center/components/finished-products/manuscript/list/components/filter-block/index.vue +++ b/src/views/writer-material-center/components/finished-products/manuscript/list/components/filter-block/index.vue @@ -85,7 +85,7 @@