原创 jquery ajax的簡單使用
//接口請求 function Service(){ this.baseUrl = "http://localhost/"; }; Service.prototype = { //自定義提交 Request: fu
原创 easyui datagrid標題和數據 導出excel
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>easyui datagrid to excel</title> <link rel="sty
原创 微信小程序頁面滾動到指定位置
假設頁面上有位置#content,代碼如下 var query = wx.createSelectorQuery(); query.selectViewport().scrollOffset(); query.select("#cont
原创 微信小程序 catchtouchstart、catchtouchmove的使用 移動不會產生偏移
wxml: <image src="" mode="widthFix" data-i="0" catchtouchstart='emoveimg' catchtouchmove='emoveimg' catchtouchend='emo