[項(xiàng)目地址:https://gitee.com/fan-caixia/tianditumap[https://gitee.com/fan-caixia/tianditumap...
[項(xiàng)目地址:https://gitee.com/fan-caixia/tianditumap[https://gitee.com/fan-caixia/tianditumap...
@58c2bcd777ff 這個(gè)確實(shí)沒做
微信小程序日期選擇組件之DateTimePickergithub項(xiàng)目地址: https://github.com/fancaixia/DateTimePicker DateTimePicker 微信小程序日期選擇 [年础爬,月盒音,...
評論插件基于jquery 的評論小插件 github項(xiàng)目地址:https://github.com/fancaixia/jquery-comment 案例思路: [后臺建立兩個(gè)表]...
搜索框輸入時(shí)觸發(fā) searchList(ev) {
let e = ev.detail;
console.log(e.detail.value,'模糊查詢字段')
this.setData({
searchstr: e.detail.value
})
},
你自己添加個(gè)確定按鈕能扒,綁定事件佣渴,然后獲取 this.data.searchstr 就可以啊
微信小程序搜索框組件之SearchBargithub項(xiàng)目地址:https://github.com/fancaixia/SearchBar 搜索框樣式 searchBox/index.wxml searchBox/...
@Monstereat 沒有啊
微信小程序中word, doc等文件上傳與下載文件上傳兩種方式 上傳當(dāng)前小程序中下載過的文件 利用wx.chooseMessageFile 調(diào)用微信會話頁面 選擇要上傳的文件 github項(xiàng)目地址:https://gi...
你是說演示案例的gif嗎见秤,使用手機(jī)錄制功能錄制一段視頻,然后用視頻轉(zhuǎn)gif軟件轉(zhuǎn)一下就行
微信小程序中word, doc等文件上傳與下載文件上傳兩種方式 上傳當(dāng)前小程序中下載過的文件 利用wx.chooseMessageFile 調(diào)用微信會話頁面 選擇要上傳的文件 github項(xiàng)目地址:https://gi...
此處_that.data = this.data 即Page 中data 砂竖,然后let {upfilelist} = _that.data; 使用es6的結(jié)構(gòu)方法等于 let upfilelist = _that.data.upfilelist
微信小程序中word, doc等文件上傳與下載文件上傳兩種方式 上傳當(dāng)前小程序中下載過的文件 利用wx.chooseMessageFile 調(diào)用微信會話頁面 選擇要上傳的文件 github項(xiàng)目地址:https://gi...
choosefilefun(){
let _that = this;
wx.chooseMessageFile({
count: 10,
type: 'file',
success(res) {
// console.log(res, " :res")
const tempFiles = res.tempFiles
let {upfilelist} = _that.data;
let newupfilelist = upfilelist.concat(tempFiles)
_that.setData({
upfilelist: newupfilelist,
})
}
})
},
上面這段是我案例中的代碼,因?yàn)閣x.chooseMessageFile中的success函數(shù)改變了this指向 所以使用_that保存this指向鹃答,
微信小程序中word, doc等文件上傳與下載文件上傳兩種方式 上傳當(dāng)前小程序中下載過的文件 利用wx.chooseMessageFile 調(diào)用微信會話頁面 選擇要上傳的文件 github項(xiàng)目地址:https://gi...
項(xiàng)目地址:https://github.com/fancaixia/wx_webSocket 案例思路: [1] 用戶進(jìn)入聊天室 前臺向后臺發(fā)送連接請求并攜帶用戶id 后臺 ...