You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							52 lines
						
					
					
						
							1.4 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							52 lines
						
					
					
						
							1.4 KiB
						
					
					
				
								<?php
							 | 
						|
								/**
							 | 
						|
								 *
							 | 
						|
								 */
							 | 
						|
								
							 | 
						|
								include_once(dirname(dirname(__FILE__))."/library/publicBase.php");
							 | 
						|
								
							 | 
						|
								class tpl extends publicBase {
							 | 
						|
								
							 | 
						|
								    /**
							 | 
						|
								     * 首页
							 | 
						|
								     * @return void
							 | 
						|
								     */
							 | 
						|
								    public function home() {
							 | 
						|
								        $this->view['menu_page'] = 'home';
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    /**
							 | 
						|
								     * 发货提醒
							 | 
						|
								     */
							 | 
						|
								    public function deliver_remind() {
							 | 
						|
								        $this->view['menu_page'] = 'deliver_remind';
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    public function ajax_get_order_list() {
							 | 
						|
								        $data = array();
							 | 
						|
								        $page = $this->get('page')+0;
							 | 
						|
								        $limit = $this->get('limit')+0;
							 | 
						|
								        for($i=0;$i < 10;$i++){
							 | 
						|
								            $vals = array(
							 | 
						|
								                "goods_name" => "万方查重毕业论文检测大学生文章专科本科系万方查重毕业论文检测大学生文章专科本科系万方查重毕业论文检测大学生文章专科本科系",
							 | 
						|
								                "tid" => "43565765786867898".$i,
							 | 
						|
								                "count_down" => "倒计时:10:09:23",
							 | 
						|
								                'sale_date' => date('Y-m-d H:i:s', time()+($i*8)),
							 | 
						|
								                'remained_time' => date('Y-m-d H:i:s', time()+($i*88)),
							 | 
						|
								                "income" => "999.09",
							 | 
						|
								                "status" => "1"
							 | 
						|
								            );
							 | 
						|
								            if($i % 2 == 0) {
							 | 
						|
								                $vals['count_down'] = date('Y-m-d H:i:s', time()+$i);
							 | 
						|
								                $vals['status'] = 0;
							 | 
						|
								            }
							 | 
						|
								
							 | 
						|
								            $data[] = $vals;
							 | 
						|
								        }
							 | 
						|
								
							 | 
						|
								        $reture_data['data'] = $data;
							 | 
						|
								        $reture_data['total'] = 300;
							 | 
						|
								
							 | 
						|
								        $this->ajax_json(true, '', $reture_data);
							 | 
						|
								    }
							 | 
						|
								}
							 | 
						|
								
							 |