12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8"/>
- <meta name="description" content=""/>
- <meta name="keywords" content="扫码支付,线上投币,运营数据,物联网"/>
- <meta name="format-detection" content="telphone=no,email=no"/>
- <meta name="viewport"
- content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="cache-control" content="no-cache">
- <meta http-equiv="expires" content="0">
- <title>个人资料修改</title>
- <link rel="stylesheet" href="https://cdn.washpayer.com/components/lib/mui.min.css"/>
- <link rel="stylesheet" href="/components/custom/css/common.css"/>
- <link rel="stylesheet" href="/app/css/xyf.common.min.css">
- </head>
- <body>
- <h5 class="mui-content-padded c-black custom-top">请确保和微信的真实姓名保持一致,否则会影响提现!</h5>
- <div class="input-group-vertical ">
- <div class="input-row input-clear">
- <input id="userName" type="text" maxlength="15" placeholder="姓名">
- </div>
- </div>
- <div class="subt">
- <input class="mui-btn-block" type="button" value="确认" onclick="commit()">
- </div>
- <script src="https://cdn.washpayer.com/components/lib/jquery.min.js"></script>
- <script src="https://cdn.washpayer.com/components/lib/mui.min.js"></script>
- <script src="https://cdn.washpayer.com/components/lib/md5.js"></script>
- <script src="/components/custom/js/common.js"></script>
- <script src="/app/js/xyf.login.js"></script>
- <script src="/app/js/xyf.common.js"></script>
- <script>
- function commit() {
- var name = $("#userName").val();
- if (name.length < 2) {
- mui.toast("请输入真实姓名,不小于2位,不大于20位");
- return;
- }
- var url = "/dealer/updateInfo";
- var data = {
- "name": name
- };
- sendRequest(url, "POST", data, function (res) {
- if (res.result == 1) {
- mui.confirm('修改成功', '提示', ['返回'], function (e) {
- if (e) {
- history.back()
- }
- });
- } else {
- mui.alert(res.description, '温馨提示', '我知道了');
- }
- });
- }
- </script>
- </body>
- </html>
|