|  | 
| 3 | 3 |  <div class="main" v-for="(todo, index) in comments"> | 
| 4 | 4 |  <div style="margin-bottom: 15px"> | 
| 5 | 5 |  <div style="display: inline-block"> | 
| 6 |  | - <img :src="header(index)" style="width:35px"> | 
|  | 6 | + <img :src="'http://p00vufmn6.bkt.clouddn.com/image/head/'+header(index)" style="width:35px"> | 
| 7 | 7 |  </div> | 
| 8 | 8 |  <div class="info" style="display: inline-block"> | 
| 9 | 9 |  <span style="font-size: 15px;color: #333;">{{todo.name}}</span><br/> | 
| @@ -45,25 +45,25 @@ export default { | 
| 45 | 45 |  header(index){ | 
| 46 | 46 |  switch(index%10){ | 
| 47 | 47 |  case 0: | 
| 48 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像男孩.png'; | 
|  | 48 | + return '头像男孩.png'; | 
| 49 | 49 |  case 1: | 
| 50 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像女孩.png'; | 
|  | 50 | + return '头像女孩.png'; | 
| 51 | 51 |  case 2: | 
| 52 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像男孩(1).png'; | 
|  | 52 | + return '头像男孩(1).png'; | 
| 53 | 53 |  case 3: | 
| 54 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像女孩(1).png'; | 
|  | 54 | + return '头像女孩(1).png'; | 
| 55 | 55 |  case 4: | 
| 56 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像男孩(2).png'; | 
|  | 56 | + return '头像男孩(2).png'; | 
| 57 | 57 |  case 5: | 
| 58 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像女孩(2).png'; | 
|  | 58 | + return '头像女孩(2).png'; | 
| 59 | 59 |  case 6: | 
| 60 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像男孩(3).png'; | 
|  | 60 | + return '头像男孩(3).png'; | 
| 61 | 61 |  case 7: | 
| 62 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像女孩(3).png'; | 
|  | 62 | + return '头像女孩(3).png'; | 
| 63 | 63 |  case 8: | 
| 64 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像男孩(4).png'; | 
|  | 64 | + return '头像男孩(4).png'; | 
| 65 | 65 |  case 9: | 
| 66 |  | - return 'http://p00vufmn6.bkt.clouddn.com/image/head/头像女孩(4).png'; | 
|  | 66 | + return '头像女孩(4).png'; | 
| 67 | 67 |  } | 
| 68 | 68 |  | 
| 69 | 69 |  } | 
|  | 
0 commit comments