配置前后端交互url

master
Gary 1 week ago
parent 004d01b1b2
commit a3291e8953

@ -22,12 +22,13 @@ import ai_recongize_recipe from './components/ai_recongize_recipe/ai_recongize_r
export default { export default {
globalData: { globalData: {
// //
fit_journey_basic_address: 'http://127.0.0.1:8081', fit_journey_basic_address: 'http://47.122.61.54:8086',//TODO:
fit_journey_community_address: 'http://localhost:8082', fit_journey_community_address: 'http://localhost:8082',
fit_journey_ai_address: 'http://127.0.0.1:8085', fit_journey_ai_address: 'http://127.0.0.1:8081',
fit_journey_login_address: 'http://localhost:8084', fit_journey_login_address: 'http://localhost:8084',
fit_journey_recipe_address: 'http://localhost:8083', fit_journey_recipe_address: 'http://localhost:8083',
fit_journey_exercise_address: 'http://localhost:8086', fit_journey_exercise_address: 'http://localhost:8086',
fit_journey_admin_address: 'http://47.122.61.54:8085',//TODO:
// TODO: token localStorage // TODO: token localStorage
token: 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxODUxOTgwMTI1O' + token: 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxODUxOTgwMTI1O' +

@ -1,7 +1,7 @@
{ {
"name" : "fitjourney前端代码", "name" : "fit journey",
"appid" : "", "appid" : "__UNI__1A765D2",
"description" : "", "description" : "fit journey是一款基于AI的应用 支持多平台",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",
"transformPx" : false, "transformPx" : false,
@ -41,17 +41,50 @@
] ]
}, },
/* ios */ /* ios */
"ios" : {}, "ios" : {
"dSYMs" : false
},
/* SDK */ /* SDK */
"sdkConfigs" : {} "sdkConfigs" : {
"oauth" : {},
"ad" : {}
},
"icons" : {
"ios" : {
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
},
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
}
},
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
}
}
} }
}, },
/* */ /* */
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "", "appid" : "",
@ -72,5 +105,6 @@
"uniStatistics" : { "uniStatistics" : {
"enable" : false "enable" : false
}, },
"vueVersion" : "3" "vueVersion" : "3",
"fallbackLocale" : "zh-Hans"
} }

@ -252,6 +252,7 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}*/ }*/
/*------------------------------------------------------------------------------------------------------------------------------*/
{ {
"path" : "pages/homepages/homes/dictionary/orange/orange", "path" : "pages/homepages/homes/dictionary/orange/orange",
"style" : "style" :
@ -435,6 +436,7 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
/*------------------------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------------------------------------------------*/
], ],

@ -0,0 +1,17 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {};
}
}
</script>
<style lang="scss">
</style>

@ -0,0 +1,17 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {};
}
}
</script>
<style lang="scss">
</style>

@ -29,7 +29,7 @@ export default {
flex-direction: column; /* 纵向排列 */ flex-direction: column; /* 纵向排列 */
align-items: center; /* 水平居中 */ align-items: center; /* 水平居中 */
justify-content: flex-end; /* 使内容向底部对齐 */ justify-content: flex-end; /* 使内容向底部对齐 */
position: relative; /* 为绝对定位子元素提供相对定位的上下文 */ position: relative; //
} }
.button { .button {

Loading…
Cancel
Save