Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
55b70bdd
Commit
55b70bdd
authored
Jul 21, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加查大图
parent
1096d783
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
95 additions
and
3 deletions
+95
-3
.idea/.gitignore
.idea/.gitignore
+5
-0
.idea/codeStyles/codeStyleConfig.xml
.idea/codeStyles/codeStyleConfig.xml
+5
-0
.idea/inspectionProfiles/Project_Default.xml
.idea/inspectionProfiles/Project_Default.xml
+6
-0
.idea/modules.xml
.idea/modules.xml
+8
-0
.idea/qk_admin.iml
.idea/qk_admin.iml
+12
-0
.idea/vcs.xml
.idea/vcs.xml
+6
-0
src/views/goods/components/CheckLargeImageDialog.vue
src/views/goods/components/CheckLargeImageDialog.vue
+39
-0
src/views/goods/infoSet.vue
src/views/goods/infoSet.vue
+14
-3
No files found.
.idea/.gitignore
0 → 100644
View file @
55b70bdd
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
.idea/codeStyles/codeStyleConfig.xml
0 → 100644
View file @
55b70bdd
<component
name=
"ProjectCodeStyleConfiguration"
>
<state>
<option
name=
"PREFERRED_PROJECT_CODE_STYLE"
value=
"Default"
/>
</state>
</component>
\ No newline at end of file
.idea/inspectionProfiles/Project_Default.xml
0 → 100644
View file @
55b70bdd
<component
name=
"InspectionProjectProfileManager"
>
<profile
version=
"1.0"
>
<option
name=
"myName"
value=
"Project Default"
/>
<inspection_tool
class=
"Eslint"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
</profile>
</component>
\ No newline at end of file
.idea/modules.xml
0 → 100644
View file @
55b70bdd
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectModuleManager"
>
<modules>
<module
fileurl=
"file://$PROJECT_DIR$/.idea/qk_admin.iml"
filepath=
"$PROJECT_DIR$/.idea/qk_admin.iml"
/>
</modules>
</component>
</project>
\ No newline at end of file
.idea/qk_admin.iml
0 → 100644
View file @
55b70bdd
<?xml version="1.0" encoding="UTF-8"?>
<module
type=
"WEB_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/temp"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/.tmp"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/tmp"
/>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</module>
\ No newline at end of file
.idea/vcs.xml
0 → 100644
View file @
55b70bdd
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$"
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
src/views/goods/components/CheckLargeImageDialog.vue
0 → 100644
View file @
55b70bdd
<
template
>
<el-dialog
:visible.sync=
"showLargeDialog"
:before-close=
"handleClose"
>
<div
>
<img
:src=
"imageUrl"
class=
"image"
@
click=
"handleClose"
>
</div>
</el-dialog>
</
template
>
<
script
>
export
default
{
name
:
'
CheckLargeImageDialog
'
,
props
:
{
showLargeDialog
:
{
type
:
Boolean
,
default
:
false
},
imageUrl
:
{
type
:
String
,
default
:
''
}
},
methods
:
{
handleClose
()
{
this
.
$emit
(
'
closeLargeDialog
'
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.image
{
min-width
:
400px
;
max-width
:
600px
;
height
:
auto
;
}
</
style
>
src/views/goods/infoSet.vue
View file @
55b70bdd
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<
div
class
=
"
detail_image
"
>
<
div
class
=
"
detail_image
"
>
<
div
class
=
"
detail_title
"
>
{{
`钱币图片:`
}}
<
/div
>
<
div
class
=
"
detail_title
"
>
{{
`钱币图片:`
}}
<
/div
>
<
div
class
=
"
list
"
>
<
div
class
=
"
list
"
>
<
div
v
-
for
=
"
(item, index) in goodsParams.images
"
:
key
=
"
item + index
"
class
=
"
select_item
"
>
<
div
v
-
for
=
"
(item, index) in goodsParams.images
"
:
key
=
"
item + index
"
class
=
"
select_item
"
@
click
=
"
handleShowLargeDialog(item)
"
>
<
img
:
src
=
"
item
"
class
=
"
gallery
"
>
<
img
:
src
=
"
item
"
class
=
"
gallery
"
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -195,6 +195,11 @@
...
@@ -195,6 +195,11 @@
@
closeDialog
=
"
dialogVisible = false
"
@
closeDialog
=
"
dialogVisible = false
"
@
selectSuccess
=
"
handleSelectSuccess
"
@
selectSuccess
=
"
handleSelectSuccess
"
@
imageBase64Str
=
"
handlerGetBase64
"
/>
@
imageBase64Str
=
"
handlerGetBase64
"
/>
<
CheckLargeImageDialog
:
show
-
large
-
dialog
=
"
showLargeDialog
"
:
image
-
url
=
"
imageUrl
"
@
closeLargeDialog
=
"
showLargeDialog = false
"
/>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
...
@@ -205,10 +210,11 @@ import { getToken } from '@/utils/auth'
...
@@ -205,10 +210,11 @@ import { getToken } from '@/utils/auth'
import
SelectImageDialog
from
'
./components/selectImageDialog
'
import
SelectImageDialog
from
'
./components/selectImageDialog
'
import
{
listCategories
}
from
'
@/api/business/goods
'
import
{
listCategories
}
from
'
@/api/business/goods
'
import
{
detailGoods
,
editGoods
}
from
'
@/api/business/goodsNew
'
import
{
detailGoods
,
editGoods
}
from
'
@/api/business/goodsNew
'
import
CheckLargeImageDialog
from
'
./components/CheckLargeImageDialog
'
export
default
{
export
default
{
name
:
'
InfoSet
'
,
name
:
'
InfoSet
'
,
components
:
{
SelectImageDialog
,
VuePictureCut
,
VuePictureCutMask
,
VuePictureCutMenu
}
,
components
:
{
CheckLargeImageDialog
,
SelectImageDialog
,
VuePictureCut
,
VuePictureCutMask
,
VuePictureCutMenu
}
,
data
()
{
data
()
{
return
{
return
{
pictureCut
:
null
,
pictureCut
:
null
,
...
@@ -241,7 +247,8 @@ export default {
...
@@ -241,7 +247,8 @@ export default {
goodsParams
:
{
images
:
[]
}
,
goodsParams
:
{
images
:
[]
}
,
goodIdList
:
[],
goodIdList
:
[],
currentIndex
:
0
,
currentIndex
:
0
,
isDisabledNext
:
false
showLargeDialog
:
false
,
imageUrl
:
''
}
}
}
,
}
,
...
@@ -524,6 +531,10 @@ export default {
...
@@ -524,6 +531,10 @@ export default {
}
else
{
}
else
{
this
.
handleGetDetail
(
''
,
3
)
this
.
handleGetDetail
(
''
,
3
)
}
}
}
,
handleShowLargeDialog
(
imageUrl
)
{
this
.
imageUrl
=
imageUrl
this
.
showLargeDialog
=
true
}
}
}
}
}
}
...
...
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