dever 4 years ago
parent
commit
c221c3c00c
1 changed files with 27 additions and 22 deletions
  1. 27 22
      main/template/xuniren/home.php

+ 27 - 22
main/template/xuniren/home.php

@@ -27,18 +27,20 @@ $view
         (
             'href' => '$v.link',
             'title' => '$v.name',
-        ),
 
-        'img' => array
-        (
-            'src' => '$v.pic',
-            'alt' => '$v.name',
-        ),
+            'img' => array
+            (
+                'src' => '$v.pic',
+                'alt' => '$v.name',
+            ),
 
-        'span' => array
-        (
-            'html' => '$v.name ."<br/>". $v.desc',
+            'span' => array
+            (
+                'html' => '$v.name ."<br/>". $v.desc',
+            ),
         ),
+
+        
     )
 )
 
@@ -194,7 +196,7 @@ $view
 # 视频
 ->fetch('.videoposter img@src', 'main/content.home_video_first#pic')
 ->fetch('.videoplayer img@src', 'main/content.home_video_first#pic')
-->fetch(array('.icon-play@data-vid=', 0), 'main/content.home_video_first#video_id')
+->fetch(array('.icon-play@data-url', 0), 'main/content.home_video_first#video_link')
 
 ->loop
 (
@@ -253,24 +255,27 @@ $view
             'src' => '$v.small_pic',
             'alt' => '$v.name',
         ),
-
-        'a|0' => array
+        'a' => array
         (
             'href' => '$v.link',
             'title' => '$v.name',
-            'html' => '$v.name ."<br/>". $v.desc',
-        ),
-        
+            'h3' => array
+            (
+                'html' => '$v.name ."<br/>". $v.desc',
+            ),
+            
 
-        'p' => array
-        (
-            'html' => '$v.info',
-        ),
+            'p' => array
+            (
+                'html' => '$v.info',
+            ),
 
-        'span' => array
-        (
-            'html' => '$v.pdate_s',
+            'span' => array
+            (
+                'html' => '$v.pdate_s',
+            ),
         ),
+        
     )
 )
 ->fetch(array('.common-tit@style', 4), 'main/content.home_act', 'none')