……

09 2021 档案

摘要:#region 模板消息推送 public string fw_appid = System.Configuration.ConfigurationManager.AppSettings["appid"].ToString(); public string fw_secret = System.Co 阅读全文
posted @ 2021-09-22 18:11 粉香地瓜 阅读(237) 评论(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 粉香地瓜 阅读(166) 评论(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 粉香地瓜 阅读(589) 评论(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 粉香地瓜 阅读(284) 评论(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 粉香地瓜 阅读(190) 评论(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 粉香地瓜 阅读(325) 评论(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 粉香地瓜 阅读(755) 评论(0) 推荐(0)
摘要:原始的html中select下拉框是这样的 <select> <option value='Id'>name</option> </select> 但微信小程序不同,如果你这么在微信小程序中定义,那璀璨的红线条会告诉你花儿为什么那么红 微信小程序是没有select标签的,我们需要自己定义select 阅读全文
posted @ 2021-09-02 10:30 粉香地瓜 阅读(2826) 评论(0) 推荐(0)