@@ -63,7 +63,6 @@ class index_path(Load):
self.data['pic'] = self.service('common').one('device_info', id=self.data['info']['pic_id'])
if self.data['pic']:
self.data['pic']['cdates'] = Demeter.date(self.data['pic']['cdate'], '%Y-%m-%d')
- print self.data['pic']
self.view(self.data['path'] + "origin/index.html")
@@ -35,8 +35,8 @@
<section class="m-wrapper">
<div >
<section class="img-wrap">
- <img src="{{pic['value']}}" width="100%" />
- <p style="display:none;">{{pic['cdates']}}</p>
+ <img src="{{data['pic']['value']}}" width="100%" />
+ <p style="display:none;">{{data['pic']['cdates']}}</p>
</section>
</div>