<script setup lang="ts">
const template = defineModel('template', { required: true });
</script>

<template>
  <van-cell style="margin-bottom: 10px">
    <template #extra>
      <section>
        <div class="">
          <h3 class="">{{ template.title }}</h3>
        </div>
        <el-space spacer="|" direction="horizontal">
          <section>
            <el-text>创建人 {{ template.creater_user }}</el-text>
          </section>
          <section>
            <el-text>引用次数 {{ template.quote_nums }}</el-text>
          </section>
        </el-space>
      </section>
    </template>
  </van-cell>
</template>

<style lang="scss" scoped module="item">
@use '@/assets/css/theme';

h3 {
  margin: 10px 0 12px 0;
  font-weight: 800;
  line-height: 15px;
  text-align: left;
  font-style: normal;
}
</style>
