diff --git a/quickapp.config.js b/quickapp.config.js index a201d1d..738b8a8 100644 --- a/quickapp.config.js +++ b/quickapp.config.js @@ -7,11 +7,13 @@ const fs = require('fs'); const gitCommitHash = childProcess.execSync('git rev-parse HEAD').toString().trim(); const username = os.userInfo().username; const buildTime = new Date().toISOString(); +const designWidth = JSON.parse(fs.readFileSync("src/manifest.json")).config.designWidth const buildInfoContent = ` export const GIT_COMMIT_HASH = "${gitCommitHash}"; export const BUILD_TIME = "${buildTime}"; export const BUILD_USER = "${username}"; + export const DESIGN_WIDTH = ${designWidth}; `; const buildInfoPath = path.resolve(__dirname, 'src/buildinfo.ts'); diff --git a/src/components/DefaultButton/DefaultButton.ux b/src/components/DefaultButton/DefaultButton.ux index ad8733f..97ee60c 100644 --- a/src/components/DefaultButton/DefaultButton.ux +++ b/src/components/DefaultButton/DefaultButton.ux @@ -6,44 +6,62 @@ \ No newline at end of file diff --git a/src/pages/app/features/settings/settings.ux b/src/pages/app/features/settings/settings.ux index a551615..b2522a5 100644 --- a/src/pages/app/features/settings/settings.ux +++ b/src/pages/app/features/settings/settings.ux @@ -82,8 +82,8 @@ export default { }) }, ClearTmp() { - prompt.showToast({ - message: "当前不可用" + router.push({ + uri: "pages/app/features/settings/cleartmp" }) }, SwitchSet(name) { diff --git a/src/pages/error/permissionerror/permissionerror.ux b/src/pages/error/permissionerror/permissionerror.ux new file mode 100644 index 0000000..d3a7ea0 --- /dev/null +++ b/src/pages/error/permissionerror/permissionerror.ux @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/src/pages/error/screenwidtherror/screenwidtherror.ux b/src/pages/error/screenwidtherror/screenwidtherror.ux new file mode 100644 index 0000000..3b6d281 --- /dev/null +++ b/src/pages/error/screenwidtherror/screenwidtherror.ux @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/src/pages/user/user.ux b/src/pages/user/user.ux index ecd4bb7..4a360fe 100644 --- a/src/pages/user/user.ux +++ b/src/pages/user/user.ux @@ -1,6 +1,7 @@ +