mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-06-07 03:53:57 +08:00
Compare commits
3 Commits
4dae3e47ea
...
7a937609d9
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a937609d9 | |||
| 9c161727ff | |||
| 224c9ea9b1 |
@@ -45,7 +45,7 @@
|
||||
v-if="type === 'select'"
|
||||
class="tn-input__text"
|
||||
>
|
||||
{{defaultValue}}
|
||||
{{defaultValue == undefined || defaultValue == '' ? placeholder : defaultValue }}
|
||||
</view>
|
||||
|
||||
<input
|
||||
|
||||
@@ -119,21 +119,25 @@
|
||||
style.padding = '0 12rpx'
|
||||
style.fontSize = '20rpx'
|
||||
style.height = '32rpx'
|
||||
style.lineHeight = '32rpx'
|
||||
break
|
||||
case 'lg':
|
||||
style.padding = '0 20rpx'
|
||||
style.fontSize = '28rpx'
|
||||
style.height = '62rpx'
|
||||
style.lineHeight = '62rpx'
|
||||
break
|
||||
default:
|
||||
style.padding = '0 16rpx'
|
||||
style.fontSize = '24rpx'
|
||||
style.height = '48rpx'
|
||||
style.lineHeight = '48rpx'
|
||||
break
|
||||
}
|
||||
|
||||
style.width = this.width || '120rpx'
|
||||
style.height = this.height || style.height
|
||||
style.lineHeight = this.height || style.height
|
||||
|
||||
style.padding = this.padding || style.padding
|
||||
if (this.margin) {
|
||||
|
||||
Reference in New Issue
Block a user