12 2019 档案

摘要:var that = this; var fileObj = document.getElementById("dataUrl").files[0]; // js 获取文件对象 if (typeof (fileObj) == "undefined" || fileObj.size <= 0) { a 阅读全文
posted @ 2019-12-26 16:54 小白&小菜 阅读(199) 评论(0) 推荐(0) 编辑
摘要:1.选择上传的图片页面 const app = getApp(); Page({ /** * 页面的初始数据 */ data: { name: '',//姓名 idcard: '',//身份证号 title: '',//店铺名称 shop_type: 0,//是否为线下店铺,0线上店铺,1线下店铺 阅读全文
posted @ 2019-12-14 15:55 小白&小菜 编辑
摘要:图片预览 wxml <image src="{{baseUrl}}{{imgSrc}}" mode="widthFix" style="width:100%;" data-src="{{baseUrl}}{{imgSrc}}" bindtap='previewImage'></image> js p 阅读全文
posted @ 2019-12-12 17:50 小白&小菜 阅读(1365) 评论(0) 推荐(0) 编辑
摘要:1.引用<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=你申请的key&plugin=AMap.MouseTool,AMap.MarkerClusterer"></script>2.使用win 阅读全文
posted @ 2019-12-06 10:21 小白&小菜 阅读(4919) 评论(1) 推荐(0) 编辑
摘要:// 获取积分列表 getJifenList: function(){ var url = app.globalData.reqUrl + 'integral_goods/integral_detail'; var params = { user_id: app.globalData.userId, 阅读全文
posted @ 2019-12-03 15:50 小白&小菜 阅读(581) 评论(1) 推荐(0) 编辑
摘要:let pages = getCurrentPages();//页面对象 let prevpage = pages[pages.length - 2];//上一个页面对象 console.log(prevpage.route)//上一个页面路由地址 阅读全文
posted @ 2019-12-03 14:04 小白&小菜 阅读(3947) 评论(1) 推荐(1) 编辑
摘要:问题一、加载谷歌图层 1.首先你得先有高德地图的key <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.14&key=你申请的key"></script> 2.应用外部js文件(https://cache. 阅读全文
posted @ 2019-12-02 17:22 小白&小菜 阅读(1756) 评论(0) 推荐(0) 编辑

我是一个小菜鸟,飞呀飞呀,快飞高