Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e407f175
authored
Aug 06, 2021
by
吴云建
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
样式修改
parent
69b49b11
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
components/model-detail.vue
components/model-detail.vue
View file @
e407f175
...
@@ -2,14 +2,6 @@
...
@@ -2,14 +2,6 @@
<div
class=
"h-100 pos-rel"
>
<div
class=
"h-100 pos-rel"
>
<div
class=
"scroll-wrap"
>
<div
class=
"scroll-wrap"
>
<el-scrollbar
class=
"h-100"
>
<el-scrollbar
class=
"h-100"
>
<div
class=
"top-actions"
>
<el-button
v-for=
"action in actions"
:key=
"action.name"
@
click=
"execute_action(action)"
type=
"text"
size=
"small"
>
{{
action
.
label
}}
</el-button>
</div>
<div
class=
"data-row"
v-for=
"item in detailData"
:key=
"item.label"
>
<div
class=
"data-row"
v-for=
"item in detailData"
:key=
"item.label"
>
<span
class=
"data-key"
>
{{
item
.
label
}}{{
item
.
label
?
":"
:
""
}}
</span
<span
class=
"data-key"
>
{{
item
.
label
}}{{
item
.
label
?
":"
:
""
}}
</span
><span
class=
"data-value"
v-html=
"item.template"
></span>
><span
class=
"data-value"
v-html=
"item.template"
></span>
...
@@ -22,6 +14,14 @@
...
@@ -22,6 +14,14 @@
>
{{
action
.
label
}}
</el-button>
>
{{
action
.
label
}}
</el-button>
</span>
</span>
</div>
</div>
<div
class=
"top-actions"
>
<el-button
v-for=
"action in actions"
:key=
"action.name"
@
click=
"execute_action(action)"
type=
"text"
size=
"small"
>
{{
action
.
label
}}
</el-button>
</div>
</el-scrollbar>
</el-scrollbar>
</div>
</div>
<div
class=
"detal-btns"
>
<div
class=
"detal-btns"
>
...
@@ -241,6 +241,12 @@ export default class ChatModelDetail extends Vue {
...
@@ -241,6 +241,12 @@ export default class ChatModelDetail extends Vue {
}
}
}
}
.top-actions
{
.top-actions
{
margin-top
:
10px
;
padding
:
0
20px
;
padding
:
0
20px
;
white-space
:
wrap
;
.el-button+.el-button
{
margin-right
:
10px
;
margin-left
:
0
;
}
}
}
</
style
>
</
style
>
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