Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
9dc782bf
Commit
9dc782bf
authored
Jan 24, 2022
by
袁成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 资料下载配置标题
parent
5bc15e84
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
package.json
develop/@gms/gms-plugin-mainpage-fileList/package.json
+0
-2
gms-app.vue
...p/@gms/gms-plugin-mainpage-fileList/src/views/gms-app.vue
+6
-4
property.vue
.../@gms/gms-plugin-mainpage-fileList/src/views/property.vue
+8
-2
package.json
...op/@gms/gms-plugin-mainpage-reimburseExpense/package.json
+0
-2
No files found.
develop/@gms/gms-plugin-mainpage-fileList/package.json
View file @
9dc782bf
...
...
@@ -31,8 +31,6 @@
"eslint-plugin-vue"
:
"^6.2.2"
,
"less"
:
"^4.1.1"
,
"less-loader"
:
"^7.3.0"
,
"node-sass"
:
"^4.12.0"
,
"sass-loader"
:
"^8.0.2"
,
"vue-template-compiler"
:
"^2.6.11"
}
}
develop/@gms/gms-plugin-mainpage-fileList/src/views/gms-app.vue
View file @
9dc782bf
...
...
@@ -2,7 +2,7 @@
<div
class=
"fileList"
>
<div
class=
"fileList-title"
>
<span
class=
"fileList-title-side"
></span>
资料下载
{{
fileTitle
}}
<span
class=
"fileList-title-more"
@
click=
"handleMore"
>
<span>
更多
</span>
<Icon
type=
"ios-arrow-forward"
class=
"more-icon"
/>
...
...
@@ -37,14 +37,16 @@ export default {
return
{
fileList
:
[],
fileWidth
:
'100%'
,
modalShow
:
false
modalShow
:
false
,
fileTitle
:
'资料下载'
}
},
created
()
{
let
prop
=
this
.
itemSetting
.
properties
if
(
prop
&&
Array
.
isArray
(
prop
)
)
{
let
num
=
prop
[
0
]?
prop
[
0
]
.
num
:
2
if
(
prop
)
{
let
num
=
prop
.
num
?
prop
.
num
:
2
let
str
=
Math
.
floor
(
100
/
num
)
+
'%'
this
.
fileTitle
=
prop
.
fileTitle
this
.
fileWidth
=
`calc(
${
str
}
- 10px)`
}
},
...
...
develop/@gms/gms-plugin-mainpage-fileList/src/views/property.vue
View file @
9dc782bf
...
...
@@ -7,6 +7,9 @@
<FormItem
label=
"每行个数"
>
<Input
v-model=
"config.num"
type=
"number"
></Input>
</FormItem>
<FormItem
label=
"标题"
>
<Input
v-model=
"config.fileTitle"
placeholder=
"资料下载"
></Input>
</FormItem>
</Form>
</div>
</Panel>
...
...
@@ -34,14 +37,17 @@ export default {
value1
:
'1'
,
config
:
{
num
:
1
,
fileTitle
:
'资料下载'
}
}
},
created
()
{
let
prop
=
this
.
itemSetting
.
properties
[
0
]
let
prop
=
this
.
itemSetting
.
properties
if
(
prop
)
{
this
.
config
=
prop
}
}
else
{
this
.
itemSetting
.
properties
=
this
.
config
}
},
}
</
script
>
...
...
develop/@gms/gms-plugin-mainpage-reimburseExpense/package.json
View file @
9dc782bf
...
...
@@ -31,8 +31,6 @@
"eslint-plugin-vue"
:
"^6.2.2"
,
"less"
:
"^4.1.1"
,
"less-loader"
:
"^7.3.0"
,
"node-sass"
:
"^4.12.0"
,
"sass-loader"
:
"^8.0.2"
,
"vue-template-compiler"
:
"^2.6.11"
}
}
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