作者 郭鑫

提交

<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:38:"themes/simpleboot3/portal\\poster.html";i:1531357946;}*/ ?>
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:38:"themes/simpleboot3/portal\\poster.html";i:1531453982;}*/ ?>
<!doctype html>
<html lang="en">
<html lang="en" style="font-size: 100px">
<head>
<meta charset="UTF-8">
<meta name="viewport"
... ... @@ -8,11 +8,13 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="/candy/public/themes/simpleboot3/public/assets/css/style.css">
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>
<!--<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/fontsize.js"></script>-->
<script type="text/javascript" src="/candy/public/themes/simpleboot3/public/assets/js/base.js"></script>
<title>海报</title>
</head>
<body style="background-color: #fff">
<div class="join_img">
<div class="container">
<div class="join_img">
<?php if(empty($pic['pic']) || (($pic['pic'] instanceof \think\Collection || $pic['pic'] instanceof \think\Paginator ) && $pic['pic']->isEmpty())): ?>
<!--<img src="/candy/public/themes/simpleboot3/public/assets/images/bg@2x.png" alt="">-->
<img src="/candy/public/themes/simpleboot3/public/assets/images/bg@2x.png" alt="">
... ... @@ -20,8 +22,8 @@
<!--<img src="<?php echo $pic['pic']; ?>" alt="">-->
<img src="<?php echo $pic['pic']; ?>" alt="">
<?php endif; ?>
</div>
<div class="nav_bottom">
</div>
<div class="nav_bottom">
<a class="bottom_item po_activity" href="<?php echo url('Index/poster'); ?>">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
... ... @@ -38,15 +40,17 @@
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
<!--<div class="mold choose" style="display: none;" >-->
<div class="mold choose" >
<div class="all" >
</div>
<!--<div class="mold choose" style="display: none;" >-->
<div class="mold choose" >
<div class="all" >
<div class="all_title">您还未注册</div>
<div class="all_content">请前往注册界面进行注册</div>
<div class="all_yes">确定</div>
</div>
</div>
</div>
</div>
</body>
<script src="/candy/public/themes/simpleboot3/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/candy/public/themes/simpleboot3/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
... ...
... ... @@ -289,14 +289,14 @@
<!--</a>-->
<!--</if>-->
<if condition="APP_DEBUG">
<a class="btn btn-sm btn-default"
href="javascript:openapp('{:url('admin/Menu/index')}','index_menu','{:lang('ADMIN_MENU_INDEX')}',true);"
title="{:lang('ADMIN_MENU_INDEX')}"
data-toggle="tooltip">
<i class="fa fa-list"></i>
</a>
</if>
<!--<if condition="APP_DEBUG">-->
<!--<a class="btn btn-sm btn-default"-->
<!--href="javascript:openapp('{:url('admin/Menu/index')}','index_menu','{:lang('ADMIN_MENU_INDEX')}',true);"-->
<!--title="{:lang('ADMIN_MENU_INDEX')}"-->
<!--data-toggle="tooltip">-->
<!--<i class="fa fa-list"></i>-->
<!--</a>-->
<!--</if>-->
</div>
<div id="nav-wrapper">
... ...
... ... @@ -4,7 +4,7 @@
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li><a href="{:url('AdminPic/poster')}">图片列表</a></li>
<li class="active"><a href="{:url('AdminPic/posterAdd')}">添加图片</a></li>
<li class="active"><a href="{:url('AdminPic/posterAdd')}">修改图片</a></li>
</ul>
<form action="{:url('AdminPic/posterAdd')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
<div class="row">
... ...
... ... @@ -4,7 +4,7 @@
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="{:url('AdminPic/poster')}">图片列表</a></li>
<li><a href="{:url('AdminPic/posterAdd')}">添加图片</a></li>
<!--<li><a href="{:url('AdminPic/posterAdd')}">添加图片</a></li>-->
</ul>
<!--<form class="well form-inline margin-top-20" method="post" action="{:url('AdminPic/poster')}">-->
<!--标题:-->
... ... @@ -14,18 +14,18 @@
<!--</form>-->
<form class="js-ajax-form" method="post">
<div class="table-actions">
<button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="{:url('AdminPic/posterDel')}"
data-subcheck="true" data-msg="{:lang('DELETE_CONFIRM_MESSAGE')}">{:lang('DELETE')}
</button>
<!--<button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="{:url('AdminPic/posterDel')}"-->
<!--data-subcheck="true" data-msg="{:lang('DELETE_CONFIRM_MESSAGE')}">{:lang('DELETE')}-->
<!--</button>-->
</div>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="16">
<label>
<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
</label>
</th>
<!--<th width="16">-->
<!--<label>-->
<!--&lt;!&ndash;<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">&ndash;&gt;-->
<!--</label>-->
<!--</th>-->
<th width="100">ID</th>
<th>微信群图</th>
<th>发布时间</th>
... ... @@ -36,10 +36,10 @@
</thead>
<foreach name="pic" item="vo">
<tr>
<td>
<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
value="{$vo.id}">
</td>
<!--<td>-->
<!--&lt;!&ndash;<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"&ndash;&gt;-->
<!--&lt;!&ndash;value="{$vo.id}">&ndash;&gt;-->
<!--</td>-->
<td>{$vo.id}</td>
<td><img src="{$vo.pic}" height="100px"/></td>
... ... @@ -54,7 +54,7 @@
</td>
<td>
<a href="{:url('AdminPic/posterAdd',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
<a href="{:url('AdminPic/posterDel',array('id'=>$vo['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>
<!--<a href="{:url('AdminPic/posterDel',array('id'=>$vo['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>-->
</td>
</tr>
</foreach>
... ...
... ... @@ -3,8 +3,8 @@
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li><a href="{:url('AdminPic/score')}">图片列表</a></li>
<li class="active"><a href="{:url('AdminPic/scoreAdd')}">添加图片</a></li>
<li><a href="{:url('AdminPic/score')}">积分设置列表</a></li>
<li class="active"><a href="{:url('AdminPic/scoreAdd')}">修改积分设置</a></li>
</ul>
<form action="{:url('AdminPic/scoreAdd')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
<div class="row">
... ...
... ... @@ -3,8 +3,8 @@
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="{:url('AdminPic/score')}">图片列表</a></li>
<li><a href="{:url('AdminPic/scoreAdd')}">添加图片</a></li>
<li class="active"><a href="{:url('AdminPic/score')}">积分设置列表</a></li>
<!--<li><a href="{:url('AdminPic/scoreAdd')}">添加积分设置</a></li>-->
</ul>
<!--<form class="well form-inline margin-top-20" method="post" action="{:url('AdminPic/poster')}">-->
<!--标题:-->
... ... @@ -14,18 +14,18 @@
<!--</form>-->
<form class="js-ajax-form" method="post">
<div class="table-actions">
<button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="{:url('AdminPic/scoreDel')}"
data-subcheck="true" data-msg="{:lang('DELETE_CONFIRM_MESSAGE')}">{:lang('DELETE')}
</button>
<!--<button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="{:url('AdminPic/scoreDel')}"-->
<!--data-subcheck="true" data-msg="{:lang('DELETE_CONFIRM_MESSAGE')}">{:lang('DELETE')}-->
<!--</button>-->
</div>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="16">
<label>
<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
</label>
</th>
<!--<th width="16">-->
<!--<label>-->
<!--<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">-->
<!--</label>-->
<!--</th>-->
<th width="100">ID</th>
<th>类型</th>
<th>赠送积分金额</th>
... ... @@ -37,10 +37,10 @@
</thead>
<foreach name="pic" item="vo">
<tr>
<td>
<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
value="{$vo.id}">
</td>
<!--<td>-->
<!--<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"-->
<!--value="{$vo.id}">-->
<!--</td>-->
<td>{$vo.id}</td>
<td>
<eq name="vo.type" value="1">
... ... @@ -62,7 +62,7 @@
</td>
<td>
<a href="{:url('AdminPic/scoreAdd',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
<a href="{:url('AdminPic/scoreDel',array('id'=>$vo['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>
<!--<a href="{:url('AdminPic/scoreDel',array('id'=>$vo['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>-->
</td>
</tr>
</foreach>
... ...
<!doctype html>
<html lang="en">
<html lang="en" style="font-size: 100px">
<head>
<meta charset="UTF-8">
<meta name="viewport"
... ... @@ -7,14 +7,16 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/style.css">
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<!--<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>-->
<script type="text/javascript" src="__TMPL__/public/assets/js/base.js"></script>
<title>修改个人资料</title>
</head>
<body>
<div class="deit_top">
<div class="container">
<div class="deit_top">
修改个人信息
</div>
<div class="re_item deit_infoitem">
</div>
<div class="re_item deit_infoitem">
<div class="item myinfo_item">
<div class="item_name">姓名</div>
<div class="item_input"><input type="text" value="{$list.name}" placeholder="请填写姓名" class="name"></div>
... ... @@ -34,16 +36,18 @@
<div class="item_input" ><input type="text" value="{$list.wallet}" readonly class="play" style="color: #B2B2B2;"></div>
</div>
</div>
<div class="re_btn myinfo_btn btn_yes">完成</div>
<div class="re_btn myinfo_btn btn_return">返回</div>
<div id="toast" style="display: none;">
</div>
<div class="re_btn myinfo_btn btn_yes">完成</div>
<div class="re_btn myinfo_btn btn_return">返回</div>
<div id="toast" style="display: none;">
<div class="weui-mask_transparent"></div>
<div class="weui-toast">
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
<p class="weui-toast__content">已完成</p>
</div>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
</body>
... ...
<!doctype html>
<html lang="en">
<html lang="en" style="font-size: 100px">
<head>
<meta charset="UTF-8">
<meta name="viewport"
... ... @@ -7,19 +7,21 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/style.css">
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<!--<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>-->
<script type="text/javascript" src="__TMPL__/public/assets/js/base.js"></script>
<title>加入微信群</title>
</head>
<body style="background-color: #fff">
<div class="join_img">
<div class="container">
<div class="join_img">
<empty name="pic.pic">
<img src="__TMPL__/public/assets/images/bg_y@2x_52.png" alt="">
<else/>
<img src="{$pic.pic}" alt="">
</empty>
</div>
<div class="nav_bottom">
</div>
<div class="nav_bottom">
<a class="bottom_item " href="{:url('Index/poster')}">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
... ... @@ -36,7 +38,9 @@
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
</body>
... ...
<!doctype html>
<html lang="en">
<html lang="en" style="font-size: 100px">
<head>
<meta charset="UTF-8">
<meta charset="UTF-8" >
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/style.css">
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<!--<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>-->
<script type="text/javascript" src="__TMPL__/public/assets/js/base.js"></script>
<title>登陆</title>
</head>
<body style="background-color: #fff">
<div class="login_top">
<div class="container">
<div class="login_top">
<div class="top_img">
<img src="__TMPL__/public/assets/images/logo@2x.png" alt="">
</div>
</div>
<div class="login_item">
</div>
<div class="login_item">
<div class="lo_item">
<div class="lo_item_name">手机号</div>
<div class="lo_item_input"><input type="text" placeholder="请填写手机号码" class="tel"></div>
... ... @@ -24,19 +26,22 @@
<div class="lo_item">
<div class="lo_item_name">验证码</div>
<div class="lo_item_input border_r"><input type="text" class="code" placeholder="请输入"></div>
<div class="lo_code" ><input type="button" id="btn" value="获取验证码" onclick="settime(this)" class="lo_code" /></div>
<div class="lo_code" ><input type="button" id="btn" value="获取验证码" class="lo_code" /></div>
</div>
</div>
<div class="re_btn">登录</div>
<div id="toast" style="display: none;">
</div>
<div class="re_btn">登录</div>
<div id="toast" style="display: none;">
<div class="weui-mask_transparent"></div>
<div class="weui-toast">
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
<p class="weui-toast__content">已完成</p>
</div>
</div>
</div>
</body>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
... ... @@ -70,13 +75,15 @@
}
$('#btn').click(function () {
$(".tel").blur(function(){
if( !AuglyTest_phone.test($('.tel').val()) ){
toast("请输入正确的电话号码!")
}
});
var tel = $('.tel').val();
console.log(tel)
if(tel.length == 0){
alert('手机号不能为空');
}else{
var AuglyTest_phone=/^1(3|4|5|7|8)\d{9}$/;
if(!AuglyTest_phone.test($('.tel').val()) ){
alert("请输入正确的电话号码!")
}else{
settime($(this));
$.ajax({
type : 'POST',
url : "{:url('portal/Index/sendSms')}",
... ... @@ -90,30 +97,30 @@
alert('网络错误');
}
})
})
}
}
});
var countdown=60;
function settime(val) {
if (countdown == 0) {
val.removeAttribute("disabled");
val.value="获取验证码";
val.attr("disabled",false);
val.val("获取验证码");
countdown = 60;
} else {
var AuglyTest_phone=/^1(3|4|5|7|8)\d{9}$/;
val.setAttribute("disabled", true);
val.value= countdown +"s";
val.attr("disabled", true);
val.val(countdown +"s");
countdown--;
setTimeout(function() {
settime(val)
},1000)
}
}
// $('.re_btn').click(function () {
// window.location.href="poster.html";
// })
... ...
<!doctype html>
<html lang="en">
<html lang="en" style="font-size: 100px">
<head>
<meta charset="UTF-8">
<meta name="viewport"
... ... @@ -7,11 +7,13 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/style.css">
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<!--<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>-->
<script type="text/javascript" src="__TMPL__/public/assets/js/base.js"></script>
<title>个人中心</title>
</head>
<body>
<div class="re_item myinfo">
<div class="container">
<div class="re_item myinfo">
<div class="item myinfo_item">
<div class="item_name">姓名</div>
<div class="item_input"><input type="text" readonly="readonly" value="{$list.name}" style="color: #B2B2B2;"></div>
... ... @@ -28,9 +30,9 @@
<div class="item_name">钱包地址</div>
<div class="item_input"><input type="text" readonly="readonly" value="{$list.wallet}" style="color: #B2B2B2;"></div>
</div>
</div>
<a class="re_btn myinfo_btn" href="{:url('Index/changeUser')}">修改</a>
<div class="nav_bottom">
</div>
<a class="re_btn myinfo_btn" href="{:url('Index/changeUser')}">修改</a>
<div class="nav_bottom">
<a class="bottom_item " href="{:url('Index/poster')}">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
... ... @@ -47,7 +49,9 @@
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
</div>
</body>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
... ...
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta charset="UTF-8" style="font-size: 100px">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/style.css">
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<!--<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>-->
<script type="text/javascript" src="__TMPL__/public/assets/js/base.js"></script>
<title>积分明细</title>
</head>
<body>
<div class="po_top">
<div class="container">
<div class="po_top">
<div class="po_title">我的积分</div>
<div class="po_num">{$list.all_score}</div>
</div>
<div class="po_itembox">
</div>
<div class="po_itembox">
<volist name="list.detail" id="vo">
<div class="po_item">
<div class="po_left">
... ... @@ -29,8 +31,8 @@
</div>
</volist>
</div>
<div class="nav_bottom">
</div>
<div class="nav_bottom">
<a class="bottom_item " href="{:url('Index/poster')}">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
... ... @@ -47,7 +49,9 @@
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
</body>
... ...
<!doctype html>
<html lang="en">
<html lang="en" style="font-size: 100px">
<head>
<meta charset="UTF-8">
<meta name="viewport"
... ... @@ -7,11 +7,13 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/style.css">
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<!--<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>-->
<script type="text/javascript" src="__TMPL__/public/assets/js/base.js"></script>
<title>海报</title>
</head>
<body style="background-color: #fff">
<div class="join_img">
<div class="container">
<div class="join_img">
<empty name="pic.pic">
<!--<img src="__TMPL__/public/assets/images/bg@2x.png" alt="">-->
<img src="__TMPL__/public/assets/images/bg@2x.png" alt="">
... ... @@ -19,8 +21,8 @@
<!--<img src="{$pic.pic}" alt="">-->
<img src="{$pic.pic}" alt="">
</empty>
</div>
<div class="nav_bottom">
</div>
<div class="nav_bottom">
<a class="bottom_item po_activity" href="{:url('Index/poster')}">
<div class="bottom_icon"><span class="iconfont icon-haibao"></span></div>
<div>海报</div>
... ... @@ -37,15 +39,17 @@
<div class="bottom_icon"><span class="iconfont icon-wode-"></span></div>
<div>个人中心</div>
</a>
</div>
<!--<div class="mold choose" style="display: none;" >-->
<div class="mold choose" >
<div class="all" >
</div>
<!--<div class="mold choose" style="display: none;" >-->
<div class="mold choose" >
<div class="all" >
<div class="all_title">您还未注册</div>
<div class="all_content">请前往注册界面进行注册</div>
<div class="all_yes">确定</div>
</div>
</div>
</div>
</div>
</body>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
... ...
<!doctype html>
<html lang="en">
<html lang="en" style="font-size: 100px">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724267_hizrwxnkr3j.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/style.css">
<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>
<!--<script type="text/javascript" src="__TMPL__/public/assets/js/fontsize.js"></script>-->
<script type="text/javascript" src="__TMPL__/public/assets/js/base.js"></script>
<title>注册</title>
</head>
<body>
<div class="re_item">
<div class="container">
<div class="re_item">
<div class="item">
<div class="item_name">姓名</div>
<div class="item_input"><input type="text" placeholder="请填写姓名" class="name"></div>
... ... @@ -27,18 +29,20 @@
<div class="item_must">必填</div>
</div>
</div>
<div class="re_txt"><span class="iconfont icon-tishi"></span>注意:手机号和钱包地址一旦填写不能修改,钱包地址
</div>
<div class="re_txt"><span class="iconfont icon-tishi"></span>注意:手机号和钱包地址一旦填写不能修改,钱包地址
涉及到转账使用,最好填写完整。</div>
<div class="re_btn">注册</div>
<div class="re_btn">注册</div>
<div id="toast" style="display: none;">
<div id="toast" style="display: none;">
<div class="weui-mask_transparent"></div>
<div class="weui-toast">
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
<p class="weui-toast__content">已完成</p>
</div>
</div>
</div>
</body>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
... ...
... ... @@ -5,17 +5,35 @@
}
body {
background-color: #EFEFF4;
position: relative;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow-x:hidden ;background-color: #EFEFF4;
margin: 0;
padding:0 0 1rem 0;
}
input {
border: none;
outline: none;
background: none;
line-height:100%;
font-size:0.3rem;
}
.iconfont {
font-size: 0.16rem;
}
.container {
width: 7.5rem;
margin: 0 auto;
box-sizing: border-box;
overflow-y: auto;
overflow-x: hidden;
}
input:hover {
outline: none;
... ...
var Length = document.documentElement.clientWidth;
var baseWidth = Length <= 1024 ? Length : 1024 < Length ? 750 : '';
document.documentElement.style.fontSize = baseWidth / 750 * 100 + 'px';
//正则表达式
//window.onload = function() {
// var overscroll = function(el) {
// el.addEventListener('touchstart', function() {
// var top = el.scrollTop,
// totalScroll = el.scrollHeight,
// currentScroll = top + el.offsetHeight
// if(top === 0) {
// el.scrollTop = 1
// } else if(currentScroll === totalScroll) {
// el.scrollTop = top - 1
// }
// })
// el.addEventListener('touchmove', function(evt) {
// //if the content is actually scrollable, i.e. the content is long enough
// //that scrolling can occur
// if(el.offsetHeight < el.scrollHeight)
// evt._isScroller = true
// })
// }
// overscroll(document.querySelector('.container'));
// document.body.addEventListener('touchmove', function(evt) {
// //In this case, the default behavior is scrolling the body, which
// //would result in an overflow. Since we don't want that, we preventDefault.
// if(!evt._isScroller) {
// evt.preventDefault()
// }
// })
//
// mui('body').on('tap','a',function(){
// mui.openWindow(this.href)
// })
//}
... ...