1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Renewal.aspx.cs" Inherits="CY.WebForm.Pages.membermanage.Renewal" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>会员续费</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <script type="text/javascript">
        function ComfirmOrder() {
            if (confirm("确定续费下单?")) {
                return true;
            }
            else {
                return false;
            }
        }
 
 
 
        function change(obj) {
            var selTime = $(obj).val();
            var payMoney = $("#hidPayMoney").val();
            var payAllMoney = parseFloat(payMoney) * parseInt(selTime);
            $("#lblMoney").text(payAllMoney);
        }
 
        $(
            function () {
                change("#ddlRenewalTime");
            }
        );
    </script>
</head>
<body>
    <form id="form1" runat="server" class="form2">
         <div id="scrollContent" style="margin: 10px auto;">
             <table class="tableStyle" usecolor="false" usehover="false" useclick="false">
                <tr>
                    <td class="ali03" style="width: 100px;">
                        会员名称:
                   </td>
                    <td>
                        <asp:Label ID="lblMemberName" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="ali03" style="width: 100px;">
                        账户状态:
                    </td>
                    <td>
                        <asp:Label ID="lblStatusName" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="ali03" style="width: 100px;">
                        到期时间:
                    </td>
                    <td>
                        <asp:Label ID="lblEneTime" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="ali03" style="width: 100px;">
                        续费时间:
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlRenewalTime" runat="server" keepdefaultstyle="true" onchange="change(this)">
                            <asp:ListItem Value="1" Text="一年" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="2" Text="二年"></asp:ListItem>
                            <asp:ListItem Value="3" Text="三年"></asp:ListItem>
                            <asp:ListItem Value="4" Text="四年"></asp:ListItem>
                            <asp:ListItem Value="5" Text="五年"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="ali03" style="width: 100px;">
                        续费金额:
                    </td>
                    <td>
                        <asp:Label ID="lblMoney" runat="server"></asp:Label>
                        <input type="hidden" id="hidPayMoney" runat="server" />元
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2"><asp:Button ID="btnSave" runat="server" Text="确定下单" 
                            onclick="btnSave_Click" OnClientClick="return ComfirmOrder();"/></td>
                </tr>
             </table>
         </div>
    </form>
</body>
</html>