From 7a85132a28ecdd42cbb7f1aa35d018164d06b35c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E7=A3=8A?= <1633537611@qq.com>
Date: Tue, 12 Sep 2023 16:31:12 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0chooseImage=E7=A4=BA=E4=BE=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 6 +
pages/API/choose-image/choose-image.uvue | 192 +++++++++++++++++++++++
pages/tabBar/API.uvue | 6 +-
3 files changed, 203 insertions(+), 1 deletion(-)
create mode 100644 pages/API/choose-image/choose-image.uvue
diff --git a/pages.json b/pages.json
index cd4197ef..5f66449b 100644
--- a/pages.json
+++ b/pages.json
@@ -720,6 +720,12 @@
"navigationBarTitleText": "保存图片到相册"
}
},
+ {
+ "path": "pages/API/choose-image/choose-image",
+ "style": {
+ "navigationBarTitleText": "图片"
+ }
+ },
{
"path": "pages/component/scroll-view/scroll-view-refresher",
"style": {
diff --git a/pages/API/choose-image/choose-image.uvue b/pages/API/choose-image/choose-image.uvue
new file mode 100644
index 00000000..d825b398
--- /dev/null
+++ b/pages/API/choose-image/choose-image.uvue
@@ -0,0 +1,192 @@
+
+
+
+
+
+
+
+
+
+
+ 图片来源
+
+
+ {{sourceType[sourceTypeIndex]}}
+
+
+
+
+
+ 图片质量
+
+
+ {{sizeType[sizeTypeIndex]}}
+
+
+
+
+
+ 数量限制
+
+
+
+
+
+
+
+
+
+ 点击可预览选好的图片
+
+ {{imageList.length}}/{{countIndex+1}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index 57869cfc..3bc4ad93 100644
--- a/pages/tabBar/API.uvue
+++ b/pages/tabBar/API.uvue
@@ -299,7 +299,11 @@
id: 'media',
name: '媒体',
open: false,
- pages: [
+ pages: [
+ {
+ name: "图片",
+ url: 'choose-image'
+ },
{
name: '图片选择和预览',
url: 'preview-image',
--
GitLab