|
|
@@ -16,7 +16,7 @@
|
|
|
</Tab>
|
|
|
</template>
|
|
|
</Tabs>
|
|
|
- <component ref="componentRef" :is="selectedComponent.detail" @closed="closeComponent"
|
|
|
+ <component ref="componentRef" :is="selectedComponent.detail" @closed="closeComponent" v-bind="{ onlyDelivery }"
|
|
|
v-if="componentId && selectedComponent.detail" />
|
|
|
</app-view>
|
|
|
</template>
|
|
|
@@ -29,6 +29,8 @@ import { i18n } from '@/stores'
|
|
|
|
|
|
const { global: { t } } = i18n
|
|
|
|
|
|
+const onlyDelivery = shallowRef(false)
|
|
|
+
|
|
|
const components = [
|
|
|
{
|
|
|
name: 'pricing',
|
|
|
@@ -36,21 +38,6 @@ const components = [
|
|
|
component: defineAsyncComponent(() => import('@mobile/views/order/position/components/pricing/list/Index.vue')),
|
|
|
detail: defineAsyncComponent(() => import('@mobile/views/order/position/components/pricing/detail2/Index.vue')),
|
|
|
},
|
|
|
- // {
|
|
|
- // name: 'spot',
|
|
|
- // title: t('position.spot.title'),
|
|
|
- // component: defineAsyncComponent(() => import('@mobile/views/order/position/components/spot/list/Index.vue')),
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: 'presale',
|
|
|
- // title: t('position.presale.title'),
|
|
|
- // component: defineAsyncComponent(() => import('@mobile/views/order/position/components/presale/list/Index.vue')),
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: 'transfer',
|
|
|
- // title: t('position.transfer.title'),
|
|
|
- // component: defineAsyncComponent(() => import('@mobile/views/order/position/components/transfer/list/Index.vue')),
|
|
|
- // }
|
|
|
]
|
|
|
|
|
|
const active = shallowRef(0)
|