wangkaiyue 2 years ago
parent
commit
01a41fc6d4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/web/templates/site/page/jySchool/index.html

+ 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}}