这位怪蜀黍 中午的时光真难熬!还好有你在!

随笔分类 -  微信小程序

小程序开发
摘要:<!--pages/member/member.wxml--> <view class="member-container"> <view class="header-info"> <!--背景图片 --> <image class="bg-wrapper" src='../../images/me 阅读全文
posted @ 2022-06-22 19:04 蟾宝 阅读(187) 评论(0) 推荐(0) 编辑
摘要:// 登录 wx.login({ success: res => { // 发送 res.code 到后台换取 openId, sessionKey if(res.code){ //获取到code wx.request({ url: this.globalData.url+'WxGetOpenid' 阅读全文
posted @ 2022-06-22 18:58 蟾宝 阅读(468) 评论(0) 推荐(0) 编辑
摘要:#region 模板消息推送 public string fw_appid = System.Configuration.ConfigurationManager.AppSettings["appid"].ToString(); public string fw_secret = System.Co 阅读全文
posted @ 2021-09-22 18:11 蟾宝 阅读(212) 评论(0) 推荐(0) 编辑
摘要:不废话,看代码 onLaunch: function() { var _this = this; var url=this.globalData.url+"WeiXinConfig"; wx.request({ method: 'POST', url:url, header:{ 'content-t 阅读全文
posted @ 2021-09-22 18:07 蟾宝 阅读(150) 评论(0) 推荐(0) 编辑
摘要:wxml文件 <view class="weui-uploader"> <view class="img-v weui-uploader__bd"> <view class='pic' wx:for="{{imgs}}" wx:for-item="item" wx:key="*this"> <ima 阅读全文
posted @ 2021-09-22 17:55 蟾宝 阅读(557) 评论(0) 推荐(0) 编辑
摘要:<block wx:for="{{scoreList}}" wx:key> <view class="cu-bar bg-white solid-bottom margin-top"> <view class="action"> <text class="cuIcon-title text-brow 阅读全文
posted @ 2021-09-04 16:07 蟾宝 阅读(271) 评论(0) 推荐(0) 编辑
摘要:<view class="pro-section"> <view class="selectTime"> <text style="float:left;margin-left:-30rpx;">申请时间:</text> <view class="section" style="float:left 阅读全文
posted @ 2021-09-04 15:30 蟾宝 阅读(168) 评论(0) 推荐(0) 编辑
摘要:<view class="pro-section"> <text style="float:left;margin-left:-30rpx;">申请日期:</text> <view class="section" style="float:left;width:70%;"> <picker mode 阅读全文
posted @ 2021-09-04 15:24 蟾宝 阅读(298) 评论(0) 推荐(0) 编辑
摘要:上篇说到微信小程序select下拉组件的定义为死值 现在来说说怎么从数据库读取数据循环绑定到组件上 wxml <view class="pro-section"> <text class="sect-title">规格:</text> <view class="weui-cell__bd"> <vi 阅读全文
posted @ 2021-09-02 10:53 蟾宝 阅读(703) 评论(0) 推荐(0) 编辑
摘要:原始的html中select下拉框是这样的 <select> <option value='Id'>name</option> </select> 但微信小程序不同,如果你这么在微信小程序中定义,那璀璨的红线条会告诉你花儿为什么那么红 微信小程序是没有select标签的,我们需要自己定义select 阅读全文
posted @ 2021-09-02 10:30 蟾宝 阅读(2238) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示