From bbfe8b987680b34ef21233d14aca49b906833ff0 Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.7.127> Date: 星期五, 18 一月 2019 15:14:05 +0800 Subject: [PATCH] 显示返回顶部 --- gx_tieta/WebRoot/mobil/homeList.html | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/homeList.html b/gx_tieta/WebRoot/mobil/homeList.html index ad77d04..5516dd1 100644 --- a/gx_tieta/WebRoot/mobil/homeList.html +++ b/gx_tieta/WebRoot/mobil/homeList.html @@ -20,7 +20,7 @@ </div> <div data-role="content"> <div class="home-search-input-container"> - <input type="text" data-type="search" name="search" id="searchInput" placeholder="鎼滅储鏈烘埧鍚嶇О鍏抽敭瀛�..." autofocus="autofocus"> + <input type="text" data-type="search" name="search" id="searchInput" placeholder="璇疯緭鍏ユ満鎴垮悕绉板叧閿瓧..." autofocus="autofocus"> </div> <div id="battList"></div> </div> @@ -40,6 +40,20 @@ setTimeout(function() { findHome(); // 鏌ヨ鎵�鏈夌殑鏈烘埧 }, 10); + + //鍥哄畾鍧� + layui.util.fixbar({ + css: {right: 10, bottom: 10} + ,showHeight: 100 + ,bgcolor: '#393D49' + ,click: function(type){ + if(type === 'bar1'){ + layer.msg('icon鏄彲浠ラ殢渚挎崲鐨�') + } else if(type === 'bar2') { + layer.msg('涓や釜bar閮藉彲浠ヨ瀹氭槸鍚﹀紑鍚�') + } + } + }); }); // 鐐瑰嚮鏈烘埧浜嬩欢 -- Gitblit v1.9.1