上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 95 下一页
摘要: 当小程序抹杀掉这个接口的时候,多少人心凉了。。 作为一个初级web前端开发,我是更加懵逼,小程序员跑路了。。。 当时以及现在用的办法就是: 1.增加一个登陆或授权页 2.上线以后自动获取 3.增加一个模态框 现在说说第三种吧 index.wxml <view class='show-author' 阅读全文
posted @ 2018-06-26 20:25 Sunsin 阅读(21098) 评论(0) 推荐(1) 编辑
摘要: 你想在页面上使用JavaScript代码吗? 对不起,小程序不支持! 最近,一个项目就有这样的需求,我也就用上了wxs 使用方法很简单: 项目中用的是取小数点2位以及5位 具体请看官方API:WXS 阅读全文
posted @ 2018-06-26 19:04 Sunsin 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 微信小程序想要更快的速度吗? 满足你 https://github.com/tvfe/wxpage#-c%E5%AE%9A%E4%B9%89 使用超简单(导入wxpage.js,最后使用对象名:P): 具体,请查看github https://github.com/tvfe/wxpage 阅读全文
posted @ 2018-06-26 18:41 Sunsin 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 使用:先导入到util.js 最后在页面上导入util.js(路径自改) var util = require('../../util.js'); 使用示例GET:util.SEND(url,'GET',res=>,res=>); 使用示例POST:util.SEND(url,'POST',res= 阅读全文
posted @ 2018-06-26 15:42 Sunsin 阅读(6692) 评论(0) 推荐(1) 编辑
摘要: 官方API也未曾标注,要添加文件指向 --files 所以解决方案就是: 阅读全文
posted @ 2018-06-21 13:08 Sunsin 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 转载于:https://blog.csdn.net/butterfly5211314/article/details/80163628 新版的已经支持了,用npm官方即可下载,也就是 注意,在项目环境目录下安装 使用的话,添加下面那句话即可 阅读全文
posted @ 2018-06-09 09:39 Sunsin 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 对于小程序官方编译器,我也不好说什么,不支持scss,不支持emment,一切来说都是不适应 美团mp:http://mpvue.com/mpvue/ vue官方:https://cn.vuejs.org/v2/guide/conditional.html 简单的来说就3步: 1. 安装vue-cl 阅读全文
posted @ 2018-06-08 21:00 Sunsin 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 引入样式: 导入全局 - >styles.css 导入第三方 - > 在package.json配置,然后再 npm install 安装好以后,最后再angular.json里面的styles添加node_module安装的第三方包 app里面的src目录都是模板: app.component.c 阅读全文
posted @ 2018-06-01 21:39 Sunsin 阅读(161) 评论(0) 推荐(0) 编辑
摘要: app.module.ts 1 var model = { 2 user: 'Admin', 3 items: [{ 4 action: 'buy flowsers', done: false 5 },{ 6 action: 'get shoes', done: false 7 },{ 8 acti 阅读全文
posted @ 2018-06-01 21:24 Sunsin 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: 导入全局样式,生产环境和浏览器环境都导入了. 不知否你还记得index.html那个里面的节点 熟悉吗? 很熟悉吧 阅读全文
posted @ 2018-06-01 20:48 Sunsin 阅读(182) 评论(0) 推荐(0) 编辑
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 95 下一页