fix: VERSION 1.0.6&password page&timeLine page
This commit is contained in:
parent
a7de3ecfba
commit
299cd7c2c7
@ -5,9 +5,14 @@
|
||||
<script>
|
||||
export default {
|
||||
mounted () {
|
||||
const color = '#fff'
|
||||
const lineColor = '#fff'
|
||||
const keyPage = this.$themeConfig.keyPage
|
||||
let color = '#424242'
|
||||
let lineColor = '#424242'
|
||||
const num = 20
|
||||
if (keyPage) {
|
||||
color = keyPage.color || color
|
||||
lineColor = keyPage.lineColor || lineColor
|
||||
}
|
||||
|
||||
const script = document.createElement('script')
|
||||
script.src = 'https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js'
|
||||
@ -107,7 +112,7 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang='scss' scoped>
|
||||
<style lang='stylus' scoped>
|
||||
#particles-oli-wrapper {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
|
@ -77,7 +77,6 @@ export default {
|
||||
dateFormat (date, type) {
|
||||
date = date.replace(/-/g,'/')
|
||||
const dateObj = new Date(date)
|
||||
const dateObj = new Date(date)
|
||||
const year = dateObj.getFullYear()
|
||||
const mon = dateObj.getMonth() + 1
|
||||
const day = dateObj.getDate()
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vuepress-theme-reco",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "this is a vuepress theme",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user