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
4ef78844
Commit
4ef78844
authored
Sep 25, 2020
by
wlxuqu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 优化message-input组件box模式下,输入完成后删除内容,无法去掉高亮的问题
2. 优化avatar组件,重新赋值后默认头像可能不显示的问题
parent
667de30b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
5 deletions
+6
-5
en.js
common/locales/en.js
+1
-1
index.vue
pages/componentsA/avatar/index.vue
+1
-1
u-avatar.vue
uview-ui/components/u-avatar/u-avatar.vue
+1
-0
u-dropdown-item.vue
uview-ui/components/u-dropdown-item/u-dropdown-item.vue
+1
-1
u-loadmore.vue
uview-ui/components/u-loadmore/u-loadmore.vue
+1
-1
u-message-input.vue
uview-ui/components/u-message-input/u-message-input.vue
+1
-1
No files found.
common/locales/en.js
View file @
4ef78844
...
...
@@ -10,7 +10,7 @@ export default {
desc
:
'
Collection of many commonly used pages and layouts, reducing the repetitive work of developers, allowing you to focus on logic and get twice the result with half the effort
'
},
nav
:
{
components
:
'
Comonents
'
,
components
:
'
Com
p
onents
'
,
js
:
'
JS
'
,
template
:
'
Template
'
},
...
...
pages/componentsA/avatar/index.vue
View file @
4ef78844
...
...
@@ -6,7 +6,7 @@
<u-avatar
:mode=
"mode"
:size=
"size"
:src=
"
''
"
:src=
"
src
"
:text=
"text"
:showLevel=
"showLevel"
:showSex=
"showSex"
...
...
uview-ui/components/u-avatar/u-avatar.vue
View file @
4ef78844
...
...
@@ -124,6 +124,7 @@
// 用户可能会在头像加载失败时,再次修改头像值,所以需要重新赋值
if
(
!
n
)
{
// 如果传入null或者'',或者undefined,显示默认头像
this
.
avatar
=
base64Avatar
;
this
.
error
=
true
;
}
else
{
this
.
avatar
=
n
;
...
...
uview-ui/components/u-dropdown-item/u-dropdown-item.vue
View file @
4ef78844
...
...
@@ -11,7 +11,7 @@
color: value == item.value ? activeColor : inactiveColor
}">
<u-icon
v-if=
"value == item.value"
name=
"checkbox-mark"
:color=
"activeColor"
size=
"32"
></u-icon>
</u-cell-item>
</u-cell-item>
;
</u-cell-group>
</view>
</scroll-view>
...
...
uview-ui/components/u-loadmore/u-loadmore.vue
View file @
4ef78844
...
...
@@ -41,7 +41,7 @@
export
default
{
name
:
"
u-loadmore
"
,
props
:
{
//
当前页面背景颜色,如果背景为非白色的时候,需要把此值设置为背景的颜
色
//
组件背景
色
bgColor
:
{
type
:
String
,
default
:
'
transparent
'
...
...
uview-ui/components/u-message-input/u-message-input.vue
View file @
4ef78844
...
...
@@ -11,7 +11,7 @@
width: width + 'rpx',
height: width + 'rpx',
color: inactiveColor,
borderColor: charArrLength === index
&&
mode == 'box' ? activeColor :
'none'
borderColor: charArrLength === index
&&
mode == 'box' ? activeColor :
inactiveColor
}">
<view
class=
"u-placeholder-line"
:style=
"
{
display: charArrLength === index ? 'block' : 'none',
...
...
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