上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 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) 编辑
摘要: // 复制文本内容 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) 编辑
摘要: 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) 编辑
摘要: 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) 编辑
摘要: <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) 编辑
摘要: 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) 编辑
摘要: <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) 编辑
摘要: 安卓端 // 禁止页面改变字体大小 if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") { handleFontSize(); } else { document.addEventL 阅读全文
posted @ 2021-06-02 11:38 Monroe_Yu 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 第一步:新建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) 编辑
摘要: 第一步:引入微信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 下一页