您的位置: 首页 > 农业专利 > 详情页

一种利用模拟分子动力学方法确定后装源驻留时间的方法
专利权人:
四川大学
发明人:
勾成俊,吴章文,侯氢
申请号:
CN201410714374.X
公开号:
CN104383639B
申请日:
2014.11.28
申请国别(地区):
中国
年份:
2017
代理人:
李崧岩
摘要:
本发明公开了一种利用模拟分子动力学方法确定后装源驻留时间的方法,用于解决现有技术因临床情况的复杂性,而导致驻留位较多、剂量参考点不能与驻留位一一对应等问题。该方法包括以下步骤:(一)根据驻留点和剂量节制点的位置关系,采用下式算出每个驻留点在剂量节制点处的剂量:(二)根据剂量节制点处的计算剂量与处方剂量的偏差和相邻驻留点的时间差构成评价函数: <mrow> <mi>O</mi> <mrow> <mo>(</mo> <mi>t</mi> <mo>)</mo> </mrow> <mo>=</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>M</mi> </munderover> <msub> <mi>&omega;</mi> <mi>j</mi> </msub> <msup> <mrow> <mo>(</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>N</mi> </munderover> <msubsup> <mi>d</mi> <mi>j</mi> <mi>i</mi> </msubsup> <msub> <mi>t</mi> <mi</dd> </dl> <dl class="detailsDl"> <dt>来源网站:</dt> <dd>中国工程科技知识中心</dd> </dl> <dl class="detailsDl"> <dt>来源网址:</dt> <dd><a href="http://www.ckcest.cn/home/" target="_blank">http://www.ckcest.cn/home/</a></dd> </dl> <div class="source" style="display:none"> <ul class="sourceTab"> <li class="active" id="sourceTab_id_0" onclick="switchTab(this,'active','divbox');">相关文献</li> <li id="sourceTab_id_1" onclick="switchTab(this,'active','divbox');">相关成果</li> <li id="sourceTab_id_2" onclick="switchTab(this,'active','divbox');">相关专利</li> </ul> <div class="sourceContent"> <div class="divbox xw" id="divbox_xw_id"> </div> <div class="divbox cg" id="divbox_cg_id"> </div> <div class="divbox ck" id="divbox_ck_id"> </div> </div> </div> </div> <div class="detailsAside"> <!-- <div class="asideBox"> <h6 class="asideTitle">研究点分析</h6> <ul class="keywordBox"> <li><a href="javascript:void(0);">土壤</a></li> <li><a href="javascript:void(0);">质量控制</a></li> <li><a href="javascript:void(0);">盐碱地</a></li> <li><a href="javascript:void(0);">水稻</a></li> <li><a href="javascript:void(0);">产量</a></li> <li><a href="javascript:void(0);">盐碱地</a></li> </ul> </div> --> <div class="asideBox"> <h6 class="partnerTitle">相关发明人</h6> <dl class="authorBox"> <dt> <a href="//agri.nais.net.cn/expertdetails/name/list-4-1.html?name=ахмедов магомед эминович (ru)">ахмедов магомед эминович (ru)</a> </dt> <dt> <a href="//agri.nais.net.cn/expertdetails/name/list-4-1.html?name=ахмедова милена магомедовна (ru)">ахмедова милена магомедовна (ru)</a> </dt> <dt> <a href="//agri.nais.net.cn/expertdetails/name/list-4-1.html?name=демирова амият фейзудиновна (ru)">демирова амият фейзудиновна (ru)</a> </dt> <dt> <a href="//agri.nais.net.cn/expertdetails/name/list-4-1.html?name=akhmedov magomed ehminovich">akhmedov magomed ehminovich</a> </dt> <dt> <a href="//agri.nais.net.cn/expertdetails/name/list-4-1.html?name=demirova amijat fejzudinovna">demirova amijat fejzudinovna</a> </dt> <dt> <a href="//agri.nais.net.cn/expertdetails/name/list-4-1.html?name=ахмедов магомед эминович">ахмедов магомед эминович</a> </dt> </dl> </div> <div class="asideBox"> <h6 class="partnerTitle">相关专利</h6> <ul class="instituteBox"> <!-- <li><a href="javascript:void(0);">南京农业大学</a></li> <li><a href="javascript:void(0);">四川农业大学农学院</a></li> <li><a href="javascript:void(0);">中国水稻研究所</a></li> <li><a href="javascript:void(0);">中国水稻研究所</a></li> <li><a href="javascript:void(0);">中国水稻研究所</a></li> --> <li><a href="/patentdetails/F9B05AB35390413F9949CE170F48984E.html" title="一种利用模拟分子动力学方法确定后装源驻留时间的方法">一种利用模拟分子动力学方法确定后装源驻留时间的方法</a> </li> <li><a href="/patentdetails/D5FD1696560C46288BF5AD36ACCF5F0B.html" title="基于声光联用的分子动力学检测方法">基于声光联用的分子动力学检测方法</a> </li> <li><a href="/patentdetails/E39D46DD0BBD4A6A98C25B976E99BCCF.html" title="脉冲子结构与有限元刚‑弹混合连接的动力学模拟方法">脉冲子结构与有限元刚‑弹混合连接的动力学模拟方法</a> </li> <li><a href="/patentdetails/3674172E21174686A32242C39E7B28FE.html" title="脉冲子结构与有限元刚-弹混合连接的动力学模拟方法">脉冲子结构与有限元刚-弹混合连接的动力学模拟方法</a> </li> <li><a href="/patentdetails/34363A8BE08D4E899C5462C34A4C86D5.html" title="药代动力学动物模型">药代动力学动物模型</a> </li> </ul> </div> </div> </div> </div> </div> <!-- <div id="footer" class="footer"> </div> --> <link rel="stylesheet" type="text/css" href="//agri.nais.net.cn/resources/front/css/common/toolbar.css?v=2.1.37"/> <link rel="stylesheet" type="text/css" href="//agri.nais.net.cn/resources/front/css/common/footer_index.css?v=2.1.37"/> <link rel="stylesheet" type="text/css" href="//agri.nais.net.cn/resources/front/css/common/media.css?v=2.1.37"/> <!-- 页面右下角图标 --> <div id="rightfloat"> <div class="top"> <div class="f_icon"> <a href="#"><img src="//agri.nais.net.cn/resources/front/images/top.png"/></a> </div> <div class="f_text"> <a href="#">置顶</a> </div> </div> <!-- <div class="kf"> <div class="f_icon"> <a href="https://www.sobot.com/chat/pc/index.html?sysNum=1f4300e00f4c4266b811b53cd752bea1"><img src="//agri.nais.net.cn/resources/front/images/icon_kefu.png" /></a> </div> <div class="f_text"> <a href="https://www.sobot.com/chat/pc/index.html?sysNum=1f4300e00f4c4266b811b53cd752bea1">农知助手</a> </div> </div> --> <div class="cart"> <div class="f_icon"> <a href="javascript:loginShow();"><img src="//agri.nais.net.cn/resources/front/images/cart.png"/></a> </div> <div class="f_text"> <a href="javascript:loginShow();">我的订单</a> </div> </div> <div class="callus"> <div class="f_icon"> <a href="javascript:void(0);" onclick="showPopup('feedbackBox');" id="_callus"><img src="//agri.nais.net.cn/resources/front/images/callus.png"/></a> </div> <div class="f_text"> <a href="javascript:void(0);" onclick="showPopup('feedbackBox');" id="__callus">意见反馈</a> </div> </div> <div class="wx" id="wx"> <div class="f_text" id="wx_div2"> <div> <img src="//agri.nais.net.cn/resources/front/images/weixin.jpg" id="wx_img"/> </div> </div> <div class="f_icon" id="wx_div"> <a href="javascript:void(0);"><img src="//agri.nais.net.cn/resources/front/images/icon_kswx.png"/></a> </div> </div> </div> <script type="text/javascript"> function hideDiv() { $(".shadowBox").remove(); } function joinShop(id, title, type) { // $.MsgBox.Alert_msg("请登录后进行操作!"); customAlert("请登录后进行操作!") } </script> <div class="mask"></div> <div class="feedbackBox"> <img src="//agri.nais.net.cn/resources/front/img/loginClose.png" class="loginClose" onclick="hidePopup('feedbackBox');"/> <h3>意 见 箱</h3> <div class="recipient-name"> <p>匿名:<a href="javascript:void(0);" onclick="goLoginShow();">登录</a></p> </div> <div class="suggestGroup"> <label>您的联系邮箱:</label> <p><input type="text" value="" id="email"/></p> </div> <div class="errorMessage suggestGroup" id="emailError"></div> <div class="suggestGroup"> <label>您的联系电话:</label> <p><input type="text" value="" id="phone"/></p> </div> <div class="errorMessage suggestGroup" id="phoneError"></div> <div class="suggestGroup"> <label>标题:</label> <p><input type="text" id="feedbackTitle"/></p> </div> <div class="errorMessage suggestGroup" id="feedbackTitleError"></div> <div class="suggestGroup"> <label>内容:</label> <p><textarea id="feedbackContent"></textarea></p> </div> <div class="errorMessage suggestGroup" id="feedbackContentError"></div> <p class="suggestBtnBox"> <input type="button" value="提交" class="suggestBtn okBtn" onclick="submitFeedback()"/> <input type="button" value="取消" class="suggestBtn cancelBtn" onclick="hidePopup('feedbackBox');"/> </p> </div></p> </div> <link rel="stylesheet" type="text/css" href="//agri.nais.net.cn/resources/front/css/contact.css?v=1_0_0"/> <script type="text/javascript" charset="utf-8"> function goLoginShow() { hidePopup('feedbackBox'); loginShow(); } function submitFeedback() { var user_id = ""; var is_nameless = "1"; var email = $("#email").val().trim(); var phone = $("#phone").val().trim(); var feedbackTitle = $("#feedbackTitle").val().trim(); var feedbackContent = $("#feedbackContent").val().trim(); if (email == "null" || email == "") { $("#emailError").text("联系邮箱不能为空!"); return; } if (!checkMail(email)) { $("#emailError").html("请输入正确的邮箱!"); return; } $("#emailError").html(""); if (phone == "null" || phone == "") { $("#phoneError").text("联系电话不能为空!"); return; } if (feedbackTitle == "null" || feedbackTitle == "") { $("#feedbackTitleError").html("标题不能为空!"); return; } $("#feedbackTitleError").html(""); if (feedbackContent == "null" || feedbackContent == "") { $("#feedbackContentError").html("内容不能为空!"); return; } $("#feedbackContentError").html(""); var param = { email: email, phone: phone, title: feedbackTitle, content: feedbackContent }; $.ajax({ type: "post", url: "//agri.nais.net.cn/contactus/feedback.html", cache: false, dataType: "json", //timeout : 5000, data: param, success: function (data) { if (data.success == "false") { $.MsgBox.Alert_msg(data.message); } else if (data.success == "true") { $("#email").val(""); $("#feedbackTitle").val(""); $("#feedbackContent").val(""); hidePopup('feedbackBox'); $.MsgBox.Alert_msg("提交成功,感谢您的关注与支持!"); } }, error: function (req, status, reason) { } }); } </script> <div id="footer" class="footer mobilePhone"> <div class="wide"> <div class="footerContent"> <!--<div class="footerNav"> </div>--> <ul class="footerNav"> <li><a href="/index.html">农业专业知识服务系统</a> </li> <li> <a target="_blank" href="//agri.nais.net.cn/resourcenavigation.html">资源导航</a> </li> <li> <a target="_blank" href="/help.html">帮助中心</a> </li> <!-- <li><a href="javascript:void(0)">用户反馈</a> </li> --> <li> <a target="_blank" href="/contact.html">联系我们</a> </li> <li> <a target="_blank" href="//agri.nais.net.cn/map/navigation/index.html">网站地图</a> </li> <!--<li><a href="javascript:void(0)">手机版</a> </li>--> </ul> <div class="link"> <dl id="aboutLink"> <dt>相关链接:</dt> <dd> <a target="_blank" href="http://www.ikcest.org/">国际工程科技知识中心</a> </dd> <dd> <a target="_blank" href="http://www.cast.net.cn/">中国农业科技信息网</a> </dd> <dd> <a target="_blank" href="http://pla.caas.cn/web/index.html">国家禽类实验动物资源库</a> </dd> <dd> <a target="_blank" href="http://www.caas.net.cn/">中国农业科学院</a> </dd> <dd> <a target="_blank" href="http://www.castp.cn/">中国农业科学技术出版社</a> </dd> </dl> <dl id="friendLink"> <dt>友情链接:</dt> <dd> <a target="_blank" href="http://mkc.ckcest.cn/">中国制造业知识中心</a> </dd> <dd> <a target="_blank" href="http://forest.ckcest.cn/">林业专业知识服务系统</a> </dd> <dd> <a target="_blank" href="https://it.ckcest.cn/LocalHome">信息技术专业知识服务系统</a> </dd> <dd> <a target="_blank" href="http://geol.ckcest.cn/">地质专业知识服务系统</a> </dd> <dd> <a target="_blank" href="https://chem.ckcest.cn/Home">化工专业知识服务系统</a> </dd> <dd> <a target="_blank" href="http://nh.ckcest.cn/default/page/loadPageIndex?pageId=3c7025c0cc6642d7baa8702eacdbe832">营养健康专业知识服务系统</a> </dd> <dd> <a target="_blank" href="http://mwr.ckcest.cn">水利专业知识服务系统</a> </dd> <!--<dd> <a target="_blank" href="http://stb.agridata.cn/Site/Home/Default.aspx">农业科技基础数据中心</a> </dd>--> <dd> <a target="_blank" href="http://pwsannong.com/">智汇三农</a> </dd> </dl> <dl> <dt>主办单位:</dt> <dd>中国农业科学院农业信息研究所</dd> <dd id="normalAt">&copy; 2017<a target="_blank" href="http://www.ckcest.cn/">中国工程科技知识中心</a> </dd> <dd id="wechatAt" style="display: none">&copy; 2017中国工程科技知识中心</dd> <dd>ICP备案号:<a href="https://beian.miit.gov.cn " target="_blank">京ICP备14021735号-2</a></dd> </dl> </div> </div> <div class="footer-follow"> <p class="follow-title">关注我们:</p> <ul class="follow-codes"> <li> <img src="//agri.nais.net.cn/resources/front/images/index/footer-code-wechat.jpg" class="follow-code-img"> <p class="follow-code-type">微信公众号</p> </li> <li> <img src="//agri.nais.net.cn/resources/front/images/index/footer-code-app-ios1.jpg" class="follow-code-img"> <p class="follow-code-type">APP(IOS)下载</p> </li> <li> <img src="//agri.nais.net.cn/resources/front/images/index/footer-code-wecahtapp.jpg" class="follow-code-img"> <p class="follow-code-type">微信小程序</p> </li> </ul> </div> </div> </div> <!-- ip_adress --> <script type="text/javascript"> var ipaddrdssF = '127.0.0.1'; var param = { ipaddrdssF: ipaddrdssF } $.post("//agri.nais.net.cn/user_ipaddrdssF.html", param); </script> <!--弹窗大背景--> <div class="mask"></div> <!--登录弹窗--> <div class="login"> <img src="//agri.nais.net.cn/resources/front/img/loginClose.png" class="loginClose" onclick="loginHide()"/> <div class="bt"></div> <div class="loginContent"> <h2>个人用户登录</h2> <p class="user"> <input id="username" name="username" type="text" placeholder="请输入您的用户名/邮箱/手机号" value=""/> </p> <p class="password"> <input id="password" name="password" type="password" autocomplete="new-password" placeholder="请输入密码" value=""/> <a href="javascript:void(0);" onclick="forgotPasswordShow()">找回密码</a> </p> <div class="remember"> <!-- <input type="checkbox" name="auto" id="auto" value="" /> --> <!-- <label for="auto"></label> --> <!-- <label for="auto">十天内自动登录</label> --> <a href="https://sso.ckcest.cn/portal/register">快捷注册</a> <!--<a onclick="loginHide();registerShow();">快捷注册</a>--> </div> <div id="errorMessage" class="errorMessage"></div> <input type="submit" id="loginSubmit" class="loginSubmit" value="登录" onclick="userLogin()"/> <div class="thirdParty"> <div> <p></p> <span>第三方账号登录</span> <p></p> </div> <div class="account"> <a href="//agri.nais.net.cn/oauthLogin.html"> <img src="//agri.nais.net.cn/resources/front/img/escience.png" alt="使用数字科研平台帐号登录" title="使用数字科研平台帐号登录"/> </a> <a href="//agri.nais.net.cn/goallianceLogin.html"> <img src="//agri.nais.net.cn/resources/front/images/alliancelogin.png" alt="使用知识服务总平台帐号登录" title="使用联盟平台帐号登录"/> </a> <!--<a href="//agri.nais.net.cn/generalLogin.html"> <img src="//agri.nais.net.cn/resources/front/img/ckcestcn.png" alt="使用知识服务总平台帐号登录" title="使用知识服务总平台帐号登录" /> </a>--> </div> </div> </div> </div> <script type="text/javascript"> //刷新验证码 function refreshCode() { $("#code_img") .attr( "src", "//agri.nais.net.cn/resources/front/img/verifyCode.jpg?type=2&name=vCode&d" + new Date().getTime()); } function forgotPasswordShow() { $(".login").css("display", "none"); $(".forgotPassword").css("display", "block"); } //登录 function userLogin() { var username = $("#username").val().trim(); if (username == "") { $("#errorMessage").html("用户名不能为空!"); return; } var password = $("#password").val().trim(); if (password == "") { $("#errorMessage").html("密码不能为空!"); return; } var vCode = $("#vCode").val().trim(); if (vCode == "") { $("#errorMessage").html("验证码不能为空!"); return; } $("#errorMessage").html(""); var param = { username: username, password: password, vCode: vCode }; $.ajax({ type: "post", url: "//agri.nais.net.cn/login.html", cache: false, dataType: "json", //timeout : 5000, data: param, success: function (data) { if (data.success == "false") { $("#username").val(param.username); $("#password").val(''); refreshCode(); $("#errorMessage").html(data.message); } else if (data.success == "true") { //用户登录监测 _paq.push(['setUserId', data.userId.toString()]); _paq.push(['trackPageView']); window.location.reload();//刷新页面 } }, error: function (req, status, reason) { //$("#errorMessage").html("登录请求失败!error:"+reason); $("#errorMessage").html("登录请求失败!"); } }); } </script> <!--忘记密码弹窗--> <div class="forgotPassword"> <img src="//agri.nais.net.cn/resources/front/img/loginClose.png" class="loginClose" onclick="loginHide()"/> <div class="bt"></div> <div class="forgotBoxContent"> <h2>忘记密码</h2> <div class="userName"> <label for="userName">用户名<sup>*</sup> </label> <dl> <dt></dt> <dd> <input type="text" id="fusername" value="" placeholder="请输入您的账号"/> </dd> </dl> </div> <div class="password1"> <label for="password1">新密码<sup>*</sup> </label> <dl> <dt></dt> <dd> <input type="password" id="fpassword1" value="" placeholder="请输入密码"/> </dd> </dl> </div> <div class="password2"> <label for="password2">确认密码<sup>*</sup> </label> <dl> <dt></dt> <dd> <input type="password" id="fpassword2" value="" placeholder="请确认密码"/> </dd> </dl> </div> <div class="telNumber"> <label for="telNumber">手机号<sup>*</sup> </label> <dl> <dt></dt> <dd> <input type="text" id="ftelNumber" value="" placeholder="请输入手机号"/> </dd> </dl> </div> <div class="mobileCode"> <input type="text" id="fpvCode" placeholder="请输入验证码" value="" class="mobileCodeText"/> <input id="fgetVerifyButton" type="button" value="获取验证码" class="mobileCodeBtn"/> </div> <div id="ferrorMessage" class="errorMessage"></div> <div style="text-align: center;"> <input type="submit" id="forgotPasswordSubmit" class="registerSubmit" value="确定"/> </div> </div> </div> <script type="text/javascript"> var fintervalId; $(function () { //页面加载完毕绑定click $("#fgetVerifyButton").click(fgetVerifyButton); $("#forgotPasswordSubmit").click(forgotPasswordSubmit); }) var x = 60; //利用全局变量来执行 function fgo() { x--; if (x > 0) { $("#fgetVerifyButton").val("重新发送(" + x + ")");//读秒 } else { $("#fgetVerifyButton").val("获取验证码"); $("#fgetVerifyButton").click(fgetVerifyButton); clearInterval(fintervalId); } } //发送短信 function fgetVerifyButton() { var username = $("#fusername").val().trim(); var telNumber = $("#ftelNumber").val().trim(); if (username == "") { $("#ferrorMessage").html("用户名不能为空!"); return; } if (telNumber == "") { $("#ferrorMessage").html("手机号不能为空!"); return; } if (!checkTel(telNumber)) { $("#ferrorMessage").html("手机号格式不正确,请输入正确的手机号!"); return; } $("#ferrorMessage").html(""); var param = { username: username, telNumber: telNumber } $.ajax({ type: "post", url: "//agri.nais.net.cn/fgetPhoneVerify.html?d=" + new Date().getTime(), cache: false, dataType: "json", //timeout : 5000, data: param, success: function (data) { //$.MsgBox.Alert_msg(data.message); if (data.success == "true") { //获取验证码按钮 读秒 x = 60; $("#fgetVerifyButton").unbind("click", fgetVerifyButton); $("#fgetVerifyButton").val("重新发送(" + x + ")"); fintervalId = setInterval(fgo, 1000); } else { // x = 60; // $("#fgetVerifyButton").unbind("click",fgetVerifyButton); // $("#fgetVerifyButton").val("重新发送("+x+")"); // fintervalId = setInterval(fgo, 1000); $("#ferrorMessage").html(data.message); } }, error: function (req, status, reason) { // $("#ferrorMessage").html("获取手机验证码请求失败!error:"+reason); $("#ferrorMessage").html("获取手机验证码请求失败!"); } }); } function forgotPasswordSubmit() { var username = $("#fusername").val().trim(); if (username == "") { $("#ferrorMessage").html("用户名不能为空!"); return; } var password = $("#fpassword1").val().trim(); if (password == "") { $("#ferrorMessage").html("密码不能为空!"); return; } if (!checkSpace(password)) { $("#ferrorMessage").html("密码不能含有空格,请重新输入!"); return; } if (password.length < 6 || password.length > 16) { $("#ferrorMessage").html("密码长度不正确!"); return; } var password2 = $("#fpassword2").val().trim(); if (password != password2) { $("#ferrorMessage").html("两次输入密码不一致!"); return; } var mobilephone = $("#ftelNumber").val().trim(); if (mobilephone == "") { $("#ferrorMessage").html("手机号不能为空!"); return; } if (!checkTel(mobilephone)) { $("#ferrorMessage").html("手机号格式不正确,请输入正确的手机号!"); return; } var pvCode = $("#fpvCode").val().trim(); if (pvCode == "") { $("#ferrorMessage").html("验证码不能为空!"); return; } $("#ferrorMessage").html(""); var param = { username: username, password: password, mobilephone: mobilephone, pvCode: pvCode }; $.ajax({ type: "post", url: "//agri.nais.net.cn/forgotPasswordSubmit.html", cache: false, dataType: "json", //timeout : 5000, data: param, success: function (data) { if (data.success == "false") { $("#fusername").val(data.user.username); $("#fpassword1").val(data.user.password); $("#fpassword2").val(data.user.password); $("#ftelNumber").val(data.user.mobilephone); $("#ferrorMessage").html(data.message); } else if (data.success == "true") { $("#fusername").val(""); $("#fpassword1").val(""); $("#fpassword2").val(""); $("#ftelNumber").val(""); $("#ferrorMessage").html(""); loginHide(); $.MsgBox.Alert_msg(data.message); } }, error: function (req, status, reason) { //$("#ferrorMessage").html("修改密码请求失败!error:"+reason); $("#ferrorMessage").html("修改密码请求失败!"); } }); } </script> <!--注册弹窗--> <div class="register"> <img src="//agri.nais.net.cn/resources/front/img/loginClose.png" class="loginClose" onclick="loginHide()"/> <div class="bt"></div> <div class="bombBoxContent"> <h2>个人用户注册</h2> <div class="userName"> <label for="userName">用户名<sup>*</sup> </label> <dl> <dt></dt> <dd> <input type="text" id="rusername" value="" placeholder="请输入您的邮箱"/> </dd> </dl> <span>必须为有效邮箱</span> </div> <div class="password1"> <label for="password1">密码<sup>*</sup> </label> <dl> <dt></dt> <dd> <input type="password" id="rpassword1" value="" placeholder="请输入密码"/> </dd> </dl> <span>6~16位数字与字母组合</span> </div> <div class="password2"> <label for="password2">确认密码<sup>*</sup> </label> <dl> <dt></dt> <dd> <input type="password" id="rpassword2" value="" placeholder="请确认密码"/> </dd> </dl> <span>6~16位数字与字母组合</span> </div> <div class="telNumber"> <label for="telNumber">手机号<sup>*</sup> </label> <dl> <dt></dt> <dd> <input type="text" id="telNumber" value="" placeholder="请输入手机号"/> </dd> </dl> <span>请输入正确的手机号码</span> </div> <div class="mobileCode"> <input type="text" id="pvCode" placeholder="请输入验证码" value="" class="mobileCodeText"/> <input id="getVerifyButton" type="button" value="获取验证码" class="mobileCodeBtn"/> </div> <!-- <div class="isAgree"> <div> <input type="checkbox" id="isAgree" checked="checked" /> <label for="isAgree"></label> <label for="isAgree">已阅读<a href="javascript:void(0);">农业专业知识服务系统用户协议</a> </label> </div> </div> --> <div id="rerrorMessage" class="errorMessage"></div> <div style="text-align: center;"> <input type="submit" id="registerSubmit" class="registerSubmit" value="注 册"/> </div> </div> </div> <script type="text/javascript"> var intervalId; $(function () { //页面加载完毕绑定click $("#getVerifyButton").click(getPhoneVerify); $("#registerSubmit").click(registerSubmit); }) var x = 60; //利用全局变量来执行 function go() { x--; if (x > 0) { $("#getVerifyButton").val("重新发送(" + x + ")"); ;//读秒 } else { $("#getVerifyButton").val("获取验证码"); $("#getVerifyButton").click(getPhoneVerify); clearInterval(intervalId); } } function checkPassword(password) { var regex = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$/; return regex.test(password); } function checkSpace(str) { if (str.indexOf(" ") == -1) { return true; } return false; } //发送短信 function getPhoneVerify() { var telNumber = $("#telNumber").val().trim(); if (telNumber == "") { $("#rerrorMessage").html("手机号不能为空!"); return; } if (!checkTel(telNumber)) { $("#rerrorMessage").html("手机号格式不正确,请输入正确的手机号!"); return; } $("#rerrorMessage").html(""); var param = { telNumber: telNumber } $.ajax({ type: "post", url: "//agri.nais.net.cn/getPhoneVerify.html?d=" + new Date().getTime(), cache: false, dataType: "json", //timeout : 5000, data: param, success: function (data) { //$.MsgBox.Alert_msg(data.message); if (data.success == "true") { //获取验证码按钮 读秒 x = 60; $("#getVerifyButton").unbind("click", getPhoneVerify); $("#getVerifyButton").val("重新发送(" + x + ")"); ; intervalId = setInterval(go, 1000); } }, error: function (req, status, reason) { //$("#rerrorMessage").html("获取手机验证码请求失败!error:"+reason); $("#rerrorMessage").html("获取手机验证码请求失败!"); } }); } function registerSubmit() { var username = $("#rusername").val().trim(); if (username == "") { $("#rerrorMessage").html("用户名不能为空!"); return; } else if (!checkMail(username)) { $("#rerrorMessage").html("请输入正确的邮箱作为您的用户名!"); return; } var password = $("#rpassword1").val().trim(); if (password == "") { $("#rerrorMessage").html("密码不能为空!"); return; } if (!checkSpace(password)) { $("#rerrorMessage").html("密码不能含有空格,请重新输入!"); return; } if (password.length < 6 || password.length > 16) { $("#rerrorMessage").html("密码长度不正确!"); return; } if (!checkPassword(password)) { $("#rerrorMessage").html("密码格式不正确!"); return; } var password2 = $("#rpassword2").val().trim(); if (password != password2) { $("#rerrorMessage").html("两次输入密码不一致!"); return; } var mobilephone = $("#telNumber").val().trim(); if (mobilephone == "") { $("#rerrorMessage").html("手机号不能为空!"); return; } if (!checkTel(mobilephone)) { $("#rerrorMessage").html("手机号格式不正确,请输入正确的手机号!"); return; } var pvCode = $("#pvCode").val().trim(); if (pvCode == "") { $("#rerrorMessage").html("验证码不能为空!"); return; } //var isAgree = $("#isAgree").prop("checked"); //if(!isAgree){ // $("#rerrorMessage").html("请阅读并同意用户守则"); // return; //} $("#rerrorMessage").html(""); var param = { username: username, password: password, mobilephone: mobilephone, pvCode: pvCode }; $.ajax({ type: "post", url: "//agri.nais.net.cn/register.html", cache: false, dataType: "json", //timeout : 5000, data: param, success: function (data) { if (data.success == "false") { $("#rusername").val(data.user.username); $("#rpassword1").val(data.user.password); $("#rpassword2").val(data.user.password); $("#telNumber").val(data.user.mobilephone); $("#rerrorMessage").html(data.message); } else if (data.success == "true") { $("#rusername").val(""); $("#rpassword1").val(""); $("#rpassword2").val(""); $("#telNumber").val(""); $("#rerrorMessage").html(""); loginHide(); //$.MsgBox.Alert_msg(data.message); $.MsgBox.Alert_msg("注册成功"); } }, error: function (req, status, reason) { //$("#rerrorMessage").html("注册请求失败!error:"+reason); $("#rerrorMessage").html("注册请求失败!"); } }); } </script> <!--小程序入口判断--> <script type="text/javascript"> function checkMiniProHide(obj) { if (navigator.userAgent.match(/micromessenger/i) && navigator.userAgent.match(/miniprogram/i) || window.__wxjs_environment === 'miniprogram') { $(obj).hide(); } } $(function () { if (window.__wxjs_environment === 'miniprogram') { $('#normalAt').hide(); $('#wechatAt').show(); } //判断pc端和手机端 if (/platform: ios;appversion/i.test(navigator.userAgent) || /platform: android;appversion/i.test(navigator.userAgent)) { if (window.__wxjs_environment != 'miniprogram') { $('.mobilePhone').hide(); } } }) checkMiniProHide($('#aboutLink')) checkMiniProHide($('#friendLink')) var weChatFlag = 'false'; $.ajax({ type: "post", url: baseUrl + "/weChat/identification", cache: false, dataType: "json", success: function (data) { weChatFlag = data.data } }); </script> <!--登录用户--> <!-- 用户信息补充弹窗 --> <div class="supplementUserData"> <img src="//agri.nais.net.cn/resources/front/img/loginClose.png" class="loginClose" onclick="supplementUserDataHide()"/> <div class="bt"></div> <div class="loginContent"> <h2>信息补充</h2> <p class="user"> <input id="supplementUserDataMobilePhone" name="mobilephone" type="text" placeholder="请输入您的手机号" value=""/> </p> <p class="password"> <input id="supplementUserDataEmail" name="email" type="text" placeholder="请输入您的邮箱" value=""/> </p> <div id="errorMessage" class="errorMessage"></div> <input type="submit" id="supplementUserDataSubmit" class="loginSubmit" value="提交" onclick="supplementUserData()"/> </div> </div> <!-- 百度代码 --> <script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F3e51446352b9976b63a8474823f13d31' type='text/javascript'%3E%3C/script%3E")); </script> <div style="display:none"> <script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F789fd650fa0be6a2a064d019d890b87f' type='text/javascript'%3E%3C/script%3E")); </script> </div> <div style="display:none"> <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cspan id='cnzz_stat_icon_1000477494'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1000477494' type='text/javascript'%3E%3C/script%3E"));</script> </div> <script type="text/javascript"> var _paq = _paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ //页面的标签 if (typeof documentTitle != "undefined") { _paq.push(['setDocumentTitle', documentTitle]); } _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function () { var u = "http://tongji.nais.net.cn/"; _paq.push(['setTrackerUrl', u + 'piwik.php']); _paq.push(['setSiteId', '3']); var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0]; g.type = 'text/javascript'; g.async = true; g.defer = true; g.src = u + 'piwik.js'; s.parentNode.insertBefore(g, s); })(); </script> </body> </html> <script type="text/javascript"> $(function () { checkMiniProHide($('.share')); }) </script>