forked from fzu102201435/front
parent
d76f318a9c
commit
105503f15c
@ -1,17 +0,0 @@
|
|||||||
<template>
|
|
||||||
<view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
|
|
||||||
</style>
|
|
@ -1,17 +0,0 @@
|
|||||||
<template>
|
|
||||||
<view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
|
|
||||||
</style>
|
|
@ -0,0 +1,68 @@
|
|||||||
|
|
||||||
|
.background {
|
||||||
|
background-image: url("@/static/homepages/homes/ai_recognize_fruit/pictures/background.png");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column; /* 纵向排列 */
|
||||||
|
align-items: center; /* 水平居中 */
|
||||||
|
justify-content: flex-end; /* 使内容向底部对齐 */
|
||||||
|
position: relative; /* 为绝对定位子元素提供相对定位的上下文 */
|
||||||
|
}
|
||||||
|
.upload_picture{
|
||||||
|
position: absolute; /* 绝对定位 */
|
||||||
|
width: 90%;
|
||||||
|
height: 25%;
|
||||||
|
top: 45%; /* 距离底部 20% 的位置 */
|
||||||
|
left: 50%; /* 水平居中 */
|
||||||
|
transform: translateX(-50%); /* 通过 translateX 使其居中 */
|
||||||
|
}
|
||||||
|
.button {
|
||||||
|
position: absolute; /* 绝对定位 */
|
||||||
|
width: 13%;
|
||||||
|
height: 6%;
|
||||||
|
top: 0%;
|
||||||
|
left: 6%; /* 水平居中 */
|
||||||
|
transform: translateX(-50%); /* 通过 translateX 使其居中 */
|
||||||
|
}
|
||||||
|
.calorie_container {
|
||||||
|
background-image: url("@/static/homepages/homes/ai_recognize_fruit/pictures/calorie.png");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
display: flex; /* 使用 flex 布局 */
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center; /* 水平居中 */
|
||||||
|
justify-content: center; /* 垂直居中 */
|
||||||
|
position: absolute;
|
||||||
|
width: 40%;
|
||||||
|
height: 27%;
|
||||||
|
bottom: 3%;
|
||||||
|
left: 6%;
|
||||||
|
}
|
||||||
|
.calorie_text {
|
||||||
|
font-size: 23px;
|
||||||
|
color: #1b1313;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-top: 100%; /* 向下移动 100% */
|
||||||
|
}
|
||||||
|
.name_container{
|
||||||
|
background-image: url("@/static/homepages/homes/ai_recognize_fruit/pictures/fruit.png");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
display: flex; /* 使用 flex 布局 */
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center; /* 水平居中 */
|
||||||
|
justify-content: center; /* 垂直居中 */
|
||||||
|
position: absolute;
|
||||||
|
width: 40%;
|
||||||
|
height: 26%;
|
||||||
|
bottom: 3%;
|
||||||
|
left: 54%;
|
||||||
|
}
|
||||||
|
.name_text {
|
||||||
|
font-size: 23px;
|
||||||
|
color: #0c0b0b;
|
||||||
|
font-weight: 800;
|
||||||
|
margin-top: 100%; /* 向下移动 100% */
|
||||||
|
}
|
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 562 B |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 108 KiB |
Loading…
Reference in new issue