[更新]修改节点过虑

This commit is contained in:
Anyon 2017-04-25 12:00:48 +08:00
parent 511cd20a4f
commit 925e577a94
3 changed files with 19 additions and 15 deletions

View File

@ -1,4 +1,5 @@
<?php <?php
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | Think.Admin // | Think.Admin
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
@ -19,6 +20,8 @@ use think\Request;
* 视图输出过滤 * 视图输出过滤
* Class FilterView * Class FilterView
* @package hook * @package hook
* @author Anyon <zoujingli@qq.com>
* @date 2017/04/25 11:59
*/ */
class FilterView { class FilterView {
@ -53,4 +56,5 @@ class FilterView {
public function cnzz(&$params) { public function cnzz(&$params) {
// @todo CNZZ统计 // @todo CNZZ统计
} }
} }

View File

@ -26,12 +26,12 @@ define(['jquery'], function () {
$(':input[placeholder]').map(function () { $(':input[placeholder]').map(function () {
var self = $(this), txt = self.attr('placeholder'); var self = $(this), txt = self.attr('placeholder');
self.wrap($('<div></div>').css({ self.wrap($('<div></div>').css({
position: 'relative',
zoom: '1', zoom: '1',
margin: 'none',
border: 'none', border: 'none',
background: 'none',
padding: 'none', padding: 'none',
margin: 'none' background: 'none',
position: 'relative',
})); }));
var pos = self.position(), h = self.outerHeight(true), paddingleft = self.css('padding-left'); var pos = self.position(), h = self.outerHeight(true), paddingleft = self.css('padding-left');
var holder = $('<span></span>').text(txt).css({ var holder = $('<span></span>').text(txt).css({