-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [x] 调整了搜索、个人收藏的图片默认质量
- Loading branch information
Showing
17 changed files
with
203 additions
and
89 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
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
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,57 @@ | ||
/* | ||
* 年鉴样式 | ||
* @Author: czy0729 | ||
* @Date: 2019-08-18 22:44:40 | ||
* @Last Modified by: czy0729 | ||
* @Last Modified time: 2019-08-18 22:45:26 | ||
*/ | ||
import _ from '@styles' | ||
|
||
const widthSubject = parseInt((_.window.width - 24) / 3) | ||
const widthMono = parseInt((_.window.width - 48) / 4) | ||
const heightMono = widthMono * 1.2 | ||
|
||
export default { | ||
2018: { | ||
subject: ` | ||
.channelStatsWrapper .columnGrid ul.grid li span.cover, | ||
.channelStatsWrapper .columnGrid ul.grid li span.cover span.overlay { | ||
width: ${widthSubject}px !important; | ||
height: ${widthSubject}px !important; | ||
background-size: ${widthSubject}px !important; | ||
}`, | ||
mono: ` | ||
.columnGrid ul.grid li.avatar { | ||
width: ${widthMono}px !important; | ||
height:${heightMono}px !important; | ||
}`, | ||
hidden: ` | ||
#headerNeue2, | ||
#personalTabStats, | ||
.shareBtn, | ||
#dock { | ||
display:none !important; | ||
}` | ||
}, | ||
2017: { | ||
subject: ` | ||
.channelStatsWrapper .columnGrid ul.grid li span.cover, | ||
.channelStatsWrapper .columnGrid ul.grid li span.cover span.overlay { | ||
width: ${widthSubject - 4}px !important; | ||
height: ${widthSubject - 4}px !important; | ||
background-size: ${widthSubject - 4}px !important; | ||
}`, | ||
mono: ` | ||
.columnGrid ul.grid li.avatar { | ||
width: ${widthMono - 4}px !important; | ||
height: ${heightMono - 4}px !important; | ||
}`, | ||
hidden: ` | ||
#headerNeue2, | ||
#personalTabStats, | ||
.shareBtn, | ||
#dock { | ||
display:none !important; | ||
}` | ||
} | ||
} |
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.