增加二期菜单以及综合模式评估页面

This commit is contained in:
zx
2026-04-28 15:47:19 +08:00
parent 6904f960b7
commit e5a0527861
23 changed files with 1013 additions and 46 deletions

View File

@@ -204,3 +204,11 @@ export function transformData(arr) {
export const getToken = () => {
return uni.getStorageSync("app_token");
};
export function getTwoOneRandom() {
// 整数部分 10~99
const int = Math.floor(Math.random() * 90) + 10;
// 小数部分 0~9
const dec = Math.floor(Math.random() * 10);
return parseFloat(`${int}.${dec}`);
}