
小程序 | 导航栏样式navigationStyle
靠最顶部 "navigationStyle": "custom"
靠最顶部 "navigationStyle": "custom"
wxml <button class="weui-btn" type="primary" plain="true" style='margin-top:50rpx;margin-button:50rpx;' bind:tap='cop...
https://blog.wpjam.com/article/wp-template-cheatsheet/
<?php /* 小程序扫码登陆网站设计思路 1.扫描二维码,二维码带网站参数,打开小程序 2.判断是否微信授权,如果没有授权,则授权,并绑定账号 3.使用小程序扫描二维码,获取通过用户的id,判断是否绑定账号 4.实现登陆, 扫描后...
使用到了百度小程序sdk 1.先到百度开发者平台申请 2.小程序后台把百度请求域名加上 3.下载百度小程序sdk 下载地址:http://lbsyun.baidu.com/index.php?title=wxjsapi/wxjs-downl...
解决方案: 使用var that = this
当使用layer.open弹出后,使用click点击事件实现 $(".set_top_editbtn").click(function(){ layer.open({ type: 1, title:"公司基本信息", skin: 'layu...
加载loading wx.showLoading({ title: '加载中', }) 关闭 loadingwx.hideLoading() 并行发送多个请求,使用promise.all /** * 生命周期函数--监听页面加...
定义组件 wxml: <view class="container"></view> wxss .container{ background-color: #000; position: fixed; top: 0;...
<view class='posting-container' wx:if="{{posting}}"> <view class='post-header'> <text>点击图标+1</text&...