Skip to content

Commit 1f865af

Browse files
committed
vue繋ぎこみ
1 parent 2c87aab commit 1f865af

File tree

7 files changed

+180
-185
lines changed

7 files changed

+180
-185
lines changed

public/RECIPE AI.png

4.43 KB
Loading

public/recipe-ai.png

4.43 KB
Loading

public/thumbsup.png

411 Bytes
Loading

src/pages/FoodSelect.vue

+4-6
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const select = (e) => {
2828
</div>
2929

3030
<div>
31-
<div class="select-image">
31+
<ul class="select-image">
3232
<li class="active">
3333
<img src="/recipe1.png" alt="" name="きゅうり" @click="select" />
3434
<p>きゅうり</p>
@@ -41,9 +41,6 @@ const select = (e) => {
4141
<img src="/potato.png" alt="" />
4242
<p>じゃがいも</p>
4343
</li>
44-
</div>
45-
46-
<div class="select-image">
4744
<li>
4845
<img src="/milk.png" alt="" />
4946
<p>牛乳</p>
@@ -56,7 +53,7 @@ const select = (e) => {
5653
<img src="/400px-Table_salt_with_salt_shaker_V1.png" alt="" />
5754
<p>チーズ</p>
5855
</li>
59-
</div>
56+
</ul>
6057
</div>
6158
</div>
6259

@@ -140,7 +137,8 @@ h1 {
140137
141138
.select-image {
142139
display: flex;
143-
justify-content: space-around;
140+
justify-content: space-between;
141+
flex-wrap: wrap;
144142
}
145143
146144
.select-image {

src/pages/Home.vue

+1-7
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,6 @@ const imageUpload = (e) => {
111111
画像で食材を入力
112112
</label>
113113
</div>
114-
<div class="jump-button">
115-
<button class="word-jump-button" @click="">
116-
<img src="/word-icon.png" alt="" />
117-
<span>文字で食材を入力</span>
118-
</button>
119-
</div>
120114
</footer>
121115
</template>
122116

@@ -128,7 +122,7 @@ p {
128122
.container {
129123
max-width: 390px;
130124
margin: 0 auto;
131-
padding-bottom: 182px;
125+
padding-bottom: 122px;
132126
}
133127
134128
header {

0 commit comments

Comments
 (0)