Skip to content

Commit c2bf365

Browse files
committed
完善修复
1 parent 5d15b45 commit c2bf365

File tree

246 files changed

+40624
-40624
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+40624
-40624
lines changed

.editorconfig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
[*]
2-
#缩进风格:空格
3-
indent_style = tab
4-
#缩进大小2
5-
indent_size = 4
6-
#换行符lf
7-
end_of_line = lf
8-
#字符集utf-8
9-
charset = utf-8
10-
11-
1+
[*]
2+
#缩进风格:空格
3+
indent_style = tab
4+
#缩进大小2
5+
indent_size = 4
6+
#换行符lf
7+
end_of_line = lf
8+
#字符集utf-8
9+
charset = utf-8
10+
11+

.eslintignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
unpackage
2-
node_modules
3-
uview-ui
1+
unpackage
2+
node_modules
3+
uview-ui

.hbuilderx/launch.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
2-
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
3-
"version": "0.0",
4-
"configurations": [{
5-
"type": "uniCloud",
6-
"default": {
7-
"launchtype": "remote"
8-
}
9-
}
10-
]
11-
}
1+
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
2+
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
3+
"version": "0.0",
4+
"configurations": [{
5+
"type": "uniCloud",
6+
"default": {
7+
"launchtype": "remote"
8+
}
9+
}
10+
]
11+
}

.vscode/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
{
2-
"editor.formatOnSave": false
3-
}
1+
{
2+
"editor.formatOnSave": false
3+
}

App.vue

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
<script>
2-
export default {
3-
// 此处globalData为了演示其作用,不是uView框架的一部分
4-
globalData: {
5-
username: '白居易'
6-
},
7-
onLaunch() {
8-
// 1.1.0版本之前关于http拦截器代码,已平滑移动到/common/http.interceptor.js中
9-
// 注意,需要在/main.js中实例化Vue之后引入如下(详见文档说明):
10-
// import httpInterceptor from '@/common/http.interceptor.js'
11-
// Vue.use(httpInterceptor, app)
12-
// process.env.VUE_APP_PLATFORM 为通过js判断平台名称的方法,结果分别如下:
13-
/**
14-
* h5,app-plus(nvue下也为app-plus),mp-weixin,mp-alipay......
15-
*/
16-
},
17-
}
18-
</script>
19-
20-
<style lang="scss">
21-
@import "uview-ui/index.scss";
22-
@import "common/demo.scss";
1+
<script>
2+
export default {
3+
// 此处globalData为了演示其作用,不是uView框架的一部分
4+
globalData: {
5+
username: '白居易'
6+
},
7+
onLaunch() {
8+
// 1.1.0版本之前关于http拦截器代码,已平滑移动到/common/http.interceptor.js中
9+
// 注意,需要在/main.js中实例化Vue之后引入如下(详见文档说明):
10+
// import httpInterceptor from '@/common/http.interceptor.js'
11+
// Vue.use(httpInterceptor, app)
12+
// process.env.VUE_APP_PLATFORM 为通过js判断平台名称的方法,结果分别如下:
13+
/**
14+
* h5,app-plus(nvue下也为app-plus),mp-weixin,mp-alipay......
15+
*/
16+
},
17+
}
18+
</script>
19+
20+
<style lang="scss">
21+
@import "uview-ui/index.scss";
22+
@import "common/demo.scss";
2323
</style>

README.md

