|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<view>
|
|
<view>
|
|
<view class="book-H-3-content">
|
|
<view class="book-H-3-content">
|
|
- <view class="title-content">横版三封面</view>
|
|
|
|
|
|
+ <view class="title-content">{{templateData.name}}</view>
|
|
<view class="book-content">
|
|
<view class="book-content">
|
|
<view class="book-content__box" v-for="(item,index) in dataList[page_index]" :key="index" @click="clickBook(item)">
|
|
<view class="book-content__box" v-for="(item,index) in dataList[page_index]" :key="index" @click="clickBook(item)">
|
|
<view class="book-content__box__book-cover">
|
|
<view class="book-content__box__book-cover">
|
|
@@ -22,6 +22,7 @@
|
|
import { ref } from 'vue';
|
|
import { ref } from 'vue';
|
|
import { book_item_data } from '../../../data/data';
|
|
import { book_item_data } from '../../../data/data';
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
|
+ templateData: Object,
|
|
dataList: Array,
|
|
dataList: Array,
|
|
})
|
|
})
|
|
const emits = defineEmits(['clickBook'])
|
|
const emits = defineEmits(['clickBook'])
|