版块列表
保密 男 女 未知
${username}
头衔: 无 ${title}
关注: ${focus_count}
粉丝: ${focused_count}
${ugname}
版本:4.0.0
K.cookie方法可以获取设置当前网站的cookie
// name为cookie的名称,value为值,获取请留空,exptime为该cookie的有效值(秒) K.cookie(name, value = null, exptime = 86400)
K.cookie('a','abc'); // 返回undefined,设置无返回 K.cookie('a'); // 返回"abc"
图表绘制接口
请求地址:https://www.hadsky.net/zhanzhang/service?request=echarts 请求方式:GET/POST 返回数据:JSON 请求参数: 参数 必需 参考值 说明
2021-11-25
文章内容关键词过滤接口
请求地址:https://www.hadsky.net/zhanzhang/service?request=getkeywords 请求方式:GET/POST 返回数据:JSON 请求参数: 参数 必需 参考值 说明
2021-08-23
K.swiper方法_swiper插件加载方法
版本:4.0.0K.swiper(selector,options); // 等同于 new Swiper(selector, options); // 具体详细用法参考swiper官网
2021-06-25
K.qrcode方法_字符串生成二维码方法
版本:4.0.0/* * 将字符串生成二维码 * text 需要被二维码的字符串 * options包含selector,width,height,title,complete,submit 宽高 * 若selector不存在则弹出二维码窗口 */ K.qrcode(text, options = null); 用法举例: // 会弹出二维码窗口 K.qrcode('https://www.hadsky.net'); // 自定义了弹出的二维码窗口标题 K.qrcode('https:/
2021-06-23
K.kindeditor方法_KindEditor编辑器
版本:4.2.0 已移除 版本:4.0.0 K.kindeditor方法可以直接将textarea控件包装为KindEditor编辑器,该扩展已被弃用,将会在后续版本中移除。 // selector为textarea对象,options为kindeditor初始化方法,具体请参考kindeditor官网文档 K.kindeditor(selector,options=null);
K.select2hintbox方法_弹出式菜单方法
版本:4.0.0/* * 弹出式提示框,支持select变换 * options = { data:[{name,value,disabled,selected,click},], css:弹出框的css, spanstyle:'', //仅select对象时有效 spanclass:'', //仅select对象时有效, hover:false, //true为鼠标划过弹出,false为点击弹出, click:'', // 全局点击事件,会带回value参数, arrow
K.return_set_html方法_快速生成HTML输入框
版本:4.0.0 K.return_set_html方法可以快速生成HTML输入框,type支持:text,number,email,label,password,checkbox,checkboxs,textarea,code,nav,json,editor,switch,toggle,upload,uploads,time /* * data:[{"name":"","title":"","content":"","type":"","value":""},] */ K.return_set_
2021-05-21
K.str_replace方法
版本:4.0.0 K.str_replace方法功能类似PHP的str_replace函数,注意该方法只接受字符串类型或数组元素字符串类型,不接受数字类型。 // search为要搜索的字符串/数组,replace为要替换成的新字符串/数组,subject为被搜索的字符串 K.str_replace(search, replace, subject) 用法举例: K.str_replace('1','','121223'); // 返回"2223" K.str_replace(
2021-05-20
K.os方法_获取当前客户端系统类型
版本:4.0.0 用法举例: // 仅会返回windows/iphone/mac/android/linux/unknown之一 K.os(); // 返回"windows"
2020年8月22日待更新内容
1.文章阅读页增加扩大按钮 2.文章及回复表格内容美化
2020-08-22