whole_func_string: function(callback){
      //表情库
      var faces = function(){
        var alt = ["[微笑]", "[嘻嘻]", "[哈哈]", "[可爱]", "[可怜]", "[挖鼻]", "[吃惊]", "[害羞]", "[挤眼]", "[闭嘴]", "[鄙视]", "[爱你]", "[泪]", "[偷笑]", "[亲亲]", "[生病]", "[太开心]", "[白眼]", "[右哼哼]", "[左哼哼]", "[嘘]", "[衰]", "[委屈]", "[吐]", "[哈欠]", "[抱抱]", "[怒]", "[疑问]", "[馋嘴]", "[拜拜]", "[思考]", "[汗]", "[困]", "[睡]", "[钱]", "[失望]", "[酷]", "[色]", "[哼]", "[鼓掌]", "[晕]", "[悲伤]", "[抓狂]", "[黑线]", "[阴险]", "[怒骂]", "[互粉]", "[心]", "[伤心]", "[猪头]", "[熊猫]", "[兔子]", "[ok]", "[耶]", "[good]", "[NO]", "[赞]", "[来]", "[弱]", "[草泥马]", "[神马]", "[囧]", "[浮云]", "[给力]", "[围观]", "[威武]", "[奥特曼]", "[礼物]", "[钟]", "[话筒]", "[蜡烛]", "[蛋糕]"], arr = {};
        layui.each(alt, function(index, item){
          arr[item] = layui.cache.dir + 'images/face/'+ index + '.gif';
        });
        return arr;
      }();
      face.hide = face.hide || function(e){
        if($(e.target).attr('layedit-event') !== 'face'){
          layer.close(face.index);
        }
      }
      return face.index = layer.tips(function(){
        var content = [];
        layui.each(faces, function(key, item){
          content.push('<li title="'+ key +'"><img src="'+ item +'" alt="'+ key +'"></li>');
        });
        return '<ul class="layui-clear">' + content.join('') + '</ul>';
      }(), this, {
        tips: 1
        ,time: 0
        ,skin: 'layui-box layui-util-face'
        ,maxWidth: 500
        ,success: function(layero, index){
          layero.css({
            marginTop: -4
            ,marginLeft: -10
          }).find('.layui-clear>li').on('click', function(){
            callback && callback({
              src: faces[this.title]
              ,alt: this.title
            });
            layer.close(index);
          });
          $(document).off('click', face.hide).on('click', face.hide);
        }
      });
    }
func_code_string: function(callback){
      //表情库
      var faces = function(){
        var alt = ["[微笑]", "[嘻嘻]", "[哈哈]", "[可爱]", "[可怜]", "[挖鼻]", "[吃惊]", "[害羞]", "[挤眼]", "[闭嘴]", "[鄙视]", "[爱你]", "[泪]", "[偷笑]", "[亲亲]", "[生病]", "[太开心]", "[白眼]", "[右哼哼]", "[左哼哼]", "[嘘]", "[衰]", "[委屈]", "[吐]", "[哈欠]", "[抱抱]", "[怒]", "[疑问]", "[馋嘴]", "[拜拜]", "[思考]", "[汗]", "[困]", "[睡]", "[钱]", "[失望]", "[酷]", "[色]", "[哼]", "[鼓掌]", "[晕]", "[悲伤]", "[抓狂]", "[黑线]", "[阴险]", "[怒骂]", "[互粉]", "[心]", "[伤心]", "[猪头]", "[熊猫]", "[兔子]", "[ok]", "[耶]", "[good]", "[NO]", "[赞]", "[来]", "[弱]", "[草泥马]", "[神马]", "[囧]", "[浮云]", "[给力]", "[围观]", "[威武]", "[奥特曼]", "[礼物]", "[钟]", "[话筒]", "[蜡烛]", "[蛋糕]"], arr = {};
        layui.each(alt, function(index, item){
          arr[item] = layui.cache.dir + 'images/face/'+ index + '.gif';
        });
        return arr;
      }();
      face.hide = face.hide || function(e){
        if($(e.target).attr('layedit-event') !== 'face'){
          layer.close(face.index);
        }
      }
      return face.index = layer.tips(function(){
        var content = [];
        layui.each(faces, function(key, item){
          content.push('<li title="'+ key +'"><img src="'+ item +'" alt="'+ key +'"></li>');
        });
        return '<ul class="layui-clear">' + content.join('') + '</ul>';
      }(), this, {
        tips: 1
        ,time: 0
        ,skin: 'layui-box layui-util-face'
        ,maxWidth: 500
        ,success: function(layero, index){
          layero.css({
            marginTop: -4
            ,marginLeft: -10
          }).find('.layui-clear>li').on('click', function(){
            callback && callback({
              src: faces[this.title]
              ,alt: this.title
            });
            layer.close(index);
          });
          $(document).off('click', face.hide).on('click', face.hide);
        }
      });
    }
func_documentation_string: iframe初始化