consumer模块完成度95%,优化安卓端界面和小程序测试3
This commit is contained in:
@@ -1 +0,0 @@
|
||||
{"code":"import { defineComponent } from \"vue\";\nimport supa from \"@/components/supadb/aksupainstance\";\nimport { IS_TEST_MODE } from \"@/ak/config\";\nexport default defineComponent({\n onLoad() {\n // 启动页:根据登录态重定向\n this.checkAndRedirect();\n },\n onShow() {\n // 启动页仅在首次进入时做一次跳转,避免影响 H5 手动输入 URL\n },\n methods: {\n checkAndRedirect() {\n uni.__f__('log', 'at pages/user/boot.uvue:40', 'boot: start redirect check');\n if (IS_TEST_MODE) {\n // 测试阶段:不做强制重定向,保留你手动输入的 URL / 目标页面\n return null;\n }\n try {\n const sessionInfo = supa.getSession();\n if (sessionInfo != null && sessionInfo.user != null) {\n uni.reLaunch({ url: '/pages/main/index' });\n return null;\n }\n }\n catch (e) {\n uni.__f__('error', 'at pages/user/boot.uvue:54', 'boot: error checking session', e);\n }\n uni.reLaunch({ url: '/pages/user/login' });\n }\n }\n});\n//# sourceMappingURL=D:/companyproject/mall/pages/user/boot.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__","uni.reLaunch"],"map":"{\"version\":3,\"file\":\"boot.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"boot.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";OACQ,IAAI;OACJ,EAAE,YAAY,EAAE;AAEvB,+BAAe;IACd,MAAM;QACL,eAAe;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;IACzB,CAAC;IACD,MAAM;QACL,mCAAmC;IACpC,CAAC;IACD,OAAO,EAAE;QACR,gBAAgB;YACf,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,4BAA4B,EAAC,4BAA4B,CAAC,CAAA;YAE1E,IAAI,YAAY,EAAE;gBACjB,mCAAmC;gBACnC,YAAM;aACN;YAED,IAAI;gBACH,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,CAAA;gBACrC,IAAI,WAAW,IAAI,IAAI,IAAI,WAAW,CAAC,IAAI,IAAI,IAAI,EAAE;oBACpD,GAAG,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,mBAAmB,EAAE,CAAC,CAAA;oBAC1C,YAAM;iBACN;aACD;YAAC,OAAO,CAAC,EAAE;gBACX,GAAG,CAAC,KAAK,CAAC,OAAO,EAAC,4BAA4B,EAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;aACjF;YAED,GAAG,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,mBAAmB,EAAE,CAAC,CAAA;QAC3C,CAAC;KACD;CACD,EAAC\"}"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
{"code":"import { __awaiter } from \"tslib\";\nimport { defineComponent as _defineComponent } from 'vue';\nimport { o as _o, gei as _gei, sei as _sei } from \"vue\";\nimport { ref } from 'vue';\nexport default /*#__PURE__*/ _defineComponent({\n __name: 'change-password',\n setup(__props) {\n const oldPassword = ref('');\n const newPassword = ref('');\n const confirmPassword = ref('');\n const handleSubmit = () => { return __awaiter(this, void 0, void 0, function* () {\n if (oldPassword.value == '' || newPassword.value == '' || confirmPassword.value == '') {\n uni.showToast({\n title: '请填写完整信息',\n icon: 'none'\n });\n return Promise.resolve(null);\n }\n if (newPassword.value != confirmPassword.value) {\n uni.showToast({\n title: '两次输入的密码不一致',\n icon: 'none'\n });\n return Promise.resolve(null);\n }\n uni.showLoading({ title: '提交中...' });\n uni.hideLoading();\n uni.showToast({\n title: '修改成功',\n icon: 'success'\n });\n setTimeout(() => {\n uni.navigateBack();\n }, 1500);\n }); };\n return (_ctx, _cache) => {\n \"raw js\";\n const __returned__ = {\n a: oldPassword.value,\n b: _o($event => { return oldPassword.value = $event.detail.value; }),\n c: newPassword.value,\n d: _o($event => { return newPassword.value = $event.detail.value; }),\n e: confirmPassword.value,\n f: _o($event => { return confirmPassword.value = $event.detail.value; }),\n g: _o(handleSubmit),\n h: _sei(_gei(_ctx, ''), 'view')\n };\n return __returned__;\n };\n }\n});\n//# sourceMappingURL=D:/companyproject/mall/pages/user/change-password.uvue?vue&type=script&setup=true&lang.uts.js.map","references":["D:/HBuilderX/HBuilderX/plugins/uniapp-cli-vite/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","D:/HBuilderX/HBuilderX/plugins/uniapp-cli-vite/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","D:/HBuilderX/HBuilderX/plugins/uniapp-cli-vite/node_modules/@vue/runtime-core/dist/runtime-core.d.ts"],"uniExtApis":["uni.showToast","uni.showLoading","uni.hideLoading","uni.navigateBack"],"map":"{\"version\":3,\"file\":\"change-password.uvue?vue&type=script&setup=true&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"change-password.uvue?vue&type=script&setup=true&lang.uts\"],\"names\":[],\"mappings\":\";AAAA,OAAO,EAAE,eAAe,IAAI,gBAAgB,EAAE,MAAM,KAAK,CAAA;AACzD,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,GAAG,IAAI,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,MAAM,KAAK,CAAA;AAEvD,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAGzB,eAAe,aAAa,CAAA,gBAAgB,CAAC;IAC3C,MAAM,EAAE,iBAAiB;IACzB,KAAK,CAAC,OAAO;QAEf,MAAM,WAAW,GAAG,GAAG,CAAS,EAAE,CAAC,CAAA;QACnC,MAAM,WAAW,GAAG,GAAG,CAAS,EAAE,CAAC,CAAA;QACnC,MAAM,eAAe,GAAG,GAAG,CAAS,EAAE,CAAC,CAAA;QAEvC,MAAM,YAAY,GAAG;YACnB,IAAI,WAA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,MAAM,CAAC,MAAM,CAAC,KAAK,EAA3C,CAA2C,CAAC;gBAC5D,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC;gBACnB,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,MAAM,CAAC;aAChC,CAAA;YACC,OAAO,YAAY,CAAA;QACrB,CAAC,CAAA;IACD,CAAC;CAEA,CAAC,CAAA\"}"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
{"code":"import { defineComponent } from \"vue\";\nexport default defineComponent({\n methods: {\n goBack() {\n uni.navigateBack();\n }\n }\n});\n//# sourceMappingURL=D:/companyproject/mall/pages/user/terms.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.navigateBack"],"map":"{\"version\":3,\"file\":\"terms.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"terms.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,+BAAe;IACd,OAAO,EAAE;QACR,MAAM;YACL,GAAG,CAAC,YAAY,EAAE,CAAC;QACpB,CAAC;KACD;CACD,EAAC\"}"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user