50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
@{
|
|
ViewBag.Title = "付费版企业微信";
|
|
Layout = null;
|
|
}
|
|
<html style="height:100%;">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<script src="~/Scripts/jquery-1.10.2.min.js"></script>
|
|
</head>
|
|
@{
|
|
string host = ViewBag.host;
|
|
var hostsList = host.Split('$');
|
|
int x = 0;
|
|
string firstUrl = "";
|
|
}
|
|
<body style="height:100%;">
|
|
<style>
|
|
.MyXianLu {
|
|
margin: 0 20px;
|
|
}
|
|
|
|
.Chosea {
|
|
background-color: chocolate;
|
|
}
|
|
</style>
|
|
@foreach (var str in hostsList)
|
|
{
|
|
if (x == 0)
|
|
{
|
|
firstUrl = str;
|
|
}
|
|
x++;
|
|
<a class='MyXianLu @Html.Raw(x==1?"Chosea":"")' id='woxs_@x' href='javascript:ShowMsgg("@x","@str");'>查看线路 @Html.Raw(x) </a>
|
|
}
|
|
<iframe id="wwIframe" src="@Html.Raw(firstUrl)/Admin/OutHHuser/User_extuserList?exuserid=@Html.Raw(ViewBag.exuserid)&isHg=True&resid=@Html.Raw(ViewBag.resid)&ext_flag=@Html.Raw(System.Web.HttpUtility.UrlEncode(WX.CRM.Common.Utility.Encrypt(WX.CRM.Common.DateTimeTool.ConvertDateTimeLong(DateTime.Now).ToString())))&eid=@Html.Raw(ViewBag.eid)" scrolling='auto' frameborder='0' style="width:100%;height:1000px;"></iframe>
|
|
<script>
|
|
function ShowMsgg(id, newUrl) {
|
|
var src = newUrl + "/Admin/OutHHuser/User_extuserList?exuserid=@Html.Raw(ViewBag.exuserid)&isHg=True&resid=@Html.Raw(ViewBag.resid)"+"&ext_flag=@Html.Raw(System.Web.HttpUtility.UrlEncode(WX.CRM.Common.Utility.Encrypt(WX.CRM.Common.DateTimeTool.ConvertDateTimeLong(DateTime.Now).ToString())))"+"&eid=@Html.Raw(ViewBag.eid)";
|
|
$("#wwIframe").attr("src", src);
|
|
$(".Chosea").removeClass("Chosea");
|
|
$("#woxs_" + id).addClass("Chosea");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|