<%@ Page Title="" Language="C#" MasterPageFile="~/Master/UserPageMaster.master" CodeBehind="Tips.aspx.cs" Inherits="WAP2P.Web.PC.Tips" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <div class="m-container g-zindexmin g-ohide mt20 mb20 m-globalbox">
        <div class="m-tips">
            <i class="iconfont fs80 g-left <% =GetColorClass() %>2"><% =GetIcon() %></i>
            <div class="tip-right g-left">
                <strong class="<% =GetColorClass() %>3"><% =GetTitle() %></strong><label id="js-ref"></label>
                <span><% =msg %></span>
            </div>
        </div>
    </div>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
    <script>
        var toUrl = '<% =toUrl %>', toText = '<% =toText %>';
        if (toUrl) {
            var time = 5, dom = $('#js-ref');
            var fn = function () {
                if (time <= 0)
                    location.href = toUrl;
                else {
                    dom.html(time + '秒 后跳转至<a href="' + toUrl + '">' + (toText ? toText : toUrl) + '</a>');
                    time--;
                }
            };
            setInterval(fn, 1000);
        }
    </script>
</asp:Content>
