Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
15fa7d2c
Commit
15fa7d2c
authored
Sep 27, 2019
by
dqjdda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.2版本发布,详情查阅版本说明
parent
61006f2e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
3 deletions
+73
-3
config/index.js
+1
-1
src/components/CodeFund/index.vue
+65
-0
src/layout/components/AppMain.vue
+5
-0
src/views/system/menu/index.vue
+1
-1
src/views/system/permission/index.vue
+1
-1
No files found.
config/index.js
View file @
15fa7d2c
...
...
@@ -77,7 +77,7 @@ module.exports = {
* then assetsPublicPath should be set to "/bar/".
* In most cases please use '/' !!!
*/
assetsPublicPath
:
'
.
/'
,
assetsPublicPath
:
'/'
,
/**
* Source Maps
...
...
src/components/CodeFund/index.vue
0 → 100644
View file @
15fa7d2c
<
template
>
<div>
<div
id=
"codefund"
/>
<div
ref=
"codefund"
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
'Index'
,
computed
:
{
key
()
{
return
this
.
$route
.
fullPath
}
},
watch
:
{
key
(
newVal
,
oldVal
)
{
const
script
=
document
.
createElement
(
'script'
)
script
.
setAttribute
(
'src'
,
'https://codefund.app/properties/287/funder.js'
)
this
.
$refs
.
codefund
.
appendChild
(
script
)
}
},
mounted
()
{
const
script
=
document
.
createElement
(
'script'
)
script
.
setAttribute
(
'src'
,
'https://codefund.app/properties/287/funder.js'
)
this
.
$refs
.
codefund
.
appendChild
(
script
)
}
}
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
/
deep
/
#cf
{
max-width
:
100%
!important
;
}
/
deep
/
#codefund
img
{
display
:
none
;
}
/
deep
/
#cf
a
:nth-child
(
3
)
{
float
:
right
;
}
/
deep
/
#cf
span
span
:nth-child
(
1
)
{
font-size
:
13px
!important
;
width
:
100%
!important
;
line-height
:
1.5
!important
;
display
:
block
!important
;
background-color
:
#f8f8f8
!important
;
text-align
:
left
!important
;
padding
:
8px
11px
!important
;
}
/
deep
/
#cf
.cf-wrapper
.cf-text
:before
{
margin-right
:
4px
;
padding
:
2px
6px
;
border-radius
:
3px
;
background-color
:
#4caf50
;
color
:
#fff
;
content
:
"Supporter"
;
}
</
style
>
src/layout/components/AppMain.vue
View file @
15fa7d2c
<
template
>
<section
class=
"app-main"
>
<CodeFund
/>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<keep-alive
:include=
"cachedViews"
>
<router-view
:key=
"key"
/>
...
...
@@ -14,8 +15,12 @@
</
template
>
<
script
>
import
CodeFund
from
'@/components/CodeFund'
export
default
{
name
:
'AppMain'
,
components
:
{
CodeFund
},
computed
:
{
cachedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
cachedViews
...
...
src/views/system/menu/index.vue
View file @
15fa7d2c
...
...
@@ -110,7 +110,7 @@ export default {
},
created
()
{
this
.
$nextTick
(()
=>
{
this
.
height
=
document
.
documentElement
.
clientHeight
-
2
0
0
this
.
height
=
document
.
documentElement
.
clientHeight
-
2
5
0
this
.
init
()
})
},
...
...
src/views/system/permission/index.vue
View file @
15fa7d2c
...
...
@@ -82,7 +82,7 @@ export default {
},
created
()
{
this
.
$nextTick
(()
=>
{
this
.
height
=
document
.
documentElement
.
clientHeight
-
2
0
0
this
.
height
=
document
.
documentElement
.
clientHeight
-
2
5
0
this
.
init
()
})
},
...
...
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