init
Showing
2 changed files
with
7 additions
and
1 deletions
| ... | @@ -18,6 +18,12 @@ class Welcome extends CI_Controller { | ... | @@ -18,6 +18,12 @@ class Welcome extends CI_Controller { |
| 18 | * map to /index.php/welcome/<method_name> | 18 | * map to /index.php/welcome/<method_name> |
| 19 | * @see https://codeigniter.com/user_guide/general/urls.html | 19 | * @see https://codeigniter.com/user_guide/general/urls.html |
| 20 | */ | 20 | */ |
| 21 | |||
| 22 | public function desk() | ||
| 23 | { | ||
| 24 | echo ''; | ||
| 25 | } | ||
| 26 | |||
| 21 | public function index() | 27 | public function index() |
| 22 | { | 28 | { |
| 23 | $this->load->view('welcome/work'); | 29 | $this->load->view('welcome/work'); | ... | ... |
| ... | @@ -101,7 +101,7 @@ | ... | @@ -101,7 +101,7 @@ |
| 101 | <div class="Hui-tabNav-wp"> | 101 | <div class="Hui-tabNav-wp"> |
| 102 | <ul id="min_title_list" class="acrossTab cl"> | 102 | <ul id="min_title_list" class="acrossTab cl"> |
| 103 | <li class="active"> | 103 | <li class="active"> |
| 104 | <span title="我的桌面" data-href="welcome.html">我的桌面</span> | 104 | <span title="我的桌面" data-href="<?=site_url('welcome/desk')?>">我的桌面</span> |
| 105 | <em></em></li> | 105 | <em></em></li> |
| 106 | </ul> | 106 | </ul> |
| 107 | </div> | 107 | </div> | ... | ... |
-
Please register or sign in to post a comment