上一页 1 ··· 88 89 90 91 92 93 94 95 96 ··· 125 下一页
摘要: save_share_img:function(img){ var that = this; let { result } = that.data; getData.getData( "save_share_img", { id : result.id, ... 阅读全文
posted @ 2019-07-27 10:28 盘思动 阅读(1050) 评论(0) 推荐(0) 编辑
摘要: '14488', 'desc' => '参数错误' ]; return $return_data; } $data['mch_appid'] = C('APPID'); //商户的应用appid ... 阅读全文
posted @ 2019-07-26 20:07 盘思动 阅读(3206) 评论(0) 推荐(0) 编辑
摘要: // 把多少秒 转化为 时分秒: 类似倒计时! function timestampToDate(ctime){ let returnStr = ''; // 天数位 // let day = Math.floor(ctime / 3600 / 24); // let dayStr = day.toString(); // if (dayStr.leng... 阅读全文
posted @ 2019-07-26 16:22 盘思动 阅读(1335) 评论(0) 推荐(0) 编辑
摘要: 想修改整个程序的导航栏,在app.json 文件 修改 "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff", "navigationBarTitleText": "修改,改变程序导航栏名称", "navigationBarTextStyle": "... 阅读全文
posted @ 2019-07-26 14:42 盘思动 阅读(8906) 评论(0) 推荐(0) 编辑
摘要: 第一个页面: 第二个页面: 阅读全文
posted @ 2019-07-24 21:34 盘思动 阅读(7267) 评论(0) 推荐(0) 编辑
摘要: 对象转成数组方式一(数组里面是一个个number类型的元素) 对象转成数组方式二(数组里面是一个个字典类型的元素) 阅读全文
posted @ 2019-07-20 15:39 盘思动 阅读(11670) 评论(1) 推荐(0) 编辑
摘要: function array2object($array) { if (is_array($array)) { $obj = new StdClass(); foreach ($array as $key => $val){ $obj->$key = $val; } } else { $obj = $arr... 阅读全文
posted @ 2019-07-17 18:28 盘思动 阅读(412) 评论(0) 推荐(0) 编辑
摘要: '; shuffle($arr); print_r($arr); ?> Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 ) Array ( [0] => 6 [1] => 1 [2] => 3 [3] => 2 [4] => 5 [5] => 7 [6] => 8 [7] => 4 ... 阅读全文
posted @ 2019-07-17 17:09 盘思动 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 使用Number()函数可以解决这个问题,如下 var c = Number(a) + Number(b) 这样c得出来的解果是3, 阅读全文
posted @ 2019-07-16 22:44 盘思动 阅读(146) 评论(0) 推荐(0) 编辑
摘要: <view class="upload_lists"> <view class="upload_btn"> <view class="camera"></view> <view class="upload_words">点击上传</view> </view> <view class="upload_ 阅读全文
posted @ 2019-07-16 17:12 盘思动 阅读(196) 评论(0) 推荐(0) 编辑
上一页 1 ··· 88 89 90 91 92 93 94 95 96 ··· 125 下一页