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
ef176027
Commit
ef176027
authored
Sep 21, 2020
by
wlxuqu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 优化支付宝小程序上this.$slots.$default的判断性
2. 优化dropdown可能错位的问题
parent
f22d21a3
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
12 deletions
+12
-12
manifest.json
manifest.json
+1
-1
pages.json
pages.json
+1
-1
u-back-top.vue
uview-ui/components/u-back-top/u-back-top.vue
+1
-1
u-dropdown-item.vue
uview-ui/components/u-dropdown-item/u-dropdown-item.vue
+1
-1
u-line-progress.vue
uview-ui/components/u-line-progress/u-line-progress.vue
+1
-1
u-modal.vue
uview-ui/components/u-modal/u-modal.vue
+1
-1
u-slider.vue
uview-ui/components/u-slider/u-slider.vue
+1
-1
u-tabbar.vue
uview-ui/components/u-tabbar/u-tabbar.vue
+2
-2
config.js
uview-ui/libs/config/config.js
+2
-2
package.json
uview-ui/package.json
+1
-1
No files found.
manifest.json
View file @
ef176027
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"name"
:
"uView"
,
"name"
:
"uView"
,
"appid"
:
"__UNI__60F4B81"
,
"appid"
:
"__UNI__60F4B81"
,
"description"
:
"多平台快速开发的UI框架"
,
"description"
:
"多平台快速开发的UI框架"
,
"versionName"
:
"1.7.
1
"
,
"versionName"
:
"1.7.
2
"
,
"versionCode"
:
"100"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"app-plus"
:
{
"app-plus"
:
{
...
...
pages.json
View file @
ef176027
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
//
"current"
:
0
,
//当前激活的模式(list
的索引项)
//
"current"
:
0
,
//当前激活的模式(list
的索引项)
//
"list"
:
[{
//
"list"
:
[{
//
"name"
:
"test"
,
//模式名称
//
"name"
:
"test"
,
//模式名称
//
"path"
:
"pages/components
B/dropdow
n/index"
,
//启动页面,必选
//
"path"
:
"pages/components
C/butto
n/index"
,
//启动页面,必选
//
"query"
:
"uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1"
//启动参数,在页面的onLoad函数里面得到
//
"query"
:
"uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1"
//启动参数,在页面的onLoad函数里面得到
//
}]
//
}]
//
},
//
},
...
...
uview-ui/components/u-back-top/u-back-top.vue
View file @
ef176027
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
zIndex: uZIndex,
zIndex: uZIndex,
opacity: opacity
opacity: opacity
}, customStyle]">
}, customStyle]">
<view
class=
"u-back-top__content"
v-if=
"!$slots.default"
>
<view
class=
"u-back-top__content"
v-if=
"!$slots.default
&& !$slots.$default
"
>
<u-icon
@
click=
"backToTop"
:name=
"icon"
:custom-style=
"iconStyle"
></u-icon>
<u-icon
@
click=
"backToTop"
:name=
"icon"
:custom-style=
"iconStyle"
></u-icon>
<view
class=
"u-back-top__content__tips"
>
<view
class=
"u-back-top__content__tips"
>
{{
tips
}}
{{
tips
}}
...
...
uview-ui/components/u-dropdown-item/u-dropdown-item.vue
View file @
ef176027
<
template
>
<
template
>
<view
class=
"u-dropdown-item"
v-if=
"active"
@
touchmove.stop.prevent=
"() =>
{}" @tap.stop.prevent="() => {}">
<view
class=
"u-dropdown-item"
v-if=
"active"
@
touchmove.stop.prevent=
"() =>
{}" @tap.stop.prevent="() => {}">
<block
v-if=
"!$slots.default"
>
<block
v-if=
"!$slots.default
&& !$slots.$default
"
>
<scroll-view
scroll-y=
"true"
:style=
"
{
<scroll-view
scroll-y=
"true"
:style=
"
{
height: $u.addUnit(height)
height: $u.addUnit(height)
}">
}">
...
...
uview-ui/components/u-line-progress/u-line-progress.vue
View file @
ef176027
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
striped ? 'u-striped' : '',
striped ? 'u-striped' : '',
striped
&&
stripedActive ? 'u-striped-active' : ''
striped
&&
stripedActive ? 'u-striped-active' : ''
]" class="u-active" :style="[progressStyle]">
]" class="u-active" :style="[progressStyle]">
<slot
v-if=
"$slots.default"
/>
<slot
v-if=
"$slots.default
|| $slots.$default
"
/>
<block
v-else-if=
"showPercent"
>
<block
v-else-if=
"showPercent"
>
{{
percent
+
'
%
'
}}
{{
percent
+
'
%
'
}}
</block>
</block>
...
...
uview-ui/components/u-modal/u-modal.vue
View file @
ef176027
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<view
class=
"u-model"
>
<view
class=
"u-model"
>
<view
v-if=
"showTitle"
class=
"u-model__title u-line-1"
:style=
"[titleStyle]"
>
{{
title
}}
</view>
<view
v-if=
"showTitle"
class=
"u-model__title u-line-1"
:style=
"[titleStyle]"
>
{{
title
}}
</view>
<view
class=
"u-model__content"
>
<view
class=
"u-model__content"
>
<view
:style=
"[contentStyle]"
v-if=
"$slots.default"
>
<view
:style=
"[contentStyle]"
v-if=
"$slots.default
|| $slots.$default
"
>
<slot
/>
<slot
/>
</view>
</view>
<view
v-else
class=
"u-model__content__message"
:style=
"[contentStyle]"
>
{{
content
}}
</view>
<view
v-else
class=
"u-model__content__message"
:style=
"[contentStyle]"
>
{{
content
}}
</view>
...
...
uview-ui/components/u-slider/u-slider.vue
View file @
ef176027
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<view
class=
"u-slider__button-wrap"
@
touchstart=
"onTouchStart"
<view
class=
"u-slider__button-wrap"
@
touchstart=
"onTouchStart"
@
touchmove=
"onTouchMove"
@
touchend=
"onTouchEnd"
@
touchmove=
"onTouchMove"
@
touchend=
"onTouchEnd"
@
touchcancel=
"onTouchEnd"
>
@
touchcancel=
"onTouchEnd"
>
<slot
v-if=
"$slots.default"
/>
<slot
v-if=
"$slots.default
|| $slots.$default
"
/>
<view
v-else
class=
"u-slider__button"
:style=
"[blockStyle,
{
<view
v-else
class=
"u-slider__button"
:style=
"[blockStyle,
{
height: blockWidth + 'rpx',
height: blockWidth + 'rpx',
width: blockWidth + 'rpx',
width: blockWidth + 'rpx',
...
...
uview-ui/components/u-tabbar/u-tabbar.vue
View file @
ef176027
...
@@ -120,9 +120,9 @@
...
@@ -120,9 +120,9 @@
},
},
data
()
{
data
()
{
return
{
return
{
// 由于安卓太菜了,通过css居中凸起按钮的外层元素有误差,故通过js计算将其
其
中
// 由于安卓太菜了,通过css居中凸起按钮的外层元素有误差,故通过js计算将其
居
中
midButtonLeft
:
'
50%
'
,
midButtonLeft
:
'
50%
'
,
pageUrl
:
''
,
// 当前
pageUrl
:
''
,
// 当前
页面URL
}
}
},
},
created
()
{
created
()
{
...
...
uview-ui/libs/config/config.js
View file @
ef176027
// 此版本发布于2020-09-
17
// 此版本发布于2020-09-
21
let
version
=
'
1.7.
1
'
;
let
version
=
'
1.7.
2
'
;
export
default
{
export
default
{
v
:
version
,
v
:
version
,
...
...
uview-ui/package.json
View file @
ef176027
{
{
"name"
:
"uview-ui"
,
"name"
:
"uview-ui"
,
"version"
:
"1.7.
1
"
,
"version"
:
"1.7.
2
"
,
"description"
:
"uView UI,是uni-app生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水"
,
"description"
:
"uView UI,是uni-app生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水"
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"keywords"
:
[
"uview"
,
"uView"
,
"uni-app"
,
"uni-app ui"
,
"uniapp"
,
"uviewui"
,
"uview ui"
,
"uviewUI"
,
"uViewui"
,
"uViewUI"
,
"uView UI"
,
"uni ui"
,
"uni UI"
,
"uniapp ui"
,
"ui"
,
"UI框架"
,
"uniapp ui框架"
,
"uniapp UI"
],
"keywords"
:
[
"uview"
,
"uView"
,
"uni-app"
,
"uni-app ui"
,
"uniapp"
,
"uviewui"
,
"uview ui"
,
"uviewUI"
,
"uViewui"
,
"uViewUI"
,
"uView UI"
,
"uni ui"
,
"uni UI"
,
"uniapp ui"
,
"ui"
,
"UI框架"
,
"uniapp ui框架"
,
"uniapp UI"
],
...
...
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