| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>下载页面</title>
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <link href="/shares/css/yw/master1/client/download.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- function checkForm() {
- var rs = $.validate({
- name : "tel",
- model : [ {
- type : "require"
- }
- ]
- });
- if (rs) {
- $("#telDiv").hide();
- return true;
- }else{
- $("#telDiv").show();
- return false;
- }
-
- }
- function download(obj){
- if(obj == ""){
- alert("请联系管理员发布客户端!");
- }else{
- window.open("downloadLoginFile.do?documentId="+obj);
- }
- }
- function sendSms(){
- var isPass = checkForm();
- if(isPass == true){
-
- var json = {tel:$("#tel").val(),
- euclient_affix:$("#euclient_affix").val(),
- euclient_type:$("#euclient_type").val()};
- $.ajax({
- type:"POST",
- url:"EuclientAction.do?task=downloadSms&time=" + new Date().getTime(),
- cache:false,
- data:json,
- success:function(data){
- alert("发送成功!");
- },
- error:function(err){
- showAjaxError(err);
- }
- });
- }
- }
- </script>
- <style type="text/css">
- .warn{color: red; display: none; margin-top: 2px}
- </style>
- </head>
- <body>
- <form action="EuclientAction.do" method="post" onsubmit="return checkForm();">
- <div class="android_bg download_mar">
- <div>
- <img src="/shares/images/master1/client/android_title.png" width="1093" height="82" />
- </div>
- <div class="android_t_a">A:下载到手机</div>
- <div class="android_te_s">
- 手机号:
- <input class="android_ybk" name="tel" id="tel" type="text" maxlength="11" value="${euclient.tel}"/>
- <input name="button" type="button" class="android_send_btn" id="button" value="" onclick="sendSms();"/>
- <div class="warn" id="telDiv">请填写手机号</div>
- </div>
- <div class="and_wz">您将收到一条短信,点击短信中的链接即可下载客户端软件,短信免费,下载产生的流量费用按正常流量费用收取
- </div>
- <div class="android_t_a">B:下载到电脑</div>
- <div class="android_te_s">
- <input name="button" type="button" class="android_send_btn_pc" id="button" onclick="download('${euclient.euclient_affix}');"/>
- </div>
- <div class="and_wz_pc">直接下载安装包文件到您的电脑<br />
- </div>
- </div>
- <input type="hidden" id="task" name="task" value="downloadSms">
- <input type="hidden" id="euclient_affix" name="euclient_affix" value="${euclient.euclient_affix}">
- <input type="hidden" id="euclient_type" name="euclient_type" value="${euclient.euclient_type}">
- </form>
- </body>
- </html>
|