📄 js.js
字号:
var Se_Hidden_Div = '';
Se_Hidden_Div = '<div id="HiddenDiv" style="display:none; z-index:999;left:855px; top:71px; width:65px; height:60px; position:absolute; border:solid 1px #A3BFE7; background-color:#F0F9FF;"><span style="width:65px; height:20px; text-align:center; line-height:20px; cursor:hand;" onclick="Hidden_DivAValue(\'Title\',\'产品标题\');">产品标题<\/span><br><span style="width:65px; height:20px; text-align:center; line-height:20px; cursor:hand;" onclick="Hidden_DivAValue(\'Content\',\'产品说明\');">产品说明<\/span><br></div>';
document.write(Se_Hidden_Div);
//选择值并且关闭隐藏层
function Hidden_DivAValue(Types,NameStr)
{
if (Types == '' || NameStr == '')
{
return;
}
else
{
$('Setype').value = '搜索类型';
$('SeTypeTxt').value = Types;
$('Setype').value = NameStr;
$('HiddenDiv').style.display = 'none';
}
}
//显示隐藏层
function Dis_HiddenDiv()
{
$('HiddenDiv').style.display = '';
}
//用户登陆切换
//提交搜索表单
function Fun_Se_Form()
{
var KeyStr = document.Search_form.KeyWords.value;
var Se_Type = document.Search_form.SeTypeTxt.value;
if (KeyStr == '')
{
alert('搜索关键字不能为空!');
return;
}
if (Se_Type == '')
{
alert('请选择搜索类型!');
return;
}
document.Search_form.submit();
}
//登陆
function CheckLogin(FormName,Obj)
{
if (Obj == 'Login')
{
var NameStr = '';
var PassStr = '';
if (FormName == 'Web_Login_Form')
{
NameStr = document.Web_Login_Form.name.value;
PassStr = document.Web_Login_Form.password.value;
}
else if (FormName == 'User_Login_Form')
{
NameStr = document.User_Login_Form.UserName.value;
PassStr = document.User_Login_Form.SN.value;
}
else if (FormName == 'DL_Login_Form')
{
NameStr = document.DL_Login_Form.UserName.value;
PassStr = document.DL_Login_Form.SN.value;
}
else
{
return;
}
if (NameStr == '' || PassStr == '')
{
alert('用户名或者密码不能为空,请填写完整');
return;
}
else
{
if (FormName == 'Web_Login_Form')
{
document.Web_Login_Form.submit();
}
else if (FormName == 'User_Login_Form')
{
document.User_Login_Form.submit();
}
else if (FormName == 'DL_Login_Form')
{
document.DL_Login_Form.submit();
}
}
}
else if (Obj == 'Reset')
{
if (FormName == 'User_Login_Form')
{
document.User_Login_Form.reset();
}
else if (FormName == 'DL_Login_Form')
{
document.DL_Login_Form.reset();
}
else
{
return;
}
}
}
//代理商名单
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -