rabin 7 years ago
parent
commit
afca794b8f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      admin/page/work.py
  2. 1 1
      web/templates/index.html

+ 1 - 1
admin/page/work.py

@@ -18,7 +18,7 @@ class work_path(Load):
 			,height = '600'
 			,search = (('label-1','workdate-time-start','workdate-time-end','farm_id-select-','category_id-select-'), (u'日期范围',u'开始时间',u'截止时间',u'选择农场',u'劳作方式'))
 			,thead = (u'所属农场', u'劳作时间', u'劳作方式', u'劳作地块', u'劳作用量', u'更新时间')
-			,tbody = ('farm','workdate', 'category', 'land', 'amount', 'content', 'cdate')
+			,tbody = ('farm','workdate', 'category', 'land', 'amount', 'cdate')
 			,state = True
 		)
 		self.data['common']['search_farm_id-select-'] = Demeter.config['setting']['farmList']

+ 1 - 1
web/templates/index.html

@@ -11,7 +11,7 @@
         <div class="swiper-container">
             <div class="swiper-wrapper">
                 {% for v in data['focus'] %}
-                <div class="swiper-slide"><a href="{{v['link']}}"><img src="{{v['pic']}}" width="100%"><i class="btn-play"></i></a></div>
+                <div class="swiper-slide"><a href="{{v['link']}}"><img src="{{v['pic']}}" width="100%"></a></div>
                 {% end %}
             </div>
             <div class="swiper-pagination"></div>