code: function (resourceName, moduleName, needCombo) {
      // 默认为当前页面的css名称
      var cssName = path.basename(ViewHelper.tpl,  path.extname(ViewHelper.tpl));
      needCombo = (_.isNull(needCombo) || _.isUndefined(needCombo)) ? true : needCombo;
      if (!moduleName || (moduleName === ViewHelper.config.module)) {
        moduleName = ViewHelper.config.module;
      }
      if (!ViewHelper.mapJson.include[ViewHelper.tpl]) {
        ViewHelper.mapJson.include[ViewHelper.tpl] = {
          'css': [],
          'js': []
        };
      }
      
      if (resourceName) {
        // 必须为css
        if (!Util.regexps.css.test(resourceName)) {
          return;
        }
        var cssDirReg = /^\/{0,}css\/(.*)/;
        var match = resourceName.match(cssDirReg);
        if (match !== null) {
          resourceName = match[1];
        }
        cssName = resourceName.replace(path.extname(resourceName), '');
      }
      ViewHelper.mapJson.include[ViewHelper.tpl].css.push({
        name: cssName + '.css',
        module: moduleName
      });
      var linkText = '';
      var cssUrl = 'css/' + cssName + '.css';
  
      cssUrl = '/' + moduleName + '/' + cssUrl;
      if (ViewHelper.config.useShtml && needCombo) {
        if (needCombo === 'inline') {
          linkText = '<link rel="stylesheet" type="text/css" href="' + cssUrl + '" combo-use inline>';
        } else {
          linkText = '<link rel="stylesheet" type="text/css" href="' + cssUrl + '" combo-use>';
        }
      } else {
        linkText = '<link rel="stylesheet" type="text/css" href="' + cssUrl + '">';
      }
  
      return linkText;
    }
docs: 输出样式表链接