配置前后端交互url

master
Gary 2 weeks 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"
} }

@ -170,13 +170,13 @@
} }
},*/ },*/
/*--------------------------------------------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------------------------------------------*/
/* { /* {
"path": "pages/homepages/homes/home/home", "path": "pages/homepages/homes/home/home",
"style": { "style": {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
*/ */
/*{ /*{
"path": "pages/homepages/homes/ai_recognize_fruit/ai_recognize_fruit", "path": "pages/homepages/homes/ai_recognize_fruit/ai_recognize_fruit",
@ -246,195 +246,197 @@
}*/ }*/
/*----------------------------------------------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------------------------------------------*/
/* { /* {
"path": "components/ai_recongize_fruit/ai_recongize_fruit", "path": "components/ai_recongize_fruit/ai_recongize_fruit",
"style": { "style": {
"navigationStyle": "custom"
}
}*/
/*------------------------------------------------------------------------------------------------------------------------------*/
{
"path" : "pages/homepages/homes/dictionary/orange/orange",
"style" :
{
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}*/ },
{
"path" : "pages/homepages/homes/dictionary/orange/orange",
"style" :
{
"navigationStyle": "custom"
}
},
{ {
"path" : "pages/homepages/homes/dictionary/apple/apple", "path" : "pages/homepages/homes/dictionary/apple/apple",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/watermelon/watermelon", "path" : "pages/homepages/homes/dictionary/watermelon/watermelon",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/banana/banana", "path" : "pages/homepages/homes/dictionary/banana/banana",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/avocado/avocado", "path" : "pages/homepages/homes/dictionary/avocado/avocado",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/bread/bread", "path" : "pages/homepages/homes/dictionary/bread/bread",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/broccoli/broccoli", "path" : "pages/homepages/homes/dictionary/broccoli/broccoli",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/carrot/carrot", "path" : "pages/homepages/homes/dictionary/carrot/carrot",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/corn/corn", "path" : "pages/homepages/homes/dictionary/corn/corn",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/eggplant/eggplant", "path" : "pages/homepages/homes/dictionary/eggplant/eggplant",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/fried egg/fried egg", "path" : "pages/homepages/homes/dictionary/fried egg/fried egg",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/garlic/garlic", "path" : "pages/homepages/homes/dictionary/garlic/garlic",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/grape/grape", "path" : "pages/homepages/homes/dictionary/grape/grape",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/kiwi fruit/kiwi fruit", "path" : "pages/homepages/homes/dictionary/kiwi fruit/kiwi fruit",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/lemon/lemon", "path" : "pages/homepages/homes/dictionary/lemon/lemon",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/loquat/loquat", "path" : "pages/homepages/homes/dictionary/loquat/loquat",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/mango/mango", "path" : "pages/homepages/homes/dictionary/mango/mango",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/mushroom/mushroom", "path" : "pages/homepages/homes/dictionary/mushroom/mushroom",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/papaya/papaya", "path" : "pages/homepages/homes/dictionary/papaya/papaya",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/pear/pear", "path" : "pages/homepages/homes/dictionary/pear/pear",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/pepper/pepper", "path" : "pages/homepages/homes/dictionary/pepper/pepper",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/pineapple/pineapple", "path" : "pages/homepages/homes/dictionary/pineapple/pineapple",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/pizza/pizza", "path" : "pages/homepages/homes/dictionary/pizza/pizza",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/pulled noodles/pulled noodles", "path" : "pages/homepages/homes/dictionary/pulled noodles/pulled noodles",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/radish/radish", "path" : "pages/homepages/homes/dictionary/radish/radish",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/homepages/homes/dictionary/strawberry/strawberry", "path" : "pages/homepages/homes/dictionary/strawberry/strawberry",
"style" : "style" :
{ {
"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