{extend name="../admin/common/base" /} {block name="body"}

- 微信服务器

- 图片
- 图文
- 语音
- 视频

{switch name="type"} {case value="news"}

{volist name="data" id="v"}
- {volist name="v.news_item" id="news"} {if condition="$key eq '0'"}

  {$news.title}

  {else /}

  {$news.title}

  {/if} {/volist}
{/volist}

{$page|raw} {/case} {case value="voice"}

语音名称 | 媒体 ID | 创建时间 | 操作
--- | --- | --- | ---
{volist name="data" id="vo"}
{$vo.title} | {$vo.media_id} | {$vo.create_time} |
{/volist}

{$data->render()|raw} {/case} {case value="image"}

{volist name="data" id="v"}
{/volist}

{$data->render()|raw} {/case} {case value="video"}

视频名称 | 媒体 ID | 创建时间 | 操作
--- | --- | --- | ---
{volist name="data" id="vo"}
{$vo.title} | {$vo.media_id} | {$vo.create_time} |
{/volist}

{$data->render()|raw} {/case} {/switch}
{/block}