wangkaiyue 2 жил өмнө
parent
commit
01a41fc6d4

+ 2 - 2
src/web/templates/site/page/jySchool/index.html

@@ -72,8 +72,8 @@
                 <span class="expired">已过期</span>
                 {{else}}
                   {{if $v.isDiscount}}
-                    {{if  $v.discountPrice }}
-                    <span class="hot-price">免费{{$v.discountPrice}}</span>
+                    {{if eq $v.discountPrice 0.0}}
+                    <span class="hot-price">免费</span>
                     {{else}}
                     <span class="hot-price" style="font-size:18px;line-height: 28px;"><em style="font-size:12px;line-height: 18px;">¥</em>{{Division $v.discountPrice 100}}</span>
                     {{end}}