Commit 2efebef2 authored by 刘用法's avatar 刘用法

输入框样式

parent a80603ff
......@@ -2,7 +2,7 @@
<template>
<view>
<u-input :type="type" class="input-item" v-model="dataValue" @input="valueChange" :placeholder="placeholder" :placeholder-style="placeholderStyle"
:custom-style="customStyle"/>
:custom-style="customStyle" :clearable="false"/>
</view>
</template>
......@@ -17,7 +17,7 @@
type: String,
default: '请输入'
},
width: {
width: { // 例如:454rpx
type: String,
default: '100%'
}
......@@ -34,7 +34,7 @@
}
},
placeholderStyle() {
return 'color:#FFFFFF;font-size:26rpx'
return 'color:#999999;font-size:26rpx'
},
customStyle() {
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment