diff --git a/weui/css/weuix.css b/weui/css/weuix.css
index 169184d..05c3f1d 100644
--- a/weui/css/weuix.css
+++ b/weui/css/weuix.css
@@ -1393,8 +1393,6 @@ label > * {
text-align: right;
font-size: 1rem;
font-weight: normal;
- -webkit-mask-box-image: -webkit-linear-gradient(bottom, transparent, transparent 5%, white 20%, white 80%, transparent 95%, transparent);
- -webkit-mask-box-image: linear-gradient(to top, transparent, transparent 5%, white 20%, white 80%, transparent 95%, transparent);
}
.weui-picker-modal .bar + .picker-items {
height: 10.8rem;
@@ -1484,18 +1482,6 @@ label > * {
-webkit-transform-origin: 50% 0%;
transform-origin: 50% 0%;
}
-@media only screen and (-webkit-min-device-pixel-ratio: 2) {
- .weui-picker-modal .picker-center-highlight:before {
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- }
-}
-@media only screen and (-webkit-min-device-pixel-ratio: 3) {
- .weui-picker-modal .picker-center-highlight:before {
- -webkit-transform: scaleY(0.33);
- transform: scaleY(0.33);
- }
-}
.weui-picker-modal .picker-center-highlight:after {
content: '';
position: absolute;
@@ -1511,18 +1497,6 @@ label > * {
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
-@media only screen and (-webkit-min-device-pixel-ratio: 2) {
- .weui-picker-modal .picker-center-highlight:after {
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- }
-}
-@media only screen and (-webkit-min-device-pixel-ratio: 3) {
- .weui-picker-modal .picker-center-highlight:after {
- -webkit-transform: scaleY(0.33);
- transform: scaleY(0.33);
- }
-}
.weui-picker-modal .picker-3d .picker-items {
overflow: hidden;
-webkit-perspective: 1200px;
@@ -3733,6 +3707,34 @@ min-height:1em;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
+.weui-form-div{
+width: 100%;
+ padding: 10px 0;
+ text-align: center;
+}
+.weui-form-radio-li{
+display: inline-block;
+ padding:5px;
+ width:45%;
+}
+.weui-form-radio{
+ position: absolute;
+ z-index: -1;
+ opacity: 0;
+}
+.weui-form-radio + label{
+ text-align: center;
+ border: 1px solid #07c160;
+ border-radius: 5px;
+ line-height: 2;
+ display: inline-block;
+ width:100%;
+}
+.weui-form-radio:checked + label {
+ border-color: #07c160;
+ background-color: #07c160;
+ color: white;
+}
/*
图片效果*/
.img-max {
diff --git a/weui/demo/form13.html b/weui/demo/form13.html
index 431d374..b3bc5d3 100644
--- a/weui/demo/form13.html
+++ b/weui/demo/form13.html
@@ -16,6 +16,11 @@
$(".page-hd-desc").html(v)
})
+$(document).on("click","#k2 .weui-form-radio",function(){
+
+ var v = $(this).val();
+ $(".page-hd-desc").html(v)
+})
});
@@ -68,7 +73,7 @@
+
你经常用weui做项目吗
+
+
3 . 选择你的爱好?[多选题]
@@ -130,11 +153,11 @@
- 4 . 哪些都是大公司老板?[多选题]
+ 4 . 哪些人不是中国人?[多选题]
-