dever 6 years ago
parent
commit
5f16ac35ed
2 changed files with 2 additions and 3 deletions
  1. 0 1
      web/page/origin.py
  2. 2 2
      web/templates/mobile/origin/index.html

+ 0 - 1
web/page/origin.py

@@ -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")
 

+ 2 - 2
web/templates/mobile/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>
     </section>