[hub] added DetailHeaderItem to detail pages, contact seller button

This commit is contained in:
Prateeksha Singh
2018-08-27 10:49:42 +05:30
parent d0a952bcda
commit fa26899cd0
8 changed files with 146 additions and 34 deletions

View File

@@ -34,12 +34,8 @@
<div class="col-md-8">
<h2>{{ title }}</h2>
<div class="text-muted">
<slot name="subtitle"></slot>
<slot name="detail-header-item"></slot>
</div>
<button v-if="primary_action" class="btn btn-primary" @click="primary_action.action">
{{ primary_action.label }}
</button>
</div>
<div v-if="menu_items" class="col-md-1">
@@ -76,7 +72,7 @@
export default {
name: 'detail-view',
props: ['title', 'subtitles', 'image', 'sections', 'show_skeleton', 'menu_items', 'primary_action'],
props: ['title', 'image', 'sections', 'show_skeleton', 'menu_items'],
data() {
return {
back_to_home_text: __('Back to Home')