[Doc] fix source code links for 1.x

This commit is contained in:
陈嘉涵 2019-05-21 19:37:43 +08:00
parent 99c4f14022
commit 75e91347c6
7 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
<img src="https://img.yzcdn.cn/vant/design-components-0321.png" style="width: 80%; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);"> <img src="https://img.yzcdn.cn/vant/design-components-0321.png" style="width: 80%; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);">
<a class="design-download" href="https://github.com/youzan/vant/blob/dev/docs/assets/design.sketch?raw=true">下载</a> <a class="design-download" href="https://github.com/youzan/vant/blob/1.x/docs/assets/design.sketch?raw=true">下载</a>
### 图标 ### 图标

View File

@ -21,7 +21,7 @@ See in [Quickstart](#/en-US/quickstart).
### Contribution ### Contribution
Please make sure to read the [Contributing Guide](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.md) before making a pull request. Please make sure to read the [Contributing Guide](https://github.com/youzan/vant/blob/1.x/.github/CONTRIBUTING.md) before making a pull request.
### Browser Support ### Browser Support

View File

@ -6,7 +6,7 @@
Vant use [Less](http://lesscss.org/) as css preprocessoryou can modify less variables to custom theme. Vant use [Less](http://lesscss.org/) as css preprocessoryou can modify less variables to custom theme.
There are some basic variables below, all available variables could be found in [var.less](https://github.com/youzan/vant/blob/dev/packages/style/var.less)。 There are some basic variables below, all available variables could be found in [var.less](https://github.com/youzan/vant/blob/1.x/packages/style/var.less)。
```less ```less
// color variables // color variables

View File

@ -10,7 +10,7 @@
Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置了一些样式变量,通过替换样式变量即可定制你自己需要的主题。 Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置了一些样式变量,通过替换样式变量即可定制你自己需要的主题。
下面是一些基本的样式变量,所有可用的颜色变量请参考 [配置文件](https://github.com/youzan/vant/blob/dev/packages/style/var.less)。 下面是一些基本的样式变量,所有可用的颜色变量请参考 [配置文件](https://github.com/youzan/vant/blob/1.x/packages/style/var.less)。
```less ```less
// color variables // color variables

View File

@ -42,7 +42,7 @@ export default {
}, },
demoLink() { demoLink() {
return `https://github.com/youzan/vant/blob/dev/packages/${ return `https://github.com/youzan/vant/blob/1.x/packages/${
this.$route.meta.path this.$route.meta.path
}/demo/index.vue`; }/demo/index.vue`;
}, },

View File

@ -98,7 +98,7 @@ Example of `AreaList`
} }
``` ```
All code of China: [Area.json](https://github.com/youzan/vant/blob/dev/packages/area/demo/area-en.js) All code of China: [Area.json](https://github.com/youzan/vant/blob/1.x/packages/area/demo/area-en.js)
#### argument of callback function confirm #### argument of callback function confirm
An array contains selected area objects. An array contains selected area objects.

View File

@ -102,7 +102,7 @@ Vue.use(Area);
} }
``` ```
完整数据见 [Area.json](https://github.com/youzan/vant/blob/dev/packages/area/demo/area.js) 完整数据见 [Area.json](https://github.com/youzan/vant/blob/1.x/packages/area/demo/area.js)
#### 点击完成时返回的数据格式 #### 点击完成时返回的数据格式