-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from azuki774/apply-css-1
use bootstrap tag を利用
- Loading branch information
Showing
5 changed files
with
290 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,19 +46,29 @@ const postButton = async (): Promise<void> => { | |
</script> | ||
|
||
<template> | ||
<section> | ||
<container> | ||
<Row justify-content="md-center"> | ||
<Col col="md-auto"> | ||
<BFormSelect v-model="selector" margin="b-4"> | ||
<b-option v-for="category in categoryList" :key="category.category_id"> | ||
{{ category.category_name }} | ||
</b-option> | ||
</BFormSelect> | ||
</Col> | ||
|
||
<select v-model="selector"> | ||
<option v-for="category in categoryList" :key="category.category_id"> | ||
{{ category.category_name }} | ||
</option> | ||
</select> | ||
<Col col="md-auto"> | ||
<BFormFloating margin="b-2"> | ||
<BFormInput v-model="priceBox" type="number" placeholder="[email protected]" /> | ||
<BFormLabel for="floatingInput"> | ||
Price | ||
</BFormLabel> | ||
</BFormFloating> | ||
</Col> | ||
</Row> | ||
|
||
<input v-model="priceBox" type="number" /> | ||
|
||
<div class="col"> | ||
<button @click="postButton" name="postButton" class="sendbutton" type="submit">Post</button> | ||
</div> | ||
|
||
</section> | ||
<Col display="grid" gap="2" margin="x-auto" col="6"> | ||
<b-button button="primary" size="lg" @click="postButton" name="postButton" class="sendbutton" | ||
type="submit">Post</b-button> | ||
</Col> | ||
</container> | ||
</template> |
Oops, something went wrong.