# uni-link
## Instructions
组件名:uni-link
代码块: uLink
点击下载&安装
### Syntax
- 使用 ``(或 ``,当需要包裹子节点时)。
- 遇到平台差异时,建议使用条件编译(`#ifdef / #endif`)显式处理。
#### Properties
| 属性名 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| href | String | - | 链接地址 |
| text | String | - | 显示文字 |
| download | String | - | H5平台下载文件名 |
| showUnderLine | Boolean | true | 是否显示下划线 |
| copyTips | String | 已自动复制网址,请在手机浏览器里粘贴该网址 | 在小程序端复制链接时的提示语 |
| color | String | #999999 | 链接文字颜色 |
| fontSize | String | 14 | 链接文字大小,单位px |
#### Events
See official docs for full events list: `https://uniapp.dcloud.net.cn/component/uniui/uni-link.html`
#### Platform Compatibility
See official docs for platform support table: `https://uniapp.dcloud.net.cn/component/uniui/uni-link.html`
### Examples
### Example (Example 1)
```vue
```
### Example (Example 2)
```html
```
### Example (Example 3)
```vue
超链接组件,在小程序内复制url,在app内打开外部浏览器,在h5端打开新网页。
点击跳转
```
### Example (Example 4)
```html
超链接组件,在小程序内复制url,在app内打开外部浏览器,在h5端打开新网页。
点击跳转
```
Reference:
- [Official Documentation](https://uniapp.dcloud.net.cn/component/uniui/uni-link.html)
- [Plugin Marketplace](https://ext.dcloud.net.cn/plugin?name=link)
- [Local Example](examples/uni-ui/uni-link.vue)