Merge branch 'master' of github.com:recoluan/vuepress-theme-reco
This commit is contained in:
commit
51bbc72171
@ -10,10 +10,15 @@
|
||||
> 3. 效果:[午后南杂](https://www.recoluan.com)
|
||||
> 4. 文档:[vuepress-theme-reco-doc](https://vuepress-theme-reco.recoluan.com)
|
||||
|
||||
## 重点提醒
|
||||
|
||||
**首页新增 “华为” 相关文案,请允许我以这样的方式支持 “华为”。**
|
||||
|
||||
## 预览
|
||||
|
||||
### 首页
|
||||
![home.png](https://upload-images.jianshu.io/upload_images/4660406-8c9f54e105920600.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
|
||||
![home.png](https://upload-images.jianshu.io/upload_images/4660406-28e3ea70b591d89b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
|
||||
|
||||
|
||||
### 分类页面
|
||||
![category2.png](https://upload-images.jianshu.io/upload_images/4660406-711fdb00940722fa.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
|
||||
|
@ -6,6 +6,7 @@
|
||||
<h1 v-if="data.isShowTitleInHome !== false">{{ data.heroText || $title || '午后南杂' }}</h1>
|
||||
|
||||
<p class="description">{{ data.tagline || $description || 'Welcome to your vuePress-theme-reco site' }}</p>
|
||||
<p class="huawei" v-if="$themeConfig.huawei !== false"><i class="iconfont reco-huawei" style="color: #fc2d38"></i> 华为,为中华而为之!</p>
|
||||
|
||||
<p class="action" v-if="data.actionText && data.actionLink">
|
||||
<NavLink class="action-button" :item="actionLink"/>
|
||||
@ -193,6 +194,9 @@ export default {
|
||||
.description {
|
||||
load-start()
|
||||
}
|
||||
.huawei {
|
||||
load-start()
|
||||
}
|
||||
.action-button {
|
||||
load-start()
|
||||
}
|
||||
@ -220,9 +224,12 @@ export default {
|
||||
.description {
|
||||
load-end(0.24s)
|
||||
}
|
||||
.action-button {
|
||||
.huawei {
|
||||
load-end(0.32s)
|
||||
}
|
||||
.action-button {
|
||||
load-end(0.4s)
|
||||
}
|
||||
}
|
||||
.features {
|
||||
load-end(0.40s)
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -50,6 +50,9 @@ Created by iconfont
|
||||
<glyph glyph-name="menu" unicode="" d="M105.931034 595.862069C105.931034 615.363434 121.789652 631.172414 141.3498 631.172414L882.6502 631.172414C902.211443 631.172414 918.068966 615.499395 918.068966 595.862069 918.068966 576.3607039999999 902.210348 560.5517239999999 882.6502 560.5517239999999L141.3498 560.5517239999999C121.788557 560.5517239999999 105.931034 576.224743 105.931034 595.862069ZM105.931034 384C105.931034 403.501365 121.789652 419.310345 141.3498 419.310345L882.6502 419.310345C902.211443 419.310345 918.068966 403.637326 918.068966 384 918.068966 364.49863500000004 902.210348 348.689655 882.6502 348.689655L141.3498 348.689655C121.788557 348.689655 105.931034 364.36267399999997 105.931034 384ZM105.931034 172.13793099999998C105.931034 191.63929599999994 121.789652 207.44827599999996 141.3498 207.44827599999996L882.6502 207.44827599999996C902.211443 207.44827599999996 918.068966 191.775257 918.068966 172.13793099999998 918.068966 152.63656600000002 902.210348 136.827586 882.6502 136.827586L141.3498 136.827586C121.788557 136.827586 105.931034 152.50060499999995 105.931034 172.13793099999998Z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="suggestion" unicode="" d="M626.154619 568.736814c-31.490929 35.427296-27.554563 86.600056 7.872733 118.090985L822.972928 856.091545H138.045213C78.99972 856.091545 27.82696 804.918785 27.82696 741.936926v-759.718673C27.82696-76.82723999999996 78.99972-128 138.045213-128h700.67318c59.045493 0 110.218253 51.17276 110.218253 110.218253V741.936926l-208.627408-185.009211c-31.490929-27.554563-86.600056-23.618197-114.154619 11.809099zM185.281607 462.454927h346.400224c15.745465 0 27.554563-11.809099 27.554563-27.554563 0-15.745465-11.809099-27.554563-27.554563-27.554563H185.281607c-15.745465 0-27.554563 11.809099-27.554563 27.554563 0 15.745465 11.809099 27.554563 27.554563 27.554563z m637.691321-244.054703c0-15.745465-11.809099-27.554563-27.554563-27.554563H185.281607c-15.745465 0-27.554563 11.809099-27.554563 27.554563 0 15.745465 11.809099 27.554563 27.554563 27.554563h610.136758c15.745465 0 27.554563-11.809099 27.554563-27.554563zM988.300308 883.646108c-11.809099 15.745465-35.427296 15.745465-47.236394 3.936367l-275.545633-240.118337c-15.745465-11.809099-15.745465-35.427296-3.936366-47.236395 7.872732-15.745465 31.490929-19.681831 43.300028-3.936366l275.545632 240.118337c15.745465 7.872732 19.681831 31.490929 7.872733 47.236394z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="github" unicode="" d="M0 371.008q0-166.016 95.488-298.496t247.488-185.504q6.016-0.992 10.016-0.992t6.496 1.504 4 3.008 2.016 4.992 0.512 4.992v100.512q-36.992-4-66.016 0.512t-45.504 14.016-28.992 23.488-16.992 25.504-8.992 24-5.504 14.496q-8.992 15.008-27.008 27.488t-27.008 20-2.016 14.496q50.016 26.016 112.992-66.016 34.016-51.008 119.008-30.016 10.016 40.992 40 70.016Q293.984 160 237.984 225.024t-56 158.016q0 87.008 55.008 151.008-22.016 64.992 6.016 136.992 28.992 2.016 64.992-11.488t50.496-23.008 25.504-17.504q56.992 16 128.512 16t129.504-16q12.992 8.992 28.992 19.008t48.992 21.504 60.992 9.504q27.008-71.008 7.008-135.008 56-64 56-151.008 0-92.992-56.992-158.496t-172-85.504q43.008-43.008 43.008-104v-128.992q0-0.992 0.992-3.008 0-6.016 0.512-8.992t4.512-6.016 12-3.008q152.992 52 250.496 185.504t97.504 300.512q0 104-40.512 199.008t-108.992 163.488-163.488 108.992T512.032 883.04 313.024 842.528 149.536 733.536t-108.992-163.488-40.512-199.008z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
@ -62,6 +65,9 @@ Created by iconfont
|
||||
<glyph glyph-name="home" unicode="" d="M964.835556 454.542222L857.884444 554.666667 580.266667 809.528889c-18.204444 18.204444-45.511111 29.582222-72.817778 29.582222-27.306667 0-54.613333-11.377778-72.817778-29.582222L59.164444 454.542222c-31.857778-31.857778-25.031111-56.888889-22.755555-63.715555 4.551111-11.377778 15.928889-25.031111 43.235555-25.031111h54.613334c13.653333 0 22.755556-11.377778 22.755555-22.755556v-302.648889c0-52.337778 36.408889-109.226667 95.573334-109.226667H766.862222c59.164444 0 95.573333 56.888889 95.573334 109.226667V340.764444c0 13.653333 11.377778 22.755556 22.755555 22.755556h54.613333c27.306667 0 38.684444 13.653333 43.235556 27.306667 6.826667 6.826667 13.653333 29.582222-18.204444 63.715555z m-307.2-386.844444c0-29.582222-22.755556-52.337778-52.337778-52.337778h-184.32c-29.582222 0-52.337778 25.031111-52.337778 52.337778V320.284444c0 29.582222 22.755556 52.337778 52.337778 52.337778h184.32c29.582222 0 52.337778-25.031111 52.337778-52.337778v-252.586666z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="huawei" unicode="" d="M437.76 755.2s-81.92 2.56-133.12-64-12.8-168.96 12.8-222.72 153.6-261.12 158.72-263.68c5.12-5.12 10.24-2.56 10.24 2.56s15.36 302.08 2.56 373.76c-10.24 74.24-46.08 166.4-51.2 174.08z m-281.6-138.24c-10.24 0-76.8-66.56-81.92-133.12-5.12-64 23.04-107.52 99.84-161.28 79.36-56.32 263.68-158.72 268.8-148.48 2.56 7.68-71.68 143.36-133.12 240.64-64 99.84-143.36 204.8-153.6 202.24z m25.6-599.04c56.32-25.6 143.36 30.72 168.96 48.64 23.04 17.92 64 48.64 64 48.64l-320-10.24s30.72-61.44 87.04-87.04z m7.68 258.56c-56.32 28.16-174.08 94.72-179.2 92.16-5.12 0-23.04-81.92 15.36-143.36 35.84-61.44 107.52-79.36 140.8-84.48 35.84-5.12 253.44-2.56 253.44 2.56-2.56 0-174.08 104.96-230.4 133.12z m529.92 417.28c-51.2 66.56-133.12 64-133.12 64-5.12-7.68-40.96-99.84-51.2-174.08s2.56-371.2 2.56-376.32c0-5.12 5.12-5.12 10.24-2.56 5.12 5.12 135.68 212.48 158.72 263.68 25.6 53.76 64 156.16 12.8 225.28z m294.4-325.12c-5.12 0-122.88-64-179.2-92.16S606.72 145.92 606.72 140.8c-2.56-5.12 215.04-7.68 253.44-2.56 33.28 5.12 104.96 23.04 140.8 84.48 35.84 64 17.92 145.92 12.8 145.92zM673.28 66.56c23.04-15.36 112.64-71.68 168.96-48.64s87.04 87.04 87.04 87.04l-320 7.68c0 2.56 40.96-30.72 64-46.08zM949.76 486.4c-5.12 64-71.68 130.56-81.92 133.12-10.24 0-89.6-102.4-151.04-202.24S578.56 184.32 583.68 176.64c2.56-7.68 189.44 92.16 268.8 148.48 74.24 51.2 102.4 94.72 97.28 161.28z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="up" unicode="" d="M526.60727968 885.09814884a27.675 27.675 0 0 1-29.21455937 0c-131.36607665-82.28402758-218.69155461-228.01873535-218.69155402-394.07834331a462.20625001 462.20625001 0 0 1 5.36959153-69.94390903c1.00431239-6.55289093-0.34802892-13.13561351-3.76865779-18.80351572-32.63518765-54.11355614-51.75690182-118.55860487-51.7569018-187.94566865a371.06718723 371.06718723 0 0 1 11.50484808-91.98906777c6.53300375-25.50556257 41.68394495-28.14064038 52.69160883-4.22606766 17.37162448 37.73630017 42.14135425 72.50938081 72.80769204 103.21549295 2.18761121-3.04276886 4.15646224-6.24463696 6.40373557-9.22774369a1871.4375 1871.4375 0 0 1 140.04691725-5.34970492 1866.36093723 1866.36093723 0 0 1 140.04691723 5.34970492c2.24727335 2.98310674 4.21612437 6.18497483 6.3937923 9.2178004 30.66633723-30.70611158 55.4360664-65.4791928 72.80769147-103.21549355 11.00766384-23.91457269 46.15860503-21.27949489 52.69160879 4.22606768a371.15156223 371.15156223 0 0 1 11.514792 91.99901164c0 69.36717486-19.13165746 133.82216804-51.75690182 187.92578088-3.42062944 5.66790279-4.76302748 12.26056868-3.76865837 18.80351632a462.20625001 462.20625001 0 0 1 5.36959269 69.943909c-0.00994388 166.08943902-87.32547796 311.81420293-218.6915546 394.09823051zM605.93803103 538.12306142a93.93749974 93.93749974 0 1 0-187.89594924-6.1e-7 93.93749974 93.93749974 0 0 0 187.89594924 6.1e-7zM429.50777625 130.36139452999998C429.50777625 92.60644993000005 466.44236686-104.39046097000005 512.00932183-104.39046097000005c45.56695499 0 82.4922232 197.00623328 82.5015456 234.7518555 0 37.75494459-36.9345906 68.35043303-82.4922232 68.34111062-45.57627738 0.00932239-82.52019037-30.59548842-82.51086798-68.34111062z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
@ -92,6 +98,15 @@ Created by iconfont
|
||||
<glyph glyph-name="three" unicode="" d="M861.798876 266.798732C835.998959 320.998557 830.598976 331.29852400000004 806.999052 385.398351c-12.59996 28.799907-38.399877 46.79985-61.899801 52.69983l62.499799 294.499054c9.29997 43.899859-18.299941 86.99972-61.699801 96.39969-43.399861 9.39997-86.099723-18.59994-95.399694-62.499799l-58.099813-273.79912-3.699988 322.598963C587.999756 860.296825 551.599873 896.396709 507.200015 895.99671c-44.499857-0.299999-79.999743-36.999881-79.499744-81.799737l3.499989-304.299022-66.199788 248.999199c-11.499963 43.299861-55.599821 68.999778-98.499683 57.399816-42.899862-11.599963-68.299781-56.199819-56.799818-99.49968L295.000697 395.898317c-62.899798-21.69993-92.899702-43.899859-103.399668-72.899766l-37.999878-108.399652c-8.499973-23.399925 3.19999-75.299758 11.499964-98.799682 39.699872-112.799638 86.399722-187.699397 114.499632-226.699272 4.899984-6.799978 9.099971-12.29996 12.799959-16.899946H760.9992c1.699995 3.09999 3.19999 6.29998 4.499986 9.699969l94.999694 256.299177c22.099929 52.099833 10.799965 108.499651 1.299996 128.599587z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="blog" unicode="" d="M914.90367715 856.03396267c-0.4718592 10.21196515-10.08963129 17.55782258-20.04527786 15.53057564-407.03390151-83.14042595-536.90003911-515.54404125-546.47703324-549.47130026-0.46603378-1.56703858-0.93206755-2.91271111-1.60199112-4.43314632l-86.7172352-197.05655751-148.60652088-212.97743644 2.38259768-14.4703488 15.71116374 6.58272711 161.40497351 225.35063324c125.17084729 149.58519182 355.57794702 421.21880462 399.42007467 428.50640782l-258.00795023-347.3174983c118.13373725-43.51007858 215.88432213 31.23008853 236.39563378 48.7063552 1.81753173 1.56703858 1.09517938 4.43314631-1.22916409 5.14967324l-77.65870364 24.55998009 103.78572231 29.75625671a39.30994915 39.30994915 0 0 1 11.64501902 5.48172231c68.67007715 48.46168747 86.99103005 120.63284338 90.66104605 138.85476409 0.4194304 2.15540622-1.47965725 3.88555662-3.62923805 3.46612622l-93.65531307-17.68015644 102.13712782 56.13376853a37.91184782 37.91184782 0 0 1 12.2392121 10.63139555c102.13712782 138.31299982 104.5430272 291.89443129 101.8458567 344.69605832z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
<glyph glyph-name="tongzhi" unicode="" d="M623.103555-116.88156200000003L329.142622 39.461183000000005H83.602226C37.412545 39.461183000000005 0 69.99830399999996 0 107.70342000000005V637.0013280000001c0 37.668545 37.412545 68.242237 83.602226 68.242237H329.142622L618.605272 882.358867c25.343982 15.506275 59.245672 17.99313 87.551938 6.399995 28.306265-11.556563 46.189681-35.218261 46.15311-61.074242v-887.40508c0-25.051411-16.786274-48.091394-43.739398-60.013672a99.8765 99.8765 0 0 0-85.467367 2.815998zM877.713659 421.193482h250.770106c23.076555 0 41.801113-15.286846 41.801113-34.121118 0-18.834272-18.724558-34.121118-41.801113-34.121119H877.713659c-23.076555 0-41.801113 15.286846-41.801113 34.121119 0 18.834272 18.724558 34.121118 41.801113 34.121118z m2.523427 186.843295l192.036434 131.620478c17.663987 12.105134 44.031969 10.239993 58.879958-4.205712 14.847989-14.445704 12.543991-35.949689-5.119997-48.091394l-192.109577-131.657049a49.334822 49.334822 0 0 0-41.142827-5.887996c-14.043419 4.16914-24.283411 14.116561-26.879981 26.111982-2.59657 12.031991 2.852569 24.24684 14.262847 32.109691h0.073143z m53.686818-389.631722l192.109577-131.620477c11.410278-7.82628 16.859417-20.0777 14.262847-32.07312-2.559998-11.99542-12.799991-21.979413-26.843409-26.148553a49.334822 49.334822 0 0 0-41.179399 5.924568l-192.109577 131.657048c-11.410278 7.82628-16.859417 20.041129-14.262847 32.07312 2.559998 11.99542 12.799991 21.942841 26.879981 26.111982a49.334822 49.334822 0 0 0 41.142827-5.924568z" horiz-adv-x="1170" />
|
||||
|
||||
|
||||
<glyph glyph-name="api" unicode="" d="M935 531c33 0 57-24 57-57s-24-57-57-57v-60c30 0 57-24 57-57 0-30-24-57-57-57v-60c30 0 57-24 57-57 0-30-24-57-57-57v-15c0-51-39-90-90-90h-165v-3c0-30-24-57-57-57-30 0-57 24-57 57V-36h-60v-3c0-30-24-57-57-57s-57 24-57 57V-36h-60v-3c0-30-24-57-57-57s-57 24-57 57V-36H182c-48 0-90 39-90 90l-3 159c-30 0-57 24-57 57 0 30 24 57 57 57v60C56 387 32 414 32 444s24 57 57 57v60c-30 0-57 24-57 57s24 57 57 57V723c0 48 42 87 90 87h168c0 30 24 54 54 54h3c30 0 54-24 54-54h60C518 840 542 864 572 864h3c30 0 54-24 54-54h60c0 30 24 54 54 54h9c30 0 54-24 54-54h39c51 0 90-39 90-90v-189z m-354-246l30-81H692l-144 360h-78L332 204h78l30 81h141zM512 486l48-135h-99l51 135z" horiz-adv-x="1024" />
|
||||
|
||||
|
||||
|
||||
|
||||
</font>
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 32 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
package.json
10
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vuepress-theme-reco",
|
||||
"version": "1.0.0-alpha.19",
|
||||
"version": "1.0.0-alpha.22",
|
||||
"description": "this is a vuepress theme",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@ -24,9 +24,9 @@
|
||||
"_from": "vuepress-theme-reco@0.2.1",
|
||||
"_resolved": "http://registry.npm.taobao.org/vuepress-theme-reco/download/vuepress-theme-reco-0.2.1.tgz",
|
||||
"dependencies": {
|
||||
"leancloud-storage": "^3.13.0",
|
||||
"valine": "^1.3.6",
|
||||
"@vuepress/plugin-blog": "^1.0.0-alpha.47",
|
||||
"vue-click-outside": "^1.0.7"
|
||||
"leancloud-storage": "3.13.0",
|
||||
"valine": "1.3.6",
|
||||
"@vuepress/plugin-blog": "1.0.0-alpha.47",
|
||||
"vue-click-outside": "1.0.7"
|
||||
}
|
||||
}
|
@ -4,6 +4,7 @@ color-mode(accountColor , colorName)
|
||||
color accountColor!important;
|
||||
a.sidebar-link.active
|
||||
border-color: accountColor
|
||||
color accountColor!important;
|
||||
blockquote
|
||||
border-color: accountColor
|
||||
.search-box input
|
||||
|
Loading…
Reference in New Issue
Block a user