Home  >  Q&A  >  body text

Page style issues

The page style is lost during debugging. The details are as follows: the route is URL/controller/method. When the local test only enters www.blog.com (default controller index/method index), the page style is normal. Enter www. The style is normal when blog.com/index (/default method index) is entered. When entering www.blog.com/index/index, the page style is lost. How to solve this problem?

海风海风1859 days ago1217

reply all(3)I'll reply

  • 天蓬老师

    天蓬老师2019-10-16 13:49:53

    1. What framework are you using?

    2. If it is laravel, check if routing is set

    reply
    0
  • 海风

    A simple framework written by myself

    海风 · 2019-10-16 16:28:27
    海风

    There should be no problem with routing. All controller methods and parameters can be correctly identified and extracted, and the required pages can be displayed. Only the page style is lost.

    海风 · 2019-10-16 16:31:28
  • Cancelreply