Skip to content

Commit 51658bc

Browse files
authored
Merge pull request umicro#184 from YanxinNet/tttao
修改:文档错误
2 parents 5874cf8 + 330df55 commit 51658bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

uview-ui/components/u-message-input/u-message-input.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<view class="u-char-flex">
44
<input :disabled="disabledKeyboard" :value="valueModel" type="number" :focus="focus" :maxlength="maxlength" class="u-input" @input="getVal"/>
55
<view v-for="(item, index) in maxlength" :key="index">
6-
<view :class="[breathe && charArrLength == index ? 'u-breathe' : '', 'u-char-item',
6+
<view :class="[breathe && charArrLength == index ? 'u-breathe' : '', 'u-char-item',
77
charArrLength === index && mode == 'box' ? 'u-box-active' : '',
88
mode === 'box' ? 'u-box' : '']" :style="{
99
fontWeight: bold ? 'bold' : 'normal',
@@ -15,7 +15,7 @@
1515
<view class="u-placeholder-line" :style="{
1616
display: charArrLength === index ? 'block' : 'none',
1717
height: width * 0.5 +'rpx'
18-
}"
18+
}"
1919
v-if="mode !== 'middleLine'"
2020
></view>
2121
<view v-if="mode === 'middleLine' && charArrLength <= index" :class="[breathe && charArrLength == index ? 'u-breathe' : '', charArrLength === index ? 'u-middle-line-active' : '']"
@@ -46,7 +46,7 @@
4646
* @property {Boolean} bold 字体和输入横线是否加粗(默认true)
4747
* @property {String Number} font-size 字体大小,单位rpx(默认60)
4848
* @property {String} active-color 当前激活输入框的样式(默认#2979ff)
49-
* @property {String} focus 非激活输入框的样式,文字颜色同此值(默认#606266)
49+
* @property {String} inactive-color 非激活输入框的样式,文字颜色同此值(默认#606266)
5050
* @property {String | Number} width 输入框宽度,单位rpx,高等于宽(默认80)
5151
* @property {Boolean} disabled-keyboard 禁止点击输入框唤起系统键盘(默认false)
5252
* @event {Function} change 输入内容发生改变时触发,具体见官网说明
@@ -176,7 +176,7 @@
176176

177177
<style scoped lang="scss">
178178
@import "../../libs/css/style.components.scss";
179-
179+
180180
@keyframes breathe {
181181
0% {
182182
opacity: 0.3;

0 commit comments

Comments
 (0)