wangkaiyue 2 年之前
父節點
當前提交
01a41fc6d4
共有 1 個文件被更改,包括 2 次插入2 次删除
  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}}