From ac8ac04469b53b402e6b3212d3d06d9e931f8522 Mon Sep 17 00:00:00 2001 From: qzc Date: Mon, 1 Jul 2024 14:27:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6ws?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/gqzq/gqxx/qkForm.vue | 18 ++++++++++++++++-- pages/gqzq/gqxx/xqForm.vue | 18 ++++++++++++++++-- pages/gqzq/zqxx/form.vue | 18 ++++++++++++++++-- pages/login/login.vue | 2 +- 4 files changed, 49 insertions(+), 7 deletions(-) diff --git a/pages/gqzq/gqxx/qkForm.vue b/pages/gqzq/gqxx/qkForm.vue index aa3a541..f8e22d9 100644 --- a/pages/gqzq/gqxx/qkForm.vue +++ b/pages/gqzq/gqxx/qkForm.vue @@ -147,7 +147,14 @@ 附件:
{{getRecord.fileIds || '暂无数据'}} - +
@@ -208,7 +215,14 @@ this.getState() } } - } + }, + previewImage(index,url) { + // 使用uni.previewImage预览图片 + uni.previewImage({ + current: index, + urls: [url] + }); + } }, onLoad(props){ const record = JSON.parse(props.obj) diff --git a/pages/gqzq/gqxx/xqForm.vue b/pages/gqzq/gqxx/xqForm.vue index df19127..ad6ad37 100644 --- a/pages/gqzq/gqxx/xqForm.vue +++ b/pages/gqzq/gqxx/xqForm.vue @@ -157,7 +157,14 @@ 附件:
{{getRecord.fileIds || '暂无数据'}} - +
@@ -218,7 +225,14 @@ this.getState() } } - } + }, + previewImage(index,url) { + // 使用uni.previewImage预览图片 + uni.previewImage({ + current: index, + urls: [url] + }); + } }, onLoad(props){ const record = JSON.parse(props.obj) diff --git a/pages/gqzq/zqxx/form.vue b/pages/gqzq/zqxx/form.vue index 3eadbcd..37a5224 100644 --- a/pages/gqzq/zqxx/form.vue +++ b/pages/gqzq/zqxx/form.vue @@ -198,7 +198,14 @@ 附件:
{{getRecord.fileIds || '暂无数据'}} - +
@@ -259,7 +266,14 @@ this.getState() } } - } + }, + previewImage(index,url) { + // 使用uni.previewImage预览图片 + uni.previewImage({ + current: index, + urls: [url] + }); + } }, onLoad(props){ const record = JSON.parse(props.obj) diff --git a/pages/login/login.vue b/pages/login/login.vue index 7b0d146..6cad247 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -23,7 +23,7 @@ /> - 记住用户名和密码