1,第一我们都知道thinkphp 控制器和页面是通过$this->assgin();或着$this->在页面中要得到的值的随便变量   ,来传值的

比如(此方法是在有时间控件才能使用的): 

$select_time = array(

'start_time' => date('Y-m-d',strtotime('-1 weeks')),'end_time' => date('Y-m-d'));

$this->select_time = $select_time;

<span class="tdleft" style="margin-left:10px;">时间从</span>
<input type="text" >日历控件使用方法

2.时间控件:onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" 

 

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2021-08-11
猜你喜欢
  • 2021-11-28
  • 2021-07-14
  • 2021-12-06
  • 2021-07-01
  • 2021-08-30
  • 2022-01-28
相关资源
相似解决方案