chao 4 years ago
parent
commit
6325f66c2d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/templates/product/detail.html

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

@@ -40,7 +40,7 @@
             </div>
             <div class="detailBox" th:object="${product}">
                 <div class="crumbs">
-                    <span>所属分类:{{ productTypeName }}</span>
+                    <span v-text="'所属分类:'+productTypeName"></span>
                 </div>
                 <div class="Beautyfair">
                     <span class="tag" v-if="beautyActFlag==1">美博会</span>
@@ -72,7 +72,7 @@
                     </div>
                     <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0 && priceObj.normalPrice>0 && ((priceObj.priceFlag==0 && priceObj.userIdentity!=3) || (priceObj.priceFlag==2 && priceObj.userIdentity==2) || (priceObj.userIdentity==3 && priceObj.shopId==GLOBAL_SHOP_ID))">
                         <div class="row"> <span class="l">市场价</span><i>:</i>
-                             <em><del>¥{{priceObj.normalPrice.toFixed(2)}}</del></em>
+                             <em><del v-text="'¥'+priceObj.normalPrice.toFixed(2)"></del></em>
                         </div>
                     </template>
                     <div class="row actStatus" v-if="priceObj.actStatus==1||priceObj.ladderPriceFlag==1" ><span class="l">促销</span><i>:</i>