diff --git a/public/js/flex2html.min.js b/public/js/flex2html.min.js index 2b9a051..4f10f79 100644 --- a/public/js/flex2html.min.js +++ b/public/js/flex2html.min.js @@ -829,6 +829,8 @@ function bubble_struc(json) { direction = !direction || direction == "" ? "ltr" : direction; size = upper2digit(size); + console.log(json); + return `
`; } function hero_struc(json) { diff --git a/src/utils/adcard.js b/src/utils/adcard.js new file mode 100644 index 0000000..9ee2d59 --- /dev/null +++ b/src/utils/adcard.js @@ -0,0 +1,19 @@ +import { genCard } from "./card/index"; + +function genAdCard (option) { + // const { json5: vcard } = ctx; + + // return { + // type: "flex", + // altText: vcard.altText, + // contents: { + // type: "carousel", + // contents: ctx + // }, + // }; + + console.log(option,"test"); + return option; +} + +export { genAdCard} \ No newline at end of file diff --git a/src/utils/card.js b/src/utils/card.js index f5a7aa6..c49f19e 100644 --- a/src/utils/card.js +++ b/src/utils/card.js @@ -1,6 +1,7 @@ import { genCard } from "./card/index"; function cardFactory(option) { + console.log(genCard(option)); return genCard(option); } diff --git a/src/views/Send/index.vue b/src/views/Send/index.vue index f31bd12..853aaf6 100644 --- a/src/views/Send/index.vue +++ b/src/views/Send/index.vue @@ -1,7 +1,7 @@