123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <html>
- <head>
- <title>添加代理</title></title>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
-
- <link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/c/font_2056629_vzvl0jvb2q.css">
- <link rel="stylesheet" type="text/css" href="static/css/style.css">
- <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
- <style>
- .s-img{
- width: 95%;
- margin: auto;
- }
-
- .r-li {
- width: 90%;
- margin: 2rem auto;
- }
- .r-input {
- width: 100%;
- display: flex;
- justify-content: space-between;
- line-height: 2rem;
- color: #7e7e7e;
- margin: 3rem auto;
- }
- .r-input input {
- border: none;
- height: 2rem;
- width: 70%;
- }
- .code {
- border: 1px solid #3ab7e7;
- font-size: 14px;
- padding: 1px 5px;
- box-shadow: 1px 1px 2px 1px #a9aaab;
- color: #3ab7e7;
- }
- .r-but {
- line-height: 20px;
- font-size: 14px;
- color: #fff;
- background: linear-gradient(135deg, #69e2b3, #19be6b);
- display: flex;
- justify-content: center;
- align-items: center;
- height: 3rem;
- width: 60%;
- border-radius: 10px;
- margin: auto;
- }
- </style>
- </head>
- <body>
- <div class="s-main">
- <div class="g-head">
- <p style="transform: rotate(180deg);" onclick="window.history.go(-1);"><i class="iconfont iconxiangyou1"></i></p>
- <p style="margin-left: 35%;">添加代理</p>
- </div>
- <form action="">
- <div class="r-li">
- <div class="r-input"><span>登录账号</span>:</span><input type="text" name="name" value="" placeholder="请输入登录账号" />
- </div>
- <div class="r-input"><span>登录密码:</span><input type="text" name="name" value="" placeholder="请输入密码" />
- </div>
- <div class="r-input"><span>联系电话:</span><input type="tel" name="name" value="" placeholder="请输入电话" /></div>
- <div class="r-input"><span>真实姓名:</span><input type="" name="name" value="" placeholder="请输入姓名" /></div>
-
- <div class="r-but">添加</div>
-
- </form>
- </div>
- </body>
- </html>
-
- <script>
- $('#addr').click(function(){
- $('#myDiv').show();
- });
- window.addEventListener('message', function(event) {
- // 接收位置信息,用户选择确认位置点后选点组件会触发该事件,回传用户的位置信息
- var loc = event.data;
- if (loc && loc.module == 'locationPicker') {//防止其他应用也会向该页面post信息,需判断module是否为'locationPicker'
- console.log('location', loc);
- var addr=loc.poiaddress
- $('#addr').val(addr);
- $('#addrss').val(addr);
- $('#myDiv').hide();
- }
- }, false);
- </script>
|