From 8b35d6ef454bb22bb2f3f99249864074ca0c3359 Mon Sep 17 00:00:00 2001 From: Marvin <63292605+yi-boide@users.noreply.github.com> Date: Fri, 26 Jan 2024 14:46:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(avatar-cropper):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E7=9C=9F=E6=9C=BA=E8=B0=83=E8=AF=95=20canvas?= =?UTF-8?q?=20=E5=B1=82=E7=BA=A7=E9=94=99=E8=AF=AF=20(#2865)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #2836 --- src/packages/__VUE/avatarcropper/index.scss | 6 ++ .../__VUE/avatarcropper/index.taro.vue | 77 +++++++++---------- src/packages/__VUE/avatarcropper/index.vue | 2 +- 3 files changed, 45 insertions(+), 40 deletions(-) diff --git a/src/packages/__VUE/avatarcropper/index.scss b/src/packages/__VUE/avatarcropper/index.scss index bee9713d6d..fefcc67637 100644 --- a/src/packages/__VUE/avatarcropper/index.scss +++ b/src/packages/__VUE/avatarcropper/index.scss @@ -30,6 +30,12 @@ cursor: pointer; z-index: 2; } + &.round { + &::after, + .nut-avatar-cropper__edit-text { + border-radius: 50%; + } + } } .nut-cropper-popup { diff --git a/src/packages/__VUE/avatarcropper/index.taro.vue b/src/packages/__VUE/avatarcropper/index.taro.vue index 3789765cbf..0939230f64 100644 --- a/src/packages/__VUE/avatarcropper/index.taro.vue +++ b/src/packages/__VUE/avatarcropper/index.taro.vue @@ -1,5 +1,5 @@