From ed6c457d9160be6b300e05161b1179941fe097c8 Mon Sep 17 00:00:00 2001
From: zzc <1761997216@qq.com>
Date: Fri, 23 Jan 2026 14:18:00 +0800
Subject: [PATCH] feat: avator limit
---
api/avatar.js | 9 +++
pages/avatar/index.vue | 155 +++++++++++++++++++++++++++++++++--------
2 files changed, 135 insertions(+), 29 deletions(-)
create mode 100644 api/avatar.js
diff --git a/api/avatar.js b/api/avatar.js
new file mode 100644
index 0000000..0bce033
--- /dev/null
+++ b/api/avatar.js
@@ -0,0 +1,9 @@
+import { request } from "@/utils/request.js";
+
+export const avatarDownloadRecord = async (data) => {
+ return request({
+ url: "/api/blessing/avatar/download",
+ method: "POST",
+ data,
+ });
+};
diff --git a/pages/avatar/index.vue b/pages/avatar/index.vue
index 82f0c8c..ca9ebea 100644
--- a/pages/avatar/index.vue
+++ b/pages/avatar/index.vue
@@ -24,19 +24,29 @@
@touchend.stop="onTouchEnd"
/>
- 实时预览效果
+
+ 👆 单指拖动
+ |
+ ✌️ 双指缩放/旋转
+
+ 实时预览效果
-
-
+
+
+
+
+ 📷
+ 微信头像
+
✔
@@ -92,11 +102,6 @@
-
-
-
-
-