forked from aitexiaoy/Strawberry-Wallpaper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
352 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
.DS_Store | ||
dist/* | ||
dist/* | ||
build/* | ||
!build/icons | ||
node_modules/ | ||
npm-debug.log | ||
npm-debug.log.* | ||
thumbs.db | ||
.user-config.js | ||
!.gitkeep | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
// 使用 IntelliSense 了解相关属性。 | ||
// 悬停以查看现有属性的描述。 | ||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
// { | ||
// "type": "node", | ||
// "request": "launch", | ||
// "name": "Electron Main", | ||
// "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", | ||
// "program": "${workspaceFolder}/src/main/test.js" | ||
// }, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"program": "${workspaceFolder}/src/get-image/500px.js" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
// 忽略的文件 | ||
"csscomb.ignoreFilesOnSave": [ | ||
".git/**", | ||
"node_modules/**", | ||
"dist/**", | ||
"dll/**", | ||
], | ||
// 规则路径,也可以为一个对象自定义规则 | ||
"csscomb.preset": "csscomb.js", | ||
"csscomb.formatOnSave": true, | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<div class="content"> | ||
<div class="content-main" :class="{'content-win':osType=='win'}"> | ||
<slot></slot> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { osType } from '../../../utils/utils' | ||
export default { | ||
name: 'content-div', | ||
data(){ | ||
return { | ||
osType | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="less" scoped> | ||
.content { | ||
width: 100%; | ||
overflow: hidden; | ||
.content-main { | ||
width: calc(~"100% + 15px"); | ||
height: 100%; | ||
overflow-y: scroll; | ||
overflow-x: hidden; | ||
} | ||
.content-win { | ||
width: calc(~"100% + 17px"); | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<template> | ||
<i class="icon" @click.stop="handleClick"></i> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'icon', | ||
methods: { | ||
handleClick(){ | ||
this.$emit('click') | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="less" scoped> | ||
.icon { | ||
color: #dddddd; | ||
&:hover{ | ||
color: #ffffff; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.