摘要: //非tabbar页面 var app = getApp(); Page({ data: { number:'' }, onLoad(){ this.data() }, data:function(){ var that=this wx.request({ url: 'https://balabal 阅读全文
posted @ 2020-07-10 09:36 茗涵 阅读(1870) 评论(0) 推荐(0) 编辑
摘要: //wxml <view wx:if="{{isHide}}"> <view wx:if="{{canIUse}}" > <view class='header'> <image src='/images/1.png'></image> </view> <view class='content'> 阅读全文
posted @ 2020-07-09 13:34 茗涵 阅读(234) 评论(0) 推荐(0) 编辑
摘要: //js index页面 const webSocket = require('../../utils/webSocket.js'); data{ normal:[] }, onLoad: function () { var datas=[] for(var i=0;i<wx.getStorageS 阅读全文
posted @ 2020-07-09 09:30 茗涵 阅读(1625) 评论(0) 推荐(0) 编辑
摘要: //wxml <block wx:for="{{Listsimg}}" wx:key='unique'> <block wx:if="{{index == clickId}}"> <view class="img" style="border:{{border}};box-shadow:{{bord 阅读全文
posted @ 2020-07-08 13:33 茗涵 阅读(708) 评论(0) 推荐(0) 编辑
摘要: <!--index.wxml--> <view class="wrap"> <view class="bgimg"> logo </view> <view class="userinfo"> <view class="iconfont iconshouji" style="font-size:42r 阅读全文
posted @ 2020-07-06 09:14 茗涵 阅读(296) 评论(0) 推荐(0) 编辑
摘要: $(function() { var array = [].concat(JSON.parse(localStorage.getItem('history'))); //定义空数组 //提交按钮点击事件 并刷新页面 $('#submitBtn').click(function() { array.p 阅读全文
posted @ 2020-07-01 08:50 茗涵 阅读(402) 评论(0) 推荐(0) 编辑
摘要: https://chrome.zzzmh.cn/index#ext 阅读全文
posted @ 2020-06-24 15:06 茗涵 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1.加载页面,触发onLoad 2.onLaunch(全局只触发一次) 3.小程序初始化完成后,触发onShow 4.首次显示页面,会触发onReady,一个页面只会调用一次 5.小程序跳转小程序和返回跳转小程序 wx.navigateToMiniProgram({ appId: "",//需要跳转 阅读全文
posted @ 2020-06-17 15:09 茗涵 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1.把图片打开 ctrl+j复制图层 2.然后ctrl+shift+i反选 点击上面的调整边缘 3.然后就有了透明背景的蒙版图层右击使用 之后保存即可 阅读全文
posted @ 2020-06-16 18:07 茗涵 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 两个小程序要绑定在一个微信公众平台!!! //A小程序 <!--index.wxml--> <view class="container"> //方法1 <!-- <navigator target="miniProgram" open-type="navigate" app-id="{{BappI 阅读全文
posted @ 2020-06-16 17:54 茗涵 阅读(387) 评论(0) 推荐(0) 编辑