diff --git a/App.vue b/App.vue index 241ac51..a4e7d78 100644 --- a/App.vue +++ b/App.vue @@ -24,7 +24,6 @@ import ai_recongize_plan from './components/ai_recongize_plan/ai_recongize_plan. import ai_recongize_hot from './components/ai_recongize_hot/ai_recongize_hot.vue'; import ai_recongize_recipe from './components/ai_recongize_recipe/ai_recongize_recipe.vue'; - export default { globalData: { // 定义后端数据库地址信息 diff --git a/components/community_image_box/community_image_box.vue b/components/community_image_box/community_image_box.vue new file mode 100644 index 0000000..37d3e7f --- /dev/null +++ b/components/community_image_box/community_image_box.vue @@ -0,0 +1,141 @@ + + + + + \ No newline at end of file diff --git a/pages/homepages/community/community/community.vue b/pages/homepages/community/community/community.vue index 1b71a83..31a8a60 100644 --- a/pages/homepages/community/community/community.vue +++ b/pages/homepages/community/community/community.vue @@ -1,20 +1,175 @@ diff --git a/pages/homepages/user/basic_information/basic_information.vue b/pages/homepages/user/basic_information/basic_information.vue index ddd0d86..6d4d0ae 100644 --- a/pages/homepages/user/basic_information/basic_information.vue +++ b/pages/homepages/user/basic_information/basic_information.vue @@ -3,18 +3,20 @@ - + - - puppy + + + {{name}} - - + + + {{selftext}} - + @@ -22,14 +24,37 @@ @@ -128,11 +153,21 @@ export default { position: absolute; font-size: 1.4em; text-align: center; - width: 100%; - height: 20%; - top: 17%; + width: 65%; + height: 40%; + top: 24%; + left: 20%; + color:#000000; +} +.w_name{ + position: absolute; + font-size: 1.4em; + text-align: center; + width: 65%; + height: 40%; + top: 26%; + left: 20%; color:#000000; - font-weight: bold; } .self_but{ position: absolute; @@ -144,11 +179,20 @@ export default { } .self_write{ position: absolute; - font-size: 1em; - text-align: center; - width: 100%; - height: 20%; + font-size: 1.4em; + width: 70%; + height: 80%; + top: 4%; + right: 10%; + color:#000000; +} +.self_read{ + position: absolute; + font-size: 1.4em; + width: 70%; + height: 80%; top: 4%; + right: 10%; color:#000000; } .button{ diff --git a/pages/homepages/user/bmi_information/bmi_information.vue b/pages/homepages/user/bmi_information/bmi_information.vue index 18d95a5..6f06de5 100644 --- a/pages/homepages/user/bmi_information/bmi_information.vue +++ b/pages/homepages/user/bmi_information/bmi_information.vue @@ -1,8 +1,7 @@ -