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
51658bc1
Unverified
Commit
51658bc1
authored
Jun 28, 2020
by
TtTao
Committed by
GitHub
Jun 28, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #184 from YanxinNet/tttao
修改:文档错误
parents
5874cf8e
330df555
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
u-message-input.vue
uview-ui/components/u-message-input/u-message-input.vue
+4
-4
No files found.
uview-ui/components/u-message-input/u-message-input.vue
View file @
51658bc1
...
...
@@ -3,7 +3,7 @@
<view
class=
"u-char-flex"
>
<input
:disabled=
"disabledKeyboard"
:value=
"valueModel"
type=
"number"
:focus=
"focus"
:maxlength=
"maxlength"
class=
"u-input"
@
input=
"getVal"
/>
<view
v-for=
"(item, index) in maxlength"
:key=
"index"
>
<view
:class=
"[breathe && charArrLength == index ? 'u-breathe' : '', 'u-char-item',
<view
:class=
"[breathe && charArrLength == index ? 'u-breathe' : '', 'u-char-item',
charArrLength === index && mode == 'box' ? 'u-box-active' : '',
mode === 'box' ? 'u-box' : '']"
:style=
"
{
fontWeight: bold ? 'bold' : 'normal',
...
...
@@ -15,7 +15,7 @@
<view
class=
"u-placeholder-line"
:style=
"
{
display: charArrLength === index ? 'block' : 'none',
height: width * 0.5 +'rpx'
}"
}"
v-if="mode !== 'middleLine'"
>
</view>
<view
v-if=
"mode === 'middleLine' && charArrLength
<
=
index
"
:class=
"[breathe && charArrLength == index ? 'u-breathe' : '', charArrLength === index ? 'u-middle-line-active' : '']"
...
...
@@ -46,7 +46,7 @@
* @property {Boolean} bold 字体和输入横线是否加粗(默认true)
* @property {String Number} font-size 字体大小,单位rpx(默认60)
* @property {String} active-color 当前激活输入框的样式(默认#2979ff)
* @property {String}
focus
非激活输入框的样式,文字颜色同此值(默认#606266)
* @property {String}
inactive-color
非激活输入框的样式,文字颜色同此值(默认#606266)
* @property {String | Number} width 输入框宽度,单位rpx,高等于宽(默认80)
* @property {Boolean} disabled-keyboard 禁止点击输入框唤起系统键盘(默认false)
* @event {Function} change 输入内容发生改变时触发,具体见官网说明
...
...
@@ -176,7 +176,7 @@
<
style
scoped
lang=
"scss"
>
@import
"../../libs/css/style.components.scss"
;
@keyframes
breathe
{
0
%
{
opacity
:
0
.3
;
...
...
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