摘要: var app= angular.module("myApp",[]);app.service("getDate",function($http){ return $http.get("../product1.json")});app.controller("ctrl",function($scope,getDate){ getDate.then(function(res){ ... 阅读全文
posted @ 2017-05-08 15:53 yaomengli 阅读(421) 评论(0) 推荐(0) 编辑
摘要: $swatch监听方法 阅读全文
posted @ 2017-05-08 14:43 yaomengli 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-05-08 14:08 yaomengli 阅读(240) 评论(0) 推荐(0) 编辑
摘要: <button type="button" class="mui-btn mui-btn-primary mui-btn-outlined mui-pull-right" id="yanzm">获取验证码</button> $("#yanzm").on('click',function(){ var 阅读全文
posted @ 2017-05-08 11:19 yaomengli 阅读(295) 评论(0) 推荐(0) 编辑