Browse Source

H5-添加商品到购物车

panyong 3 years ago
parent
commit
864b95fdbf
1 changed files with 1 additions and 1 deletions
  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>
       <div class="footer">
       <div class="footer">
         <div class="price">
         <div class="price">
-          <span class="now">¥{{ price | fen2Yuan }}</span>
+          <span class="now">¥{{ price * food.count | fen2Yuan }}</span>
         </div>
         </div>
         <transition name="fade">
         <transition name="fade">
           <div
           <div