随笔分类 - 微信小程序
摘要:// app.js App({ onLaunch() { // 展示本地存储能力 const logs = wx.getStorageSync('logs') || [] logs.unshift(Date.now()) wx.setStorageSync('logs', logs) // 登录 w
阅读全文
posted @ 2021-04-27 09:34
小熊叶叶
摘要:::-webkit-scrollbar { width: 0; height: 0; color: transparent; }
阅读全文
posted @ 2020-11-20 16:26
小熊叶叶
摘要:/* 当前点点的样式 */ .banner .wx-swiper-dot{ width: 10rpx; height: 10rpx; border-radius: 50%; } .banner .wx-swiper-dot.wx-swiper-dot-active { width: 20rpx; h
阅读全文
posted @ 2020-11-11 09:45
小熊叶叶
摘要:/** * 加载更多 isLoading isLoadOk * @param that 调用this * @param url 请求数据url * @param params 请求数据参数 里面包含page * @param name 页面数据名称 * @param resName 返回数据名称 *
阅读全文
摘要:需要用到weapp-qrcode.js,下载https://blog-static.cnblogs.com/files/-tiantian/weapp-qrcode.js,点开链接按 ctrl + s 保存到相应的位置 index.wxml中的代码: <view id="container"> <v
阅读全文
posted @ 2020-10-19 11:28
小熊叶叶
摘要:audioWidth: 0, //播放进度的长 isPlaying: false, //是否正在播放 audioContent: null, //音频对象 currentTime: 0, //播放当前时间(处理后的 1:00) duration: 0, //播放总时长 (处理后 4:30) oriC
阅读全文
摘要:vue 1. :bind @click 属性值不用{{}} 2. vuex store(仓库) state(状态) getter(处理后的状态) mutation(改变状态的方法,同步) action(可异步) module(分模块) 3. router router-link :to router
阅读全文
posted @ 2019-06-24 09:39
小熊叶叶
摘要:startX: 0, marginL: 0, bransWidth: 0, bransContentWidth: 0, bransShowContentWidth:'', myTouchStart: function(e) { var that = this; if (that.data.appBr
阅读全文
posted @ 2019-05-16 08:55
小熊叶叶

浙公网安备 33010602011771号