File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
components/themes/zk-auto-form Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 174
174
font-size : 14px ;
175
175
color : #999999 ;
176
176
background-color : #FBF9FE ;
177
- height : 50 px ;
178
- line-height : 50 px ;
177
+ height : 40 px ;
178
+ line-height : 45 px ;
179
179
padding-left : 10px ;
180
180
border-bottom : 0.5px solid #e5e5e5 ;
181
181
}
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<view class =" x-password" >
3
3
<div class =" x-input_label" v-if =" label" :style =" {color:colorIndex?'red':''}" >{{label}}</div >
4
- <input class =" uni-input" v-model =" viewModel" :type =" showPassword?'password':'test'" :maxlength =" isNumber()" @input =" changeInput" />
4
+ <input class =" uni-input" v-model =" viewModel" :type =" showPassword?'password':'test'" :placeholder = " placeHolder " : maxlength =" isNumber()" @input =" changeInput" />
5
5
<view class =" uni-icon uni-icon-eye" :class =" [!showPassword ? 'uni-active' : '']" @click =" showPassword = !showPassword" ></view >
6
6
</view >
7
7
</template >
19
19
// 默认为false ,为true时只能输入数字密码
20
20
isNum: {
21
21
default: false
22
- }
22
+ },
23
+ placeHolder: {}
23
24
},
24
25
data () {
25
26
return {
You can’t perform that action at this time.
0 commit comments