会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wangliwen
博客园
首页
新随笔
新文章
联系
订阅
管理
2021年6月23日
小程序经纬度距离
摘要: app.json "permission": { "scope.userLocation": { "desc": "你的位置信息将用于小程序位置接口的效果展示" } } 用到的页面 onShow: function () { var that = this; wx.getLocation({ typ
阅读全文
posted @ 2021-06-23 16:22 wlw518
阅读(147)
评论(0)
推荐(0)
2021年6月19日
生成带参数的二维码(扫码跳到小程序)
摘要: public function httpRequest($url, $data='', $method='GET'){ $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_SSL
阅读全文
posted @ 2021-06-19 14:33 wlw518
阅读(412)
评论(0)
推荐(0)
2021年6月3日
vue花时间填的坑
摘要: 坑1: 页面中 datepicker 日期选择器 不出效果? 使用设备搜索后出效果,搜索中重新有调 datepicker JS? 填1: 选择器所在标签外层 上有 <div class="box_search" v-if="window_title == '投递记录'"> 相当页面加载时是找不到选择
阅读全文
posted @ 2021-06-03 11:45 wlw518
阅读(44)
评论(0)
推荐(0)
2021年5月20日
小程序订单状态列表跳转传值
摘要: 《我的页面》 orderlist:[{ ico:'/images/user/order1.png', text:'已退款', orderStatus: '8', }, { ico:'/images/user/order2.png', text:'待付款', orderStatus: '1', },
阅读全文
posted @ 2021-05-20 17:39 wlw518
阅读(150)
评论(0)
推荐(0)
2021年4月21日
与时间有关
摘要: //日 if($choose_type==1){ $begin_time = strtotime(date('Y-m-d',time())); $end_time = $begin_time+(3600*24)-1; } //月 if($choose_type==2){ $begin_time =
阅读全文
posted @ 2021-04-21 13:45 wlw518
阅读(82)
评论(0)
推荐(0)
2021年4月19日
vue el-select 中 v-model 绑定的值以及如何进行回显
摘要: <el-select v-model="categorySelect" value-key="category_id" style="width:300px; height:32px !important;font-size:12px"> <el-option v-for="item in cats
阅读全文
posted @ 2021-04-19 15:15 wlw518
阅读(6146)
评论(0)
推荐(0)
2021年4月1日
小程序分页
摘要: data: { orderlist: [], totalDataCount: 0, currentPage: 0, } /** * 生命周期函数--监听页面显示 */ onShow: function () { this.loadInitData(); }, /** * 页面上拉触底事件的处理函数
阅读全文
posted @ 2021-04-01 15:33 wlw518
阅读(112)
评论(0)
推荐(0)
2021年3月29日
小程序 单选 与 多选 示例
摘要: 单 选1 : <view class="{{rubbishindex == index?'err active':'err'}}" wx:for="{{rubbishlist}}" data-type="{{item}}" data-index="{{index}}" wx:key="index"
阅读全文
posted @ 2021-03-29 15:42 wlw518
阅读(241)
评论(0)
推荐(0)
2021年3月26日
小程序下拉列表
摘要: /** * 页面的初始数据 */ const App = getApp(); Page({ data: { devicelist: [], idlist:[], deviceindex:0, choose_device_id: 0, }, /** * 生命周期函数--监听页面显示 */ onShow
阅读全文
posted @ 2021-03-26 18:01 wlw518
阅读(83)
评论(0)
推荐(0)
小程序图片预览
摘要: <view class="imgbox"> <image bindtap='topic_preview' data-url='{{item}}' data-all='{{repair.imglist}}' class="img" mode="aspectFit" src="{{item}}" wx:
阅读全文
posted @ 2021-03-26 14:16 wlw518
阅读(39)
评论(0)
推荐(0)
下一页