Sfoglia il codice sorgente

修改测试环境地址,页面高度计算调整

cc12458 1 anno fa
parent
commit
ac03d8f985
3 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. 2 1
      .env.development
  2. 1 1
      src/assets/styles/index.scss
  3. 2 2
      src/layout/components/AppMain.vue

+ 2 - 1
.env.development

@@ -5,7 +5,8 @@ VUE_APP_TITLE=中药房管理系统
 ENV='development'
 
 # 中药房管理系统/开发环境
-VUE_APP_BASE_API='http://8.139.252.178:8001/prod-api/'
+#VUE_APP_BASE_API='http://8.139.252.178:8001/prod-api/'
+VUE_APP_BASE_API='http://115.236.184.102:62007/prod-api/'
 VUE_APP_BASE_API_V2='http://10.250.11.48:3030'
 
 # 路由懒加载

+ 1 - 1
src/assets/styles/index.scss

@@ -122,7 +122,7 @@ aside {
 }
 //main-container全局样式
 .app-container {
-  min-height: calc(100vh - 125px);
+  min-height: calc(100vh - 160px);
 
   padding: 20px;
   margin: 20px;

+ 2 - 2
src/layout/components/AppMain.vue

@@ -25,7 +25,7 @@ export default {
 <style lang="scss" scoped>
 .app-main {
   /* 50= navbar  50  */
-  min-height: calc(100vh - 100px);
+  min-height: calc(100vh - 160px);
   width: 100%;
   position: relative;
   overflow: hidden;
@@ -39,7 +39,7 @@ export default {
 .hasTagsView {
   .app-main {
     /* 84 = navbar + tags-view = 50 + 34 */
-    min-height: calc(100vh - 85px);
+    min-height: calc(100vh - 160px);
     background: rgb(240,241,245);
   }