修改前后的src地址,注意看下不同:
01 | //修改前 |
02 | { |
03 | tag: 'img' , |
04 | id: 'icon' , |
05 | position: { |
06 | top: '22px' , |
07 | left: '21px' , |
08 | width: '30px' , |
09 | height: '30px' |
10 | }, |
11 | src: 'images/icon_scan.png' |
12 | } |
13 |
14 | //修改后 |
15 | { |
16 | tag: 'img' , |
17 | id: 'icon' , |
18 | position: { |
19 | top: '22px' , |
20 | left: '21px' , |
21 | width: '30px' , |
22 | height: '30px' |
23 | }, |
24 | src: '_www/images/icon_scan.png' |
25 | } |