| | |
| | | <li |
| | | class="order-book-item asks" |
| | | style="" |
| | | v-for="(item, index) in orderBookType === 'sell' |
| | | ? sellList.slice(0, 7) |
| | | : sellList.slice(0, 7)" |
| | | v-for="(item, index) in sellList.slice(0, 7)" |
| | | :key="'a' + index" |
| | | @click="changeClickData(item)" |
| | | > |
| | |
| | | </div> |
| | | <li |
| | | class="order-book-item bids" |
| | | v-for="(item, index) in orderBookType === 'buy' |
| | | ? buyList.slice(0, 7) |
| | | : buyList.slice(0, 7)" |
| | | v-for="(item, index) in buyList.slice(0, 7)" |
| | | :key="'x' + index" |
| | | @click="changeClickData(item)" |
| | | > |
| | |
| | | <div style="height: 150px; overflow-y: scroll"> |
| | | <li |
| | | class="order-book-item asks" |
| | | v-for="(item, index) in recentList.slice(0,7)" |
| | | v-for="(item, index) in recentList.slice(0, 7)" |
| | | :key="'a' + index" |
| | | @click="changeClickData(item)" |
| | | > |