2015-09-04 38 views

回答

0

您可以使用CSS这一点。

在你的CSS文件中定义的CSS并用它

.customField input::-webkit-input-placeholder { 
     /*color: #2e4bc5;*/ 
     padding-left:50px; 
    } 

,并像下面使用与CLS属性。

{ 
    xtype: 'numberfield', 
    placeHolder: "enter your contact number", 
    cls: 'customField', 
    label: 'Contact Number' 
},