log in page
New application/index/controller/Login.php
Write code:
fetch('index'); } }
Point to index, create new application /index/view/login/index.html file, write the code as follows:
登录
Enterhttp://localhost/public in the browser /index.php/index/login/index,
The running results are as follows: