uview-pro 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.0.14(2025-08-28)
2
+
3
+ ### 🐛 Bug Fixes | Bug 修复
4
+
5
+ - 修复使用 u-swipe-action 右边会出现一条背景线的 bug ([a5b60c6](https://gitee.com/anyup/uView-Pro/commit/a5b60c6485120e164c0e0c29eea3b765c10f9aac))
6
+
1
7
  ## 0.0.13(2025-08-27)
2
8
 
3
9
  ### 🐛 Bug Fixes | Bug 修复
@@ -195,7 +195,8 @@ function touchstart() {
195
195
  */
196
196
  function getActionRect() {
197
197
  $u.getRect('.u-swipe-action').then((res: { width: number }) => {
198
- movableAreaWidth.value = res.width;
198
+ // 解决使用u-swipe-action右边会出现一条背景线的bug,增加 1 像素
199
+ movableAreaWidth.value = res.width + 1;
199
200
  // 等视图更新完后,再显示右边的可滑动按钮,防止这些按钮会"闪一下"
200
201
  nextTick(() => {
201
202
  showBtn.value = true;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-pro",
3
3
  "name": "uview-pro",
4
4
  "displayName": "【Vue3重构版】uView Pro|基于Vue3+TS全面重构的70+精选UI组件库",
5
- "version": "0.0.13",
5
+ "version": "0.0.14",
6
6
  "description": "uView Pro,是全面支持Vue3的uni-app生态框架,70+精选组件已使用TypeScript重构,已全面支持uni-app Vue3.0",
7
7
  "main": "index.ts",
8
8
  "module": "index.ts",
package/readme.md CHANGED
@@ -4,6 +4,8 @@
4
4
  <h3 align="center" style="margin: 30px 0 30px;font-weight: bold;font-size:40px;">uView Pro</h3>
5
5
  <h3 align="center">uni-app Vue3 多平台快速开发的 UI 框架</h3>
6
6
 
7
+ <div align="center">
8
+
7
9
  [![star](https://gitee.com/anyup/uView-Pro/badge/star.svg)](https://gitee.com/anyup/uView-Pro)
8
10
  [![fork](https://gitee.com/anyup/uView-Pro/badge/fork.svg)](https://gitee.com/anyup/uView-Pro)
9
11
  [![stars](https://img.shields.io/github/stars/anyup/uView-Pro?style=flat-square&logo=GitHub)](https://github.com/anyup/uView-Pro)
@@ -15,6 +17,8 @@
15
17
  [![pnpm version](https://img.shields.io/badge/pnpm-%3E%3D7.30-green)](https://pnpm.io/)
16
18
  [![license](https://img.shields.io/github/license/anyup/uView-Pro?style=flat-square)](https://en.wikipedia.org/wiki/MIT_License)
17
19
 
20
+ </div>
21
+
18
22
  ## 说明
19
23
 
20
24
  uView UI,是 [uni-app](https://uniapp.dcloud.io/) 生态优秀的 UI 框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水。
@@ -69,7 +73,7 @@ uView Pro QQ 交流群: [点击进入](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027
69
73
 
70
74
  <table class="table">
71
75
  <tr>
72
- <td><img src="https://ik.imagekit.io/anyup/images/social/weixin-chat.png?updatedAt=1756174917808" width="250" height="345" ></td>
76
+ <td><img src="https://ik.imagekit.io/anyup/images/social/weixin-chat-2.png?updatedAt=1756355426929" width="250" height="345" ></td>
73
77
  <td><img src="https://ik.imagekit.io/anyup/images/social/qq-chat.png" width="250" height="345" ></td>
74
78
  </tr>
75
79
  <tr>
@@ -132,21 +136,20 @@ export function createApp() {
132
136
  在 `uni.scss` 中引入主题样式:
133
137
 
134
138
  ```scss
135
- /* uni.scss */
136
- // npm 方式
139
+ /* npm 方式 */
137
140
  @import 'uview-pro/theme.scss';
138
- // uni_modules 方式
139
- // @import "@/uni_modules/uview-pro/theme.scss";
141
+ /* uni_modules 方式 */
142
+ /* @import "@/uni_modules/uview-pro/theme.scss"; */
140
143
  ```
141
144
 
142
145
  在 `App.vue` 首行引入基础样式:
143
146
 
144
147
  ```scss
145
148
  <style lang="scss">
146
- // npm 方式
149
+ /* npm 方式 */
147
150
  @import "uview-pro/index.scss";
148
- // uni_modules 方式
149
- // @import "@/uni_modules/uview-pro/index.scss";
151
+ /* uni_modules 方式 */
152
+ /* @import "@/uni_modules/uview-pro/index.scss"; */
150
153
  </style>
151
154
  ```
152
155
 
@@ -155,20 +158,18 @@ export function createApp() {
155
158
  在 `pages.json` 中配置 easycom 规则,实现组件自动引入:
156
159
 
157
160
  ```json
158
- // pages.json
161
+ /* pages.json */
159
162
  {
160
163
  "easycom": {
161
164
  "autoscan": true,
162
165
  "custom": {
163
- // npm 方式
166
+ /* npm 方式 */
164
167
  "^u-(.*)": "uview-pro/components/u-$1/u-$1.vue"
165
- // uni_modules 方式
166
- // "^u-(.*)": "@/uni_modules/uview-pro/components/u-$1/u-$1.vue"
168
+ /* uni_modules 方式 */
169
+ /* "^u-(.*)": "@/uni_modules/uview-pro/components/u-$1/u-$1.vue" */
167
170
  }
168
171
  },
169
- "pages": [
170
- // ...
171
- ]
172
+ "pages": []
172
173
  }
173
174
  ```
174
175
 
@@ -185,10 +186,10 @@ export function createApp() {
185
186
  ```json
186
187
  {
187
188
  "compilerOptions": {
188
- // npm 方式
189
+ /* npm 方式 */
189
190
  "types": ["uview-pro/types"]
190
- // uni_modules 方式
191
- // "types": ["@/uni_modules/uview-pro/types"]
191
+ /* uni_modules 方式 */
192
+ /* "types": ["@/uni_modules/uview-pro/types"] */
192
193
  }
193
194
  }
194
195
  ```