手机模板添加注册协议功能
<li><input type="checkbox" checked="checked" onclick="window.location.href='/'"><!--{lang agree}--><a href="#" onclick="showruletxt();" ><!--{lang rulemessage}--></a></input></li>
<div class="rulemessage" style="display: none; border-radius: 10px; margin: 0px 2.5em; padding: 1em; background: #fff;">
<p><!--{lang rulemessage}--><span style="float:right;"><a herf="#" onclick="showruletxt();">X</a></span></p>
$bbrulestxt
</div>
<script type="text/javascript">
function showruletxt()
{
$(".rulemessage").toggle();
}
</script>