上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: rate: { sum: 100, // 总计 val: 80, //实际值 pre: 15, valArr: 0, canvas: "xxxxx", } Progressbar(rate) { //根据后台获取到的数据计算比例 let sum = canvas.sum == 0 ? 1 : can 阅读全文
posted @ 2022-05-30 15:08 鲨鱼大王 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: writeBLECharacteristicValue(deviceId, serviceId, characteristicId, action) { let _that = this; // 向蓝牙设备发送一个0x00的16进制数据 //let buffer = (1) //dataView.s 阅读全文
posted @ 2022-03-24 14:58 鲨鱼大王 阅读(1684) 评论(1) 推荐(0) 编辑
摘要: <script type="text/javascript"> window.history.pushState(null,null,document.URL); window.addEventListener('popstate',function (e) { history.pushState( 阅读全文
posted @ 2022-03-12 22:49 鲨鱼大王 阅读(115) 评论(0) 推荐(0) 编辑
摘要: //生成下标数组 $numbers = range (0,$ccc); //shuffle 将数组顺序随即打乱 shuffle ($numbers); //array_slice 取该数组中的某一段 $result = array_slice($numbers,0,$params['select_n 阅读全文
posted @ 2022-03-11 11:56 鲨鱼大王 阅读(499) 评论(0) 推荐(0) 编辑
摘要: public function outputToExcelDemo(){ $header = []; $style = []; $info = []; //1.获取数据 $outface = new Outface(); $resIntaerfaceData = $outface->getAllDa 阅读全文
posted @ 2022-03-07 15:51 鲨鱼大王 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 在\public\assets\js\backend-init.js中添加以下函数 $('body').on('click', '[data-tips-image]', function () { var img = new Image(); var imgWidth = this.getAttri 阅读全文
posted @ 2022-03-07 13:43 鲨鱼大王 阅读(666) 评论(0) 推荐(0) 编辑
摘要: \public\assets\js\require-form.js fieldlist: function (form) { //绑定fieldlist if ($(".fieldlist", form).size() > 0) { require(['dragsort', 'template'], 阅读全文
posted @ 2022-03-04 12:34 鲨鱼大王 阅读(614) 评论(0) 推荐(0) 编辑
摘要: table.on('post-body.bs.table', function (e, settings, json, xhr) { $(".btn-editone,.btn-edit,.btn-add").data("area", ["100%", "100%"]); }); 阅读全文
posted @ 2022-03-03 12:18 鲨鱼大王 阅读(522) 评论(0) 推荐(0) 编辑
摘要: parent.window.$(".layui-layer-iframe").find(".layui-layer-close").on('click',function () { //这里执行你的逻辑 Fast.api.close("1"); }); 阅读全文
posted @ 2022-03-03 10:53 鲨鱼大王 阅读(510) 评论(0) 推荐(0) 编辑
摘要: $(".btn-imports").on('click',function () { Fast.api.open('exam/examinee/imports', '导入考员信息', { callback: function (data) { window.location.reload() }, 阅读全文
posted @ 2022-03-03 10:51 鲨鱼大王 阅读(706) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页