zhengjinyi 11 months ago
parent
commit
aaa79273f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/templates/product/detail.html

+ 1 - 1
src/main/resources/templates/product/detail.html

@@ -112,7 +112,7 @@
                                 <em v-if="priceObj.actStatus==1 && promotions && promotions.type==1 && promotions.mode==1" class="p">
                                     <del v-text="'¥'+parseFloat(priceObj.originalPrice).toFixed(2)"></del>
                                 </em>
-                                <em v-else class="p price">¥{{ priceObj.price | NumFormat }}</em>
+                                <em v-else class="p price" v-text="'¥'+priceObj.price.toFixed(2)"></em>
                             </template>
                             <!--隐藏价格 -->
                             <em v-else>¥<i th:attr="class=${'icon mIcon i'+product.priceGrade}"></i></em>