会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Monroe.Yu
生活不止有眼前的苟且,还有诗和远方...
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
8
下一页
2021年8月12日
H5,uniapp 打开手机发送短信页面
摘要: methods: { // 3,发短信 plusReady(){ console.log("err") }, //短信 sendCode(phone){ var msg = plus.messaging.createMessage(plus.messaging.TYPE_SMS); msg.to =
阅读全文
posted @ 2021-08-12 11:19 Monroe_Yu
阅读(665)
评论(0)
推荐(0)
编辑
2021年7月21日
uniapp h5,app两端复制文本
摘要: // 复制文本内容 copy(data) { let url = data; // #ifdef APP-PLUS uni.setClipboardData({ data:url, success() { uni.showToast({ title: '复制成功', icon: 'none', du
阅读全文
posted @ 2021-07-21 17:17 Monroe_Yu
阅读(302)
评论(0)
推荐(0)
编辑
2021年7月15日
uniapp 开发的app 唤醒支付宝小程序
摘要: uni.getSystemInfo({ success(res) { if(res.platform == 'android') { const payinfos = '?money='+paymoney+'&external_num='+external_num; const query = en
阅读全文
posted @ 2021-07-15 14:08 Monroe_Yu
阅读(1203)
评论(0)
推荐(0)
编辑
uniapp 开发的app 唤醒微信客户端以及微信小程序
摘要: plus.share.getServices(function(res){ var sweixin = null; for(var i=0;i<res.length;i++){ var t = res[i]; if(t.id == 'weixin'){ sweixin = t; } } if(swe
阅读全文
posted @ 2021-07-15 14:07 Monroe_Yu
阅读(771)
评论(0)
推荐(0)
编辑
2021年6月4日
swiper 禁止滑动
摘要: <div class="swiper-container"> <swiper :style="'min-height:'+height+'px'" :current="active" duration="0" @change="swiperChange"> <swiper-item> </swipe
阅读全文
posted @ 2021-06-04 15:33 Monroe_Yu
阅读(86)
评论(4)
推荐(0)
编辑
uniapp自定义凸出的导航栏
摘要: page.json { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path" : "pages/tabs/tabs", "style" : { "navigationBarTitl
阅读全文
posted @ 2021-06-04 15:20 Monroe_Yu
阅读(690)
评论(0)
推荐(0)
编辑
2021年6月3日
uniapp css实现双排菜单向左滑动
摘要: <scroll-view class="typelist" scroll-x> <view class="nav-bar-wrap"> <block v-for="(item,index) in goodstypelist"> <view class="nav-bar-item"> <navigat
阅读全文
posted @ 2021-06-03 11:43 Monroe_Yu
阅读(320)
评论(0)
推荐(0)
编辑
2021年6月2日
uniapp开发公众号,微信设置字体大小后,禁止改变页面字体大小
摘要: 安卓端 // 禁止页面改变字体大小 if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") { handleFontSize(); } else { document.addEventL
阅读全文
posted @ 2021-06-02 11:38 Monroe_Yu
阅读(407)
评论(0)
推荐(0)
编辑
2021年5月25日
uniapp接口封装
摘要: 第一步:新建common.js // 公共变量const base_url = 'http://xxxxx/'const httpRequest = (opts, data) => { let httpDefaultOpts = { url: base_url + opts.url, data: d
阅读全文
posted @ 2021-05-25 18:01 Monroe_Yu
阅读(213)
评论(0)
推荐(0)
编辑
2021年5月24日
公众号 H5页面分享链接携带图片与标题(自定义卡片式分享链接)
摘要: 第一步:引入微信sdk(npm install weixin-js-sdk --save) 第二步:创建wechat.js import wx from "../node_modules/weixin-js-sdk/"export default { getConfig(infoTitle, inf
阅读全文
posted @ 2021-05-24 19:06 Monroe_Yu
阅读(2079)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
···
8
下一页
公告