原创 bundletool 使用筆記
自行配置java環境 官方文檔:https://developer.android.com/studio/command-line/bundletool 下載jar包 https://github.com/google/bundletoo
原创 (RN筆記)native-base ActionSheet 報錯處理
import React, { Component } from 'react'; import { View } from 'react-native'; import { ActionSheet, Button, Text } fr
原创 (RN筆記) 獲取詳細位置地址
import Geocoder from 'react-native-geocoder'; Geocoder.geocodePosition(NY).then(res => { console.log(res, "地址rr") })
原创 TinyMce
https://gitee.com/leif0419/tinymceDemo
原创 (筆記)react-native開發總結之TextInput失去焦點觸發事件和TextInput間切換
https://blog.csdn.net/weixin_41717785/article/details/81318212?utm_source=blogkpcl3
原创 (筆記)react-native-camera 視頻壓縮
各種原因吧 用的 1.2.0 低版本的 "react-native-camera": "1.2.0", 用的幾個icon可以自行換一下 需要注意的就是 一定記得要獲取權限再開 android/build.gradle bui
原创 得到圖片的寬高
// 圖片地址 可以爲base64 鏈接 var img_url = '*********************' // 創建對象 var img = new Image() // 改變圖片的 src img.src = img_ur
原创 (筆記)React native navigation 側邊欄欄 導航
初學記錄,啥也別說了,上代碼 import React, {Component} from 'react'; import { StyleSheet, View, Button, Text, Im
原创 初始頁面 input獲取焦點 (可適用於移動端彈出軟鍵盤) (vue封裝的事件)
最近做移動端有一個需求 開始input不能編輯,點擊一個按鈕使input彈出軟鍵盤可編輯 先給input設置 readOnly=false 然後給按鈕加點擊事件使 input的readOnly=true 然後 $("#uName") //
原创 (筆記)react native 打包及錯誤總結
https://www.jianshu.com/p/1380d4c8b596 https://www.jianshu.com/p/f94eadf4fe93 ///node_modules/react-native/react.gradl
原创 vue項目自動化部署到阿里雲OSS或者服務器
部署到oss aliyunoss-webpack-plugin 1.npm npm install aliyunoss-webpack-plugin --save-dev 2.webpack.prod.conf.
原创 js 加減乘除
add(a, b) { //加 if (!a) { a = 0; } if (!b) { b = 0; } var c, d, e;
原创 (筆記)RN aliyun-oss-react-native 阿里雲上傳
aliyun-oss-react-native 挺好用 但是上傳他的contentType 是寫死的 很尷尬 導致上傳到服務器上打開鏈接會下載 我按照需求 解決方法 ../node_modules/aliyun-oss-reac
原创 ios 企業籤 plist 安裝 通用模板
適用於部署在自己服務器上的APP 或者上傳至分發平臺 新建一個.plist文件 ①修改IPA模板文件內對應的內容 ②服務器添加MIME類型,擴展名中填寫“.ipa” ③確認網站支持https ④所有路徑最好不好出現中文,導致不兼容 <
原创 H5頁面在IOS input輸入後會把頁面頂起 留白
input blur indow.scrollTo(0,0)