Lines changed: 139 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -1,139 +1,139 @@
1-
<p align="center">
2-
<img alt="logo" src="https://uviewui.com/common/logo.png" width="120" height="120" style="margin-bottom: 10px;">
3-
</p>
4-
<h3 align="center" style="margin: 30px 0 30px;font-weight: bold;font-size:40px;">uView</h3>
5-
<h3 align="center">多平台快速开发的UI框架</h3>
6-
7-
[![star](https://gitee.com/xuqu/uView/badge/star.svg?theme=gvp)](https://gitee.com/xuqu/uView/stargazers)
8-
[![fork](https://gitee.com/xuqu/uView/badge/fork.svg?theme=gvp)](https://gitee.com/xuqu/uView/members)
9-
[![stars](https://img.shields.io/github/stars/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/YanxinNet/uView)
10-
[![forks](https://img.shields.io/github/forks/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/YanxinNet/uView)
11-
[![issues](https://img.shields.io/github/issues/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/YanxinNet/uView/issues)
12-
[![Website](https://img.shields.io/badge/uView-up-blue?style=flat-square)](https://uviewui.com)
13-
[![release](https://img.shields.io/github/v/release/YanxinNet/uView?style=flat-square)](https://gitee.com/xuqu/uView/releases)
14-
[![license](https://img.shields.io/github/license/YanxinNet/uView?style=flat-square)](https://en.wikipedia.org/wiki/MIT_License)
15-
16-
## 说明
17-
18-
uView UI,是[uni-app](https://uniapp.dcloud.io/)生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水
19-
20-
## [官方文档:https://www.uviewui.com](https://www.uviewui.com)
21-
22-
### 官方1群:1042987248(已满)
23-
### 官方2群:249718512(已满)
24-
### 官方3群:1129077272(已满)
25-
### 官方4群:1084514613(已满)
26-
### 官方5群:863820668(已满)
27-
### 官方6群:745721078(已满)
28-
### 官方7群:627867855(已满)
29-
### [点击加7群交流反馈:627867855](https://jq.qq.com/?_wv=1027&k=ZHFDsWUV)
30-
31-
## 特性
32-
33-
- 兼容安卓,iOS,微信小程序,H5,QQ小程序,百度小程序,支付宝小程序,头条小程序
34-
- 60+精选组件,功能丰富,多端兼容,让您快速集成,开箱即用
35-
- 众多贴心的JS利器,让您飞镖在手,召之即来,百步穿杨
36-
- 众多的常用页面和布局,让您专注逻辑,事半功倍
37-
- 详尽的文档支持,现代化的演示效果
38-
- 按需引入,精简打包体积
39-
40-
41-
## 预览
42-
43-
您可以通过**微信**扫码,查看最佳的演示效果。
44-
<br>
45-
<br>
46-
<img src="https://uviewui.com/common/weixin_mini_qrcode.png" width="220" height="220" >
47-
48-
49-
## 友情链接
50-
51-
#### **vue-admin-beautiful** —— [企业级、通用型中后台前端解决方案(基于vue/cli 4 最新版,同时支持电脑,手机,平板)](https://github.com/chuzhixin/vue-admin-beautiful)
52-
53-
#### **vue-admin-beautiful** —— [在线演示](http://beautiful.panm.cn/vue-admin-beautiful/#/index)
54-
55-
#### **pl-table** —— [ 完美解决 element 万级表格数据渲染卡顿问题](https://github.com/livelyPeng/pl-table)
56-
57-
#### **luch-request** —— [基于 Promise 开发的 uni-app 跨平台、项目级别的请求库,它有更小的体积,易用的 api,方便简单的自定义能力](https://www.quanzhan.co/luch-request/)
58-
<br>
59-
60-
## 链接
61-
62-
- [官方文档](https://uviewui.com/)
63-
- [更新日志](https://uviewui.com/components/changelog.html)
64-
- [升级指南](https://uviewui.com/components/changelog.html)
65-
- [关于我们](https://uviewui.com/cooperation/about.html)
66-
67-
## 交流反馈
68-
69-
欢迎加入我们的QQ群交流反馈:[点此跳转](https://www.uviewui.com/components/addQQGroup.html)
70-
71-
## 安装
72-
73-
#### **下载地址** —— [https://ext.dcloud.net.cn/plugin?id=1593](https://ext.dcloud.net.cn/plugin?id=1593)
74-
75-
## 快速上手
76-
77-
1. `main.js`引入uView库
78-
```js
79-
// main.js
80-
import uView from 'uview-ui';
81-
Vue.use(uView);
82-
```
83-
84-
2. `App.vue`引入基础样式(注意style标签需声明scss属性支持)
85-
```css
86-
/* App.vue */
87-
<style lang="scss">
88-
@import "uview-ui/index.scss";
89-
</style>
90-
```
91-
92-
3. `uni.scss`引入全局scss变量文件
93-
```css
94-
/* uni.scss */
95-
@import "uview-ui/theme.scss";
96-
```
97-
98-
4. `pages.json`配置easycom规则(按需引入)
99-
100-
```js
101-
// pages.json
102-
{
103-
"easycom": {
104-
// 下载安装的方式需要前面的"@/",npm安装的方式无需"@/"
105-
// 下载安装方式
106-
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
107-
// npm安装方式
108-
// "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
109-
},
110-
// 此为本身已有的内容
111-
"pages": [
112-
// ......
113-
]
114-
}
115-
```
116-
117-
请通过[快速上手](https://uviewui.com/components/quickstart.html)了解更详细的内容
118-
119-
## 使用方法
120-
配置easycom规则后,自动按需引入,无需`import`组件,直接引用即可。
121-
122-
```html
123-
<template>
124-
<u-button>按钮</u-button>
125-
</template>
126-
```
127-
128-
请通过[快速上手](https://uviewui.com/components/quickstart.html)了解更详细的内容
129-
130-
131-
## 捐赠uView的研发
132-
133-
uView文档内容和框架源码全部开源免费,如果您认为uView帮到了您的开发工作,您可以捐赠uView的研发工作,捐赠无门槛,哪怕是一杯可乐也好(相信这比打赏主播更有意义)。
134-
135-
<img src="https://uviewui.com/common/wechat.png" width="220" >
136-
<img style="margin-left: 100px;" src="https://uviewui.com/common/alipay.png" width="220" >
137-
138-
## 版权信息
139-
uView遵循[MIT](https://en.wikipedia.org/wiki/MIT_License)开源协议,意味着您无需支付任何费用,也无需授权,即可将uView应用到您的产品中。
1+
<p align="center">
2+
<img alt="logo" src="https://uviewui.com/common/logo.png" width="120" height="120" style="margin-bottom: 10px;">
3+
</p>
4+
<h3 align="center" style="margin: 30px 0 30px;font-weight: bold;font-size:40px;">uView</h3>
5+
<h3 align="center">多平台快速开发的UI框架</h3>
6+
7+
[![star](https://gitee.com/xuqu/uView/badge/star.svg?theme=gvp)](https://gitee.com/xuqu/uView/stargazers)
8+
[![fork](https://gitee.com/xuqu/uView/badge/fork.svg?theme=gvp)](https://gitee.com/xuqu/uView/members)
9+
[![stars](https://img.shields.io/github/stars/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/YanxinNet/uView)
10+
[![forks](https://img.shields.io/github/forks/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/YanxinNet/uView)
11+
[![issues](https://img.shields.io/github/issues/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/YanxinNet/uView/issues)
12+
[![Website](https://img.shields.io/badge/uView-up-blue?style=flat-square)](https://uviewui.com)
13+
[![release](https://img.shields.io/github/v/release/YanxinNet/uView?style=flat-square)](https://gitee.com/xuqu/uView/releases)
14+
[![license](https://img.shields.io/github/license/YanxinNet/uView?style=flat-square)](https://en.wikipedia.org/wiki/MIT_License)
15+
16+
## 说明
17+
18+
uView UI,是[uni-app](https://uniapp.dcloud.io/)生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水
19+
20+
## [官方文档:https://www.uviewui.com](https://www.uviewui.com)
21+
22+
### 官方1群:1042987248(已满)
23+
### 官方2群:249718512(已满)
24+
### 官方3群:1129077272(已满)
25+
### 官方4群:1084514613(已满)
26+
### 官方5群:863820668(已满)
27+
### 官方6群:745721078(已满)
28+
### 官方7群:627867855(已满)
29+
### [点击加7群交流反馈:627867855](https://jq.qq.com/?_wv=1027&k=ZHFDsWUV)
30+
31+
## 特性
32+
33+
- 兼容安卓,iOS,微信小程序,H5,QQ小程序,百度小程序,支付宝小程序,头条小程序
34+
- 60+精选组件,功能丰富,多端兼容,让您快速集成,开箱即用
35+
- 众多贴心的JS利器,让您飞镖在手,召之即来,百步穿杨
36+
- 众多的常用页面和布局,让您专注逻辑,事半功倍
37+
- 详尽的文档支持,现代化的演示效果
38+
- 按需引入,精简打包体积
39+
40+
41+
## 预览
42+
43+
您可以通过**微信**扫码,查看最佳的演示效果。
44+
<br>
45+
<br>
46+
<img src="https://uviewui.com/common/weixin_mini_qrcode.png" width="220" height="220" >
47+
48+
49+
## 友情链接
50+
51+
#### **vue-admin-beautiful** —— [企业级、通用型中后台前端解决方案(基于vue/cli 4 最新版,同时支持电脑,手机,平板)](https://github.com/chuzhixin/vue-admin-beautiful)
52+
53+
#### **vue-admin-beautiful** —— [在线演示](http://beautiful.panm.cn/vue-admin-beautiful/#/index)
54+
55+
#### **pl-table** —— [ 完美解决 element 万级表格数据渲染卡顿问题](https://github.com/livelyPeng/pl-table)
56+
57+
#### **luch-request** —— [基于 Promise 开发的 uni-app 跨平台、项目级别的请求库,它有更小的体积,易用的 api,方便简单的自定义能力](https://www.quanzhan.co/luch-request/)
58+
<br>
59+
60+
## 链接
61+
62+
- [官方文档](https://uviewui.com/)
63+
- [更新日志](https://uviewui.com/components/changelog.html)
64+
- [升级指南](https://uviewui.com/components/changelog.html)
65+
- [关于我们](https://uviewui.com/cooperation/about.html)
66+
67+
## 交流反馈
68+
69+
欢迎加入我们的QQ群交流反馈:[点此跳转](https://www.uviewui.com/components/addQQGroup.html)
70+
71+
## 安装
72+
73+
#### **下载地址** —— [https://ext.dcloud.net.cn/plugin?id=1593](https://ext.dcloud.net.cn/plugin?id=1593)
74+
75+
## 快速上手
76+
77+
1. `main.js`引入uView库
78+
```js
79+
// main.js
80+
import uView from 'uview-ui';
81+
Vue.use(uView);
82+
```
83+
84+
2. `App.vue`引入基础样式(注意style标签需声明scss属性支持)
85+
```css
86+
/* App.vue */
87+
<style lang="scss">
88+
@import "uview-ui/index.scss";
89+
</style>
90+
```
91+
92+
3. `uni.scss`引入全局scss变量文件
93+
```css
94+
/* uni.scss */
95+
@import "uview-ui/theme.scss";
96+
```
97+
98+
4. `pages.json`配置easycom规则(按需引入)
99+
100+
```js
101+
// pages.json
102+
{
103+
"easycom": {
104+
// 下载安装的方式需要前面的"@/",npm安装的方式无需"@/"
105+
// 下载安装方式
106+
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
107+
// npm安装方式
108+
// "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
109+
},
110+
// 此为本身已有的内容
111+
"pages": [
112+
// ......
113+
]
114+
}
115+
```
116+
117+
请通过[快速上手](https://uviewui.com/components/quickstart.html)了解更详细的内容
118+
119+
## 使用方法
120+
配置easycom规则后,自动按需引入,无需`import`组件,直接引用即可。
121+
122+
```html
123+
<template>
124+
<u-button>按钮</u-button>
125+
</template>
126+
```
127+
128+
请通过[快速上手](https://uviewui.com/components/quickstart.html)了解更详细的内容
129+
130+
131+
## 捐赠uView的研发
132+
133+
uView文档内容和框架源码全部开源免费,如果您认为uView帮到了您的开发工作,您可以捐赠uView的研发工作,捐赠无门槛,哪怕是一杯可乐也好(相信这比打赏主播更有意义)。
134+
135+
<img src="https://uviewui.com/common/wechat.png" width="220" >
136+
<img style="margin-left: 100px;" src="https://uviewui.com/common/alipay.png" width="220" >
137+
138+
## 版权信息
139+
uView遵循[MIT](https://en.wikipedia.org/wiki/MIT_License)开源协议,意味着您无需支付任何费用,也无需授权,即可将uView应用到您的产品中。

0 commit comments

Comments
 (0)