Browse Source

Merge pull request #162719 in DEC/fineui from final/11.0 to release/11.0

* commit '54ecbc38a1cbd0c5948a67e2ef1a2a017f472012':
  BI-112711 fix:单选按钮的选中视觉不对
research/test
superman 2 years ago
parent
commit
804db91b9e
  1. 8
      src/base/single/input/radio/radio.js
  2. 6
      src/less/base/single/input/radio.less

8
src/base/single/input/radio/radio.js

@ -9,10 +9,10 @@ BI.Radio = BI.inherit(BI.BasicButton, {
baseCls: "bi-radio",
selected: false,
handler: BI.emptyFn,
width: 14,
height: 14,
iconWidth: 14,
iconHeight: 14,
width: 16,
height: 16,
iconWidth: 16,
iconHeight: 16
},
render: function () {

6
src/less/base/single/input/radio.less

@ -18,13 +18,13 @@
border-color: @color-bi-border-hover-active-radio;
background-color: @color-bi-background-active-radio;
&:after {
width: 6px;
height: 6px;
width: 8px;
height: 8px;
display: table;
position: absolute;
top: 50%;
left: 50%;
.border-radius(3px);
.border-radius(4px);
background-color: @color-bi-background-active-radio-content;
.transform(translate(-50%, -50%));
@transition: all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;

Loading…
Cancel
Save