Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
ec43690e
Commit
ec43690e
authored
Apr 24, 2023
by
陈万宝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更新图片截取
parent
0078f491
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
common.less
src/pages/ServiceGoods/common.less
+8
-5
UploadCropImage.jsx
src/pages/ServiceGoods/components/UploadCropImage.jsx
+2
-1
No files found.
src/pages/ServiceGoods/common.less
View file @
ec43690e
...
...
@@ -340,8 +340,11 @@
background: #f8f8f8;
}
:global {
.reactEasyCrop_Container {
height: 550px !important;
}
}
// :global {
// .reactEasyCrop_Container {
// height: 550px !important;
// }
// .reactEasyCrop_CropArea {
// height: 100% !important;
// }
// }
src/pages/ServiceGoods/components/UploadCropImage.jsx
View file @
ec43690e
...
...
@@ -238,7 +238,8 @@ const UploadCropImage = forwardRef((props, ref) => {
{
limit
!==
null
&&
fileList
.
length
>=
limit
?
(
''
)
:
(
<
ImgCrop
rotationSlider
modalWidth=
{
500
}
modalHeight=
{
500
}
quality=
{
0.5
}
showReset
>
// aspectSlider rotationSlider modalWidth=
{
500
}
modalHeight
=
{
500
}
quality
=
{
0.5
}
<
ImgCrop
showGrid
rotationSlider
showReset
>
<
Upload
{
...
uploadParams
}
disabled=
{
Boolean
(
disabled
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment