Commit 32daf0ed8089fd75d41dea45ead5637cfca99a94
1 parent
d3aefa97
订单消息
Showing
1 changed file
with
6 additions
and
1 deletions
src/components/orderMessage/index.vue
@@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
41 | <li v-for="item in list" ref="rollul" :class="{anim:animate==true}"> | 41 | <li v-for="item in list" ref="rollul" :class="{anim:animate==true}"> |
42 | <div :title="item.orderId">{{item.orderId}}</div> | 42 | <div :title="item.orderId">{{item.orderId}}</div> |
43 | <div :title="item.plName">{{item.plName}}</div> | 43 | <div :title="item.plName">{{item.plName}}</div> |
44 | - <div :title="item.orderActFee">{{item.orderActFee|common.formatMoney}}</div> | 44 | + <div :title="item.orderActFee">{{item.orderActFee|formatMoney}}</div> |
45 | </li> | 45 | </li> |
46 | </ul> | 46 | </ul> |
47 | </div> | 47 | </div> |
@@ -86,6 +86,11 @@ | @@ -86,6 +86,11 @@ | ||
86 | that.animate = !that.animate; // 这个地方如果不把animate 取反会出现消息回滚的现象,此时把ul 元素的过渡属性取消掉就可以完美实现无缝滚动的效果了 | 86 | that.animate = !that.animate; // 这个地方如果不把animate 取反会出现消息回滚的现象,此时把ul 元素的过渡属性取消掉就可以完美实现无缝滚动的效果了 |
87 | }, 0) | 87 | }, 0) |
88 | } | 88 | } |
89 | + }, | ||
90 | + filters:{ | ||
91 | + formatMoney: function (value) { | ||
92 | + return (value/100).toFixed(2)+' 元' | ||
93 | + } | ||
89 | } | 94 | } |
90 | } | 95 | } |
91 | </script> | 96 | </script> |