diff --git a/api/account.js b/api/account.js new file mode 100644 index 0000000..a4b7bf4 --- /dev/null +++ b/api/account.js @@ -0,0 +1,12 @@ +import { get, put } from '../utils/request' + +// 获取账户信息 +export function getAccount() { + return get('/accounts') +} + +// 更新账户信息 +export function updateAccount(data) { + return put('/accounts', data) +} + diff --git a/manifest.json b/manifest.json index fab259f..550582e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,71 +1,71 @@ { - "name": "强宝爱记账", - "appid": "__UNI__ACCOUNTING", - "description": "智能记账应用,支持OCR识别账单", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, - "app-plus": { - "usingComponents": true, - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 + "name" : "强宝爱记账", + "appid" : "__UNI__ED52D70", + "description" : "智能记账应用,支持OCR识别账单", + "versionName" : "1.0.0", + "versionCode" : "100", + "transformPx" : false, + "app-plus" : { + "usingComponents" : true, + "nvueStyleCompiler" : "uni-app", + "compilerVersion" : 3, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + "modules" : {}, + "distribute" : { + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + "ios" : {}, + "sdkConfigs" : {} + } }, - "modules": {}, - "distribute": { - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - "ios": {}, - "sdkConfigs": {} - } - }, - "quickapp": {}, - "mp-weixin": { - "appid": "", - "setting": { - "urlCheck": false + "quickapp" : {}, + "mp-weixin" : { + "appid" : "", + "setting" : { + "urlCheck" : false + }, + "usingComponents" : true }, - "usingComponents": true - }, - "mp-alipay": { - "usingComponents": true - }, - "mp-baidu": { - "usingComponents": true - }, - "mp-toutiao": { - "usingComponents": true - }, - "uniStatistics": { - "enable": false - }, - "vueVersion": "3", - "h5": { - "router": { - "mode": "hash" + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "uniStatistics" : { + "enable" : false + }, + "vueVersion" : "3", + "h5" : { + "router" : { + "mode" : "hash" + } } - } } diff --git a/pages.json b/pages.json index 1af33d4..8356fb4 100644 --- a/pages.json +++ b/pages.json @@ -37,6 +37,12 @@ "style": { "navigationBarTitleText": "编辑账单" } + }, + { + "path": "pages/account/account", + "style": { + "navigationBarTitleText": "账户管理" + } } ], "tabBar": { diff --git a/pages/account/account.vue b/pages/account/account.vue new file mode 100644 index 0000000..bc4eb0e --- /dev/null +++ b/pages/account/account.vue @@ -0,0 +1,302 @@ + + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index d61bb85..97a336a 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,7 +1,12 @@