上一页 1 2 3 4 5 6 ··· 13 下一页

2023年2月6日

uniapp文件复制,重命名以及删除

摘要: 查找某目录下的文件 plus.io.resolveLocalFileSystemURL( "_www/static/本地.png", function(entry){ //获取文件对象 console.log("entry:"+entry.fullPath); } ) 复制文件 没有文件夹时会直接创 阅读全文

posted @ 2023-02-06 14:34 Just丶随心 阅读(1272) 评论(0) 推荐(0) 编辑

2022年12月1日

uniapp全局黑白

摘要: page{filter: grayscale(100%); } .uni-tabbar__item{filter: grayscale(100%); } 阅读全文

posted @ 2022-12-01 17:09 Just丶随心 阅读(206) 评论(0) 推荐(0) 编辑

2022年11月30日

uniapp获取本机所有应用包名

摘要: huoqu(e){ uni.showLoading({ title: '获取中' }); const main = plus.android.runtimeMainActivity(); let pManager = plus.android.invoke(main, 'getPackageMana 阅读全文

posted @ 2022-11-30 10:10 Just丶随心 阅读(1964) 评论(0) 推荐(0) 编辑

2022年11月29日

uniapp 配置钉钉小程序package.json文件

摘要: { "uni-app": { "scripts": { "mp-dingtalk": { "title": "钉钉小程序", "env": { "UNI_PLATFORM": "mp-alipay" }, "define": { "MP-DINGTALK": true } } } }, "depen 阅读全文

posted @ 2022-11-29 13:17 Just丶随心 阅读(397) 评论(0) 推荐(0) 编辑

2022年11月28日

富文本 HTML String 转化为 nodes 数组

摘要: https://github.com/ant-mini-program/mini-html-parser?spm=ding_open_doc.document.0.0.4ef9722fXz27PV 阅读全文

posted @ 2022-11-28 11:04 Just丶随心 阅读(224) 评论(0) 推荐(0) 编辑

2022年11月18日

CSS渐变样色的字

摘要: width: 118px; height: 17px; font-size: 13px; font-family: MicrosoftYaHei-Bold, MicrosoftYaHei; font-weight: bold; color: #FFFFFF; line-height: 17px; b 阅读全文

posted @ 2022-11-18 16:54 Just丶随心 阅读(21) 评论(0) 推荐(0) 编辑

2022年9月8日

uniapp改变icon

摘要: <!DOCTYPE html><html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="icon" href="<%= BASE 阅读全文

posted @ 2022-09-08 15:54 Just丶随心 阅读(207) 评论(0) 推荐(0) 编辑

2022年9月7日

下载base64图片

摘要: 下载 this.downloadFile('二维码',that.img64) downloadFile(fileName, content) { let aLink = document.createElement('a') let blob = this.base64ToBlob(content) 阅读全文

posted @ 2022-09-07 15:10 Just丶随心 阅读(211) 评论(0) 推荐(0) 编辑

2022年8月26日

uniapp 中获取微信小程序的原生导航栏高度

摘要: const custom = wx.getMenuButtonBoundingClientRect() // console.log(custom) that.yuansheng= custom.height + (custom.top - uni.getSystemInfoSync().statu 阅读全文

posted @ 2022-08-26 11:13 Just丶随心 阅读(441) 评论(0) 推荐(0) 编辑

2022年8月2日

在线office预览

摘要: //你的文档地址 var file = "https://view.xdocin.com/view/demo.docx"; //XDOC文档预览服务地址 var xurl = "https://view.xdocin.com/view?src="; //传入文档地址 xurl += encodeUR 阅读全文

posted @ 2022-08-02 13:57 Just丶随心 阅读(378) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 13 下一页

导航