01.
02.
03.
<script type==“text/javascript” src=“https://osshead.interface003.com/headfoot/fxeye/Content/js/tradersearch.js?id=div_jiaoyishang&width=350px&height=30px&buttomwidth=50px&border=1px&color=#f4c830&key=5x2102f96wq6&ts=” + Math.random()=Math.random()></script>
01.
02.
03.
04.
05.
06.
07.
08.
09.
10.
11.
12.
13.
14.
15.
16.
<script type=“text/javascript”>
var fx = new Object();
fx.id=“div_jiaoyishang”;
fx.width=“350px”;
fx.height=“30px”;
fx.buttomwidth=“50px”;
fx.border=“1px”;
fx.color=“#f4c830”;
fx.key=“5x2102f96wq6”;//设置合作码,与客服联系后填写。注:私自修改无效
var script=document.createElement(“script”);
script.type=“text/javascript”;
script.src=“//osshead.interface003.com/headfoot/fxeye/Content/js/tradersearch.js?id=”+ fx.id
+“&border=“+fx.border+”&color=“+fx.color+”&ts=” + Math.random();
document.getElementsByTagName(‘body’)[0].appendChild(script);
</ script>
Parameter Name
Parameter Type
是否必填
參數說明
id
String
是
指定輸入框再哪個位置生成,即第二步創建的那個div的id
width
String
否
Configure the total width of the search box, namely the container width
height
String
否
設置總高度
buttomwidth
String
否
Width of the button on the left, used to adjust the input box and buttons
border
String
否
搜索框的邊框粗細,可根據輸入框的整體大小設置
color
String
否
背景顏色
key
String
否
Unique ID assigned to customer (open source version has the same features except for the exclusive logo)