起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1186|回复: 1

[处理中3] 关于checkbox单选问题

[复制链接]

3

主题

12

帖子

34

积分

新手上路

Rank: 1

积分
34
QQ
发表于 2016-7-12 08:33:50 | 显示全部楼层 |阅读模式
能不能吧checkbox设置为单选?代码如下:

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window" design="device:m;">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="top:366px;left:301px;height:auto;"/>
<div component="$UI/system/components/justep/list/list" class="x-list" xid="list1">
   <ul class="x-list-template" xid="listTemplateUl1">
    <li xid="li1"><span component="$UI/system/components/justep/button/checkbox" class="x-checkbox" xid="checkbox1"></span></li></ul> </div>
  <div component="$UI/system/components/justep/list/list" class="x-list" xid="list2">
   <ul class="x-list-template" xid="listTemplateUl2">
    <li xid="li2"><span component="$UI/system/components/justep/button/checkbox" class="x-checkbox" xid="checkbox2"></span></li></ul> </div>
  <div component="$UI/system/components/justep/list/list" class="x-list" xid="list3">
   <ul class="x-list-template" xid="listTemplateUl3">
    <li xid="li3"><span component="$UI/system/components/justep/button/checkbox" class="x-checkbox" xid="checkbox3"></span></li></ul> </div></div>
发表于 2016-7-12 14:01:13 | 显示全部楼层
checkbox 本地就是复选框啊!单选请使用radio组件!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-6-3 21:41 , Processed in 0.056533 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表