ICode9

精准搜索请尝试: 精确搜索
  • 微信小程序获取缓存2022-08-13 15:32:18

    上一节讲到设置缓存可以在其他任意界面获取使用 只介绍wx.getStorageSync()获取指定的数据   var phone = wx.getStorageSync('phone');          var users_head = wx.getStorageSync('users_head');          var users_name = wx.getStorageSync(

  • 微信授权2022-04-15 15:31:06

    <button class="cc" open-type="getUserInfo" @getuserinfo="getUserInfo" v-if="!canIUseGetUserProfile"> <u-icon name="weixin-fill" color="#fff" size="38"></u-icon&g

  • 【微信小程序】上传头像2021-11-07 17:02:49

    效果 代码 editInfo.js // pages/editInfo/editInfo.js Page({ /** * 页面的初始数据 */ data: { dataList: [] }, /** * 获得图片本地路径 */ chooseWxImage: function () { const that = this; wx.chooseImage({ // 最多可以

  • wx.getStorage异步和wx.getStorageSync同步区别2020-10-08 09:34:41

    参考: https://blog.csdn.net/weixin_42220533/article/details/84304170     1.wx.setStorage(wx.setStorageSync)、wx.getStorage(wx.getStorageSync)、wx.clearStorage(wx.clearStorageSync) 可以对本地缓存进行设置、获取和清理。本地缓存最大为10MB 2.localStorage 是永久存储

  • 第三章 “我要点爆”微信小程序云开发之点爆方式页面和爆炸之音页面制作2019-05-26 09:39:07

    点爆方式选择页面制作 在app.json中配置页面路径增加selectbao点爆方式选择,编译创建页面文件,点爆方式选择页面通过单选按钮组选择跳转到相应的点爆页面。 <view class="the_header"> <text>选择点爆方式</text> <image src="/images/fencun.png"></image> </view> <view class=

  • 第四章 “我要点爆”微信小程序云开发之疯狂点击与糖果点爆页面制作2019-05-26 09:38:16

    疯狂点击点爆方式页面制作 疯狂点击为用户提供一个60秒的按钮点击时间,同时点击过程中有背景音乐,系统根据用户点击按钮的此时来进行热度值的计算。 <view class="the_header"> <text>疯狂点击</text> <image src="/images/fencun.png"></image> </view> <view class="button1&q

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有