Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
traceSourceMb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yanyanhong
traceSourceMb
Commits
130c09ba
Commit
130c09ba
authored
Jan 04, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复选择模板时的预览无法展示完整模板的bug、修改部分UI
parent
aaf9bf7c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
16 deletions
+14
-16
TypeSeven.vue
src/components/template/TypeSeven.vue
+2
-12
Detail.vue
src/views/proof/Detail.vue
+11
-3
TemplateListContainer.vue
src/views/viewTemplate/components/TemplateListContainer.vue
+1
-1
No files found.
src/components/template/TypeSeven.vue
View file @
130c09ba
<
template
>
<
template
>
<div
class=
"van-hairline--bottom type-seven"
style=
"padding-bottom:15px;"
>
<div
class=
"van-hairline--bottom type-seven"
>
<div
class=
"title"
style=
"margin-bottom: 10px;color:#666C70;"
>
<div
class=
"title"
style=
"margin-bottom: 10px;color:#666C70;"
>
{{
proofSubItem
.
label
}}
{{
proofSubItem
.
label
}}
</div>
</div>
...
@@ -38,20 +38,10 @@ export default class TypeSeven extends Vue {
...
@@ -38,20 +38,10 @@ export default class TypeSeven extends Vue {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.type-seven
{
.type-seven
{
text-align
:
left
;
text-align
:
left
;
padding
-bottom
:
10
px
;
padding
:
10px
0px
15
px
;
a
{
a
{
word-break
:
break-all
;
word-break
:
break-all
;
white-space
:
wrap
;
white-space
:
wrap
;
}
}
.uploader
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
.title
{
flex
:
auto
;
align-content
:
flex-start
;
// margin-left: 12px;
}
}
}
}
</
style
>
</
style
>
src/views/proof/Detail.vue
View file @
130c09ba
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
<li
@
click=
"reSendBlockChain(id)"
>
重新上链
</li>
<li
@
click=
"reSendBlockChain(id)"
>
重新上链
</li>
</ul>
</ul>
</div>
</div>
<van-field
v-model=
"name"
label=
"填写存证名称"
placeholder=
"请输入"
v-if=
"!proofName"
/>
<div
class=
"px-4 bg-white"
>
<van-field
v-model=
"name"
label=
"填写存证名称"
placeholder=
"请输入"
v-if=
"!proofName"
/>
</div>
<template-detail
:detailInformation=
"detail"
class=
"detail"
style=
"margin-bottom:70px;"
></template-detail>
<template-detail
:detailInformation=
"detail"
class=
"detail"
style=
"margin-bottom:70px;"
></template-detail>
<div
class=
"btn-group"
v-if=
"!baseProof"
>
<div
class=
"btn-group"
v-if=
"!baseProof"
>
<div
style=
"overflow:hidden;color:#B6B5BA;font-size:14px;white-space:nowrap;margin-right: 10px;flex:auto;text-align:left;"
>
已选模板:
<span
style=
"color:#3F79FE;margin-left:10px;"
>
{{
proofType
}}
</span></div>
<div
style=
"overflow:hidden;color:#B6B5BA;font-size:14px;white-space:nowrap;margin-right: 10px;flex:auto;text-align:left;"
>
已选模板:
<span
style=
"color:#3F79FE;margin-left:10px;"
>
{{
proofType
}}
</span></div>
...
@@ -374,9 +376,15 @@ export default class Detail extends Vue {
...
@@ -374,9 +376,15 @@ export default class Detail extends Vue {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.px-4
{
padding
:
0
16px
;
}
.bg-white
{
background
:
white
;
}
.proof-detail
{
.proof-detail
{
padding
:
9px
18
px
;
padding
:
9px
0
px
;
background
:
#F
FFFFF
;
background
:
#F
9F9FB
;
min-height
:
100vh
;
min-height
:
100vh
;
::v-deep
.van-field
{
::v-deep
.van-field
{
flex-direction
:
column
;
flex-direction
:
column
;
...
...
src/views/viewTemplate/components/TemplateListContainer.vue
View file @
130c09ba
...
@@ -54,7 +54,7 @@ export default class Index extends Vue {
...
@@ -54,7 +54,7 @@ export default class Index extends Vue {
async
handleClickPreview
()
{
async
handleClickPreview
()
{
const
id
=
this
.
selectedId
;
const
id
=
this
.
selectedId
;
const
ret
=
await
this
.
$api
.
template
.
get
(
id
);
const
ret
=
await
this
.
$api
.
template
.
get
(
id
);
this
.
detail
=
JSON
.
parse
(
ret
.
detail
)
[
0
]
;
this
.
detail
=
JSON
.
parse
(
ret
.
detail
);
this
.
previewVisible
=
true
;
this
.
previewVisible
=
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