EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 04, 2025, 11:55:37 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
普通 input 控件的边框颜色与combo 框不一致
Pages: [
1
]
« previous
next »
Print
Author
Topic: 普通 input 控件的边框颜色与combo 框不一致 (Read 23799 times)
iamjxc
Jr. Member
Posts: 80
普通 input 控件的边框颜色与combo 框不一致
«
on:
February 23, 2014, 06:43:35 PM »
设置 theme 后, combo的边框颜色能够变化, 但是普通 input 录入框的边框颜色不变
还有, 设置 input 的 width 后, 转成 combo 会导致宽度与普通 input 控件不一致.
Logged
hjzhbb7758
Jr. Member
Posts: 84
Re: 普通 input 控件的边框颜色与combo 框不一致
«
Reply #1 on:
February 24, 2014, 12:53:18 AM »
this question is
“Border Color ordinary input controls is inconsistent with the combo box”
Logged
iamjxc
Jr. Member
Posts: 80
Re: 普通 input 控件的边框颜色与combo 框不一致
«
Reply #2 on:
March 02, 2014, 11:54:12 PM »
easyui 似乎没有对普通 text, password 控件的封装, 我目前的做法是把普通text控件也转成 combobox
这样 theme 风格就统一了
Logged
iamjxc
Jr. Member
Posts: 80
Re: 普通 input 控件的边框颜色与combo 框不一致
«
Reply #3 on:
March 10, 2014, 12:23:55 AM »
为了统一样式, 把 input type=text 都转成combo有点儿过头, 想到一个简单的方法
var combo = $("<span class='combo'></span>").insertBefore(el);
el.appendTo(combo);
el.addClass("combo-text validatebox-text");
建议 easyui 增加 easyui-text, easyui-password, easyui-textarea 的简单控件, 哪怕只是为了统一样式
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...