原创 uni-app 抽獎

 本文出自:https://www.cnblogs.com/2186009311CFF/p/14435558.html uniapp插件(示例可直接運行查看效果):https://ext.dcloud.net.cn/plugin?id=41

原创 uniapp微信小程序語音識別實現

本文出自: manifest.json中配置WechatSI插件 "plugins":{ "WechatSI":{ "version":"0.3.0",

原创 通過參數名獲取url中的參數值

/** * [通過參數名獲取url中的參數值] * 示例URL:http://htmlJsTest/getrequest.html?uid=admin&rid=1&fid=2&name=小明 * @param {[string]}

原创 uniapp 重點記錄

  css :style="{ width: vRightWidth + 'px'}"  

原创 uniapp app h5 微信小程序 據關鍵字搜索周邊列表

 本文出自:https://www.cnblogs.com/2186009311CFF/p/14312833.html h5引用百度api npm install vue-baidu-map --save 代碼: <template>

原创 js 常用方法彙總

  把true排在前面:obj.sort((a, b) => b.bind - a.bind)  過濾:arr = arr.filter(item => item.indexOf('b')<0) 參考鏈接:https://www.cnblo

原创 1臺windows電腦,連2個git配置

我已有一個sshkey 了 widow,找到已有的.ssh文件夾打開,打開Git bash   再次執行:  ssh-keygen -t rsa -C [email protected] -f ~/.ssh/id_rsa_two  

原创 uniapp 之APP各類權限

驗證相機權限,安卓親測有效   plus.android.requestPermissions(['android.permission.CAMERA'], function(e){ if(e.deni

原创 js 迴文數

getreverNum(num){ console.log('num----------'+num) let numStr = num.toString();

原创 uniapp 生成二維碼

本文出自:https://www.cnblogs.com/2186009311CFF/p/14261604.html uniapp 生成二維碼插件:https://ext.dcloud.net.cn/plugin?id=3870 公司的二維

原创 js 時間戳與日期之間的轉換 隨機字符串

 本文出自:https://www.cnblogs.com/2186009311CFF/p/14253131.html //timestamp時間戳 const getTimestamp = () => { var timesta

原创 uniapp 上傳圖片至阿里雲OSS

本文出自:https://www.cnblogs.com/2186009311CFF/p/14248337.html //oss參數請求接口獲得 uploadImage: function(imageSrc_loc

原创 VS全局搜索

做別的很久,都忘了vs怎麼用   調出搜索(ctrl+F)的出來後,還得選全部,我也是懵了。。    

原创 uni-app中添加AES加密

    蘋果執行命令npm install crypto-js --save-dev ,出現錯誤:updated 1 package and audited  1109 packages in 12.111s。 解決辦法: npm aud

原创 微信公衆號,偶發空白頁面,處理記錄

    微信公衆號,偶發空白頁面:   1、引入jquery3.2.1版本,在微信公衆號頁面調試顯示和交互正常,在移動端偶發顯示不正常,事件無反應; 2、引入jquery1.11.3版本,在微信公衆號頁面調試和移動端都顯示正常   參考鏈接