From b0f240cb1aeccc790d4f0fa0256fe5fdb09144ac Mon Sep 17 00:00:00 2001 From: zzp <34701892@qq.com> Date: Thu, 9 Oct 2025 10:07:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(login):=20=E5=85=81=E8=AE=B8=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=B1=BB=E5=9E=8B02=E7=99=BB=E5=BD=95=E5=90=8E?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E9=A6=96=E9=A1=B5=20feat(richedit):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=AF=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=20refactor(riched?= =?UTF-8?q?it):=20=E9=87=8D=E6=9E=84=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=AF=8C?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E5=92=8C=E5=8A=9F=E8=83=BD=20fix(env):=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83API=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 8 +- src/views/login/component/account.vue | 2 +- src/views/pages/richedit/indexMobile copy.vue | 515 ++++++++++++ src/views/pages/richedit/indexMobile.vue | 783 ++++++++++-------- 4 files changed, 937 insertions(+), 371 deletions(-) create mode 100644 src/views/pages/richedit/indexMobile copy.vue diff --git a/.env.production b/.env.production index 45f54ad..4fb8e9d 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,9 @@ ENV = production # 线上环境接口地址 -# VITE_API_URL = https://cankao.cs.com.cn/admin -VITE_API_URL = http://123.60.153.169:8040/admin +VITE_API_URL = https://cankao.cs.com.cn/admin +# VITE_API_URL = http://123.60.153.169:8040/admin #H5的域名,目前是给列表里的复制用 -# VITE_API_URL_H5 = https://cankao.cs.com.cn -VITE_API_URL_H5 = http://123.60.153.169:8040 +VITE_API_URL_H5 = https://cankao.cs.com.cn +# VITE_API_URL_H5 = http://123.60.153.169:8040 diff --git a/src/views/login/component/account.vue b/src/views/login/component/account.vue index a329bef..78260ad 100644 --- a/src/views/login/component/account.vue +++ b/src/views/login/component/account.vue @@ -184,7 +184,7 @@ const signInSuccess = (isNoPower: boolean | undefined) => { // 登录成功,跳到转首页 // 如果是复制粘贴的路径,非首页/登录页,那么登录成功后重定向到对应的路径中 - if (isMobileByWidth() && Session.get('userInfoLocal').userType == '01') { + if (isMobileByWidth() && (Session.get('userInfoLocal').userType == '01' || Session.get('userInfoLocal').userType == '02')) { console.log('🚀 ~ signInSuccess ~ router:', route); // 移动端逻辑 diff --git a/src/views/pages/richedit/indexMobile copy.vue b/src/views/pages/richedit/indexMobile copy.vue new file mode 100644 index 0000000..71e9951 --- /dev/null +++ b/src/views/pages/richedit/indexMobile copy.vue @@ -0,0 +1,515 @@ + + + + + + + + + + 清空条件 + + + + + + + + {{ item.name }} + + + + + + + + + + + + + + + + 草稿 + 未发布 + 已发布 + 审核中 + + + + + + + + + {{ item.submitter }} + + + + 编辑评分: + {{ item.rating }} + + + + + + 报道时间: + {{ item.publishTime }} + + + + 编辑 + + 编辑 + + + 撤稿 + 发布 + + + + + + + + --- 正在加载中 --- + --- 已经到底了 --- + + + + + + + + + + + + + + + + + diff --git a/src/views/pages/richedit/indexMobile.vue b/src/views/pages/richedit/indexMobile.vue index 71e9951..7d8135e 100644 --- a/src/views/pages/richedit/indexMobile.vue +++ b/src/views/pages/richedit/indexMobile.vue @@ -1,104 +1,165 @@ - - - - - - - + + + + + + + - 清空条件 - + 清空条件 + - + - - - - {{ item.name }} - - - + + + + {{ item.name }} + + + - - + + - - - - - - - - - 草稿 - 未发布 - 已发布 - 审核中 - - - - - - - - - {{ item.submitter }} - + + + + + + + + 草稿 + 未发布 + 已发布 + 审核中 + + + + + + + + + {{ item.submitter }} + - - 编辑评分: - {{ item.rating }} - - - - - - 报道时间: - {{ item.publishTime }} - + + 编辑评分: + {{ item.rating }} + + + + + + 报道时间: + {{ item.publishTime }} + - - 编辑 + + + 恢复 + + + + + + 编辑 - 编辑 - - - 撤稿 - 发布 - + 送审 + 撤审 - - - - + 删除 + + + 撤审 - --- 正在加载中 --- - --- 已经到底了 --- + + 退改 - + 编辑 - - - - - - - - - + 复审 + 发布 + + + + 编辑 + + 退改 + + 撤稿 + 发布 + + 退改 + + + + + + + + + + --- 正在加载中 --- + --- 已经到底了 --- + + + + + + + + + + +