Skip to content

Commit

Permalink
新增:ES6 等
Browse files Browse the repository at this point in the history
  • Loading branch information
xugaoyi committed Jan 12, 2020
1 parent e690e6f commit c339e8b
Show file tree
Hide file tree
Showing 104 changed files with 51,018 additions and 13 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Expand Up @@ -17,6 +17,7 @@ module.exports = {
themeConfig: { // 主题配置
nav,
sidebar, // 侧边栏 'auto' | 自定义
sidebarDepth: 2, // 侧边栏显示深度,默认1,最大2(显示到h3标题)
logo: '/img/EB-logo.png', // 导航栏logo
repo: 'xugaoyi/blog', // 导航栏右侧生成Github链接
lastUpdated: '上次更新', // 更新的时间,及前缀文字 string | boolean (取值为git提交时间)
Expand Down
10 changes: 8 additions & 2 deletions docs/.vuepress/config/nav.js
Expand Up @@ -3,9 +3,15 @@ module.exports = [

{text: '前端',
items: [
{text: 'JavaScript', link: '/pages/d039d42572a97b66/'},
{text: 'JavaScript', items:[
{text: '《JavaScript教程》笔记', link: '/pages/72432ae86d5405aa/'},
{text: 'JavaScript相关文章', link: '/pages/d039d42572a97b66/'},
]},
{text: 'ES6', items:[
{text: '《ES6 教程》笔记', link: '/pages/5966e7c94628d277/'},
]},
{text: 'TypeScript',items:[
{text: '《TypeScript 从零实现 axios》', link: '/pages/e05dce83e5129785/'},
{text: '《TypeScript 从零实现 axios》', link: '/pages/943193f9d25bc5fb/'},
]},

]
Expand Down
8 changes: 6 additions & 2 deletions docs/.vuepress/config/sidebar-auto.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion docs/.vuepress/plugins/love_me/love_me.js
Expand Up @@ -36,7 +36,8 @@ export default () => {
t.getElementsByTagName("head")[0].appendChild(a)
}
function c() {
return "rgb(" + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + ")"
return "rgb(26,158,193)"
// return "rgb(" + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + ")"
}
var s = [];
e.requestAnimationFrame = e.requestAnimationFrame || e.webkitRequestAnimationFrame || e.mozRequestAnimationFrame || e.oRequestAnimationFrame || e.msRequestAnimationFrame ||
Expand Down
9 changes: 6 additions & 3 deletions docs/.vuepress/styles/index.styl
@@ -1,5 +1,8 @@
// 样式重置
a,input,button{outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-focus-ring-color: rgba(0, 0, 0, 0);}

// md文件中的按钮
.theme-default-content button
.theme-default-content .but
background $accentColor
color #fff
border none
Expand Down Expand Up @@ -46,14 +49,14 @@ table
// qq徽章
.qq{position: relative;}
.qq::after{
content: "单身可撩";
content: "可撩";
background: $accentColor;
color:#fff;
padding: 0 5px;
border-radius: 10px;
font-size:12px;
position: absolute;
top: -4px;
right: -56px;
right: -35px;
transform:scale(0.85);
}
16 changes: 16 additions & 0 deletions docs/01.前端/01.JavaScript/00.《javascript教程》笔记.md
@@ -0,0 +1,16 @@
---
title: 《javascript教程》笔记
date: 2020-01-12
permalink: /pages/72432ae86d5405aa
---
<main aria-labelledby="main-title" class="home">
<header class="hero">
<img src="https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200112120340.png" alt="hero">
<h1 id="main-title">《JavaScript教程》笔记</h1>
<p class="description">本章仅为博主的学习笔记,版权归原作者所有。</p>
<p class="action">
<a href="/pages/0796ba76b4b55368/" class="nav-link action-button">立即进入 →</a>
</p>
</header>
<div class="custom content default"></div>
</main>
17 changes: 17 additions & 0 deletions docs/01.前端/02.ES6/00.《ES6 教程》笔记.md
@@ -0,0 +1,17 @@
---
title: 《ES6 教程》笔记
date: 2020-01-12
permalink: /pages/5966e7c94628d277
---

<main aria-labelledby="main-title" class="home">
<header class="hero">
<img src="https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200112160453.png" alt="hero">
<h1 id="main-title">《ES6 教程》笔记</h1>
<p class="description">本章仅为博主的学习笔记,版权归原作者所有。</p>
<p class="action">
<a href="/pages/f344d070a1031ef7/" class="nav-link action-button">立即进入 →</a>
</p>
</header>
<div class="custom content default"></div>
</main>
Expand Up @@ -27,7 +27,7 @@ function getRandomInt(min, max) { // 获取min到max的一个随机数,包含m
<div>
</br>
原数组:{{arr}}
<button @click="clickBut">click me!打乱数组</button></br></br>
<button @click="clickBut" class="but">click me!打乱数组</button></br></br>
打乱结果:{{result}}
</div>

Expand Down
Expand Up @@ -10,7 +10,7 @@ permalink: /pages/943193f9d25bc5fb
<h1 id="main-title">TypeScript 从零实现 axios</h1>
<p class="description">学习使用 TypeScript 从零实现 axios 库</p>
<p class="action">
<a href="/pages/e05dce83e5129785/" class="nav-link action-button">开始学习 →</a>
<a href="/pages/e05dce83e5129785/" class="nav-link action-button">立即进入 →</a>
</p>
</header>
<div class="custom content default"></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/04.其他/02.笔记/01.小程序笔记.md
Expand Up @@ -535,7 +535,7 @@ pages 设置页面 ,设置后会自动在pages目录下生成相应的目录
},
```

子组件的wxml文件可直接引入数据{{playlist}}
子组件的wxml文件可直接引入数据`{{playlist}}`



Expand Down
2 changes: 1 addition & 1 deletion docs/06.最新/01.最新.md
Expand Up @@ -14,7 +14,7 @@ sidebar: false
:key="index"
href="post"
>
<a :href="post.path">{{post.title}}</a>
<a :href="post.path">{{post.title}}</a>
<span>{{ post.formatDay }}</span>
</li>
</ul>
Expand Down

0 comments on commit c339e8b

Please sign in to comment.