forked from kaverti/website
Unfinished MarketplaceCreate
This commit is contained in:
parent
5f8fa2be1f
commit
74e6f420f4
|
@ -41,7 +41,11 @@
|
|||
<div class="section" v-if="$store.state.experimentsStore.marketplace">
|
||||
<div class="">
|
||||
<div class="column">
|
||||
<b-button class="is-primary">Create Marketplace Item</b-button>
|
||||
<b-button tag="router-link"
|
||||
to="/marketplace/create"
|
||||
type="is-link is-primary">
|
||||
Create Marketplace Item
|
||||
</b-button>
|
||||
</div>
|
||||
<tab-view
|
||||
:tabs='["Hats", "Faces", "Shirts", "Pants"]'
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
<template>
|
||||
<main>
|
||||
<div class="section">
|
||||
<div class="column">
|
||||
<div class="box">
|
||||
<div class="field">
|
||||
<b-radio v-model="createType"
|
||||
size="is-large"
|
||||
native-value="Shirt">
|
||||
Shirt
|
||||
</b-radio>
|
||||
<b-radio v-model="createType"
|
||||
size="is-large"
|
||||
native-value="Pants">
|
||||
Pants
|
||||
</b-radio>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'MarketplaceCreate',
|
||||
data() {
|
||||
return {
|
||||
createType: 'shirt'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
|
@ -138,6 +138,7 @@ const Contributors = () => import('./components/routes/Contributors')
|
|||
const Inventory = () => import('./components/routes/Inventory')
|
||||
|
||||
const Marketplace = () => import('./components/routes/Marketplace')
|
||||
const MarketplaceCreate = () => import('./components/routes/MarketplaceCreate')
|
||||
const MarketplaceItem = () => import('./components/routes/MarketplaceItem')
|
||||
const MarketplaceItemAuction = () => import('./components/routes/MarketplaceItemAuction')
|
||||
const TransactionLog = () => import('./components/routes/TransactionLog')
|
||||
|
@ -190,6 +191,7 @@ const router = new VueRouter({
|
|||
{ path: '/thread/:slug/:id/:post_number', name: 'thread-post', component: Thread },
|
||||
{ path: '/thread/new', component: ThreadNew },
|
||||
{ path: '/marketplace', component: Marketplace },
|
||||
{ path: '/marketplace/create', component: MarketplaceCreate },
|
||||
{ path: '/transactions', component: TransactionLog },
|
||||
{ path: '/m/:id', component: MarketplaceItem, children: [
|
||||
{ path: 'auction', component: MarketplaceItemAuction }
|
||||
|
|
Loading…
Reference in New Issue