rabin пре 7 година
родитељ
комит
0e6b83fda8
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      web/templates/index.html

+ 3 - 1
web/templates/index.html

@@ -15,8 +15,10 @@
 	    <div class="block product">
 	    	<h2 class="block-title">产品功能</h2>
 	    	<ul>
+                {%set i=1 %}
                 {% for v in data['function'] %}
-	    		<li><a href="{{v['link']}}"><i class="icon icon1"></i><p>{{v['name']}}</p></a></li>
+	    		<li><a href="{{v['link']}}"><i class="icon icon{{i}}"></i><p>{{v['name']}}</p></a></li>
+                {%set i=i+1 %}
 	    		{% end %}
 	    	</ul>
 	    </div>