Skip to content

Commit 39ab6e3

Browse files
authored
Fix: spelling mistake (umicro#1234)
* fix(input): amend annotation spelling mistake * fix(badge): amend annotation spelling mistake * fix(modal): amend annotation spelling mistake * fix(notice-bar): amend annotation spelling mistake * fix(radio): amend annotation spelling mistake * fix(tabs-swiper): amend ClassName spelling mistake * fix(toast): amend annotation spelling mistake * fix(message-input): amend ClassName spelling mistake * fix(card): amend Image invalid mode * fix(message-input): amend ClassName spelling mistake
1 parent 068c343 commit 39ab6e3

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

uview-ui/components/u-badge/u-badge.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
style.right = this.offset[1] + 'rpx';
114114
style.transform = "translateY(0) translateX(0)";
115115
}
116-
// 如果尺寸为mini,后接上scal()
116+
// 如果尺寸为mini,后接上scale()
117117
if(this.size == 'mini') {
118118
style.transform = style.transform + " scale(0.8)";
119119
}

uview-ui/components/u-card/u-card.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<image
2424
:src="thumb"
2525
class="u-card__head--left__thumb"
26-
mode="aspectfull"
26+
mode="aspectFill"
2727
v-if="thumb"
2828
:style="{
2929
height: thumbWidth + 'rpx',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export default {
251251
},
252252
getStyle() {
253253
let style = {};
254-
// 如果没有自定义高度,就根据type为input还是textare来分配一个默认的高度
254+
// 如果没有自定义高度,就根据type为input还是textarea来分配一个默认的高度
255255
style.minHeight = this.height ? this.height + 'rpx' : this.type == 'textarea' ?
256256
this.textareaHeight + 'rpx' : this.inputHeight + 'rpx';
257257
style = Object.assign(style, this.customStyle);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
></view>
2222
<view v-if="mode === 'middleLine' && charArrLength <= index" :class="[breathe && charArrLength == index ? 'u-breathe' : '', charArrLength === index ? 'u-middle-line-active' : '']"
2323
class="u-middle-line" :style="{height: bold ? '4px' : '2px', background: charArrLength === index ? activeColor : inactiveColor}"></view>
24-
<view v-if="mode === 'bottomLine'" :class="[breathe && charArrLength == index ? 'u-breathe' : '', charArrLength === index ? 'u-buttom-line-active' : '']"
24+
<view v-if="mode === 'bottomLine'" :class="[breathe && charArrLength == index ? 'u-breathe' : '', charArrLength === index ? 'u-bottom-line-active' : '']"
2525
class="u-bottom-line" :style="{height: bold ? '4px' : '2px', background: charArrLength === index ? activeColor : inactiveColor}"></view>
2626
<block v-if="!dotFill"> {{ charArr[index] ? charArr[index] : ''}}</block>
2727
<block v-else>
@@ -294,7 +294,7 @@
294294
transform: translate(-50%, -50%);
295295
}
296296
297-
.u-buttom-line-active {
297+
.u-bottom-line-active {
298298
background: $u-type-primary;
299299
}
300300

uview-ui/components/u-modal/u-modal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* @property {Boolean} show-title 是否显示标题(默认true)
4545
* @property {Boolean} async-close 是否异步关闭,只对确定按钮有效(默认false)
4646
* @property {Boolean} show-confirm-button 是否显示确认按钮(默认true)
47-
* @property {Stringr | Number} negative-top modal往上偏移的值
47+
* @property {String | Number} negative-top modal往上偏移的值
4848
* @property {Boolean} show-cancel-button 是否显示取消按钮(默认false)
4949
* @property {Boolean} mask-close-able 是否允许点击遮罩关闭modal(默认false)
5050
* @property {String} confirm-text 确认按钮的文字内容(默认"确认")

uview-ui/components/u-notice-bar/u-notice-bar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
* @property {String Number} font-size 字体大小,单位rpx(默认28)
6969
* @property {Boolean} is-circular mode为horizontal时,指明是否水平衔接滚动(默认true)
7070
* @property {String} play-state 播放状态,play - 播放,paused - 暂停(默认play)
71-
* @property {String Nubmer} border-radius 通知栏圆角(默认为0)
72-
* @property {String Nubmer} padding 内边距,字符串,与普通的内边距css写法一直(默认"18rpx 24rpx")
71+
* @property {String Number} border-radius 通知栏圆角(默认为0)
72+
* @property {String Number} padding 内边距,字符串,与普通的内边距css写法一直(默认"18rpx 24rpx")
7373
* @property {Boolean} no-list-hidden 列表为空时,是否显示组件(默认false)
7474
* @property {Boolean} disable-touch 是否禁止通过手动滑动切换通知,只有mode = vertical,或者mode = horizontal且is-circular = false时有效(默认true)
7575
* @event {Function} click 点击通告文字触发,只有mode = vertical,或者mode = horizontal且is-circular = false时有效

uview-ui/components/u-radio-group/u-radio-group.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script>
88
import Emitter from '../../libs/util/emitter.js';
99
/**
10-
* radioRroup 单选框父组件
10+
* radioGroup 单选框父组件
1111
* @description 单选框用于有一个选择,用户只能选择其中一个的场景。搭配u-radio使用
1212
* @tutorial https://www.uviewui.com/components/radio.html
1313
* @property {Boolean} disabled 是否禁用所有radio(默认false)

uview-ui/components/u-radio/u-radio.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
this.parent.children.push(this);
9595
},
9696
computed: {
97-
// 是否禁用,如果父组件u-raios-group禁用的话,将会忽略子组件的配置
97+
// 是否禁用,如果父组件u-radio-group禁用的话,将会忽略子组件的配置
9898
elDisabled() {
9999
return this.disabled !== '' ? this.disabled : this.parentData.disabled !== null ? this.parentData.disabled : false;
100100
},

uview-ui/components/u-tabs-swiper/u-tabs-swiper.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
background: bgColor
55
}">
66
<scroll-view scroll-x class="u-scroll-view" :scroll-left="scrollLeft" scroll-with-animation :style="{ zIndex: zIndex + 1 }">
7-
<view class="u-tabs-scroll-box" :class="{'u-tabs-scorll-flex': !isScroll}">
7+
<view class="u-tabs-scroll-box" :class="{'u-tabs-scroll-flex': !isScroll}">
88
<view class="u-tabs-item" :style="[tabItemStyle(index)]"
99
v-for="(item, index) in getTabs" :key="index" :class="[preId + index]" @tap="emit(index)">
1010
<u-badge :count="item[count] || item['count'] || 0" :offset="offset" size="mini"></u-badge>
@@ -428,12 +428,12 @@
428428
position: relative;
429429
}
430430
431-
.u-tabs-scorll-flex {
431+
.u-tabs-scroll-flex {
432432
@include vue-flex;
433433
justify-content: space-between;
434434
}
435435
436-
.u-tabs-scorll-flex .u-tabs-item {
436+
.u-tabs-scroll-flex .u-tabs-item {
437437
flex: 1;
438438
}
439439

uview-ui/components/u-toast/u-toast.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
computed: {
5050
iconName() {
51-
// 只有不为none,并且type为error|warning|succes|info时候,才显示图标
51+
// 只有不为none,并且type为error|warning|success|info时候,才显示图标
5252
if (['error', 'warning', 'success', 'info'].indexOf(this.tmpConfig.type) >= 0 && this.tmpConfig.icon) {
5353
let icon = this.$u.type2icon(this.tmpConfig.type);
5454
return icon;

0 commit comments

Comments
 (0)