Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uview-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李晖
uview-ui
Commits
1bf0ba03
Commit
1bf0ba03
authored
Sep 16, 2020
by
TtTao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
01156d43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
README.md
README.md
+6
-4
u-parse.vue
uview-ui/components/u-parse/u-parse.vue
+1
-1
No files found.
README.md
View file @
1bf0ba03
...
@@ -6,10 +6,12 @@
...
@@ -6,10 +6,12 @@
[

](https://gitee.com/xuqu/uView/stargazers)
[

](https://gitee.com/xuqu/uView/stargazers)
[

](https://gitee.com/xuqu/uView/members)
[

](https://gitee.com/xuqu/uView/members)
[

](https://github.com/YanxinNet/uView)
[

](https://github.com/YanxinNet/uView)
[

](https://github.com/YanxinNet/uView)
[

](https://github.com/YanxinNet/uView)
[

](https://github.com/YanxinNet/uView)
[

](https://github.com/YanxinNet/uView/issues)
[

](https://github.com/YanxinNet/uView)
[

](https://uviewui.com)
[

](https://gitee.com/xuqu/uView/releases)
[

](https://en.wikipedia.org/wiki/MIT_License)
## 说明
## 说明
...
...
uview-ui/components/u-parse/u-parse.vue
View file @
1bf0ba03
...
@@ -529,7 +529,7 @@
...
@@ -529,7 +529,7 @@
style
+=
'
</style>
'
;
style
+=
'
</style>
'
;
html
=
style
+
html
;
html
=
style
+
html
;
}
}
// 处理
rpx
// 处理rpx
if
(
html
.
includes
(
'
rpx
'
))
if
(
html
.
includes
(
'
rpx
'
))
html
=
html
.
replace
(
/
[
0-9.
]
+
\s
*rpx/g
,
$
=>
(
parseFloat
(
$
)
*
windowWidth
/
750
)
+
'
px
'
);
html
=
html
.
replace
(
/
[
0-9.
]
+
\s
*rpx/g
,
$
=>
(
parseFloat
(
$
)
*
windowWidth
/
750
)
+
'
px
'
);
return
html
;
return
html
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment