Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
ReactWeb5
CivManage
Commits
393b7cd9
Commit
393b7cd9
authored
2 years ago
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '图片库样式优化'
parent
9c19b664
Pipeline
#54570
waiting for manual action with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
18 deletions
+31
-18
Master.jsx
src/pages/integratedLogin/Master.jsx
+3
-2
PreviewModal.jsx
src/pages/integratedLogin/PreviewModal.jsx
+5
-7
integrate.less
src/pages/integratedLogin/integrate.less
+23
-9
No files found.
src/pages/integratedLogin/Master.jsx
View file @
393b7cd9
...
...
@@ -6,7 +6,7 @@ import {
AddIntegratedloginSetting
,
GetIntegratedloginSetting
,
}
from
'@/services/integratedLogin/api'
;
import
{
PlusOutlined
,
LoadingOutlined
}
from
'@ant-design/icons'
;
import
{
PlusOutlined
,
LoadingOutlined
,
ConsoleSqlOutlined
}
from
'@ant-design/icons'
;
import
{
get
,
PUBLISH_SERVICE
}
from
'@/services'
;
import
PreviewModal
from
'./PreviewModal'
;
const
{
Item
}
=
Form
;
...
...
@@ -158,7 +158,8 @@ const Master = props => {
const
onOk
=
props
=>
{
if
(
props
)
{
console
.
log
(
props
.
path
);
console
.
log
(
process
.
env
.
PROXY
);
console
.
log
(
process
);
console
.
log
(
global
);
setImageUrl
(
window
.
location
.
origin
+
`/
${
props
.
path
}
`
);
setIm
(
props
.
path
);
setKeepImgeUrl
(
props
.
path
);
...
...
This diff is collapsed.
Click to expand it.
src/pages/integratedLogin/PreviewModal.jsx
View file @
393b7cd9
...
...
@@ -124,13 +124,7 @@ const PreviewModal = props => {
// src=
{
`${isDev ? process.env.PROXY : window.location.origin}${k}`
}
// height="100px"
// />
<
div
className=
{
classnames
({
[
styles
.
imgHidden
]:
index
!==
pickItem
||
i
.
groupName
!==
keepItem
,
[
styles
.
imgItem
]:
index
===
pickItem
&&
i
.
groupName
===
keepItem
,
})
}
key=
{
index
}
>
<
div
className=
{
styles
.
divItem
}
key=
{
index
}
>
<
CheckCircleTwoTone
className=
{
classnames
({
[
styles
.
iconHidden
]:
index
!==
pickItem
||
i
.
groupName
!==
keepItem
,
...
...
@@ -139,6 +133,10 @@ const PreviewModal = props => {
/>
<
img
src=
{
window
.
location
.
origin
+
`/${k.path}`
}
className=
{
classnames
({
[
styles
.
imgHidden
]:
index
!==
pickItem
||
i
.
groupName
!==
keepItem
,
[
styles
.
imgItem
]:
index
===
pickItem
&&
i
.
groupName
===
keepItem
,
})
}
height=
"80px"
width=
"80px"
alt=
"集成登录默认"
...
...
This diff is collapsed.
Click to expand it.
src/pages/integratedLogin/integrate.less
View file @
393b7cd9
...
...
@@ -14,29 +14,43 @@
align-items: center;
}
}
.imgItem {
// border: 3px solid rgb(24, 144, 255);
// box-sizing: border-box;
// border-radius: 5px;
.divItem {
display: inline-block;
margin-left: 30px;
margin-bottom: 30px;
}
.imgItem {
border: 3px solid rgb(24, 144, 255);
box-sizing: border-box;
border-radius: 5px;
display: inline-block;
}
.imgHidden {
//
border: none;
border: none;
display: inline-block;
margin-left: 30px;
margin-bottom: 30px;
}
.imgHidden:hover {
border: 3px solid rgb(24, 144, 255);
box-sizing: border-box;
border-radius: 5px;
display: inline-block;
}
.iconItem {
position: absolute;
margin-left: 7
3
px;
margin-top: -
5
px;
margin-left: 7
0
px;
margin-top: -
3
px;
font-size: 17px;
}
.iconHidden {
display: none;
}
.iconHidden:hover {
position: absolute;
margin-left: 70px;
margin-top: -3px;
font-size: 17px;
}
.table {
background-color: white;
...
...
This diff is collapsed.
Click to expand it.
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