## diy商品组商品选择类型
```
<div class="form-group">
<div class="col-sm-2 control-label">选择商品</div>
<div class="col-sm-10">
<label class="radio-inline"><input type="radio" name="goodsdata" value="0" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='0'%>checked="checked"<%/if%>> 手动选择</label>
<label class="radio-inline"><input type="radio" name="goodsdata" value="1" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='1'%>checked="checked"<%/if%> > 选择分类</label>
<%if !params.goodstype||params.goodstype==0%>
<label class="radio-inline"><input type="radio" name="goodsdata" value="2" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='2'%>checked="checked"<%/if%> > 选择分组</label>
<%/if%>
</div>
</div>
<div class="form-group">
<div class="col-sm-2 control-label">选择商品<br>(商品类型)</div>
<div class="col-sm-10">
<%if params.goodstype=='0'||!params.goodstype%>
<label class="radio-inline"><input type="radio" name="goodsdata" value="3" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='3'%>checked="checked"<%/if%> > 新品商品</label>
<label class="radio-inline"><input type="radio" name="goodsdata" value="4" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='4'%>checked="checked"<%/if%> > 热卖商品</label>
<label class="radio-inline"><input type="radio" name="goodsdata" value="6" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='6'%>checked="checked"<%/if%> > 促销商品</label>
<label class="radio-inline"><input type="radio" name="goodsdata" value="7" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='7'%>checked="checked"<%/if%> > 包邮商品</label>
<label class="radio-inline"><input type="radio" name="goodsdata" value="8" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='8'%>checked="checked"<%/if%> > 限时卖商品</label>
<%/if%>
<label class="radio-inline"><input type="radio" name="goodsdata" value="5" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='5'%>checked="checked"<%/if%> > 推荐商品</label>
<%if params.goodstype==1%>
<label class="radio-inline"><input type="radio" name="goodsdata" value="9" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='9'%>checked="checked"<%/if%> > 积分兑换商品</label>
<label class="radio-inline"><input type="radio" name="goodsdata" value="10" class="diy-bind" data-bind-child="params" data-bind="goodsdata" data-bind-init="true" <%if params.goodsdata=='10'%>checked="checked"<%/if%> > 积分抽奖商品</label>
<%/if%>
</div>
</div>
```
- php调试
- php记录
- 常用循环
- 日期时间转换
- 时间格式
- mktime获取今日昨日本月时间戳
- http_build_query生成请求字符串
- PHP取整的几种方法
- 微擎记录
- W全局变量
- Http请求
- 人人商城二开记录
- 数据处理
- 常用查询
- 会员信息
- 确认收货处理
- 维权处理
- 设置读取和配置
- 报单商品类型属性
- 团队佣金
- 自动升级
- 业绩分红
- 前端html和js
- html按钮提交处理
- 引用js传参
- 表单
- 表单判断
- 任务执行
- 提示跳转页
- 全局变量
- 订单交易
- DIY设置
- 系统菜单
- mysql记录
- 创建表-14
- html和js
- 模板中使用js变量传参
- js表单处理
- 表单判断
- js页面跳转刷新
- thinkphp帮助
- 导入导出excel