查看网页的源代码有用吗?
哪里可以查看js源码?
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>系统设置</title>
<script src="js/jquery-1.12.4.js"></script>
<script src="js/jquery-ui.js"></script>
<link rel="stylesheet" href="css/jquery-ui.css">
<script src="js/json2.js"></script>
<script src="js/setGuidingHtml.js"></script>
<link rel="stylesheet" href="css/setGuidingHtml.css">
<script type="text/javascript">
var arrBaundRate=new Array(1200,2400,4800,9600,14400,19200,38400,56000,57600,115200,128000,256000);
var arrProvience=new Array("京","津","冀","晋","蒙","辽","吉","黑","沪","苏","浙","皖","闽","赣",
"鲁","豫","鄂","湘","粤","桂","琼","渝","川","贵","云","藏","陕","甘","青","宁","新","港","澳");
var g_minVolume = 0;
var g_maxVolume = 100;
var g_lastPageIndex = 1;
var g_totalWhteNamesPages = 0;
var g_lastWhiteNames = undefined;
var g_curPageWhiteListNumbers = undefined;
var g_currentEditedPlate = undefined;
var g_currentEditType = undefined;
</script>
</head>
<body ondragstart="return false">
<div id = "top"></div>
<div id="divSettingLeadingTabs">
<div id="divMyTabs">
<a onclick="selectTab('wizard',this)" class="mytab active" href="javascript:void(0);">向导</a>
<a onclick="selectTab('mode',this)" class="mytab" href="javascript:void(0);">模式</a>
<a onclick="selectTab('audio',this)" class="mytab" href="javascript:void(0);">音频</a>
<a onclick="selectTab('whiteName',this)" class="mytab" href="javascript:void(0);">白名单</a>
<a onclick="selectTab('inputOutput',this)" class="mytab" href="javascript:void(0);">输入输出</a>
<a onclick="selectTab('serialPort',this)" class="mytab" href="javascript:void(0);">透明串口</a>
<a onclick="selectTab('dataUpload',this)" class="mytab" href="javascript:void(0);">平台对接</a>
</div>
<div id="wizard" style="margin-top:20px;">
<div>
<p>
<label for="radioVideoRecoEnable">视频识别</label>
<label for="radioCoilRecoEnable">线圈识别</label>
</p>
<fieldset>
<legend>车牌校准</legend>
<p>
<label for="checkboxCoilEnable">虚拟线圈识别 </label>
</p>
</fieldset>
<fieldset>
<legend>车牌配置</legend>
<table>
<tr>
<td>默认省份</td>
<td>
<select data-field="reco.provience" id="selectDefaultProvience">
<option value="京">京</option>
<option value="津">津</option>
<option value="冀">冀</option>
<option value="晋">晋</option>
<option value="蒙">蒙</option>
<option value="辽">辽</option>
<option value="吉">吉</option>
<option value="黑">黑</option>
<option value="沪">沪</option>
<option value="苏">苏</option>
<option value="浙">浙</option>
<option value="皖">皖</option>
<option value="闽">闽</option>
<option value="赣">赣</option>
<option value="鲁">鲁</option>
<option value="豫">豫</option>
<option value="鄂">鄂</option>
<option value="湘">湘</option>
<option value="粤">粤</option>
<option value="桂">桂</option>
<option value="琼">琼</option>
<option value="渝">渝</option>
<option value="川">川</option>
<option value="贵">贵</option>
<option value="云">云</option>
<option value="藏">藏</option>
<option value="陕">陕</option>
<option value="甘">甘</option>
<option value="青">青</option>
<option value="宁">宁</option>
<option value="新">新</option>
<option value="港">港</option>
<option value="澳">澳</option>
</select>
</td>
<td>
<label for="checkboxDrawRecoAreaVideo">在实时视频中显示识别区域</label>
</td>
</tr>
<tr>
<td>相同车牌上报间隔(秒)</td>
<td>
</td>
<td>
<label for="checkboxDrawRecoArea">在抓拍图片中叠加车牌信息</label>
</td>
</tr>
</table>
</fieldset>
</div>
<div>
<fieldset>
<legend>其他选项</legend>
<p>
<label>继电器</label>
<select id="selectOpenGateIndex">
<option value="0">1</option>
<option value="1">2</option>
<option value="2">3</option>
</select>
<label>(500-5000毫秒)</label>
</p>
<p>
<label>O S D </label>
<label>车辆通过方向</label>
<select name="" data-field="park.drive_direction" id="selectDriveDirection">
<option value="0">双向</option>
<option value="1">由上至下</option>
<option value="2">由下至上</option>
</select>
</p>
<p>
<label>控灯模式</label>
<select name="" id="selectCtrlLightMode">
<option value="0">常亮</option>
<option value="1">智能控灯</option>
<option value="2">常闭</option>
<option value="3">线圈闪光</option>
</select>
<label for="checkboxFlashSyncOut1" id = "labelFlashFyncOut1">同步输出out2</label>
</p>
<table id="tableOtherOption">
<tr>
<td width="10%">灯
亮
度</td>
<td width="50%"><div id="light_slider"></div></td>
<td id="show_light_value" style="padding:0 0 0 15px;">1</td>
</tr>
<tr>
<td width="10%">亮度阈值</td>
<td width="50%"><div id="daybrightness_slider"></div></td>
<td id="show_daybrightness_value" style="padding:0 0 0 15px;">60</td>
</tr>
</table>
</fieldset>
</div>
<div style="text-align: center;" class="divFreshSetLeadPage">
</div>
</div>
<div id="mode" style="display:none;margin-top:20px;" >
<div>
<fieldset>
<legend>在线离线模式</legend>
<p>
<label for="radioOnoff_auto">自动模式(主机在线则为在线模式,否则为离线模式)</label>
</p>
<p>
<label for="radioOnoff_online">在线模式(主机控制白名单对比、开闸、语言播报)</label>
</p>
<p>
<label for="radioOnoff_offline">离线模式(相机控制白名单对比、开闸、语言播报)</label>
</p>
</fieldset>
<fieldset>
<legend>车牌匹配</legend>
<p>
<label for="radioAmbiguityMatchBit">模糊比对(位)</label>
<select data-field="park.same_count" id="selectAmbiguityMatchBit">
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<label for="radioAccuracyMatchBit">精确比对</label>
</p>
</fieldset>
<fieldset>
<legend>开闸模式</legend>
<p>
<label for="radioAlarmOut_whitelist">白名单开闸</label>
<label for="radioAlarmOut_vehicle">过车开闸</label>
</p>
</fieldset>
<p>
脱机数据
<label for="checkboxtransferOfflineData">允许上传脱机数据</label>
</p>
</div>
<div style="text-align: center;" class="divFreshSetLeadPage">
</div>
</div>
<div id="audio" style="display:none;margin-top:20px;">
<div>
<table id="tableAudioLevel">
<tr>
<td class="myfStdSliderTdOne">音 量</td>
<td class="myfStdSliderTdTwo"><div id="audioLevel_slider"></div></td>
<td class="myfStdSliderTdThree" id="showAudioLevelvalue">0%</td>
</tr>
</table>
</div>
<div>
<table id="tableAudioList" class="mydefaultTable">
<thead>
<tr>
<td style="font-weight:bold; text-align:center">ID</td>
<td style="font-weight:bold;">音频描述</td>
</tr>
</thead>
<tbody id="audioListTableBody">
</tbody>
</table>
</div>
<div style="text-align: center;" class="divFreshSetLeadPage">
</div>
</div>
<div id="whiteName" style="display:none;margin-top:20px;">
<div style="margin-left:2%">
<p>
<label>搜索</label>
</p>
</div>
<div id="divAddEditWhiteList" style="margin-left:2%">
<p>
<label>车牌号码</label>
<label>有效期止</label>
<button class="close verticalCenter" id="closeWhiteNameEditPane" value="关闭"><span>×</span></button>
</p>
</div>
<div>
<table id="whiteNameList" class="mydefaultTable">
<thead>
<tr>
<!--
<th>车牌号码</th>
<th>过期日期</th>
-->
<td style="font-weight:bold;">车牌号码</td>
<td style="font-weight:bold;">过期日期</td>
</tr>
</thead>
<tbody id="whiteNameTableBody">
</tbody>
</table>
</div>
<div>
<p id = "pWhiteListControls">
<a href="#" id="prevPage">上一页</a>
<label id="pagePosition">0/0</label>
<a href="#" id="nextPage">下一页</a>
<label>转到</label>
<select id="selectCurrentPage"></select>
<label>页</label>
<button id="clearWhiteName" class="myButton verticalCenter">清空</button>
<button id="addWhiteName" class="myButton verticalCenter">添加</button>
</p>
</div>
<div style="text-align: center;" class="divFreshSetLeadPage">
</div>
</div>
<div id="inputOutput"
style="display:none;margin-top:20px;">
<div>
<fieldset>
<legend>GPIO输入触发相机</legend>
<p>
<label for="checkboxGPIOIn1">IN1</label>
<label for="checkboxGPIOIn2">IN2</label>
<label for="checkboxGPIOIn3">IN3</label>
</p>
</fieldset>
</div>
<div>
</div>
</div>
<div id="serialPort" style="display:none;margin-top:20px;">
<div>
<table id="tableSerialData">
<tr>
<td>
<fieldset id = "fieldsetSerialData">
<legend>串口数据</legend>
<textarea id="textareaSerialData"></textarea>
</fieldset>
</td>
<td>
<fieldset
id="fieldsetSerialSet">
<legend>串口设置</legend>
<ul>
<li>
<label>串口号</label>
<select id="selectSerialPortIndex">
<option selected>1</option>
<option >2</option>
<option >3</option>
<option >4</option>
</select>
</li>
<li>
<label>波特率</label>
<select id="selectBaundRate">
<option value="1200">1200</option>
<option value="2400">2400</option>
<option value="4800">4800</option>
<option value="9600">9600</option>
<option value="14400">14400</option>
<option value="19200" selected>19200</option>
<option value="38400">38400</option>
<option value="56000">56000</option>
<option value="57600">57600</option>
<option value="115200">115200</option>
<option value="128000">128000</option>
<option value="256000">256000</option>
</select>
</li>
<li>
<label>停止位</label>
<select id="selectStopBits">
<option value="1" selected>1</option>
<option value="2">2</option>
</select>
</li>
<li>
<label>数据位</label>
<select id="selectDataBits">
<option value="1">5</option>
<option value="2">6</option>
<option value="3">7</option>
<option value="4" selected>8</option>
</select>
</li>
<li>
<label>校验位</label>
<select id="selectParity" value="0">
<option value="0" selected>none</option>
<option value="1">odd</option>
<option value="2">even</option>
<option value="3">mark</option>
<option value="4">space</option>
</select>
</li>
</ul>
</fieldset>
</td>
</tr>
<tr
style="height:30%;">
<td
style="height:100%">
<fieldset
style="height:100px">
<legend>发送数据(十六进制 格式:ff 0 51 0 0 0 0 51)</legend>
</fieldset>
</td>
<td>
</td>
</tr>
</table>
</div>
<div style="text-align: center;"
class="divFreshSetLeadPage">
</div>
</div>
<div id="dataUpload" style="display:none;margin-top:20px;">
<div id="tabsPlatformDocking">
<ul>
<li><a href="#tabsDataUpload">数据上传</a></li>
<li><a href="#tabsCentralServer">中心服务器</a></li>
</ul>
<div id="tabsDataUpload">
<p></p>
<fieldset>
<legend>点位信息</legend>
<table>
<tr>
<td>点位编号</td>
<td></td>
</tr>
<tr>
<td>方向编号</td>
<td></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend>数据上传方式</legend>
<p>
<lable for="checkbox_tcp_enable">TCP</label>
</p>
<table>
<tr>
<td>服务器IP</td>
<td></td>
</tr>
<tr>
<td>服务器端口</td>
<td></td>
</tr>
</table>
</fieldset>
</div>
<div id="tabsCentralServer">
<p></p>
<div>
<table id="tableCentralServer">
<tr>
<td>服务器地址</td>
<td></td>
</tr>
<tr>
<td>端口</td>
<td></td>
</tr>
<tr>
<td>SSL连接</td>
<td>
<label for="checkboxEnableSsl">开启</label>
</td>
</tr>
<tr>
<td>SSL端口</td>
<td></td>
</tr>
<tr>
<td>超时时间(s)</td>
<td></td>
</tr>
<tr>
<td>设备注册</td>
<td>
<label for="checkboxEnableReg">开启</label>
</td>
</tr>
<tr>
<td>URL地址</td>
<td></td>
</tr>
<tr>
<td>推送车牌识别结果</td>
<td>
<label for="checkboxPostVehicle">开启</label>
</td>
</tr>
<tr>
<td>URL</td>
<td></td>
</tr>
<tr>
<td>内容详细等级</td>
<td>
<select id="selectVehicleLevel" data-field="http.vehicle_level">
<option>全部</option>
<option>较详细</option>
<option>较简略</option>
<option>简略</option>
</select>
</td>
</tr>
<tr>
<td>发送图片</td>
<td>
<label for="checkboxEnableImg">开启</label>
</td>
</tr>
<tr>
<td>发送小图片</td>
<td>
<label for="checkboxEnablePlateImg">开启</label>
</td>
</tr>
</table>
</div>
</div>
</div>
<div style="text-align: center;"
class="divFreshSetLeadPage">
</div>
</div>
</div>
<script src="js/datetime.js"></script>
<div id = "bot"></div>
</body>
</html>
[此贴子已经被作者于2023-8-30 19:46编辑过]