File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 44 :class =" pageClasses"
55 @touchstart =" onTouchStart"
66 @touchend =" onTouchEnd" >
7- <div v-if =" absoluteSecrecy " >
7+ <div v-if =" absoluteEncryption " >
88 <transition name =" fade" >
99 <LoadingPage v-if =" firstLoad" />
1010 <Password v-else-if =" !isHasKey" />
@@ -106,8 +106,8 @@ export default {
106106 },
107107
108108 computed: {
109- absoluteSecrecy () {
110- return this .$themeConfig .keyPage && this .$themeConfig .keyPage .absoluteSecrecy === true
109+ absoluteEncryption () {
110+ return this .$themeConfig .keyPage && this .$themeConfig .keyPage .absoluteEncryption === true
111111 },
112112 // 是否显示评论
113113 shouldShowComments () {
Original file line number Diff line number Diff line change 1818 class =" popup-window"
1919 :style =" popupWindowStyle"
2020 ref =" popupWindow" >
21- <div class =" avatar " >
21+ <div class =" logo " >
2222 <img :src =" getImgUrl(item)" />
2323 </div >
2424 <div class =" info" >
@@ -91,9 +91,9 @@ export default {
9191 currentDom .querySelector (' .popup-window-wrapper' ).style .display = ' none'
9292 },
9393 getImgUrl (info ) {
94- const { avatar , email } = info
95- if (avatar && / ^ http/ .test (avatar )) return avatar
96- if (avatar && ! / ^ http/ .test (avatar )) return this .$withBase (avatar )
94+ const { logo , email } = info
95+ if (logo && / ^ http/ .test (logo )) return logo
96+ if (logo && ! / ^ http/ .test (logo )) return this .$withBase (logo )
9797 return ` http://1.gravatar.com/avatar/${ this .getMd5 (email || ' ' )} ?s=50&d=mm&r=x`
9898 },
9999 _adjustPosition (dom ) {
@@ -154,7 +154,7 @@ export default {
154154 box-sizing border-box
155155 padding .8rem 1rem
156156 width 300px
157- .avatar
157+ .logo
158158 margin-right .4rem
159159 width 2rem
160160 height 2rem
Original file line number Diff line number Diff line change 77 :item =" item"
88 :currentPage =" currentPage"
99 :currentTag =" currentTag"
10- :hideAccessNumber =" hideAccessNumber"
1110 v-show =" index >= (currentPage * 10 - 10) && index < currentPage * 10" />
1211 </div >
1312 <div v-else-if =" listLoadType === 'async'" key =" async" >
@@ -31,6 +30,7 @@ export default {
3130 computed: {
3231 listLoadType () {
3332 const valineConfig = this .$themeConfig .valineConfig
33+ if (this .$frontmatter .home ) return ' async'
3434 if (valineConfig && ! valineConfig .hideListAccessNumber ) {
3535 return ' sync'
3636 } else {
You can’t perform that action at this time.
0 commit comments