---
title: "page"

doc_type: static
doc_category: static
doc_version: v20260901
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/page'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/page.md'
---


# page

<div className="code-flex">

<div>
  <ObjectSummary>

  一个店铺的[自定义页面](https://help.shopline.com/hc/articles/900005248563-%E8%87%AA%E5%AE%9A%E4%B9%89%E9%A1%B5%E9%9D%A2)。
  </ObjectSummary>

  #### 属性

  <ObjectProperty
    name="content"
    types={["string"]}
  >
    <ObjectSummary>
      页面的内容。
    </ObjectSummary>
  </ObjectProperty>

  <ObjectProperty
    name="handle"
    types={["string"]}
  >
    <ObjectSummary>
      页面的[handle](https://developer.shopline.com/zh-hans-cn/docs/handlebars/objects/handle.md)。
    </ObjectSummary>
  </ObjectProperty>

  <ObjectProperty
    name="id"
    types={["string"]}
  >
    <ObjectSummary>
      页面的ID。
    </ObjectSummary>
  </ObjectProperty>


  <ObjectProperty
    name="published_at"
    types={["string"]}
  >
    <ObjectSummary>
    页面的发布时间，一个时间戳。
    </ObjectSummary>
> **Tip**
>
> 可以使用data Object 格式化时间错。
  </ObjectProperty>


    <ObjectProperty
    name="template_suffix"
    types={["string"]}
  >
    <ObjectSummary>
分配给页面的自定义模板的名称。<br/>

这个字段不包含前缀和文件名(.json和.html)。<br/>

如果自定义模板取不到对应的页面，则返回null。<br/>
    </ObjectSummary>
  </ObjectProperty>

    <ObjectProperty
    name="title"
    types={["string"]}
  >
    <ObjectSummary>
页面的标题。
    </ObjectSummary>
  </ObjectProperty>


    <ObjectProperty
    name="url"
    types={["string"]}
  >
    <ObjectSummary>
页面的url。
    </ObjectSummary>
  </ObjectProperty>


</div>

<div>
  <ObjectAccess
    object="page"
    global={false}
    templates={[
      {name: 'page', link: '/docsv2/ec20/hgr7vj9rpaah1a6m/8eb491fn363gcpsc'},
    ]}
    parents={[
      {object:"pages",link:""},
    ]}
  />
</div>

</div>

