1 2 3 4 5 ··· 8 下一页
摘要: (app,小程序) uni.scanCode({ onlyFromCamera: true, //只能通过相机扫码 success: function (res) { if(res.result.indexOf("%")!=-1){ var str = res.result.substr(50); 阅读全文
posted @ 2022-01-25 14:58 Monroe_Yu 阅读(888) 评论(0) 推荐(0) 编辑
摘要: (公众号打开小程序) 第一步->进入项目目录: npm install jweixin-module --save 第二步->在要调用得页面里面 import jweixin from 'jweixin-module' 第三步->获取签名信息 视图层:因为我是多个跳转按钮所以用一个for循环 <bl 阅读全文
posted @ 2022-01-25 11:16 Monroe_Yu 阅读(643) 评论(0) 推荐(0) 编辑
摘要: let goodscontent = res.data.data.goods.detail; const regex = new RegExp('<img', 'gi'); goodscontent= goodscontent.replace(regex, `<img style="width:10 阅读全文
posted @ 2021-12-15 19:47 Monroe_Yu 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1,微信支付 uni.requestPayment({ provider: "wxpay", orderInfo: res.data.data, success: (res) => { uni.showToast({ title: "支付成功!", icon: "none", duration: 2 阅读全文
posted @ 2021-12-14 16:07 Monroe_Yu 阅读(1346) 评论(0) 推荐(0) 编辑
摘要: <template> <view> <view v-for="(item,index) in timelimitList" :key="index"> {{item.grouptime_d}}天 {{item.grouptime_h}}时 {{item.grouptime_m}}分 {{item.g 阅读全文
posted @ 2021-11-12 17:28 Monroe_Yu 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 第一步:找到项目里的index.html引入 <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=你申请的高德key"> 同样的文件里面添加下面的css,去掉高德水印 <style type="t 阅读全文
posted @ 2021-11-12 15:41 Monroe_Yu 阅读(1531) 评论(0) 推荐(0) 编辑
摘要: 方法比较鸡肋,但好在能用,要求不高 <template> <view> <swiper class="swiper" :style="'height:'+imgheight+'px;width:'+imgwidth+'px'" :indicator-dots="indicatorDots" :aut 阅读全文
posted @ 2021-10-09 11:03 Monroe_Yu 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 平时的文件路径:’../..//static/common/xianwan.js 使用appendJsFile时:‘_www/static/common/xianwan.js 就成功了,手动擦汗~~~~~~~ 阅读全文
posted @ 2021-09-09 17:56 Monroe_Yu 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 百度好多方法都说是 keytool -genkey -alias 你的项目的证书别名-keyalg RSA -keysize 2048 -validity 36500 -keystore 你的证书名称.jks(废弃) 然后,喜滋滋的去打包 很好,提示xx是无效的keystore文件 换一种方式: k 阅读全文
posted @ 2021-08-31 17:28 Monroe_Yu 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 由于自身认为这是一个小功能,于是没怎么细心吧 然后客户之前需要的是只能拍照上传,测试截图看到是有两种方式可选择的 于是我改为了sourceType:['camera''] 一种方式上传。但是另一个选择图片的地方,客户要求两种方式都要,我就写回了sourceType:['camera','album' 阅读全文
posted @ 2021-08-27 18:39 Monroe_Yu 阅读(999) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 8 下一页