File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
uview-ui/components/u-parse Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
[ ![ star] ( https://gitee.com/xuqu/uView/badge/star.svg?theme=gvp )] ( https://gitee.com/xuqu/uView/stargazers )
8
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=social )] ( https://github.com/YanxinNet/uView )
10
- [ ![ forks] ( https://img.shields.io/github/forks/YanxinNet/uView?style=social )] ( https://github.com/YanxinNet/uView )
11
- [ ![ issues] ( https://img.shields.io/github/issues/YanxinNet/uView?style=flat-square )] ( https://github.com/YanxinNet/uView )
12
- [ ![ license] ( https://img.shields.io/github/license/YanxinNet/uView?style=flat-square )] ( https://github.com/YanxinNet/uView )
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 )
13
15
14
16
## 说明
15
17
Original file line number Diff line number Diff line change 529
529
style += ' </style>' ;
530
530
html = style + html;
531
531
}
532
- // 处理 rpx
532
+ // 处理rpx
533
533
if (html .includes (' rpx' ))
534
534
html = html .replace (/ [0-9 . ] + \s * rpx/ g , $ => (parseFloat ($) * windowWidth / 750 ) + ' px' );
535
535
return html;
You can’t perform that action at this time.
0 commit comments