修改cnode nodeclub模板的问题
发布于 10 年前 作者 tianyisheng 2973 次浏览 最后一次编辑是 8 年前

想修改 发布话题的页面,增加 一些radio button, 选择了之后 根据选项** 隐藏** 一部分div 试图修改 nodeclub-master/views/topic/edit.html, 一直没有成功。

<input id=“type_0” type=“radio” name=“type” value=“1” onclick=“toggle(event, ‘box’);”/>
<label for=“type_0”>供</label>

<input id=“type_1” type=“radio” name=“type” value=“2” onclick=“toggle(event, ‘box’);”/>
<label for=“type_1”>求</label>

我将 togle() 函数放到了 nodeclub-maste/public/javascripts/editor.js, 一直没有反应。

问一下各位大侠怎么样做能实现这个隐藏的效果

回到顶部