PageHeader页头

# 基础用法

<template>
  <div>
    <as-page-header @back="goBack" content="详情页面">
    </as-page-header>
  </div>
</template>
<script>
export default {
  name: "t-basic-page-header",
  methods: {
    goBack() {
      console.log('go back');
    }
  }
}
</script>
<style>
</style>
Expand Copy

# Attributes

参数 默认值 说明
title 标题 标题,类型为String
content -- 内容,类型为String

# Slot

名称 说明
title 标题内容
content 内容

# Events

事件名称 说明 回调参数
back 点击左侧区域触发 --