mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] fix source code links for 1.x
This commit is contained in:
parent
99c4f14022
commit
75e91347c6
@ -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);">
|
||||
|
||||
<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>
|
||||
|
||||
### 图标
|
||||
|
||||
|
@ -21,7 +21,7 @@ See in [Quickstart](#/en-US/quickstart).
|
||||
|
||||
### 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
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
Vant use [Less](http://lesscss.org/) as css preprocessor,you 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
|
||||
// color variables
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
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
|
||||
// color variables
|
||||
|
@ -42,7 +42,7 @@ export default {
|
||||
},
|
||||
|
||||
demoLink() {
|
||||
return `https://github.com/youzan/vant/blob/dev/packages/${
|
||||
return `https://github.com/youzan/vant/blob/1.x/packages/${
|
||||
this.$route.meta.path
|
||||
}/demo/index.vue`;
|
||||
},
|
||||
|
@ -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
|
||||
An array contains selected area objects.
|
||||
|
@ -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)
|
||||
|
||||
#### 点击完成时返回的数据格式
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user