' + _lr_row_title + '
';
break;
case "1"://鏂囨湰
strFormHeadText += '
' + _lr_row_title + "
";
break;
case "2"://input
strFormBodyHtml += '
' + _lr_row_title + '' + (_lr_row_req == "1" ? "*" : "") + '';
var _lr_input_check = "";
if (_lr_row_id == "fname") {
_lr_input_check = 'maxlength="20"';
}
else if (_lr_row_id == "fage") {
_lr_input_check = 'maxlength="10" onkeyup="value=value.replace(/[^\\d]/g,\'\')" ';
}
else if (_lr_row_id == "fqq") {
_lr_input_check = 'maxlength="20" onkeyup="value=value.replace(/[^\\d]/g,\'\')" ';
}
else if (_lr_row_id == "fwechat") {
_lr_input_check = 'maxlength="50"';
}
else if (_lr_row_id == "fmobile") {
_lr_input_check = 'maxlength="11" onkeyup="value=value.replace(/[^\\d]/g,\'\')" ';
}
else if (_lr_row_id == "ftel") {
_lr_input_check = 'maxlength="50" onkeyup="value=value.replace(/[^0-9|-]/g,\'\')" ';
}
else {
_lr_input_check = 'maxlength="100"';
}
strFormBodyHtml += '';
strFormBodyHtml += '
';
break;
case "3"://textarea
strFormBodyHtml += '
' + _lr_row_title + '' + (_lr_row_req == "1" ? "*" : "") + '';
strFormBodyHtml += '';
strFormBodyHtml += '
';
break;
case "4"://select
strFormBodyHtml += '
' + _lr_row_title + '' + (_lr_row_req == "1" ? "*" : "") + '';
strFormBodyHtml += '
";
break;
case "5"://checkbox
strFormBodyHtml += '
' + _lr_row_title + '';
strFormBodyHtml += '
';
var strSelectData = _lr_row_value.split("|");
for (var j = 0; j < strSelectData.length; j++) {
strFormBodyHtml += '';
}
strFormBodyHtml += '
';
strFormBodyHtml += '
';
break;
case "6"://radio
strFormBodyHtml += '
' + _lr_row_title + '';
strFormBodyHtml += '
';
var strSelectData = _lr_row_value.split("|");
for (var j = 0; j < strSelectData.length; j++) {
strFormBodyHtml += '';
}
strFormBodyHtml += '
';
strFormBodyHtml += '
';
break;
default:
break;
}
}
var _sub_c = _lr_check(lr_data[0].info.style.button.b_submit_c);
var _sub_w_c = _lr_check(lr_data[0].info.style.button.b_submit_word_c);
var _sub_w = _lr_check(lr_data[0].info.style.button.b_submit_word);
var _clo_c = _lr_check(lr_data[0].info.style.button.b_close_c);
var strBottomBG = "";
if (lr_strBottomBG_color)
strBottomBG += "background-color:" + lr_strBottomBG_color + ";";
if (lr_strBottomBG_url)
strBottomBG += "background: url(" + lr_strBottomBG_url + ") no-repeat left;background-size: 100% 100%;";
strFormBottomHtml += '
';
strFormBottomHtml += '
' + decodeURIComponent(_sub_w) + '
';
strFormBottomHtml += '
';
strFormCloseHtml = "
X";
var strBodyBg = "";
if (lr_strBodyBG_color)
strBodyBg += "background-color:" + lr_strBodyBG_color + ";";
if (lr_strBodyBG_url)
strBodyBg += "background: url(" + lr_strBodyBG_url + ") no-repeat left;background-size: 100% 100%;";
if (strFormCloseHtml.length == 0)
strFormCloseHtml = "
X";
strFornHeadHtml += strFormHeadText + '
' + '