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
ffe999f8
Commit
ffe999f8
authored
Jan 05, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复文件夹名称长度过长引起的页面布局混乱的问题
parent
736e9860
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
15 deletions
+28
-15
MoreAction.vue
src/components/MoreAction.vue
+20
-13
List.vue
src/views/template/List.vue
+5
-1
BaseInfo.vue
src/views/template/components/BaseInfo.vue
+2
-1
TemplateItem.vue
src/views/template/components/TemplateItem.vue
+1
-0
No files found.
src/components/MoreAction.vue
View file @
ffe999f8
...
...
@@ -9,7 +9,7 @@
:src=
"iconSrc || require('@/assets/defaulttemplate.png')"
round
/>
<div>
<div
class=
"item-info"
>
<div
class=
"title-text"
>
{{
title
}}
</div>
<div
class=
"update-time"
>
更新于
{{
date
|
formatTime
}}
</div>
</div>
...
...
@@ -110,21 +110,28 @@ export default class MoreAction extends Vue {
height
:
28px
;
margin-right
:
12px
;
}
.title-text
{
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#353535
;
}
.update-time
{
font-size
:
12px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#b6b5ba
;
.item-info
{
flex-grow
:
1
;
overflow
:
hidden
;
.title-text
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#353535
;
}
.update-time
{
font-size
:
12px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#b6b5ba
;
}
}
}
.btn-cancel
{
border-top
:
1px
solid
#
EAEAEB
;
border-top
:
1px
solid
#
eaeaeb
;
text-align
:
center
;
line-height
:
50px
;
height
:
50px
;
...
...
src/views/template/List.vue
View file @
ffe999f8
...
...
@@ -13,7 +13,7 @@
v-if=
"isFolderList"
:to=
"
{ name: 'Add', query: { folderId: id } }"
tag="p"
style="color: #3f79fe"
style="color: #3f79fe
;white-space:nowrap;
"
>
<common-svg
name=
"xuanzemoban-tianjia1"
width=
"11px"
style=
"margin-right:5px"
></common-svg>
添加模板
</router-link
>
</div>
...
...
@@ -252,6 +252,10 @@ export default class List extends Mixins(TemplateMixin) {
padding
:
11px
14px
;
background
:
#f9fbff
;
.title
{
flex-grow
:
1
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
...
...
src/views/template/components/BaseInfo.vue
View file @
ffe999f8
...
...
@@ -41,7 +41,7 @@
<common-svg
name=
"jinru"
></common-svg>
</label>
<div
class=
"btn-group"
>
<div
@
click=
"handleClickFolder"
>
<div
@
click=
"handleClickFolder"
class=
"van-ellipsis"
>
<span>
所在文件夹
</span>
:
<span
class=
"classify"
>
{{
folder
&&
folder
.
name
}}
</span>
</div>
...
...
@@ -280,6 +280,7 @@ $bottom-block: calc(40px + 2 * 18px);
color
:
#3f79fe
;
}
.next
{
white-space
:
nowrap
;
padding
:
10px
37px
;
font-size
:
16px
;
}
...
...
src/views/template/components/TemplateItem.vue
View file @
ffe999f8
...
...
@@ -68,6 +68,7 @@ export default class TemplateItem extends Vue {
}
.title
{
font-weight
:
500
;
width
:
100%
;
}
.desc
{
font-size
:
14px
;
...
...
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