摘要: app.json "permission": { "scope.userLocation": { "desc": "你的位置信息将用于小程序位置接口的效果展示" } } 用到的页面 onShow: function () { var that = this; wx.getLocation({ typ 阅读全文
posted @ 2021-06-23 16:22 wlw518 阅读(147) 评论(0) 推荐(0)
摘要: 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)
摘要: 坑1: 页面中 datepicker 日期选择器 不出效果? 使用设备搜索后出效果,搜索中重新有调 datepicker JS? 填1: 选择器所在标签外层 上有 <div class="box_search" v-if="window_title == '投递记录'"> 相当页面加载时是找不到选择 阅读全文
posted @ 2021-06-03 11:45 wlw518 阅读(44) 评论(0) 推荐(0)
摘要: 《我的页面》 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)
摘要: //日 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)
摘要: <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)
摘要: data: { orderlist: [], totalDataCount: 0, currentPage: 0, } /** * 生命周期函数--监听页面显示 */ onShow: function () { this.loadInitData(); }, /** * 页面上拉触底事件的处理函数 阅读全文
posted @ 2021-04-01 15:33 wlw518 阅读(112) 评论(0) 推荐(0)
摘要: 单 选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)
摘要: /** * 页面的初始数据 */ 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)