瀏覽代碼

H5-添加商品到购物车

panyong 3 年之前
父節點
當前提交
864b95fdbf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      htmldev/dashboard/src/views/sell/food/food.vue

+ 1 - 1
htmldev/dashboard/src/views/sell/food/food.vue

@@ -66,7 +66,7 @@
       </div>
       <div class="footer">
         <div class="price">
-          <span class="now">¥{{ price | fen2Yuan }}</span>
+          <span class="now">¥{{ price * food.count | fen2Yuan }}</span>
         </div>
         <transition name="fade">
           <div