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
5b661ece
Commit
5b661ece
authored
Jul 25, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:优化UI
parent
70bb0dbe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
+20
-5
src/views/goods/infoSet.vue
src/views/goods/infoSet.vue
+20
-5
No files found.
src/views/goods/infoSet.vue
View file @
5b661ece
...
@@ -11,10 +11,14 @@
...
@@ -11,10 +11,14 @@
<el-card
class=
"detail-card"
>
<el-card
class=
"detail-card"
>
<div
class=
"detail"
>
<div
class=
"detail"
>
<div
class=
"detail_title"
>
{{
`名称:${goodsParams.name || ''
}
`
}}
<
/div
>
<div
class=
"desc"
>
<div
class=
"detail_title"
style=
"min-width: 80px; text-align: end"
>
钱币名称:
</div>
<div
class=
"detail_title"
>
{{
goodsParams
.
name
}}
</div>
</div>
<div
class=
"desc"
>
<div
class=
"desc"
>
<
div
class
=
"
detail_desc
"
>
详细介绍:
<
/div
>
<div
class=
"detail_desc
-content"
style=
"min-width: 80px
"
>
详细介绍:
</div>
<
div
class
=
"
detail_desc-content
"
v
-
html
=
"
goodsParams.detail
"
/
>
<div
class=
"detail_desc-content"
>
{{
goodsParams
.
detail
|
trimHtml
}}
</div
>
</div>
</div>
<div
class=
"detail_image"
>
<div
class=
"detail_image"
>
...
@@ -221,6 +225,13 @@ import CheckLargeImageDialog from './components/CheckLargeImageDialog'
...
@@ -221,6 +225,13 @@ import CheckLargeImageDialog from './components/CheckLargeImageDialog'
export
default
{
export
default
{
name
:
'
InfoSet
'
,
name
:
'
InfoSet
'
,
components
:
{
CheckLargeImageDialog
,
SelectImageDialog
,
VuePictureCut
,
VuePictureCutMask
,
VuePictureCutMenu
},
components
:
{
CheckLargeImageDialog
,
SelectImageDialog
,
VuePictureCut
,
VuePictureCutMask
,
VuePictureCutMenu
},
filters
:
{
trimHtml
(
html_str
)
{
var
text
=
html_str
.
replace
(
/<
[^
<>
]
+>/g
,
''
)
// console.log(text);
return
text
}
},
data
()
{
data
()
{
return
{
return
{
pictureCut
:
null
,
pictureCut
:
null
,
...
@@ -258,7 +269,6 @@ export default {
...
@@ -258,7 +269,6 @@ export default {
isFixed
:
false
isFixed
:
false
}
}
},
},
computed
:
{
computed
:
{
headers
()
{
headers
()
{
return
{
return
{
...
@@ -615,21 +625,25 @@ export default {
...
@@ -615,21 +625,25 @@ export default {
.desc
{
.desc
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
align-content
:
start
;
margin-top
:
15px
;
.detail_desc-content
{
.detail_desc-content
{
font-weight
:
normal
;
font-weight
:
normal
;
font-size
:
16px
;
font-size
:
16px
;
padding
:
0px
;
padding
:
0px
;
margin
:
0
;
}
}
}
}
.detail_desc-html
{
.detail_desc-html
{
width
:
auto
;
width
:
auto
;
}
}
.detail_title
{
.detail_title
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.detail_desc
{
.detail_desc
{
margin
-
top
:
15
px
;
font-weight
:
normal
;
font-weight
:
normal
;
font-size
:
16px
;
font-size
:
16px
;
}
}
...
@@ -642,6 +656,7 @@ export default {
...
@@ -642,6 +656,7 @@ export default {
margin-top
:
15px
;
margin-top
:
15px
;
}
}
.list
{
.list
{
margin-top
:
10px
;
.select_item
{
.select_item
{
width
:
100px
;
width
:
100px
;
height
:
100px
;
height
:
100px
;
...
...
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