123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <!DOCTYPE html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>鲸致生活-服务地址未覆盖</title>
- <meta name="description" content="鲸致生活-服务地址未覆盖">
- <meta name="viewport"
- content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
- <link
- rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/vant@2.12/lib/index.css"
- />
- <link rel="stylesheet" href="../auto/css/main.css">
- <link rel="stylesheet" href="../auto/css/normalize.css">
- <link rel="stylesheet" href="../auto/css/magnific-popup.css">
- <script src="../auto/js/jquery-1.7.2.min.js"></script>
- <script src="../auto/js/modernizr-2.6.2.min.js"></script>
- <script src="../auto/js/viewport.js"></script>
- <script src="../auto/js/config.js"></script>
- <script src="../auto/js/main.js"></script>
- <script src="../auto/js/jquery.magnific-popup.min.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/vue@2.6/dist/vue.min.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/vant@2.12/lib/vant.min.js"></script>
- </head>
- <body class="kb-bg">
- <div class="top">
- </div>
- <div class="notice-nocover">
- 尚未覆盖地区
- <div style="font-size: 24px;margin-top:12px;line-height: 38px;" class="color-gray">鲸致生活会统计未覆盖区域的人数,人数足够将会以专属
- 优惠价开团,为小伙伴们集中提供服务</div>
- </div>
- <main>
- <div id="scan-integral">
- <form name="bindingtelPhoneForm" action="">
- <div class="input-from">
- <input class="input-arrow required" style="height: 100px;border-radius: 50px;background: #F7F8FA;border: 0px;padding-left: 50px;" type="text" id="mobile" maxlength="11" placeholder="请输入您的手机号"/>
- </div>
- <div class="input-from">
- <label class="label">选择家政需求:</label>
- <div style="display: inline-flex;">
- <img src="../auto/img/icon/people.png" style="width: 24px;height:30px;margin: auto;"/>
- <select id="city" class="select" name="city" style="width: 90%;margin-left:0;border: 0px;">
- <option disabled selected value=''>请选择家政需求</option>
- <option value="保洁">日常保洁</option>
- <option value="家电清洗">家电清洗</option>
- <option value="保姆月嫂">保姆月嫂</option>
- </select>
- <span style="line-height: 70px;color: #A4ABB3;">></span>
- </div>
- </div>
-
- <hr style="border: none;height: 1px;border-top: 1px solid #EEEEEE;"></hr>
- <div class="input-from">
- <button type="button" id="btn" class="btn" onclick="checkAddress()">立即提交</button>
- </div>
- </form>
- </div>
- <div class="footer">
- <!-- <img src="../auto/img/logo.png"/> -->
-
- <div class="img"></div>
- <fieldset class="marker">
- <legend>领先的互联网家政服务商</legend>
- </fieldset>
- </div>
- </main>
- <script type="text/javascript">
- $(function () {
- //messageCheckFailModal("错误信息",null,"address")
- $('#city').change(function () {
- var city = $("#city").val();
- if (city == '')
- $('#city').css("color", "#999");
- else
- $('#city').css("color", "#4c4c4c");
- })
- $('#city').change();
- });
- function checkAddress(){
-
- var mobile = $("#mobile").val();
- if (typeof(mobile) == "undefined"||mobile == "") {
- vant.Dialog({
- message: '请输入手机号' });
- // messageCheckModal("请输入手机号",'check-common',null,"确定")
- return;
- }
- var city = $("#city").val();
- if (!city||typeof(city) == "undefined"||city == "") {
- vant.Dialog({
- message: '请选择家政需求' });
- // messageCheckModal("请选择家政需求","check-common",null,'确定');
- return;
- }
- var paras={
- "address": getQueryString('address'),
- "goods": city,
- "mobile": mobile
- }
- let url=getBaseUrl()+"/admin/saicgroup/interest";
- $.ajax({
- type: 'post',
- contentType: "application/json",
- dataType: "json",
- data:JSON.stringify(paras),
- url: url,
- cache: false,
- async: false,
- success: function (data) {
- if (data.errno == 0) {
- // vant.Dialog({
- // message: '长按识别二维码,添加专属客服' });
- messageNoCoverModal("长按识别二维码,添加专属客服",null);
- $('#btn').attr('disabled','disabled');
- $('#btn').addClass("color-back-gray")
- }
- },
- error: function (XMLHttpRequest, textStatus, errorThrown) {
- }
- });
- }
- function goNext(){
- let type=getQueryString('type');//0 119保洁 1 144品类
- if(type==null) type=0;
- window.location.href='coupon.html?type='+type;
- }
- function goClose(){
- $('.message').addClass('hidden');
- }
- //获取url参数
- function getQueryString(name) {
- var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
- var r = window.location.search.substr(1).match(reg);
- if (r != null) {
- return decodeURI(r[2]);
- }
- return null;
- }
-
-
- </script>
- </body>
- </html>
|