上一页 1 ··· 106 107 108 109 110 111 112 113 114 ··· 129 下一页
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>Title of page</title> </head> <body> <div id="example"> <my-component></my-component> </div 阅读全文
posted @ 2018-03-04 10:49 ThisCall 阅读(131) 评论(0) 推荐(0)
摘要: Vue.component('todo-item', { template: '\ \ {{ title }}\ X\ \ ', props: ['title']})new Vue({ el: '#todo-list-example', data: { newTodoText: '', todos: [ {... 阅读全文
posted @ 2018-03-03 13:58 ThisCall 阅读(442) 评论(0) 推荐(0)
摘要: created 钩子可以用来在一个实例被创建之后执行代码: var vm = new Vue({ el:'#box', data:{ msg:'12345' }, computed:{ reMsg:{ get:function(){ return this.msg.split('').reverse 阅读全文
posted @ 2018-02-27 20:46 ThisCall 阅读(147) 评论(0) 推荐(0)
摘要: {"keys": ["ctrl+shift+f"], "command": "reindent" , "args":{"single_line": false}}, 阅读全文
posted @ 2018-02-27 08:38 ThisCall 阅读(181) 评论(0) 推荐(0)
摘要: Sublime Text 3 快捷键精华版 Ctrl+Shift+P:打开命令面板Ctrl+P:搜索项目中的文件Ctrl+G:跳转到第几行Ctrl+W:关闭当前打开文件Ctrl+Shift+W:关闭所有打开文件Ctrl+Shift+V:粘贴并格式化Ctrl+D:选择单词,重复可增加选择下一个相同的单 阅读全文
posted @ 2018-02-25 16:45 ThisCall 阅读(120) 评论(0) 推荐(0)
摘要: <view class='pay-switch'> <switch color='#1F3238' data-gongprice='{{gongprice}}' data-discounts='{{discounts}}' bindchange="switch1Change" /> </view> 阅读全文
posted @ 2018-02-04 14:47 ThisCall 阅读(416) 评论(0) 推荐(0)
摘要: onLoad: function (opt) { wx.showShareMenu({ withShareTicket: true }) if (opt){ // let haha =JSON.parse(opt); console.log(JSON.parse(opt.ones)); } }, o 阅读全文
posted @ 2018-02-03 07:44 ThisCall 阅读(152) 评论(0) 推荐(0)
摘要: // pages/youxi/dian1.js Page({ /** * 页面的初始数据 */ data: { bian: 0, zhuan: 0, textTure: 'touchstart' }, shiFN: function (e) { let that = this; let n = 0; 阅读全文
posted @ 2018-01-31 21:54 ThisCall 阅读(153) 评论(0) 推荐(0)
摘要: 这个公式在大多数情况下比较正确,只有在处理球面上的相对点的时候,会出现问题,有一个修正的公式,因为没有需要,就没有找出来,可以在wiki上查到。 当然,我们都知道,地球其实并不是一个真正的圆球体,而是椭球,所以有了下面的公式: 阅读全文
posted @ 2018-01-31 21:50 ThisCall 阅读(273) 评论(0) 推荐(0)
摘要: @import '../expert/expert.wxss'; FZ._get('https://didu2.didu86.com/issun/index.php/Home/goodstype/selectGoodsTypeAll') .then(function (data) {console. 阅读全文
posted @ 2018-01-26 14:51 ThisCall 阅读(368) 评论(0) 推荐(0)
上一页 1 ··· 106 107 108 109 110 111 112 113 114 ··· 129 下一页