123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?php
- $view
- ->set('name', 'list')
- ->import('inc/head')
- ->fetch(array('.title', 0), 'service/base.config#title')
- ->fetch('.logo@style', 'service/base.config#bglogo')
- ->fetch('.logo', 'service/base.config#name')
- ->fetch('.info-txt', 'service/base.config#desc')
- //->fetch('.richtext', 'service/base.config#code_desc')
- # 循环
- ->loop
- (
- '.item',
- 'service/buy.lists',
- array
- (
- 'h2' => '$v.name',
- '.price' => '$v.price',
- '.num' => '$v.ding',
- 'img' => array
- (
- 'src' => '$v.pic_gd',
- ),
- '.button' => array
- (
- 'onclick' => 'pay(\'<{$v.pay_url}>\')',
- )
-
- )
- )
- ->loop
- (
- '.item2',
- 'service/buy.lists_code',
- array
- (
- 'img' => array
- (
- 'src' => '$v.pic_gd',
- ),
- 'h2' => '$v.name',
- '.code' => '$v.code_string',
- '.opposite' => array
- (
- 'node-pic' => '$v.code_pic',
- ),
- 'span' => '$v.code',
-
- )
- )
- # 暂无记录
- ->append('body', '<div id="page" dever-page-link="<{Dever::pageInfo()["link"]}>" dever-page-list=".pages"></div>')
- ->import('inc/foot')
- ->display();
|