dever 6 năm trước cách đây
mục cha
commit
006a3ef11c
1 tập tin đã thay đổi với 9 bổ sung4 xóa
  1. 9 4
      h5/assets/mobile/article.html

+ 9 - 4
h5/assets/mobile/article.html

@@ -132,14 +132,14 @@
       <div class='title'><span>相关推荐</span></div>
       <div class="recommends-list">
         <{loop($relation):}>
-        <div class='article clearfix'>
+        <div class='article clearfix' style="cursor: pointer;" onclick="getUrl('<{Dever::url('view.get?type=' . $type . '&id=' . $v2['id'], 'h5')}>')">
           <div class='cover'>
-            <a href="<{Dever::url('view.get?type=' . $type . '&id=' . $v2['id'], 'h5')}>"><img class='default' src="<{$v2['pic_cover']}>" /></a>
+            <img class='default' src="<{$v2['pic_cover']}>" />
             <div class='ico-play'></div>
           </div>
-          <div class='tit'><a href="<{Dever::url('view.get?type=' . $type . '&id=' . $v2['id'], 'h5')}>"><span>
+          <div class='tit'><span>
               <{$v2['name']}>
-            </span></a></div>
+            </span></div>
           <div class='date'>
             <!-- <span class='type'>{{item.author_name}}</span> -->
             <span class='d'><{$v2['cate_name']}> <{$v2['pdate']}></span>
@@ -178,6 +178,11 @@
 
 
 <script>
+
+  function getUrl(url)
+  {
+    location.href= url;
+  }
   var playerList = {};
 
   function stopPlayers(id) {