File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,22 +56,23 @@ function generateDescription( coin_data ) {
5656 </script >
5757
5858<template >
59- <div >
60- <table >
61- <tr v-for =" coin_data in coins_list" >
62- <td class =" image" :data-id =" coin_data[0]" ><img :src =" arrayBufferToBase64(coin_data[1])" ></td >
63- <td class =" data" >
64- <div class =" title" >
65- {{ coin_data[2] }}  ;
66- </div >
67- <div class =" description" >
68- {{ generateDescription(coin_data).join(', ') }}  ;
69- </div >
70- </td >
71- <td >{{ coin_data[3] }}</td >
72- </tr >
73- </table >
74- </div >
59+ <v-container >
60+ <v-list lines =" two" >
61+ <v-list-item
62+ v-for =" coin in coins_list"
63+ :key =" coin[0]"
64+ :subtitle =" generateDescription(coin).join(', ')"
65+ :title =" coin[2]"
66+ >
67+ <template v-slot :prepend >
68+ <v-img :src =" arrayBufferToBase64(coin[1])" :width =" 100" />
69+ </template >
70+ <template v-slot :append >
71+ {{ coin[3] }}
72+ </template >
73+ </v-list-item >
74+ </v-list >
75+ </v-container >
7576</template >
7677
7778<style scoped>
You can’t perform that action at this time.
0 commit comments