随笔分类 -  微信小程序

VM439:1 https://unidemo.dcloud.net.cn 不在以下 request 合法域名列表中,请参考
摘要:在编写uni-app编写代码时,pc端获取数据正常,但是小程序端却出现以下的错误。 解决方法如下: 将相应的选项勾选 阅读全文
posted @ 2019-11-27 12:44 0C° 阅读(934) 评论(0) 推荐(0)
小程序的波浪
摘要:<scroll-view scroll-y class="bg-wave"> <view class='bg'> <view class='top'> <view class='top-right' bindtap='toAnswer'> <image src="../../../images/ic 阅读全文
posted @ 2019-08-20 17:22 0C° 阅读(285) 评论(0) 推荐(0)
wepy_two
摘要:2、代码高亮WebStorm/PhpStorm(其他工具参见:wepy官网代码高亮) (1)打开Settings,搜索Plugins,搜索Vue.js插件并安装。 (2) 打开Settings,搜索File Types,找到Vue.js Template,在Registered Patterns添加 阅读全文
posted @ 2019-08-19 15:23 0C° 阅读(263) 评论(0) 推荐(0)
微信公众号如何配置微信
摘要:给管理员 阅读全文
posted @ 2019-08-09 16:11 0C° 阅读(152) 评论(0) 推荐(0)
小程序的瀑布流式布局
摘要:<block wx:for="{{imagesList}}"> <image src='{{item.pic}}' data-index='{{item.id}}' class='hide' bindload='reserveimg'></image> </block> <scroll-view s 阅读全文
posted @ 2019-07-31 15:27 0C° 阅读(739) 评论(0) 推荐(0)
微信小程序的短信接口
摘要:使用聚合数据 (网址) https://www.juhe.cn/docs? 注册部分略! 这是登录部分的。 一: 二、我的接口 阅读全文
posted @ 2019-07-23 17:58 0C° 阅读(788) 评论(0) 推荐(0)
6个优秀的微信小程序ui组件库
摘要:开发微信小程序的过程中,选择一款好用的组件库,可以达到事半功倍的效果。自从微信小程序面世以来,不断有一些开源组件库出来,下面6款就是排名比较靠前,用户使用量与关注度比较高的小程序UI组件库。还没用到它们的你,可以关注和了解一下哦! WeUI WXSS WeUI WXSS是腾讯官方UI组件库WeUI的 阅读全文
posted @ 2019-07-18 09:24 0C° 阅读(1002) 评论(0) 推荐(0)
小程序缓存数据
摘要:toModify(e){ console.log('点击修改收货地址,携带的值为:', e) const siteInfo = e.currentTarget.dataset wx.setStorageSync('siteInfo', siteInfo); this._goToSomePage(`/ 阅读全文
posted @ 2019-07-17 19:05 0C° 阅读(187) 评论(0) 推荐(0)
调用外部的方法
摘要:暴露引用js的方法 然后在引用的文件上写上 阅读全文
posted @ 2019-07-16 15:54 0C° 阅读(159) 评论(0) 推荐(0)
小程序订单的待付款实现倒计时(秒)
摘要:一、秒倒计时 wxml js的data部分 方法代码 // 倒计时效果 countDown: function () { let that = this; let countDownNum = that.data.countDownNum;//获取倒计时初始值 //如果将定时器设置在外面,那么用户就 阅读全文
posted @ 2019-07-15 15:16 0C° 阅读(2497) 评论(0) 推荐(0)
小程序上线流程
摘要:一、登录微信公众号,将自己添加为开发者(后面可以自己扫码登录) 二、配置域名 阅读全文
posted @ 2019-07-15 14:55 0C° 阅读(601) 评论(0) 推荐(0)
微信小程序点击保存图片到相册
摘要:wxml部分的代码 <view class="footer-r" bindtap="save"> <image src="../../../images/icons/zhiwen.svg" /> <view class="footer-r-t"> <text>点击保存到相册</text> <text 阅读全文
posted @ 2019-07-14 18:58 0C° 阅读(1340) 评论(0) 推荐(0)
修改头像
摘要://修改头像 // getImage() { // var that = this // wx.chooseImage({ // count: 1, // sizeType: ['original', 'compressed'], // sourceType: ['album', 'camera'] 阅读全文
posted @ 2019-07-11 14:02 0C° 阅读(171) 评论(0) 推荐(0)
点击保存图片
摘要:写法一: //点击保存图片 save() { let that = this //若二维码未加载完毕,加个动画提高用户体验 wx.showToast({ icon: 'loading', title: '正在保存图片', duration: 1000 }) //判断用户是否授权"保存到相册" wx. 阅读全文
posted @ 2019-07-11 11:15 0C° 阅读(255) 评论(0) 推荐(0)
小程序的学习王战
摘要:史上最全的微信小程序源码模版开发大全 http://www.chaixiao.com/archives/2104 6个最优秀的微信小程序UI组件库 https://www.jianshu.com/p/4182f4a18cb6 阅读全文
posted @ 2019-07-11 10:56 0C° 阅读(97) 评论(0) 推荐(0)
wepy的第一个demo
摘要:一、在node中安装相应的模块文件,查看文档 二、案例 json部分 { "usingComponents": { "van-button": "../vant-weapp/dist/button/index" } } wxml部分 <van-button type="primary">按钮</va 阅读全文
posted @ 2019-07-10 12:11 0C° 阅读(199) 评论(1) 推荐(0)
小程序开发中应注意的事项
摘要:独立负责的小程序项目即将收工!现在提前总结一下开发过程中遇到的问题以及如何解决问题,预防下次遇到相关问题时还是无法解决! 一、作为一个想要以成为高级程序员为目标的小白,在动手敲代码前认真分析客户的需求应为重中之重!并且及时和客户沟通,避免自己吧东西做出来后并不符合客户的需求!这无疑加大了自己的工作量 阅读全文
posted @ 2019-07-10 12:06 0C° 阅读(146) 评论(0) 推荐(0)
小程序中如何实现评论中的点亮星星
摘要:方案一: wxml部分: <!-- 点亮星星 --> <view class='stars'> <view class='contents'> <view wx:for="{{stars}}" wx:key="" style='background:url("{{item.flag==1?item. 阅读全文
posted @ 2019-04-12 13:31 0C° 阅读(327) 评论(0) 推荐(0)
小程序学习网
摘要:微信小程序demo:足球,赛事分析 小程序简易导航 小程序demo:办公审批 小程序Demo:电魔方 小程序demo:借阅伴侣 微信小程序demo:投票 微信小程序demo:健康生活 小程序demo:文章列表demo 微商城(含微信小程序)完整源码+配置指南 微信小程序Demo:一个简单的工作系统 阅读全文
posted @ 2019-04-08 14:46 0C° 阅读(395) 评论(0) 推荐(0)
css3实现小程序的动画
摘要:<view class="biground" > <block wx:for="{{Namelist}}" wx:key=""> <text class="user-motto" style='font-size: 80%;'>送餐报酬</text> <text class="user-motto" 阅读全文
posted @ 2019-04-08 13:18 0C° 阅读(460) 评论(0) 推荐(0)