1234567891011121314151617181920212223242526 |
- (function () {
- var page = {
- isScroll: true,
- init: function ($page,$param) {
- var array = JSON.parse( $param );
- console.log(array.addtime);
- var html = '';
- userinfo = learun.storage.get('userinfo');
- learun.http.get(config.webapi + "/?s=api/get_gonggao_info&plate="+userinfo.baseinfo.plate+"&addtime="+$param.addtime, {}, function(res) {
- if(res.success == true){
- $.each(res.data, function (_index, _item) {
- html += '<div class="lr-list-item">'+_item.AddTime+'</div>\
- <div class="lr-list-item">'+_item.AddTime+'</div>\
- <div class="lr-list-item">'+_item.AddTime+'</div>\
- <div class="lr-list-item">'+_item.AddTime+'</div>\
- <div class="lr-list-item">'+_item.AddTime+'</div>\
- <div class="lr-list-item">'+_item.AddTime+'</div>\
- <div class="lr-list-item">'+_item.AddTime+'</div>';
- });
- $page.find('.detail').html(html);
- }
- })
- }
- };
- return page;
- })();
|