摘要: select a.name, a.total_score,@rank:=@rank+1 as rank from ( select u.name,uti.total_score from user_total_integral uti left join tuser u on uti.user_id 阅读全文
posted @ 2016-12-09 22:17 我的bug 阅读(508) 评论(1) 推荐(0)
摘要: <textarea cols="100%" rows="10" id="tuconent" placeholder="评价(200字以内)" onPaste="maxLimit()" onKeyUp="maxLimit()" oninput="maxLimit()"></textarea> func 阅读全文
posted @ 2016-12-09 22:10 我的bug 阅读(2237) 评论(0) 推荐(0)
摘要: $.cookie('the_cookie'); // 读取 cookie $.cookie('the_cookie', 'the_value', { expires: 7 }); // 存储一个带7天期限的 cookie $.cookie('the_cookie', '', { expires: - 阅读全文
posted @ 2016-12-09 22:07 我的bug 阅读(180) 评论(0) 推荐(0)
摘要: function convertSize(size) { if(!size) { return '0 Bytes'; } var sizeNames = [' Bytes', ' KB', ' MB', ' GB', ' TB', ' PB', ' EB', ' ZB', ' YB']; var i 阅读全文
posted @ 2016-12-09 22:03 我的bug 阅读(456) 评论(0) 推荐(0)