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
b17103d1
Commit
b17103d1
authored
Aug 12, 2020
by
TtTao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化:cli项目
parent
defb2698
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
.gitignore
.gitignore
+1
-0
u-dropdown-list.vue
uview-ui/components/u-dropdown-list/u-dropdown-list.vue
+1
-1
u-parse.vue
uview-ui/components/u-parse/u-parse.vue
+1
-1
No files found.
.gitignore
View file @
b17103d1
...
...
@@ -2,3 +2,4 @@
/node_modules/*
/.idea/*
deploy.sh
package-lock.json
uview-ui/components/u-dropdown-list/u-dropdown-list.vue
View file @
b17103d1
...
...
@@ -108,7 +108,7 @@ export default {
type
:
String
,
default
:
'
none
'
},
//top
rpx 选择框高度也用这个值
//toprpx 选择框高度也用这个值
top
:
{
type
:
Number
,
default
:
90
...
...
uview-ui/components/u-parse/u-parse.vue
View file @
b17103d1
...
...
@@ -525,7 +525,7 @@
style
+=
'
</style>
'
;
html
=
style
+
html
;
}
// 处理
rpx
// 处理rpx
if
(
html
.
includes
(
'
rpx
'
))
html
=
html
.
replace
(
/
[
0-9.
]
+
\s
*rpx/g
,
$
=>
(
parseFloat
(
$
)
*
windowWidth
/
750
)
+
'
px
'
);
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