feat: UI stuff
This commit is contained in:
parent
8e2bc8bb92
commit
761cf02a34
3 changed files with 34 additions and 76 deletions
|
|
@ -69,6 +69,14 @@
|
|||
</q-item-section>
|
||||
</template>
|
||||
<q-separator></q-separator>
|
||||
<q-card-section class="col-12">
|
||||
<q-item-section>
|
||||
<q-item-label> <strong>Order ID: </strong> <span v-text="order.id"></span>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
|
||||
</q-card-section>
|
||||
<q-separator></q-separator>
|
||||
<q-card-section horizontal>
|
||||
|
||||
<q-card-section class="col-7">
|
||||
|
|
@ -120,35 +128,8 @@
|
|||
</q-item-section>
|
||||
</q-card-section>
|
||||
</q-card-section>
|
||||
<q-separator></q-separator>
|
||||
<q-card-section class="col-12">
|
||||
<q-item-section class="q-mt-sm q-ml-sm">
|
||||
<q-item-label> <strong>Order ID: </strong>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
<q-item-section class="q-mt-sm">
|
||||
<q-item-label>
|
||||
<span v-text="order.id"></span>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
</q-card-section>
|
||||
<q-card-section v-if="order.messages" class="col-12">
|
||||
<q-item-section class="q-mt-sm q-ml-sm">
|
||||
<q-item-label> <strong>Messages: </strong>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
<q-item-section class="q-mt-sm">
|
||||
<q-item-label>
|
||||
<ul>
|
||||
<li v-for="(message, i) in order.messages" :key="i">
|
||||
<span v-text="message"></span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
</q-card-section>
|
||||
|
||||
|
||||
<q-separator class="q-mb-xl"></q-separator>
|
||||
</q-expansion-item>
|
||||
<q-separator></q-separator>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ async function shoppingCartCheckout(path) {
|
|||
pubkey: this.customerPubkey
|
||||
}
|
||||
|
||||
this.$emit('place-order', { event, order })
|
||||
this.$emit('place-order', { event, order, cartId: this.cart.id })
|
||||
|
||||
},
|
||||
goToShoppingCart: function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue