diff --git a/app.json b/app.json index 59b831b..53e6835 100644 --- a/app.json +++ b/app.json @@ -40,16 +40,10 @@ "root": "subpages/securityCheck", "name": "securityCheck", "pages": [ - "securityCheck" + "pages/securityCheck" ] }, - { - "root": "subpages/qualified", - "name": "qualified", - "pages": [ - "qualified" - ] - }, + { "root": "subpages/morenews", "name": "morenews", diff --git a/pages/work2/work2.js b/pages/work2/work2.js index 3478d6d..74c6947 100644 --- a/pages/work2/work2.js +++ b/pages/work2/work2.js @@ -117,7 +117,7 @@ Page({ onData(){ // wx.switchTab({ wx.navigateTo({ - url: '../../subpages/securityCheck/securityCheck' + url: '../../subpages/securityCheck/pages/securityCheck' }) } // onAddHouse(){ diff --git a/subpages/securityCheck/securityCheck.js b/subpages/securityCheck/pages/securityCheck.js similarity index 97% rename from subpages/securityCheck/securityCheck.js rename to subpages/securityCheck/pages/securityCheck.js index 146b76b..39e81ba 100644 --- a/subpages/securityCheck/securityCheck.js +++ b/subpages/securityCheck/pages/securityCheck.js @@ -1,5 +1,5 @@ // subpages/securityCheck/securityCheck.js -import {securityCheckk} from "../../utils/api"; +import {securityCheckk} from "../../../utils/api"; Page({ data: { pageNo: 1, diff --git a/subpages/securityCheck/securityCheck.json b/subpages/securityCheck/pages/securityCheck.json similarity index 100% rename from subpages/securityCheck/securityCheck.json rename to subpages/securityCheck/pages/securityCheck.json diff --git a/subpages/securityCheck/securityCheck.wxml b/subpages/securityCheck/pages/securityCheck.wxml similarity index 100% rename from subpages/securityCheck/securityCheck.wxml rename to subpages/securityCheck/pages/securityCheck.wxml diff --git a/subpages/securityCheck/securityCheck.wxss b/subpages/securityCheck/pages/securityCheck.wxss similarity index 100% rename from subpages/securityCheck/securityCheck.wxss rename to subpages/securityCheck/pages/securityCheck.wxss