|
@@ -12,49 +12,65 @@
|
|
|
<script charset="utf-8" src="{{Msg "seo" "cdn"}}/js/kindeditor/kindeditor-all.js"></script>
|
|
|
<script charset="utf-8" src="{{Msg "seo" "cdn"}}/js/kindeditor/kinditem.js"></script>
|
|
|
<script src="{{Msg "seo" "cdn"}}/js/validform-min.js"></script>
|
|
|
+<link href="{{Msg "seo" "cdn"}}/css/index-new.css" rel="stylesheet">
|
|
|
+<style>
|
|
|
+ body{
|
|
|
+ background-color:#F0F0F0;
|
|
|
+ }
|
|
|
+ .a-com-active {
|
|
|
+ background-color: rgb(255, 90, 95) !important;
|
|
|
+ }
|
|
|
+ .a-c-right{
|
|
|
+ margin-top:10px;
|
|
|
+ }
|
|
|
+ .a-c-left{
|
|
|
+ width:940px !important;
|
|
|
+ height: 1048px;
|
|
|
+ }
|
|
|
+ .u-title{
|
|
|
+ display: block;
|
|
|
+ height: 45px;
|
|
|
+ font-weight: 700;
|
|
|
+ font-size: 18px;
|
|
|
+ background: rgb(246, 248, 250);
|
|
|
+ width:938px;
|
|
|
+ }
|
|
|
+ .u-title div {
|
|
|
+ border-top: 3px solid rgb(255, 90, 95);
|
|
|
+ width: 120px;
|
|
|
+ height: 45px;
|
|
|
+ line-height: 42px;
|
|
|
+ margin-left: 40px;
|
|
|
+ text-align: center;
|
|
|
+ background: rgb(255, 255, 255);
|
|
|
+ font-size: 13px;
|
|
|
+ }
|
|
|
+ #tips{
|
|
|
+ top:88px !important;
|
|
|
+ left:1px !important;
|
|
|
+ }
|
|
|
+ .tpsc_btnsize{
|
|
|
+ width: 83px !important;
|
|
|
+ top: -25px;
|
|
|
+ padding-top: 2px;
|
|
|
+ background-color: #ccc;
|
|
|
+ border-color: #fff;
|
|
|
+ border-radius: 0px;
|
|
|
+ height: 25px;
|
|
|
+ }
|
|
|
+ .tipAssembly{
|
|
|
+ width: 230px;
|
|
|
+ background-color: #fff !important;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ }
|
|
|
+</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
-{{include "/common/centerhead.html"}}
|
|
|
+{{include "/common/indexhead.html"}}
|
|
|
<div id="entinfobg">
|
|
|
<div class="a-content">
|
|
|
<!--标题-->
|
|
|
- <div id="titleactionimgs" class="row qfw-row">
|
|
|
- <div>
|
|
|
- <h3>
|
|
|
- {{if .T.entinfo.EntName }}
|
|
|
- {{.T.entinfo.EntName}}
|
|
|
- {{end}}
|
|
|
- </h3>
|
|
|
- <!--企业认证图标-->
|
|
|
- {{if .T.entinfo.EntName }}
|
|
|
- {{if .T.entinfo.s_action}}
|
|
|
- {{$identaction:=.T.entinfo.s_action}}
|
|
|
- {{if eq $identaction "01"}}
|
|
|
- <span class="glyphicon qyrz margin-l-10 jhtb"></span> <span style="color:#fff;">已认证企业 </span>
|
|
|
- {{ if .T.entinfo.i_comauthenttype }}
|
|
|
- {{ if eq .T.entinfo.i_comauthenttype 2}}
|
|
|
- <span class="glyphicon mprz margin-r-10 jhtbtype"></span><span class="lineb " ><small style="color:#fff;margin-right:5px;">名片认证</small></span>
|
|
|
- {{else if eq .T.entinfo.i_comauthenttype 1}}
|
|
|
- <span class="glyphicon yyzzrz margin-r-10 jhtbtype"></span><span class="lineb " ><small style="color:#fff;margin-left:3px;margin-right:5px;">营业执照认证</small></span>
|
|
|
- {{else if eq .T.entinfo.i_comauthenttype 3}}
|
|
|
- <span class="glyphicon yjrz margin-r-10 jhtbtype"></span><span class="lineb " ><small style="color:#fff;margin-right:5px;">年报邮箱认证</small></span>
|
|
|
- {{end}}
|
|
|
- {{else}}
|
|
|
- <span class="glyphicon yyzzrz margin-r-10 jhtbtype"></span><span class="lineb " ><small style="color:#fff;margin-left:3px;margin-right:5px;">营业执照认证</small></span>
|
|
|
- {{end}}
|
|
|
- {{else if eq $identaction "02"}}
|
|
|
- <span class="glyphicon grrz margin-l-10 jhtb"></span> <span style="color:#fff;">已认证个人</span>
|
|
|
- {{else if eq $identaction "03"}}
|
|
|
- <span class="glyphicon jgrz margin-l-10 jhtb"></span> <span style="color:#fff;">已认证机构</span>
|
|
|
- {{else}}
|
|
|
- <img src="{{Msg "seo" "cdn"}}/images/ent_authe.png" /> <span style="color:#fff;">企业认证</span>
|
|
|
- {{end}}
|
|
|
- {{end}}
|
|
|
- {{end}}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
+ <div class="a-c-left">
|
|
|
<!--产品服务-->
|
|
|
<div class="row qfw-row qfw-p-margintop">
|
|
|
<div class="col-lg-12 border" id="addModal">
|
|
@@ -63,19 +79,24 @@
|
|
|
<div id="serviceForm">
|
|
|
<form class="validForm form-horizontal addform" method="POST" id="serdialogform" name="addservice">
|
|
|
<input name="username" type="hidden" value='{{session "userName"}}'/>
|
|
|
- <input class="sentid" name="enterpriseid" type="hidden" value="{{.T.entinfo._id}}">
|
|
|
- <input class="sid" name="serviceid" type="hidden" value="{{.T.service._id}}" >
|
|
|
+ <input class="sentid" name="enterpriseid" type="hidden" value="{{.T.entid}}">
|
|
|
+ <input class="sid" name="serviceid" type="hidden" value="{{.T.serviceid}}" >
|
|
|
+ <div class="u-title text-primary">
|
|
|
+ <div style="float:left;font-size:16px;">发布服务</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="qfw-entinfo-padding41" id="service">
|
|
|
- <h4><span class="glyphicon fuwu icon_gray icon_large"></span>
|
|
|
+ <!--<h4><span class="glyphicon fuwu icon_gray icon_large"></span>
|
|
|
<b>产品服务</b>
|
|
|
</h4>
|
|
|
- <hr>
|
|
|
+ <hr>-->
|
|
|
<!--企业名片详细信息-->
|
|
|
|
|
|
<div class="tablediv">
|
|
|
<div class="rowcontent">
|
|
|
- <div class="two">产品服务名称:</div>
|
|
|
- <div class="three"><input style="height:40px;" type="text" class="form-control sn" name="servicename" id="servicename" value="{{.T.service.s_name}}" datatype="*" maxlength="30" nullmsg="请输入产品服务名称" errormsg="请输入产品服务名称"/></div>
|
|
|
+ <div class="two">服务名称:</div>
|
|
|
+ <div class="three">
|
|
|
+ <input style="height:40px;" type="text" class="form-control sn" name="servicename" id="servicename" value="{{.T.service.s_name}}" datatype="*" maxlength="30" nullmsg="请输入产品服务名称" errormsg="请输入产品服务名称"/></div>
|
|
|
<div class="four" > <span class="Validform_checktip">请输入产品服务名称</span></div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -83,9 +104,9 @@
|
|
|
<div class="rowcontent">
|
|
|
<div class="two"></div>
|
|
|
<div class="three">
|
|
|
- <input type="checkbox" id="isshow_checked1" name="isshow" value="1" checked=true>是否在微官网显示
|
|
|
+ <input type="checkbox" id="isshow_checked1" name="isshow" value="1" checked=true>是否在微官网显示
|
|
|
<input type="checkbox" class="isshow_checked" name="isshow" value="2" checked=true>是否在微官网首位显示 <br>
|
|
|
- <input type="checkbox" id="isshow_checked3" name="isshow" value="3" checked=true>是否发布到服务交易市场
|
|
|
+ <input style="display:none;" type="checkbox" id="isshow_checked3" name="isshow" value="3" checked=true><!--是否发布到服务交易市场-->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -106,48 +127,23 @@
|
|
|
|
|
|
<div class="tablediv" id="serviecetype">
|
|
|
<div class="rowcontent">
|
|
|
- <div class="two">产品服务类型:</div>
|
|
|
+ <div class="two">服务类型:</div>
|
|
|
<div class="three">
|
|
|
- <select style="width:20%" class="cxselect select-control firstservicetype" id="firstservicetype" name="s_firstservicetype">
|
|
|
+ <select style="width:25%" class="cxselect select-control firstservicetype" id="firstservicetype" name="s_firstservicetype">
|
|
|
<option value="00" selected="selected">一级类目</option>
|
|
|
+ {{$pservicecode := .T.pservicecode}}
|
|
|
{{range $k, $v := .T.serviceClassify}}
|
|
|
- <option value="{{$v.code}}">{{$v.name}}</option>
|
|
|
+ <option value="{{$v.code}}" {{if $pservicecode }}{{if eq $v.code $pservicecode }} selected="selected"{{end}}{{end}}>{{$v.name}}</option>
|
|
|
{{end}}
|
|
|
</select>
|
|
|
<select style="width:19%" class="cxselect select-control secondservicetype" id="secondservicetype" name="s_secondservicetype">
|
|
|
<option value="11" >二级栏目</option>
|
|
|
- <script>
|
|
|
- $(function(){
|
|
|
- $("#firstservicetype").change(function(){
|
|
|
- //当一级栏目发生改时移除二级栏目下的所有内容
|
|
|
- $("#secondservicetype option").remove();
|
|
|
- //为二级栏目加载内容
|
|
|
- var $code = $("#firstservicetype").val();
|
|
|
- if($code == "00"){
|
|
|
- $(this).nextAll(".Validform_checktip").addClass("Validform_wrong").show();
|
|
|
- }else{
|
|
|
- $(this).nextAll(".Validform_checktip").removeClass("Validform_wrong").hide();
|
|
|
- }
|
|
|
- {{range $k, $v := .T.serviceClassify}}
|
|
|
- var tempcodes = {{$v.code}};
|
|
|
- if($code == tempcodes){
|
|
|
- {{range $k, $v := $v.children}}
|
|
|
- {{range $k, $v := $v.children}}
|
|
|
- var $valuet = {{$v.code}};
|
|
|
- var $textt = {{$v.name}};
|
|
|
- $("#secondservicetype").append("<option value='"+$valuet+"'>"+$textt+"</option>");
|
|
|
- {{end}}
|
|
|
- {{end}}
|
|
|
- }
|
|
|
-
|
|
|
- {{end}}
|
|
|
- });
|
|
|
-
|
|
|
- });
|
|
|
- </script>
|
|
|
- </select>
|
|
|
+
|
|
|
+ </select> <br>
|
|
|
+ <div style="padding:10px 0px 5px 0px;">
|
|
|
<span class="text-primary">现在服务分类里,没有我要选择的类型,</span><a id="goToFeedback" style="color:blue;text-decoration:underline;" >去提建议</a>
|
|
|
<span class="Validform_checktip">请选择服务分类</span>
|
|
|
+ </div>
|
|
|
<script>
|
|
|
$(function(){
|
|
|
$("#goToFeedback").click(function(){
|
|
@@ -164,25 +160,25 @@
|
|
|
<div class="rowcontent">
|
|
|
<div class="two">价格:</div>
|
|
|
<div class="three">
|
|
|
- <input type="text" class="form-control price" id="s_price" name="s_price" onblur="checkprice(this);" value="{{.T.price}}" maxlength="6" />元
|
|
|
+ <input type="text" class="form-control price" id="s_price" name="s_price" onblur="checkprice(this);" value="{{.T.price}}" maxlength="6" />元
|
|
|
<!--面议-->
|
|
|
- <input type="checkbox" id="s_pricemy" name="s_pricemy" value="1" >面议
|
|
|
+ <input type="checkbox" id="s_pricemy" name="s_pricemy" value="1" {{if .T.pricemy}}{{if eq .T.pricemy "1"}}checked{{end}}{{end}} >面议
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="tablediv">
|
|
|
+ <!--<div class="tablediv">
|
|
|
<div class="rowcontent">
|
|
|
<div class="two">手机号:</div>
|
|
|
<div class="three"><input type="text" class="form-control phone" name="s_phone" id="s_phone" value="{{.T.service.s_phone}}" maxlength="11" datatype="m" nullmsg="请输入手机号码" errormsg="手机号码格式错误" /></div>
|
|
|
<div class="four" > <span class="Validform_checktip">请输入手机号码</span></div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="tablediv">
|
|
|
+ </div>-->
|
|
|
+ <div class="tablediv" style="margin-top:20px;">
|
|
|
<div class="rowcontent">
|
|
|
- <div class="two" style="vertical-align: top;">描述:</div>
|
|
|
+ <div class="two" style="vertical-align: top;">服务描述:</div>
|
|
|
<div class="three">
|
|
|
- <textarea class="introduction gray sd" id="s_introduvtion" name="s_introduvtion">{{.T.service.data.s_introduvtion}}</textarea>
|
|
|
+ <textarea class="introduction gray sd" id="s_introduvtion" name="s_introduvtion">{{.T.introduction}}</textarea>
|
|
|
<script>
|
|
|
$(function(){
|
|
|
var kindEditInit=function(){
|
|
@@ -213,13 +209,15 @@
|
|
|
<div id="picimages" class="tablediv">
|
|
|
<div class="rowcontent">
|
|
|
<div class="two" style="vertical-align: top;">示例图片:</div>
|
|
|
- <div class="three" style="width:220px;">
|
|
|
+ <div class="three">
|
|
|
<ul class="pic" style="width: 100%;">
|
|
|
- <li class="imgLi" style="background-color:#eee;width:200px;text-align: center; height:200px;border:1px dashed #000;"><img src="{{Msg "seo" "cdn"}}/images/services/default.png" style="width:176px; height:176px;margin:0px 5px;"><div id="tips" style="text-align: center; width: 196px; position: absolute; cursor: pointer; border: 1px solid rgb(221, 221, 221); padding: 8px; color: rgb(255, 255, 255); font-size: 20px; left: 154px; top: 948px; background-color: rgb(128, 128, 128);">图片上传</div></li>
|
|
|
+ <li style="font-size:14px; color:#999;margin-bottom:10px;">上传1张大小不超过10M的图片,支持jpg、png、bmp格式。建议尺寸250*230像素</li>
|
|
|
+ <li class="imgLi" style="background-color:#eee;width:85px;text-align: center; height:81px;border:1px dashed #000;"><img src='{{if .T.images}}{{.T.images}}{{else}}{{Msg "seo" "cdn"}}/images/services/default.png{{end}}' style="width:83px; height:79px;"><div id="tips" ></div></li>
|
|
|
</ul>
|
|
|
- <input type="hidden" value="{{Msg "seo" "cdn"}}/images/services/default.png" class="imgs" name="imgurl"/>
|
|
|
+ <input type="hidden" value="{{if .T.images}}{{.T.images}}{{else}}{{Msg "seo" "cdn"}}/images/services/default.png{{end}}" class="imgs" name="imgurl"/>
|
|
|
</div>
|
|
|
- <div class="foure" id="imgmessage">建议尺寸200*200像素,不支持GIF格式</div>
|
|
|
+ <div class="foure" style="visibility:hidden;" id="imgmessage">
|
|
|
+ 建议尺寸200*200像素,不支持GIF格式</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="imgshide" class="tablediv" style="display:none;">
|
|
@@ -233,16 +231,17 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <hr>
|
|
|
<!--点击取消按钮使用的条件-->
|
|
|
<input id="entid" type="hidden" value="{{.T.entid}}" />
|
|
|
<div class="row" style="margin-bottom:10px;">
|
|
|
- <div class=" text-right" style="padding-right:20px;">
|
|
|
+ <div style="padding-left:128px;">
|
|
|
<a onclick="cancelService();" class="btn btn-default ">取消</a>
|
|
|
- <button onclick="btnAddServices()" class="btn btn-primary ">完成</button>
|
|
|
+ <button onclick="btnAddServices()" class="btn btn-primary ">提交</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <hr>
|
|
|
+
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
@@ -251,8 +250,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
-
|
|
|
+ </div>
|
|
|
+ <div class="a-c-right">
|
|
|
+ {{include "/common/hotservice.html"}}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -263,6 +264,46 @@
|
|
|
|
|
|
</body>
|
|
|
<script>
|
|
|
+var editflog = {{.T.editflog}}
|
|
|
+if (editflog&&editflog == "Y"){
|
|
|
+ afterChange();
|
|
|
+}
|
|
|
+$("#firstservicetype").change(function(){
|
|
|
+ afterChange();
|
|
|
+});
|
|
|
+function afterChange(){
|
|
|
+ //当一级栏目发生改时移除二级栏目下的所有内容
|
|
|
+ $("#secondservicetype option").remove();
|
|
|
+ //为二级栏目加载内容
|
|
|
+ {{$servicecode := .T.servicecode}}
|
|
|
+ var $code = $("#firstservicetype").val();
|
|
|
+ if($code == "00"){
|
|
|
+ $(this).nextAll(".Validform_checktip").addClass("Validform_wrong").show();
|
|
|
+ }else{
|
|
|
+ $(this).nextAll(".Validform_checktip").removeClass("Validform_wrong").hide();
|
|
|
+ }
|
|
|
+ {{range $k, $v := .T.serviceClassify}}
|
|
|
+ var tempcodes = {{$v.code}};
|
|
|
+ if($code == tempcodes){
|
|
|
+ {{range $k, $v := $v.children}}
|
|
|
+ {{range $k, $v := $v.children}}
|
|
|
+ var $valuet = {{$v.code}};
|
|
|
+ var $textt = {{$v.name}};
|
|
|
+ $("#secondservicetype").append("<option value='"+$valuet+"' {{if $servicecode }}{{if eq $v.code $servicecode }} selected='selected'{{end}}{{end}}>"+$textt+"</option>");
|
|
|
+ {{end}}
|
|
|
+ {{end}}
|
|
|
+ }
|
|
|
+
|
|
|
+ {{end}}
|
|
|
+}
|
|
|
+
|
|
|
+$("#s_pricemy").click(function(){
|
|
|
+ if (document.getElementById("s_pricemy").checked){
|
|
|
+ document.getElementById("s_price").disabled = true;
|
|
|
+ }else{
|
|
|
+ document.getElementById("s_price").disabled = false;
|
|
|
+ }
|
|
|
+})
|
|
|
//
|
|
|
$("#servicename").blur(function(){
|
|
|
var str = $("#servicename").val();
|
|
@@ -291,10 +332,10 @@
|
|
|
|
|
|
//添加服务
|
|
|
function btnAddServices(){
|
|
|
- var t = new Date().getTime();
|
|
|
+ //var t = new Date().getTime();
|
|
|
//表单验证
|
|
|
var validForm = bindValidForm({
|
|
|
- url: "/member/service/add?_new="+t,
|
|
|
+ url: "/member/service/save",
|
|
|
ajaxPost:true,
|
|
|
beforeSubmit:function(curform){
|
|
|
|
|
@@ -314,16 +355,18 @@ function btnAddServices(){
|
|
|
},
|
|
|
callback:function(data){
|
|
|
if(data.status=="y"){
|
|
|
- alert(data.info);
|
|
|
- cancelService();
|
|
|
+ //alert(data.info);
|
|
|
+ TipAssembly.show("<img src='/images/u28.png' style='width:30px; height:30px;margin-right: 10px;margin-left: -20px;'> <span style='font-size: 16px;color: #999;'>发布成功</span>")
|
|
|
+ //cancelService();
|
|
|
}else{
|
|
|
- alert("保存服务信息失败");
|
|
|
+ TipAssembly.show("<img src='/images/cancel-circle.png' style='width:30px; height:30px;margin-right: 10px;margin-left: -20px;'> <span style='font-size: 16px;color: #999;'>发布失败</span>")
|
|
|
+ //alert("保存服务信息失败");
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
- initServiceList()
|
|
|
+ //initServiceList()
|
|
|
}
|
|
|
//
|
|
|
var province=city=area=0;
|
|
@@ -357,10 +400,76 @@ function initSecondServiceType(firstsertype){
|
|
|
}
|
|
|
{{end}}
|
|
|
}
|
|
|
+$("#tips").upload(
|
|
|
+ option={
|
|
|
+ btnname:"图片上传",//按钮名
|
|
|
+ btnClass:"btn btn-primary tpsc_btnsize",
|
|
|
+ btnCss:{"width":"80px","height":"26px;"},
|
|
|
+ name:"upload",
|
|
|
+ action:"/filemanage/upload?resize=250",
|
|
|
+ afterUpload:function(data){ //此处可以重写,上传后的处理
|
|
|
+
|
|
|
+ $("#mblocation .pic").css('display','block');
|
|
|
+ $("#mblocation .pic .imgLi").remove();
|
|
|
+ $("<li class='imgLi' style='background-color:#eee;width:85px;text-align: center; height:81px;border:1px dashed #000;'><img src='"+data.url+"' style='width:83px; height:79x;'><div id=tips style='text-align:center;width:83px;position: absolute;cursor: pointer; border:1px solid #ddd;background-color:#808080;color:#fff;font-size:14px;'>图片上传</div></li>").appendTo("#mblocation ul.pic");
|
|
|
+ var urls=$("#mblocation input.imgs").val();
|
|
|
+ urls=urls||""
|
|
|
+ //urls +=data.url+",";
|
|
|
+ urls= data.url;
|
|
|
+ $("#mblocation input.imgs").attr("value",urls);
|
|
|
+ if($("#mblocation ul.pic li img").size()>=1){
|
|
|
+ $("#upload").attr("disabled",false)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+);
|
|
|
+//图片上传
|
|
|
+
|
|
|
+//提示框
|
|
|
+var TipAssembly = {
|
|
|
+ timeout: null,
|
|
|
+ show: function(text,css){
|
|
|
+ if(this.timeout != null){
|
|
|
+ clearTimeout(this.timeout);
|
|
|
+ this.hide();
|
|
|
+ this.timeout = null;
|
|
|
+ }
|
|
|
+ var thisClass = this;
|
|
|
+ this.timeout = setTimeout(function(){
|
|
|
+ thisClass.hide();
|
|
|
+ thisClass.timeout = null;
|
|
|
+ if (serviceid !=""){
|
|
|
+ window.location.href="/market/detail/"+serviceid+".html";
|
|
|
+ }else{
|
|
|
+ window.location.href="/market/0/list.html";
|
|
|
+ }
|
|
|
+ },2000);
|
|
|
+ $("body").append('<div class="tipAssembly" id="tipAssembly">'+text+'</div>');
|
|
|
+ if(typeof(css) != "undefined"){
|
|
|
+ $("#tipAssembly").css(css);
|
|
|
+ }
|
|
|
+ $("#tipAssembly").css({"margin-top":-($("#tipAssembly").height()/2),"margin-left":-($("#tipAssembly").width()/2)});
|
|
|
+ },
|
|
|
+ hide: function(){
|
|
|
+ $("#tipAssembly").remove();
|
|
|
+ },
|
|
|
+ triangleShow: function(obj,direction,width,top,left){
|
|
|
+ $("#maskLayer").unbind("click").click(function(e){
|
|
|
+ $(this).hide();
|
|
|
+ $("#tipTriangle").hide();
|
|
|
+ });
|
|
|
+ $("#tipTriangle>span").addClass("triangle-"+direction);
|
|
|
+ $("#tipTriangle").css({width:width,top: obj.offset().top+top,left: obj.offset().left+left}).show();
|
|
|
+ $("#maskLayer,#tipTriangle").show();
|
|
|
+ },
|
|
|
+ triangleHide: function(){
|
|
|
+ $("#maskLayer,#tipTriangle").hide();
|
|
|
+ }
|
|
|
+}
|
|
|
</script>
|
|
|
-<script src="/js/enterprise.js"></script>
|
|
|
+
|
|
|
<script>
|
|
|
- window.onload=function(){limouseover();}
|
|
|
+ //window.onload=function(){limouseover();}
|
|
|
if ($("#isshow_checked3").is(":checked")) {
|
|
|
$("#serviecetype").removeClass("hidden");
|
|
|
}else{
|