You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
601 B
32 lines
601 B
2 months ago
|
<script>
|
||
|
import template1 from './template1.vue';
|
||
|
import template2 from './template2.vue';
|
||
|
export default {
|
||
|
components: {
|
||
|
template1,
|
||
|
template2
|
||
|
},
|
||
|
props: {
|
||
|
orderAdminData: {
|
||
|
type: Object,
|
||
|
default: () => {}
|
||
|
},
|
||
|
orderStaticData: {
|
||
|
type: Object,
|
||
|
default() {
|
||
|
return () => {};
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<view v-if="parseInt(orderStaticData.is_show)">
|
||
|
<template1 v-if="orderStaticData.style == 1" :staticData="orderAdminData"></template1>
|
||
|
<template2 v-if="orderStaticData.style == 2" :staticData="orderAdminData"></template2>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<style></style>
|