From 504fd4010a2be09b5aef6c8e2b1d376030b3c044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=86=E9=92=B1=E8=90=BD=E5=B0=BD=E6=A7=BF=E8=8A=B1?= =?UTF-8?q?=E7=A8=80?= <2675540038@qq.com> Date: Mon, 14 Apr 2025 15:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=80=82=E9=85=8Dinput?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- src/views/paper/article/index.vue | 83 +++++----- src/views/paper/article/update.vue | 21 ++- src/views/paper/list/index.vue | 17 +- ...s.timestamp-1739755972639-96bbe1e519bc.mjs | 148 ------------------ 6 files changed, 75 insertions(+), 198 deletions(-) delete mode 100644 vite.config.ts.timestamp-1739755972639-96bbe1e519bc.mjs diff --git a/.env.development b/.env.development index 3a18247..27bb893 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ VITE_LOGIN_TITLE = '今日固始电子版 管理平台' VITE_LOGIN_EN_TITLE = 'GuShi Platform' VITE_WEB_BASE_API = '/api' # 本地Mock地址 -VITE_SERVER = 'https://jinrigushi.gushitv.com/' +VITE_SERVER = 'http://democs.gushitv.com/' # 路由模式[哈希模式 AND WEB模式 [hash | history, 这两个模式是固定死的,不能乱改值] VITE_ROUTER_MODE = hash # 是否使用全部去除console和debugger diff --git a/.env.production b/.env.production index f458732..2e13bd6 100644 --- a/.env.production +++ b/.env.production @@ -6,7 +6,7 @@ VITE_LOGIN_TITLE = '今日固始电子版 管理平台' VITE_LOGIN_EN_TITLE = 'GuShi Platform' VITE_WEB_BASE_API = '' # 后端接口地址 -VITE_SERVER = 'https://jinrigushi.gushitv.com/' +VITE_SERVER = 'http://democs.gushitv.com/' # 路由模式[哈希模式 AND WEB模式 [hash | history, 这两个模式是固定死的,不能乱改值] VITE_ROUTER_MODE = hash # 是否使用全部去除console和debugger diff --git a/src/views/paper/article/index.vue b/src/views/paper/article/index.vue index c22de49..00ac367 100644 --- a/src/views/paper/article/index.vue +++ b/src/views/paper/article/index.vue @@ -4,40 +4,44 @@
请在图片边框内选定区域
- -
+ +
image + @click="handleClick" + style="cursor: crosshair; position: relative; user-select: none; width: 100%; height: auto;" + @load="onImageLoad" /> + style="position: absolute; top: 0; left: 0; pointer-events: none;">
- - + + - + - - + + - - - 重新选择 + + + 重新选择 - + + + + - + + @onCreated="handleCreated" /> @@ -53,12 +57,12 @@