摘要:
//非tabbar页面 var app = getApp(); Page({ data: { number:'' }, onLoad(){ this.data() }, data:function(){ var that=this wx.request({ url: 'https://balabal 阅读全文
摘要:
//wxml <view wx:if="{{isHide}}"> <view wx:if="{{canIUse}}" > <view class='header'> <image src='/images/1.png'></image> </view> <view class='content'> 阅读全文
摘要:
//js index页面 const webSocket = require('../../utils/webSocket.js'); data{ normal:[] }, onLoad: function () { var datas=[] for(var i=0;i<wx.getStorageS 阅读全文
摘要:
//wxml <block wx:for="{{Listsimg}}" wx:key='unique'> <block wx:if="{{index == clickId}}"> <view class="img" style="border:{{border}};box-shadow:{{bord 阅读全文
摘要:
<!--index.wxml--> <view class="wrap"> <view class="bgimg"> logo </view> <view class="userinfo"> <view class="iconfont iconshouji" style="font-size:42r 阅读全文
摘要:
$(function() { var array = [].concat(JSON.parse(localStorage.getItem('history'))); //定义空数组 //提交按钮点击事件 并刷新页面 $('#submitBtn').click(function() { array.p 阅读全文
摘要:
https://chrome.zzzmh.cn/index#ext 阅读全文
摘要:
1.加载页面,触发onLoad 2.onLaunch(全局只触发一次) 3.小程序初始化完成后,触发onShow 4.首次显示页面,会触发onReady,一个页面只会调用一次 5.小程序跳转小程序和返回跳转小程序 wx.navigateToMiniProgram({ appId: "",//需要跳转 阅读全文