diff --git a/.gitee/ISSUE_TEMPLATE.zh-CN.md b/.gitee/ISSUE_TEMPLATE.zh-CN.md
new file mode 100644
index 00000000..6dd05af9
--- /dev/null
+++ b/.gitee/ISSUE_TEMPLATE.zh-CN.md
@@ -0,0 +1,3 @@
+你好,请使用下面的链接创建 issue 以帮助我们更快的排查问题,不规范的 issue 会被关闭,感谢配合。
+
+https://new-issue.uviewui.com/
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 00000000..623c337f
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
+blank_issues_enabled: false
+contact_links:
+ - name: 创建一个新issue
+ url: https://new-issue.uviewui.com/
+ about: 请使用接下来的链接创建新issue。
+ - name: Create new issue
+ url: https://new-issue.uviewui.com/?lang=en
+ about: Please use the following link to create a new issue.
diff --git a/.gitignore b/.gitignore
index 999c4c54..4bb9dc43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,7 @@
/node_modules/*
/.idea/*
deploy.sh
+.hbuilderx/
+
+deploy
+.DS_Store
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 8e39eada..4db40efe 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2020 www.uviewui.com
+Copyright (c) 2023 www.uviewui.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
\ No newline at end of file
+SOFTWARE.
diff --git a/README.md b/README.md
index 978e64ef..0183b8cd 100644
--- a/README.md
+++ b/README.md
@@ -4,20 +4,20 @@
uView
多平台快速开发的UI框架
-[](https://gitee.com/xuqu/uView/stargazers)
-[](https://gitee.com/xuqu/uView/members)
-[](https://github.com/YanxinNet/uView)
-[](https://github.com/YanxinNet/uView)
-[](https://github.com/YanxinNet/uView/issues)
+[](https://gitee.com/umicro/uView/stargazers)
+[](https://gitee.com/umicro/uView/members)
+[](https://github.com/umicro/uView)
+[](https://github.com/umicro/uView)
+[](https://github.com/umicro/uView/issues)
[](https://uviewui.com)
-[](https://gitee.com/xuqu/uView/releases)
+[](https://gitee.com/umicro/uView/releases)
[](https://en.wikipedia.org/wiki/MIT_License)
## 说明
uView UI,是[uni-app](https://uniapp.dcloud.io/)生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水
-## [官方文档:https://www.uviewui.com](https://www.uviewui.com)
+## [官方文档:https://v1.uviewui.com](https://v1.uviewui.com)
### 官方1群:1042987248(已满)
### 官方2群:249718512(已满)
@@ -27,7 +27,8 @@ uView UI,是[uni-app](https://uniapp.dcloud.io/)生态优秀的UI框架,全
### 官方6群:745721078(已满)
### 官方7群:627867855(已满)
### 官方8群:496409492(已满)
-### [点击加9群交流反馈:828504448](https://jq.qq.com/?_wv=1027&k=Ute1wecV)
+### 官方9群:828504448(已满)
+### [点击加10群交流反馈:232041042](https://jq.qq.com/?_wv=1027&k=KnbeceDU)
## 特性
@@ -60,15 +61,20 @@ uView UI,是[uni-app](https://uniapp.dcloud.io/)生态优秀的UI框架,全
## 链接
-- [官方文档](https://uviewui.com/)
-- [更新日志](https://uviewui.com/components/changelog.html)
-- [升级指南](https://uviewui.com/components/changelog.html)
-- [关于我们](https://uviewui.com/cooperation/about.html)
+- [官方文档](https://v1.uviewui.com/)
+- [更新日志](https://v1.uviewui.com/components/changelog.html)
+- [升级指南](https://v1.uviewui.com/components/changelog.html)
+- [关于我们](https://v1.uviewui.com/cooperation/about.html)
## 交流反馈
欢迎加入我们的QQ群交流反馈:[点此跳转](https://www.uviewui.com/components/addQQGroup.html)
+## 关于PR
+
+> 我们非常乐意接受各位的优质PR,但在此之前我希望您了解uView2.0是一个需要兼容多个平台的(小程序、h5、ios app、android app)包括nvue页面、vue页面。
+> 所以希望在您修复bug并提交之前尽可能的去这些平台测试一下兼容性。最好能携带测试截图以方便审核。非常感谢!
+
## 安装
#### **下载地址** —— [https://ext.dcloud.net.cn/plugin?id=1593](https://ext.dcloud.net.cn/plugin?id=1593)
diff --git a/components/page-nav/page-nav.vue b/components/page-nav/page-nav.vue
index 3f3c0f27..e2b5cd45 100644
--- a/components/page-nav/page-nav.vue
+++ b/components/page-nav/page-nav.vue
@@ -4,10 +4,10 @@
- {{$t('common.title')}}
+ uView {{version}}
- {{$t('common.intro')}}
+ {{$t('common.intro')}}
@@ -21,78 +21,83 @@
diff --git a/manifest.json b/manifest.json
index 802339ba..17ce7351 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,8 +1,8 @@
{
"name" : "uView",
- "appid" : "__UNI__60F4B81",
+ "appid" : "__UNI__6655525",
"description" : "多平台快速开发的UI框架",
- "versionName" : "1.8.3",
+ "versionName" : "1.8.8",
"versionCode" : "100",
"transformPx" : false,
"app-plus" : {
@@ -93,7 +93,7 @@
},
"quickapp" : {},
"mp-weixin" : {
- "appid" : "wxc256e348c4032ebd",
+ "appid" : "",
"setting" : {
"urlCheck" : true,
"es6" : false,
@@ -121,7 +121,7 @@
},
"mp-toutiao" : {
"usingComponents" : true,
- "appid" : "tt2bc55d78b4ff50bf"
+ "appid" : ""
},
"h5" : {
"template" : "template.h5.html",
diff --git a/package.json b/package.json
index 58e7ac8e..a5e4e96f 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,12 @@
{
- "name": "uView",
+ "name": "uview1.0",
"version": "1.0.0",
"description": "\r \r
\r uView \r 多平台快速开发的UI框架 ",
"main": "main.js",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "echo \"Error: no test specified\" && exit 1",
+ "deploy": "node deploy",
+ "preinstall": "npx only-allow pnpm"
},
"repository": {
"type": "git",
@@ -18,6 +20,7 @@
},
"homepage": "https://github.com/YanxinNet/uView#readme",
"dependencies": {
- "vue-i18n": "^8.20.0"
+ "vue-i18n": "^8.20.0",
+ "anve-upload-upyun": "^1.0.8"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
new file mode 100644
index 00000000..01fcbbff
--- /dev/null
+++ b/pnpm-lock.yaml
@@ -0,0 +1,312 @@
+lockfileVersion: '9.0'
+
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
+importers:
+
+ .:
+ dependencies:
+ anve-upload-upyun:
+ specifier: ^1.0.8
+ version: 1.0.8
+ vue-i18n:
+ specifier: ^8.20.0
+ version: 8.28.2(vue@2.7.16)
+
+packages:
+
+ '@babel/helper-string-parser@7.24.8':
+ resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/helper-validator-identifier@7.24.7':
+ resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/parser@7.25.6':
+ resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
+ '@babel/types@7.25.6':
+ resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==}
+ engines: {node: '>=6.9.0'}
+
+ '@vue/compiler-sfc@2.7.16':
+ resolution: {integrity: sha512-KWhJ9k5nXuNtygPU7+t1rX6baZeqOYLEforUPjgNDBnLicfHCoi48H87Q8XyLZOrNNsmhuwKqtpDQWjEFe6Ekg==}
+
+ ansi-regex@2.1.1:
+ resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==}
+ engines: {node: '>=0.10.0'}
+
+ anve-upload-upyun@1.0.8:
+ resolution: {integrity: sha512-9/3TfOZOvSG92WWIvxIy+kzjD/K07uOtsMbgPEH4ZMq98j/RaroKRS48yCmfokLcnZLLzNnylYPPcRd6hoN0bw==}
+
+ asynckit@0.4.0:
+ resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
+
+ axios@0.26.1:
+ resolution: {integrity: sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==}
+
+ base-64@1.0.0:
+ resolution: {integrity: sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==}
+
+ charenc@0.0.2:
+ resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==}
+
+ code-point-at@1.1.0:
+ resolution: {integrity: sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==}
+ engines: {node: '>=0.10.0'}
+
+ combined-stream@1.0.8:
+ resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
+ engines: {node: '>= 0.8'}
+
+ crypt@0.0.2:
+ resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==}
+
+ csstype@3.1.3:
+ resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
+
+ delayed-stream@1.0.0:
+ resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
+ engines: {node: '>=0.4.0'}
+
+ follow-redirects@1.15.9:
+ resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==}
+ engines: {node: '>=4.0'}
+ peerDependencies:
+ debug: '*'
+ peerDependenciesMeta:
+ debug:
+ optional: true
+
+ form-data@4.0.0:
+ resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==}
+ engines: {node: '>= 6'}
+
+ hmacsha1@1.0.0:
+ resolution: {integrity: sha512-4FP6J0oI8jqb6gLLl9tSwVdosWJ/AKSGJ+HwYf6Ixe4MUcEkst4uWzpVQrNOCin0fzTRQbXV8ePheU8WiiDYBw==}
+
+ is-buffer@1.1.6:
+ resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==}
+
+ is-fullwidth-code-point@1.0.0:
+ resolution: {integrity: sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==}
+ engines: {node: '>=0.10.0'}
+
+ is-promise@4.0.0:
+ resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}
+
+ md5@2.3.0:
+ resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==}
+
+ mime-db@1.52.0:
+ resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
+ engines: {node: '>= 0.6'}
+
+ mime-types@2.1.35:
+ resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
+ engines: {node: '>= 0.6'}
+
+ nanoid@3.3.7:
+ resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}
+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
+ hasBin: true
+
+ number-is-nan@1.0.1:
+ resolution: {integrity: sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==}
+ engines: {node: '>=0.10.0'}
+
+ picocolors@1.1.0:
+ resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==}
+
+ postcss@8.4.47:
+ resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==}
+ engines: {node: ^10 || ^12 || >=14}
+
+ prettier@2.8.8:
+ resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
+ engines: {node: '>=10.13.0'}
+ hasBin: true
+
+ single-line-log@1.1.2:
+ resolution: {integrity: sha512-awzaaIPtYFdexLr6TBpcZSGPB6D1RInNO/qNetgaJloPDF/D0GkVtLvGEp8InfmLV7CyLyQ5fIRP+tVN/JmWQA==}
+
+ source-map-js@1.2.1:
+ resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
+ engines: {node: '>=0.10.0'}
+
+ source-map@0.6.1:
+ resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
+ engines: {node: '>=0.10.0'}
+
+ string-width@1.0.2:
+ resolution: {integrity: sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==}
+ engines: {node: '>=0.10.0'}
+
+ strip-ansi@3.0.1:
+ resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==}
+ engines: {node: '>=0.10.0'}
+
+ to-fast-properties@2.0.0:
+ resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
+ engines: {node: '>=4'}
+
+ upyun@3.4.6:
+ resolution: {integrity: sha512-ThAI7woGkVE2lsOq8MFYb0Oeg8avOQQbY3XmXmaq1aZVjzcglcMuI/RImBrq+KJw7nX39iNKCJKYs65xiAF53Q==}
+ engines: {node: '>=8.0.0'}
+
+ vue-i18n@8.28.2:
+ resolution: {integrity: sha512-C5GZjs1tYlAqjwymaaCPDjCyGo10ajUphiwA922jKt9n7KPpqR7oM1PCwYzhB/E7+nT3wfdG3oRre5raIT1rKA==}
+ peerDependencies:
+ vue: ^2
+
+ vue@2.7.16:
+ resolution: {integrity: sha512-4gCtFXaAA3zYZdTp5s4Hl2sozuySsgz4jy1EnpBHNfpMa9dK1ZCG7viqBPCwXtmgc8nHqUsAu3G4gtmXkkY3Sw==}
+ deprecated: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.
+
+snapshots:
+
+ '@babel/helper-string-parser@7.24.8': {}
+
+ '@babel/helper-validator-identifier@7.24.7': {}
+
+ '@babel/parser@7.25.6':
+ dependencies:
+ '@babel/types': 7.25.6
+
+ '@babel/types@7.25.6':
+ dependencies:
+ '@babel/helper-string-parser': 7.24.8
+ '@babel/helper-validator-identifier': 7.24.7
+ to-fast-properties: 2.0.0
+
+ '@vue/compiler-sfc@2.7.16':
+ dependencies:
+ '@babel/parser': 7.25.6
+ postcss: 8.4.47
+ source-map: 0.6.1
+ optionalDependencies:
+ prettier: 2.8.8
+
+ ansi-regex@2.1.1: {}
+
+ anve-upload-upyun@1.0.8:
+ dependencies:
+ single-line-log: 1.1.2
+ upyun: 3.4.6
+ transitivePeerDependencies:
+ - debug
+
+ asynckit@0.4.0: {}
+
+ axios@0.26.1:
+ dependencies:
+ follow-redirects: 1.15.9
+ transitivePeerDependencies:
+ - debug
+
+ base-64@1.0.0: {}
+
+ charenc@0.0.2: {}
+
+ code-point-at@1.1.0: {}
+
+ combined-stream@1.0.8:
+ dependencies:
+ delayed-stream: 1.0.0
+
+ crypt@0.0.2: {}
+
+ csstype@3.1.3: {}
+
+ delayed-stream@1.0.0: {}
+
+ follow-redirects@1.15.9: {}
+
+ form-data@4.0.0:
+ dependencies:
+ asynckit: 0.4.0
+ combined-stream: 1.0.8
+ mime-types: 2.1.35
+
+ hmacsha1@1.0.0: {}
+
+ is-buffer@1.1.6: {}
+
+ is-fullwidth-code-point@1.0.0:
+ dependencies:
+ number-is-nan: 1.0.1
+
+ is-promise@4.0.0: {}
+
+ md5@2.3.0:
+ dependencies:
+ charenc: 0.0.2
+ crypt: 0.0.2
+ is-buffer: 1.1.6
+
+ mime-db@1.52.0: {}
+
+ mime-types@2.1.35:
+ dependencies:
+ mime-db: 1.52.0
+
+ nanoid@3.3.7: {}
+
+ number-is-nan@1.0.1: {}
+
+ picocolors@1.1.0: {}
+
+ postcss@8.4.47:
+ dependencies:
+ nanoid: 3.3.7
+ picocolors: 1.1.0
+ source-map-js: 1.2.1
+
+ prettier@2.8.8:
+ optional: true
+
+ single-line-log@1.1.2:
+ dependencies:
+ string-width: 1.0.2
+
+ source-map-js@1.2.1: {}
+
+ source-map@0.6.1: {}
+
+ string-width@1.0.2:
+ dependencies:
+ code-point-at: 1.1.0
+ is-fullwidth-code-point: 1.0.0
+ strip-ansi: 3.0.1
+
+ strip-ansi@3.0.1:
+ dependencies:
+ ansi-regex: 2.1.1
+
+ to-fast-properties@2.0.0: {}
+
+ upyun@3.4.6:
+ dependencies:
+ axios: 0.26.1
+ base-64: 1.0.0
+ form-data: 4.0.0
+ hmacsha1: 1.0.0
+ is-promise: 4.0.0
+ md5: 2.3.0
+ mime-types: 2.1.35
+ transitivePeerDependencies:
+ - debug
+
+ vue-i18n@8.28.2(vue@2.7.16):
+ dependencies:
+ vue: 2.7.16
+
+ vue@2.7.16:
+ dependencies:
+ '@vue/compiler-sfc': 2.7.16
+ csstype: 3.1.3
diff --git a/template.h5.html b/template.h5.html
index 2656b098..8a4e2c5b 100644
--- a/template.h5.html
+++ b/template.h5.html
@@ -3,7 +3,7 @@
-
+
<%= htmlWebpackPlugin.options.title %>
diff --git a/uview-ui/LICENSE b/uview-ui/LICENSE
index 8e39eada..4db40efe 100644
--- a/uview-ui/LICENSE
+++ b/uview-ui/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2020 www.uviewui.com
+Copyright (c) 2023 www.uviewui.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
\ No newline at end of file
+SOFTWARE.
diff --git a/uview-ui/components/u-badge/u-badge.vue b/uview-ui/components/u-badge/u-badge.vue
index e85b133a..1c155071 100644
--- a/uview-ui/components/u-badge/u-badge.vue
+++ b/uview-ui/components/u-badge/u-badge.vue
@@ -113,7 +113,7 @@
style.right = this.offset[1] + 'rpx';
style.transform = "translateY(0) translateX(0)";
}
- // 如果尺寸为mini,后接上scal()
+ // 如果尺寸为mini,后接上scale()
if(this.size == 'mini') {
style.transform = style.transform + " scale(0.8)";
}
diff --git a/uview-ui/components/u-calendar/u-calendar.vue b/uview-ui/components/u-calendar/u-calendar.vue
index 2b301842..70059cbe 100644
--- a/uview-ui/components/u-calendar/u-calendar.vue
+++ b/uview-ui/components/u-calendar/u-calendar.vue
@@ -288,6 +288,10 @@
},
init() {
let now = new Date();
+ let minDate = new Date(this.minDate);
+ let maxDate = new Date(this.maxDate);
+ if (now < minDate) now = minDate;
+ if (now > maxDate) now = maxDate;
this.year = now.getFullYear();
this.month = now.getMonth() + 1;
this.day = now.getDate();
@@ -636,4 +640,4 @@
}
}
}
-
\ No newline at end of file
+
diff --git a/uview-ui/components/u-card/u-card.vue b/uview-ui/components/u-card/u-card.vue
index a3cb2aa9..79fb7268 100644
--- a/uview-ui/components/u-card/u-card.vue
+++ b/uview-ui/components/u-card/u-card.vue
@@ -23,7 +23,7 @@
@@ -172,6 +172,7 @@ export default {
this.loading = false;
} else {
this.isError = false;
+ this.loading = true;
}
}
}
diff --git a/uview-ui/components/u-input/u-input.vue b/uview-ui/components/u-input/u-input.vue
index f2aea72f..94b05f28 100644
--- a/uview-ui/components/u-input/u-input.vue
+++ b/uview-ui/components/u-input/u-input.vue
@@ -28,6 +28,7 @@
:selection-start="uSelectionStart"
:cursor-spacing="getCursorSpacing"
:show-confirm-bar="showConfirmbar"
+ :adjust-position="adjustPosition"
@input="handleInput"
@blur="handleBlur"
@focus="onFocus"
@@ -50,6 +51,7 @@
:selection-end="uSelectionEnd"
:selection-start="uSelectionStart"
:show-confirm-bar="showConfirmbar"
+ :adjust-position="adjustPosition"
@focus="onFocus"
@blur="handleBlur"
@input="handleInput"
@@ -213,6 +215,11 @@ export default {
showConfirmbar:{
type:Boolean,
default:true
+ },
+ // 弹出键盘时是否自动调节高度,uni-app默认值是true
+ adjustPosition: {
+ type: Boolean,
+ default: true
}
},
data() {
@@ -244,7 +251,7 @@ export default {
},
getStyle() {
let style = {};
- // 如果没有自定义高度,就根据type为input还是textare来分配一个默认的高度
+ // 如果没有自定义高度,就根据type为input还是textarea来分配一个默认的高度
style.minHeight = this.height ? this.height + 'rpx' : this.type == 'textarea' ?
this.textareaHeight + 'rpx' : this.inputHeight + 'rpx';
style = Object.assign(style, this.customStyle);
@@ -300,11 +307,12 @@ export default {
handleBlur(event) {
// 最开始使用的是监听图标@touchstart事件,自从hx2.8.4后,此方法在微信小程序出错
// 这里改为监听点击事件,手点击清除图标时,同时也发生了@blur事件,导致图标消失而无法点击,这里做一个延时
+ let value = event.detail.value;
setTimeout(() => {
this.focused = false;
}, 100)
// vue 原生的方法 return 出去
- this.$emit('blur', event.detail.value);
+ this.$emit('blur', value);
setTimeout(() => {
// 头条小程序由于自身bug,导致中文下,每按下一个键(尚未完成输入),都会触发一次@input,导致错误,这里进行判断处理
// #ifdef MP-TOUTIAO
@@ -312,7 +320,7 @@ export default {
this.lastValue = value;
// #endif
// 将当前的值发送到 u-form-item 进行校验
- this.dispatch('u-form-item', 'on-form-blur', event.detail.value);
+ this.dispatch('u-form-item', 'on-form-blur', value);
}, 40)
},
onFormItemError(status) {
diff --git a/uview-ui/components/u-line-progress/u-line-progress.vue b/uview-ui/components/u-line-progress/u-line-progress.vue
index 77e2da20..16c47a94 100644
--- a/uview-ui/components/u-line-progress/u-line-progress.vue
+++ b/uview-ui/components/u-line-progress/u-line-progress.vue
@@ -10,9 +10,9 @@
striped && stripedActive ? 'u-striped-active' : ''
]" class="u-active" :style="[progressStyle]">
-
+
{{percent + '%'}}
-
+
@@ -102,7 +102,7 @@