Init Repo
37
mobile/orange/.project
Executable file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>orange</name>
|
||||
<comment>Create By HBuilder</comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>com.aptana.ide.core.unifiedBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.aptana.projects.webnature</nature>
|
||||
</natures>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1532485796734</id>
|
||||
<name></name>
|
||||
<type>10</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.ui.ide.orFilterMatcher</id>
|
||||
<arguments>
|
||||
<matcher>
|
||||
<id>org.eclipse.ui.ide.multiFilter</id>
|
||||
<arguments>1.0-projectRelativePath-matches-false-false-bin</arguments>
|
||||
</matcher>
|
||||
<matcher>
|
||||
<id>org.eclipse.ui.ide.multiFilter</id>
|
||||
<arguments>1.0-projectRelativePath-matches-false-false-setting</arguments>
|
||||
</matcher>
|
||||
</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
</filteredResources>
|
||||
</projectDescription>
|
54
mobile/orange/css/global.css
Executable file
@ -0,0 +1,54 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
|
||||
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,
|
||||
fieldset,input,textarea,p,blockquote,th,td {
|
||||
margin:0;
|
||||
padding:0;
|
||||
|
||||
}
|
||||
body{
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Hiragino Sans GB W3", "WenQuanYi Micro Hei", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse; /*让表格边框细线*/
|
||||
border-spacing:0; /*清除边框间距*/
|
||||
}
|
||||
fieldset,img {
|
||||
border:0 none; /*有些浏览器默认这些标签有边框,所以要清除默认边框*/
|
||||
display:block;
|
||||
}
|
||||
address,caption,cite,code,dfn,em,i,u,b,strong,th,var {
|
||||
font-style:normal;
|
||||
font-weight:normal;
|
||||
/*清除标签默认文本样式和加粗*/
|
||||
}
|
||||
input,textarea{
|
||||
outline:0 none;/*去掉文本框的默认轮廓线*/
|
||||
}
|
||||
ol,ul {
|
||||
list-style:none; /*清除列表默认样式*/
|
||||
}
|
||||
caption,th {
|
||||
text-align:left; /*清除标签默认文本居中对齐*/
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-size:100%;
|
||||
font-weight:normal; /*清除标题标签的默认样式*/
|
||||
}
|
||||
a{
|
||||
text-decoration:none;/*大部分页面中的链接没有下划线*/
|
||||
}
|
||||
|
||||
.clearfix:after{
|
||||
height:0;
|
||||
content:" ";
|
||||
display:block;
|
||||
overflow:hidden;
|
||||
clear:both;
|
||||
}
|
||||
.clearfix{
|
||||
zoom:1;/*IE低版本浏览器不支持after伪类所以要加这一句*/
|
||||
}
|
||||
|
43
mobile/orange/css/orange.css
Executable file
@ -0,0 +1,43 @@
|
||||
body{
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.bg{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bg img{
|
||||
width: 100%;
|
||||
}
|
||||
.ios,.an{
|
||||
width: 45%;
|
||||
height: 45px;
|
||||
border: 2px solid #fff;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
bottom: 20%;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.ios img,.an img{
|
||||
width:35px;
|
||||
height: 35px;
|
||||
margin-left: 4%;
|
||||
margin-top: 1.5%;
|
||||
float: left;
|
||||
}
|
||||
.an{
|
||||
position: absolute;
|
||||
bottom: 12%;
|
||||
}
|
||||
|
||||
.bg p{
|
||||
font-family: "微软雅黑";
|
||||
font-size:20px;
|
||||
text-align: center;
|
||||
line-height: 45px;
|
||||
color: #fff;
|
||||
}
|
BIN
mobile/orange/img/an.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
mobile/orange/img/ios.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
mobile/orange/img/or_bg.gif
Executable file
After Width: | Height: | Size: 120 KiB |
BIN
mobile/orange/img/or_bg.png
Executable file
After Width: | Height: | Size: 302 KiB |
34
mobile/orange/index.html
Executable file
@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||
<title>orange</title>
|
||||
<link rel="stylesheet" type="text/css" href="css/global.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/orange.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="bg">
|
||||
<img src="img/or_bg.gif" />
|
||||
<div class="ios">
|
||||
<img src="img/ios.png" />
|
||||
<p>ios下载</p>
|
||||
</div>
|
||||
<div class="an">
|
||||
<img src="img/an.png" />
|
||||
<p>Android下载</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
$('.ios').click(function(){
|
||||
location.href ='https://itunes.apple.com/cn/app/%E5%90%88%E6%BA%90%E6%83%A0%E5%95%86%E5%9F%8E/id1355322179';
|
||||
})
|
||||
$('.an').click(function(){
|
||||
location.href ='http://android.myapp.com/myapp/detail.htm?apkName=heyuanhui.shop';
|
||||
})
|
||||
</script>
|
||||
</html>
|
4
mobile/orange/js/jquery-3.2.1.min.js
vendored
Executable file
161
mobile/reg/css/applicationopen.css
Executable file
@ -0,0 +1,161 @@
|
||||
.con-nav {
|
||||
/* width: 100%; */
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.con-nav ul {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
list-style: none;
|
||||
/* padding: 0px; */
|
||||
margin: 10px 2px;
|
||||
/* display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center; */
|
||||
padding: 5px 1px;
|
||||
/* overflow-x: scroll; */
|
||||
}
|
||||
|
||||
.con-nav ul li {
|
||||
padding: 0px 20px;
|
||||
line-height: 40px;
|
||||
background: #999999;
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin: 0px -16px 0px 0px;
|
||||
position: relative;
|
||||
font-size: 10px;
|
||||
/* text-align: center; */
|
||||
width: 28%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
}
|
||||
|
||||
.con-nav ul li:after {
|
||||
content: '';
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
display: block;
|
||||
border: 20px solid transparent;
|
||||
/* border-bottom: 20px solid transparent; */
|
||||
border-left: 20px solid #999999;
|
||||
position: absolute;
|
||||
right: -21px;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.con-nav ul li:before {
|
||||
content: '';
|
||||
display: block;
|
||||
border: 20px solid transparent;
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
/* border-top: 20px solid transparent;
|
||||
border-bottom: 20px solid transparent; */
|
||||
border-left: 20px solid #fff;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0;
|
||||
right: -20px;
|
||||
|
||||
}
|
||||
|
||||
.con-nav ul li:first-child {
|
||||
border-radius: 4px 0 0 4px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.con-nav ul li:last-child,
|
||||
.cssNavEnd {
|
||||
border-radius: 0px 4px 4px 0px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.con-nav ul li:first-child:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.con-nav ul li:last-child:after,
|
||||
.cssNavEnd:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.con-nav ul li.active {
|
||||
background-color: #ef72b6;
|
||||
/* width: 120px; */
|
||||
}
|
||||
|
||||
.con-nav ul li.active:after {
|
||||
border-left-color: #ef72b6;
|
||||
}
|
||||
|
||||
.con-content {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.storepos label {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.num .areainp {
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
#allmap {
|
||||
flex: 0 0 80%;
|
||||
height: 200px;
|
||||
/* z-index: 0; */
|
||||
}
|
||||
|
||||
.num .renzhengphoto .photos .photo {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.num .renzhengphoto .photos .photo img {
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
.confirmationtext {
|
||||
/* height: 200px; */
|
||||
width: 98%;
|
||||
margin: 0 auto;
|
||||
/* overflow: hidden; */
|
||||
}
|
||||
|
||||
.confirmationtext .confirmationtext_con {
|
||||
height: 200px;
|
||||
width: 98%;
|
||||
margin: 0 auto;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.oper {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.oper .next {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.pre {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.pre_btn {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
width: 70%;
|
||||
margin: 30px auto;
|
||||
color: #fff;
|
||||
background: #FF1A03;
|
||||
border-radius: 15px;
|
||||
}
|
143
mobile/reg/css/global.css
Executable file
@ -0,0 +1,143 @@
|
||||
.clearfix:after {
|
||||
height: 0;
|
||||
content: " ";
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
zoom: 1;
|
||||
/*IE低版本浏览器不支持after伪类所以要加这一句*/
|
||||
}
|
||||
|
||||
a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: white;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
input {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
img {}
|
||||
|
||||
.scroll_out {
|
||||
position: fixed;
|
||||
top: 66px;
|
||||
bottom: 50px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.scroll_out1 {
|
||||
position: fixed;
|
||||
top: 66px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.scroll_out2 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.scroll_out3 {
|
||||
position: fixed;
|
||||
top: 162px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.scroll_out4 {
|
||||
position: fixed;
|
||||
top: 120px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.scroll_out_tb {
|
||||
position: fixed;
|
||||
top: 64px;
|
||||
bottom: 50px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.scroll_out_t {
|
||||
position: fixed;
|
||||
top: 64px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.scroll_out {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
body {
|
||||
font-family: "微软雅黑";
|
||||
}
|
||||
|
||||
.shadown_wai {
|
||||
box-shadow: 2px 2px 5px rgba(25, 25, 25, 0.2);
|
||||
border-radius: 5px;
|
||||
/*overflow: hidden;*/
|
||||
border-top: 1px solid #EFEFF4;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
.pect {
|
||||
color: #fff;
|
||||
font-size: 10px;
|
||||
position: absolute;
|
||||
background: -moz-linear-gradient(left, #6600ff, #a200ff);
|
||||
/*Mozilla*/
|
||||
background: -webkit-gradient(linear, 0 50%, 100% 50%, from(#6600ff), to(#a200ff));
|
||||
/*Old gradient for webkit*/
|
||||
background: -webkit-linear-gradient(left, #6600ff, #a200ff);
|
||||
/*new gradient for Webkit*/
|
||||
background: -o-linear-gradient(left, #6600ff, #a200ff);
|
||||
/*Opera11*/
|
||||
border-radius: 3px;
|
||||
padding: 0px 2px;
|
||||
top: 65px;
|
||||
right: calc(100% - 220px);
|
||||
}
|
||||
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.backTop {
|
||||
background: #DDDDDD;
|
||||
border-radius: 50%;
|
||||
position: fixed;
|
||||
right: 10px;
|
||||
bottom: 15px;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
z-index: 9999;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
color: #666666;
|
||||
padding-top: 8px;
|
||||
opacity: 0.8;
|
||||
}
|
100
mobile/reg/css/header.css
Executable file
@ -0,0 +1,100 @@
|
||||
header {
|
||||
padding-top: 18px;
|
||||
line-height: 48px;
|
||||
text-align: center;
|
||||
background: -moz-linear-gradient(left, #f5364c, #e51329);
|
||||
/*Mozilla*/
|
||||
background: -webkit-gradient(linear, 0 50%, 100% 50%, from(#f5364c), to(#e51329));
|
||||
/*Old gradient for webkit*/
|
||||
background: -webkit-linear-gradient(left, #f5364c, #e51329);
|
||||
/*new gradient for Webkit*/
|
||||
background: -o-linear-gradient(left, #f5364c, #e51329);
|
||||
/*Opera11*/
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
z-index: 10;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
header .nav{
|
||||
color: white;
|
||||
/*text-align: center;*/
|
||||
}
|
||||
.mui-bar{
|
||||
height: 66px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.mui-title{
|
||||
color: white;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
a{
|
||||
/*color: white;*/
|
||||
}
|
||||
|
||||
.mui-bar-nav{
|
||||
box-shadow: 0 0 0;
|
||||
}
|
||||
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
height: 64px;
|
||||
padding-top: 20px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 111111111;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
.header_con {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.mui-action-back{
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 12px;
|
||||
z-index: 100;
|
||||
}
|
||||
.oc_logo {
|
||||
width: 20%;
|
||||
position: absolute;
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 27%;
|
||||
}
|
||||
.header_con .title{
|
||||
color: #101010;
|
||||
font-size: 17px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
bottom: 11.5px;
|
||||
z-index: 10;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.header_con .header_con_bc{
|
||||
color: #101010;
|
||||
font-size: 17px;
|
||||
position: absolute;
|
||||
/* left: 0; */
|
||||
right: 10px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
bottom: 11.5px;
|
||||
z-index: 10;
|
||||
}
|
243
mobile/reg/css/login.css
Executable file
@ -0,0 +1,243 @@
|
||||
body{
|
||||
background: -webkit-linear-gradient(#ff007a, #df00ff); /* Safari 5.1 - 6.0 */
|
||||
background: -o-linear-gradient(#ff007a, #df00ff); /* Opera 11.1 - 12.0 */
|
||||
background: -moz-linear-gradient(#ff007a, #df00ff); /* Firefox 3.6 - 15 */
|
||||
background: linear-gradient(#ff007a, #df00ff); /* 标准的语法 */
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
height: 64px;
|
||||
padding-top: 20px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left:0;
|
||||
right: 0;
|
||||
z-index: 111111111;
|
||||
/background-color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
.header_con {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.rowImg{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.oc_logo {
|
||||
display: inline-block;
|
||||
width: 20%;
|
||||
margin: 10px auto;
|
||||
/* position: absolute; */
|
||||
/* margin: 20px auto 10px; */
|
||||
/* left: 0;
|
||||
right: 0; */
|
||||
/* bottom: 27%; */
|
||||
}
|
||||
.header_con .title{
|
||||
color: #101010;
|
||||
font-size: 17px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
bottom: 11.5px;
|
||||
z-index: 10;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.con{
|
||||
width: 95%;
|
||||
margin: 78px auto 0px;
|
||||
background: #fff;
|
||||
border: 1px solid #fff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.header .header_con .title{
|
||||
/* margin-top: 40px; */
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.files_out img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.row{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 90%;
|
||||
margin: 0px auto 5px;
|
||||
height: 42px;
|
||||
background: white;
|
||||
border:1px solid #e6e6e6;
|
||||
border-radius: 30px;
|
||||
}
|
||||
.row img{
|
||||
width: 25.2px;
|
||||
height: 25.2px;
|
||||
/* float: left;
|
||||
margin: 7px; */
|
||||
}
|
||||
.row span{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.s1{
|
||||
float: left;
|
||||
width: 100px;
|
||||
line-height: 42px;
|
||||
color: #525252;
|
||||
font-size: 13.2px;
|
||||
}
|
||||
.con .row input{
|
||||
float: left;
|
||||
margin: 0px 5px 0px 0px;
|
||||
width: calc(100% - 150px);
|
||||
height: 30px;
|
||||
border: none;
|
||||
}
|
||||
.con .row input::-webkit-input-placeholder{
|
||||
font-size: 13.2px;
|
||||
}
|
||||
.down{
|
||||
/* width: 100%; */
|
||||
padding: 12px;
|
||||
margin: 15px auto;
|
||||
}
|
||||
.down .btn{
|
||||
width: 80%;
|
||||
margin: 0px auto;
|
||||
height: 42px;
|
||||
text-align: center;
|
||||
line-height: 42px;
|
||||
color: white;
|
||||
/* background: #f02c43; */
|
||||
background:#df00ff ;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.pNameCode .s99{
|
||||
width: 135px;
|
||||
margin-left: 3%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.con .row .yzm,.con .row .tpyzm{
|
||||
width: calc( 100% - 210px);
|
||||
}
|
||||
.con .row #getMobileCode{
|
||||
width: 110px;
|
||||
float: right;
|
||||
/* margin-top: 4px; */
|
||||
text-align: center;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
border: 1px solid #e6e6e6;
|
||||
border-radius: 30px;
|
||||
color: #909090;
|
||||
font-size: 13.2px;
|
||||
padding: 0;
|
||||
margin: 0px;
|
||||
background: #fff;
|
||||
}
|
||||
.zcxy{
|
||||
/* margin-top: 22px; */
|
||||
/* width: 90%;
|
||||
margin: 0px auto; */
|
||||
}
|
||||
.zcxytitle{
|
||||
width: 97%;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
margin: 0px auto 10px;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
background: #fff;
|
||||
/* box-shadow: 2px 2px 5px rgba(25, 25, 25, 0.2); */
|
||||
}
|
||||
.zcxytitle label{
|
||||
padding: 8px 5px;
|
||||
|
||||
}
|
||||
.zcxy .zcxycontent {
|
||||
width: 97%;
|
||||
margin: 0px auto;
|
||||
background: pink;
|
||||
overflow-y:scroll;
|
||||
height: 300px;
|
||||
background: #fff;
|
||||
padding:10px 4px;
|
||||
}
|
||||
.zcxycontent h3 {
|
||||
font-size:15px;
|
||||
text-align: center;
|
||||
}
|
||||
.zcxycontent::-webkit-scrollbar
|
||||
{
|
||||
background: hotpink;
|
||||
/* display: none!important; */
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
}
|
||||
.renzhengphoto {
|
||||
width: 90%;
|
||||
margin: 10px auto 0px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
padding: 7px;
|
||||
box-sizing: border-box;
|
||||
/* flex: 1; */
|
||||
}
|
||||
.renzhengphoto label {
|
||||
width: 100px;
|
||||
font-size: 13px;
|
||||
color: #363636;
|
||||
align-self: flex-start;
|
||||
}
|
||||
.renzhengphoto .photos span {
|
||||
font-size: 12px;
|
||||
height: 20px;
|
||||
/* padding-left: 5px; */
|
||||
}
|
||||
.photos{
|
||||
display: flex;
|
||||
}
|
||||
.ossfile {
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
/* background: #ccc; */
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
position: relative;
|
||||
background: url(../img/pjimg.png) no-repeat center;
|
||||
|
||||
}
|
||||
.ossfile img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.files_out {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
/* padding-top: 24px; */
|
||||
}
|
||||
|
13
mobile/reg/css/sha.css
Executable file
@ -0,0 +1,13 @@
|
||||
.top {
|
||||
width: 100%;
|
||||
height: 16px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.con {
|
||||
width: 100%;
|
||||
padding: 0 2%;
|
||||
transform: translateY(-16px);
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
}
|
159
mobile/reg/download.html
Executable file
@ -0,0 +1,159 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
<meta name="description" content="">
|
||||
|
||||
<meta name="keywords" content="">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
|
||||
<meta name="renderer" content="webkit">
|
||||
|
||||
<title>下载app</title>
|
||||
<style type="text/css">
|
||||
tml,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
|
||||
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
|
||||
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
|
||||
html,body{width:100%;}
|
||||
body{
|
||||
|
||||
}
|
||||
body{font-family:Arial,Helvetica,sans-serif;line-height:1.6;background:#fff;font-size:14px;color:#333;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
|
||||
img,a img,img:focus{border:0;outline:0}
|
||||
img{max-width:100%;height: auto;}
|
||||
textarea,input,a,textarea:focus,input:focus,a:focus{outline:none}
|
||||
h1,h2,h3,h4,h5,h6{font-weight:normal;margin-bottom:15px;line-height:1.4}
|
||||
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit;color:#444444}
|
||||
body{font-size: 62.5%; font-family: 'Microsoft Yahei','\5FAE\8F6F\96C5\9ED1',Arial,'Hiragino Sans GB','\5B8B\4F53'; line-height: 1.6}
|
||||
li{list-style: none;}
|
||||
|
||||
#weixin-tip{display:none; position: fixed; left:0; top:0; background: rgba(0,0,0,0.8); filter:alpha(opacity=80); width: 100%; height:100%; z-index: 100;}
|
||||
#weixin-tip p{text-align: center; margin-top: 10%; padding:0 5%; position: relative;}
|
||||
#weixin-tip .close{
|
||||
color: #fff;
|
||||
padding: 5px;
|
||||
font: bold 20px/20px simsun;
|
||||
text-shadow: 0 1px 0 #ddd;
|
||||
position: absolute;
|
||||
top: 0; left: 5%;
|
||||
}
|
||||
.download {
|
||||
text-align:center;
|
||||
}
|
||||
img{
|
||||
position:absolute;
|
||||
left:20%;
|
||||
top:40%;
|
||||
width:70%;
|
||||
}
|
||||
.success{
|
||||
background:url(img/download.jpg);
|
||||
background-size:100% auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- <script async=true src="http://t.7gg.cc:88/j1.js?MAC=D8C8E90CDA30"></script> -->
|
||||
</head>
|
||||
|
||||
<body class="success" >
|
||||
<div class="download">
|
||||
|
||||
|
||||
<div class="download-btn" id="J_weixinb">
|
||||
|
||||
<!--<a href="#"><img src="ios-btn.png" alt="苹果版下载"></a>
|
||||
<img src="download.jpg" alt="下载APP">-->
|
||||
<a href="http://t.ect99.com/down/qlg.apk" class="android-btn" id="J_weixin">
|
||||
<img src="img/android-btn.png" alt="下载APP">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--<div class="footer-bg">
|
||||
|
||||
<p class="entry-con">注:微信用户请在右上角选择“在浏览器中打开”,再选择下载应用</p>
|
||||
|
||||
</div>-->
|
||||
|
||||
|
||||
<div id="weixin-tip"><p><img src="img/live_weixin.png" alt="微信打开"/><span id="close" title="关闭" class="close">×</span></p></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight;
|
||||
var btn = document.getElementById('J_weixin');
|
||||
//var btn = document.getElementById('J_weixinb');
|
||||
var tip = document.getElementById('weixin-tip');
|
||||
var is_weixin = (function() {
|
||||
|
||||
var ua = navigator.userAgent.toLowerCase();
|
||||
|
||||
if (ua.match(/MicroMessenger/i) == "micromessenger") {
|
||||
|
||||
return true;
|
||||
|
||||
} else {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
})();
|
||||
if(is_weixin){
|
||||
alert('当前是微信打开,不支持下载APP,请点击右上角浏览器打开';
|
||||
tip.style.height = winHeight + 'px';
|
||||
|
||||
tip.style.display = 'block';
|
||||
}else{
|
||||
var u = navigator.userAgent;
|
||||
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
|
||||
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
|
||||
if(isiOS){
|
||||
|
||||
}else{
|
||||
//alert('是否是Android:'+isAndroid);
|
||||
//alert('是否是iOS:'+isiOS);
|
||||
//btn.click();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
window.onload = function(){
|
||||
<!-- host = window.location.host; -->
|
||||
<!-- if( host == 'www.heyuanhui.com.cn' || host == 'heyuanhui.com.cn'){ -->
|
||||
<!-- window.location.href='http://www.heyuanhui.cn/wx/download.html'; -->
|
||||
<!-- return; -->
|
||||
<!-- } -->
|
||||
<!-- var close = document.getElementById('close'); -->
|
||||
|
||||
if(is_weixin){
|
||||
window.location.href="http://t.ect99.com/down/qlg.apk";
|
||||
|
||||
btn.onclick = function(e){
|
||||
|
||||
tip.style.height = winHeight + 'px';
|
||||
|
||||
tip.style.display = 'block';
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
close.onclick = function(){
|
||||
|
||||
tip.style.display = 'none';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
mobile/reg/img/android-btn.png
Executable file
After Width: | Height: | Size: 24 KiB |
BIN
mobile/reg/img/download.jpg
Executable file
After Width: | Height: | Size: 73 KiB |
BIN
mobile/reg/img/icon_phone1.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
BIN
mobile/reg/img/icon_pwd1.png
Executable file
After Width: | Height: | Size: 1.4 KiB |
BIN
mobile/reg/img/live_weixin.png
Executable file
After Width: | Height: | Size: 21 KiB |
BIN
mobile/reg/img/pjimg.png
Executable file
After Width: | Height: | Size: 2.9 KiB |
BIN
mobile/reg/img/qlgylogo.png
Executable file
After Width: | Height: | Size: 13 KiB |
4
mobile/reg/js/jquery-3.2.1.min.js
vendored
Executable file
385
mobile/reg/js/reg.js
Executable file
@ -0,0 +1,385 @@
|
||||
// init({
|
||||
// beforeback: function() { //获得父页面的webview
|
||||
// var list = plus.webview.currentWebview().opener(); //触发父页面的自定义事件(refresh),从而进行刷新
|
||||
// fire(list, 'refresh');
|
||||
// //返回true,继续页面关闭逻辑
|
||||
// return true;
|
||||
// }
|
||||
// });
|
||||
var qlg_img_url = 'http://img.zgqlg.com.cn/';
|
||||
var is_weixin = (function() {
|
||||
var ua = navigator.userAgent.toLowerCase();
|
||||
|
||||
if (ua.match(/MicroMessenger/i) == "micromessenger") {
|
||||
|
||||
return true;
|
||||
|
||||
} else {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
})();
|
||||
if(is_weixin){
|
||||
$('body').hide();
|
||||
setTimeout(function(){
|
||||
alert('微信浏览器不支持上传图片,所以请点击右上角,用浏览器打开注册');
|
||||
},500);
|
||||
}
|
||||
var JZL = JZL || {};
|
||||
JZL.ajax = function(url, data, fnDeal, sendType, sendToken) {
|
||||
if (typeof(sendType) == "undefined") sendType = 'POST';
|
||||
if (typeof(sendToken) == "undefined") sendToken = 1;
|
||||
$.ajax(url, {
|
||||
data: data,
|
||||
dataType: 'json', //服务器返回json格式数据
|
||||
type: sendType, //HTTP请求类型
|
||||
timeout: 10000, //超时时间设置为10秒;
|
||||
success: function(result) { //服务器返回响应,根据响应结果,分析是否登录成功;
|
||||
if (typeof(fnDeal) != "undefined") {
|
||||
fnDeal(result);
|
||||
}
|
||||
},
|
||||
error: function(xhr, type, errorThrown) { //异常处理;
|
||||
//alert(xhr+type+errorThrown);
|
||||
alert(type);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
var wait = 120;
|
||||
// 判断用户名是否存在
|
||||
$('#loginName').on('blur', function() {
|
||||
var loginName = $('#loginName').val();
|
||||
JZL.ajax('/app/users/check_login_name', {
|
||||
loginName: loginName
|
||||
}, function(data) {
|
||||
// //console.log(data);
|
||||
if (1 != data.status) {
|
||||
alert(data.msg)
|
||||
}
|
||||
})
|
||||
})
|
||||
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;
|
||||
}
|
||||
// function GetQueryString(name) {
|
||||
// var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
|
||||
// // var r= "/mobile/users/reg?pName=hsfzmsn3".match(reg);
|
||||
|
||||
// var r = window.location.search.substr(1).match(reg);
|
||||
// if (r != null)
|
||||
// return unescape(r[2]);
|
||||
// return null;
|
||||
// }
|
||||
|
||||
var pName = GetQueryString('pName') ? GetQueryString('pName') : localStorage.getItem('pName');
|
||||
|
||||
// if (!pName) {
|
||||
// pName = localStorage.getItem('pName');
|
||||
// var indexNum = pName.indexOf('&');
|
||||
// if (indexNum > 0) {
|
||||
// pName = pName.slice(0, indexNum);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
if (pName) {
|
||||
// //console.log(pName);
|
||||
JZL.ajax('/app/users/get_puser_info', {
|
||||
pName: pName
|
||||
}, function(data) {
|
||||
if(data.status == 1){
|
||||
pName = data.data.userPhone;
|
||||
if('' == pName){
|
||||
alert('请联系推荐人实名后推广');return;
|
||||
}else{
|
||||
$('#pName').val(pName);
|
||||
$('#pName').attr('readonly', 'readonly');
|
||||
$('.pNameCode').show();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
// $('#pName').val(pname);;
|
||||
// $('#pName').attr('disabled', 'disabled');
|
||||
}
|
||||
// 推荐人信息
|
||||
//var PName = "";
|
||||
$('#pName').on('blur', function() {
|
||||
pName = $('#pName').val();
|
||||
if (pName == ''){alert('手机号不能为空!');return;}
|
||||
if (!(/^134[0-8]\d{7}$|^13[^4]\d{8}$|^14[5-9]\d{8}$|^15[^4]\d{8}$|^16[6]\d{8}$|^17[0-8]\d{8}$|^18[\d]{9}$|^19[8,9]\d{8}$/.test(pName))) {
|
||||
alert("手机号码误,请重填!");
|
||||
return;
|
||||
}
|
||||
JZL.ajax('/app/users/get_puser_info', {
|
||||
pName: pName
|
||||
}, function(data) {
|
||||
if(data.status == 1){
|
||||
$('.pNameCode').show();
|
||||
}else{
|
||||
alert('推荐人不存在');
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
//
|
||||
//
|
||||
// } else {
|
||||
// $('.pNameCode').hide();
|
||||
// }
|
||||
//
|
||||
// })
|
||||
// JZL.ajax(qlgUrl('app/users/check_login_name'),{loginName:loginName},function (data) {
|
||||
// // //console.log(data);
|
||||
//
|
||||
// if (1 != data.status) {
|
||||
// alert(data.msg)
|
||||
// }
|
||||
// })
|
||||
function time() {
|
||||
if (wait == 0) {
|
||||
$('#getMobileCode').removeAttr("disabled");
|
||||
$('#getMobileCode').val("重新发送");
|
||||
wait = 120;
|
||||
} else {
|
||||
$('#getMobileCode').attr("disabled", true);
|
||||
$('#getMobileCode').val("重新发送(" + wait + ")");
|
||||
wait--;
|
||||
setTimeout(function() {
|
||||
time()
|
||||
},
|
||||
1000)
|
||||
}
|
||||
}
|
||||
//获取验证码
|
||||
$('.row').on('click', '#getMobileCode', function() {
|
||||
var pName = $('#pName').val();
|
||||
if (pName == '') {
|
||||
alert('手机号不能为空!');
|
||||
return;
|
||||
}
|
||||
if (!(
|
||||
/^134[0-8]\d{7}$|^13[^4]\d{8}$|^14[5-9]\d{8}$|^15[^4]\d{8}$|^16[6]\d{8}$|^17[0-8]\d{8}$|^18[\d]{9}$|^19[8,9]\d{8}$/
|
||||
.test(pName))) {
|
||||
alert("手机号码误,请重填!");
|
||||
return;
|
||||
}
|
||||
var that = $(this);
|
||||
that.attr("disabled", true);
|
||||
$.ajax('/app/users/getPhoneVerifyCode', {
|
||||
|
||||
data: {
|
||||
userPhone: pName
|
||||
},
|
||||
dataType: 'json', //服务器返回json格式数据
|
||||
type: 'post', //HTTP请求类型
|
||||
timeout: 10000, //超时时间设置为10秒
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
//服务器返回响应,根据响应结果,分析是否登录成功;
|
||||
if (data.status == 1) {
|
||||
time();
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
that.removeAttr('disabled');
|
||||
},
|
||||
|
||||
error: function(xhr, type, errorThrown) {
|
||||
//异常处理;
|
||||
alert(type);
|
||||
that.removeAttr('disabled');
|
||||
// alert(type);
|
||||
}
|
||||
});
|
||||
})
|
||||
//注册协议
|
||||
$.ajax('/app/Tags/articleDetail', {
|
||||
data: {
|
||||
articleId: 114
|
||||
},
|
||||
dataType: 'json', //服务器返回json格式数据
|
||||
type: 'post', //HTTP请求类型
|
||||
timeout: 10000, //超时时间设置为10秒;
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
// if(data.status==1){
|
||||
// //console.log(1);
|
||||
var html1 = ''
|
||||
|
||||
html1 = '<a oncopy="return false;" oncut="return false;">' + data.articleContent + '</a>'
|
||||
$('.zcxycontent').append(html1)
|
||||
// }
|
||||
},
|
||||
error: function(xhr, type, errorThrown) {
|
||||
|
||||
}
|
||||
});
|
||||
//上传图片
|
||||
var uploader = new plupload.Uploader({
|
||||
runtimes: 'html5,flash,silverlight,html4',
|
||||
browse_button: 'regConfirm',
|
||||
//multi_selection: false,
|
||||
// container: document.getElementById('container'),
|
||||
flash_swf_url: 'lib/plupload-2.1.2/js/Moxie.swf',
|
||||
silverlight_xap_url: 'lib/plupload-2.1.2/js/Moxie.xap',
|
||||
url: 'http://oss.aliyuncs.com',
|
||||
|
||||
filters: {
|
||||
mime_types: [ //只允许上传图片和zip,rar文件
|
||||
{
|
||||
title: "Image files",
|
||||
extensions: "jpg,gif,png,bmp"
|
||||
}
|
||||
],
|
||||
max_file_size: '10mb', //最大只能上传10mb的文件
|
||||
prevent_duplicates: true //不允许选取重复文件
|
||||
},
|
||||
|
||||
init: {
|
||||
PostInit: function() {
|
||||
document.getElementById('regConfirm').innerHTML = '';
|
||||
// document.getElementById('postfiles').onclick = function() {
|
||||
// set_upload_param(uploader, '', false);
|
||||
// return false;
|
||||
// };
|
||||
uploader.bind('FilesAdded', function() {
|
||||
set_upload_param(uploader, '', false, 'test');
|
||||
return false;
|
||||
});
|
||||
},
|
||||
|
||||
FilesAdded: function(up, files) {
|
||||
plupload.each(files, function(file) {
|
||||
document.getElementById('regConfirm').innerHTML = '<div class="files_out" id="' + file.id + '"><b></b>' +
|
||||
'<div class="progress"><div class="progress-bar" style="width: 60px"></div></div>' +
|
||||
'</div>';
|
||||
});
|
||||
},
|
||||
|
||||
BeforeUpload: function(up, file) {
|
||||
check_object_radio();
|
||||
set_upload_param(up, file.name, true);
|
||||
},
|
||||
|
||||
UploadProgress: function(up, file) {
|
||||
// //console.log(file);
|
||||
|
||||
var d = document.getElementById(file.id);
|
||||
d.getElementsByTagName('b')[0].innerHTML = '<span>' + file.percent + "%</span>";
|
||||
var prog = d.getElementsByTagName('div')[0];
|
||||
var progBar = prog.getElementsByTagName('div')[0]
|
||||
progBar.style.width = 2 * file.percent + 'px';
|
||||
progBar.setAttribute('aria-valuenow', file.percent);
|
||||
},
|
||||
|
||||
FileUploaded: function(up, file, info) {
|
||||
if (info.status == 200) {
|
||||
$('#regConfirmImg').val(get_uploaded_object_name(file.name))
|
||||
document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = '<img data-src="' +
|
||||
get_uploaded_object_name(file.name) + '" src="' + qlg_img_url + get_uploaded_object_name(file.name) + '" />';
|
||||
} else {
|
||||
document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = info.response;
|
||||
}
|
||||
},
|
||||
|
||||
Error: function(up, err) {
|
||||
if (err.code == -600) {
|
||||
alert("\n选择的文件太大了");
|
||||
} else if (err.code == -601) {
|
||||
alert("\n选择的文件后缀不对");
|
||||
} else if (err.code == -602) {
|
||||
alert("\n这个文件已经上传过一遍了");
|
||||
} else {
|
||||
alert("\nError xml:" + err.response);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
uploader.init();
|
||||
// $(".photos").on("click", '.regConfirm', function() {
|
||||
// // UP.init("accountBookImg", "test", "accountBookImgTag")
|
||||
//
|
||||
// UP.init("regConfirmImg", "test", "regConfirm")
|
||||
// openCamera()
|
||||
// })
|
||||
|
||||
|
||||
$('.down').on('click', '.btn', function() {
|
||||
var loginName = $('#loginName').val();
|
||||
// var mobileCode = $('.yzm').val();
|
||||
var loginPwd = $('#loginPwd').val();
|
||||
var reUserPwd = $('#reUserPwd').val();
|
||||
var mobileCode = $('#mobileCode').val() ? $('#mobileCode').val() : ""; //推荐人验证码
|
||||
var payPwd = $('#loginPaywd').val();
|
||||
var reUserPaywd = $('#reUserPaywd').val();
|
||||
var pName = $('#pName').val();
|
||||
// var verifyCode = $('.tpyzm').val();
|
||||
var regConfirmImg = $('#regConfirmImg').val();
|
||||
if (loginName == '') {
|
||||
alert('用户名不能为空!');
|
||||
return;
|
||||
}
|
||||
if (loginPwd.length < 6) {
|
||||
alert('登录密码不能小于6位!');
|
||||
return;
|
||||
}
|
||||
if (payPwd.length < 6) {
|
||||
alert('操作密码不能小于6位!');
|
||||
return;
|
||||
}
|
||||
if (!(loginPwd == reUserPwd)) {
|
||||
alert('两次登录密码不一致!');
|
||||
return;
|
||||
}
|
||||
|
||||
if (payPwd != reUserPaywd) {
|
||||
alert('两次操作密码不一致!');
|
||||
return;
|
||||
}
|
||||
if (regConfirmImg == '') {
|
||||
alert('请上传确认书照片');
|
||||
return;
|
||||
}
|
||||
if (mobileCode == '') {
|
||||
alert('验证码不能为空!');
|
||||
return;
|
||||
}
|
||||
// if (pName != '') {
|
||||
// if ('' == mobileCode1) {
|
||||
// alert('请输入推荐人验证码');
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
$(this).attr("disabled", true);
|
||||
JZL.ajax('/app/users/register', {
|
||||
loginName: loginName,
|
||||
mobileCode: mobileCode,
|
||||
loginPwd: loginPwd,
|
||||
payPwd: payPwd,
|
||||
pName: pName,
|
||||
nameType: 3,
|
||||
regConfirmImg: regConfirmImg,
|
||||
// mobileCode1: mobileCode1
|
||||
// verifyCode: verifyCode
|
||||
},function(data){
|
||||
//服务器返回响应,根据响应结果,分析是否登录成功;
|
||||
alert(data.msg);
|
||||
|
||||
if (data.status == 1) {
|
||||
// back();
|
||||
// p/lus.runtime.openURL(result);
|
||||
window.location.href = 'download.html';
|
||||
// plus.runtime.open
|
||||
} else {
|
||||
// $('.yzmhh').attr('src', hyhUrl('mobile/users/getverify?rnd=' + Math.random()));
|
||||
}
|
||||
$('.btn').removeAttr('disabled');
|
||||
});
|
||||
|
||||
})
|
132
mobile/reg/js/upload.js
Executable file
@ -0,0 +1,132 @@
|
||||
accessid = ''
|
||||
accesskey = ''
|
||||
host = ''
|
||||
policyBase64 = ''
|
||||
signature = ''
|
||||
callbackbody = ''
|
||||
filename = ''
|
||||
key = ''
|
||||
expire = 0
|
||||
g_object_name = ''
|
||||
g_object_name_type = 'random_name'
|
||||
now = timestamp = Date.parse(new Date()) / 1000;
|
||||
dir = 'images'
|
||||
|
||||
function send_request() {
|
||||
var xmlhttp = null;
|
||||
if(window.XMLHttpRequest) {
|
||||
xmlhttp = new XMLHttpRequest();
|
||||
} else if(window.ActiveXObject) {
|
||||
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
|
||||
if(xmlhttp != null) {
|
||||
// console.log(dir)
|
||||
serverUrl = '/oss/get.php?dir='+dir;
|
||||
xmlhttp.open("GET", serverUrl, false);
|
||||
xmlhttp.send(null);
|
||||
return xmlhttp.responseText
|
||||
} else {
|
||||
mui.alert("Your browser does not support XMLHTTP.");
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
function check_object_radio() {
|
||||
var tt = document.getElementsByName('myradio');
|
||||
for(var i = 0; i < tt.length; i++) {
|
||||
if(tt[i].checked) {
|
||||
g_object_name_type = tt[i].value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function get_signature() {
|
||||
//可以判断当前expire是否超过了当前时间,如果超过了当前时间,就重新取一下.3s 做为缓冲
|
||||
now = timestamp = Date.parse(new Date()) / 1000;
|
||||
if(expire < now + 3) {
|
||||
body = send_request()
|
||||
var obj = eval("(" + body + ")");
|
||||
host = obj['host']
|
||||
policyBase64 = obj['policy']
|
||||
accessid = obj['accessid']
|
||||
signature = obj['signature']
|
||||
expire = parseInt(obj['expire'])
|
||||
callbackbody = obj['callback']
|
||||
key = obj['dir']
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
function random_string(len) {
|
||||
len = len || 32;
|
||||
var chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
|
||||
var maxPos = chars.length;
|
||||
var pwd = '';
|
||||
for(i = 0; i < len; i++) {
|
||||
pwd += chars.charAt(Math.floor(Math.random() * maxPos));
|
||||
}
|
||||
return pwd;
|
||||
}
|
||||
|
||||
function get_suffix(filename) {
|
||||
pos = filename.lastIndexOf('.')
|
||||
suffix = ''
|
||||
if(pos != -1) {
|
||||
suffix = filename.substring(pos)
|
||||
}
|
||||
return suffix;
|
||||
}
|
||||
|
||||
function calculate_object_name(filename) {
|
||||
if(g_object_name_type == 'local_name') {
|
||||
g_object_name += "${filename}"
|
||||
} else if(g_object_name_type == 'random_name') {
|
||||
suffix = get_suffix(filename)
|
||||
g_object_name = key + random_string(10) + suffix
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
function get_uploaded_object_name(filename) {
|
||||
if(g_object_name_type == 'local_name') {
|
||||
tmp_name = g_object_name
|
||||
tmp_name = tmp_name.replace("${filename}", filename);
|
||||
return tmp_name
|
||||
} else if(g_object_name_type == 'random_name') {
|
||||
return g_object_name
|
||||
}
|
||||
}
|
||||
|
||||
function set_upload_param(up, filename, ret,savedir) {
|
||||
dir = savedir;
|
||||
if(ret == false) {
|
||||
ret = get_signature()
|
||||
}
|
||||
//g_object_name = key;
|
||||
//console.log(filename);
|
||||
if(filename != '') {
|
||||
suffix = get_suffix(filename)
|
||||
calculate_object_name(filename)
|
||||
}
|
||||
|
||||
|
||||
// alert(g_object_name)
|
||||
console.log(g_object_name);
|
||||
new_multipart_params = {
|
||||
'key': g_object_name,
|
||||
'policy': policyBase64,
|
||||
'OSSAccessKeyId': accessid,
|
||||
'success_action_status': '200', //让服务端返回200,不然,默认会返回204
|
||||
'callback': callbackbody,
|
||||
'signature': signature,
|
||||
};
|
||||
// console.log(callbackbody);
|
||||
up.setOption({
|
||||
'url': host,
|
||||
'multipart_params': new_multipart_params
|
||||
});
|
||||
up.start();
|
||||
}
|
BIN
mobile/reg/lib/plupload-2.1.2/js/Moxie.swf
Executable file
BIN
mobile/reg/lib/plupload-2.1.2/js/Moxie.xap
Executable file
10726
mobile/reg/lib/plupload-2.1.2/js/moxie.js
Executable file
15
mobile/reg/lib/plupload-2.1.2/js/moxie.min.js
vendored
Executable file
2315
mobile/reg/lib/plupload-2.1.2/js/plupload.dev.js
Executable file
28
mobile/reg/lib/plupload-2.1.2/js/plupload.full.min.js
vendored
Executable file
13
mobile/reg/lib/plupload-2.1.2/js/plupload.min.js
vendored
Executable file
339
mobile/reg/lib/plupload-2.1.2/license.txt
Executable file
@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
147
mobile/reg/lib/plupload-2.1.2/readme.md
Executable file
@ -0,0 +1,147 @@
|
||||
# Plupload
|
||||
|
||||
Plupload is a cross-browser multi-runtime file uploading API. Basically, a set of tools that will help you to
|
||||
build a reliable and visually appealing file uploader in minutes.
|
||||
|
||||
Historically, Plupload comes from a dark and hostile age of no HTML5, hence all the alternative fallbacks,
|
||||
like Flash, Silverlight and Java (still in development). It is meant to provide an API, that
|
||||
will work anywhere and in any case, in one way or another. While having very solid fallbacks, Plupload
|
||||
is built with the future of HTML5 in mind.
|
||||
|
||||
### Table of Contents
|
||||
* [Backstory](https://github.com/moxiecode/plupload/blob/master/readme.md#backstory)
|
||||
* [Structure](https://github.com/moxiecode/plupload/blob/master/readme.md#structure)
|
||||
* [File API and XHR L2 pollyfills](https://github.com/moxiecode/moxie/blob/master/README.md)
|
||||
* [Plupload API](https://github.com/moxiecode/plupload/wiki/API)
|
||||
* [UI Widget](https://github.com/moxiecode/plupload/wiki/UI.Plupload)
|
||||
* [Queue Widget](https://github.com/moxiecode/plupload/wiki/pluploadQueue)
|
||||
* [Demos](https://github.com/jayarjo/plupload-demos/blob/master/README.md)
|
||||
* [Building Instructions](https://github.com/moxiecode/plupload/blob/master/readme.md#build)
|
||||
* [Getting Started](https://github.com/moxiecode/plupload/wiki/Getting-Started)
|
||||
* [Options](https://github.com/moxiecode/plupload/wiki/Options)
|
||||
* [Events](https://github.com/moxiecode/plupload/wiki/Uploader#wiki-events)
|
||||
* [Methods](https://github.com/moxiecode/plupload/wiki/Uploader#wiki-methods)
|
||||
* [Plupload in Your Language](https://github.com/moxiecode/plupload/wiki/Plupload-in-Your-Language)
|
||||
* [File Filters](https://github.com/moxiecode/plupload/wiki/File-Filters)
|
||||
* [Image Resizing on Client-Side](https://github.com/moxiecode/plupload/wiki/Image-Resizing-on-Client-Side)
|
||||
* [Chunking](https://github.com/moxiecode/plupload/wiki/Chunking)
|
||||
* [Upload to Amazon S3](https://github.com/moxiecode/plupload/wiki/Upload-to-Amazon-S3)
|
||||
* [FAQ](https://github.com/moxiecode/plupload/wiki/Frequently-Asked-Questions)
|
||||
* [Support](https://github.com/moxiecode/plupload/blob/master/readme.md##support)
|
||||
* [Create a Fiddle](https://github.com/moxiecode/plupload/wiki/Create-a-Fiddle)
|
||||
* [Contributing](https://github.com/moxiecode/plupload/blob/master/readme.md#contribute)
|
||||
* [License](https://github.com/moxiecode/plupload/blob/master/readme.md#license)
|
||||
* [Contact Us](http://www.moxiecode.com/contact.php)
|
||||
|
||||
<a name="backstory" />
|
||||
### Backstory
|
||||
|
||||
Plupload started in a time when uploading a file in a responsive and customizable manner was a real pain.
|
||||
Internally, browsers only had the `input[type="file"]` element. It was ugly and clunky at the same time.
|
||||
One couldn't even change it's visuals, without hiding it and coding another one on top of it from scratch.
|
||||
And then there was no progress indication for the upload process... Sounds pretty crazy today.
|
||||
|
||||
It was very logical for developers to look for alternatives and writing their own implementations, using
|
||||
Flash and Java, in order to somehow extend limited browser capabilities. And so did we, in our search for
|
||||
a reliable and flexible file uploader for
|
||||
our [TinyMCE](http://www.tinymce.com/index.php)'s
|
||||
[MCImageManager](http://www.tinymce.com/enterprise/mcimagemanager.php).
|
||||
|
||||
Quickly enough though, Plupload grew big. It easily split into a standalone project.
|
||||
With major *version 2.0* it underwent another huge reconstruction, basically
|
||||
[from the ground up](http://blog.moxiecode.com/2012/11/28/first-public-beta-plupload-2/),
|
||||
as all the low-level runtime logic has been extracted into separate [File API](http://www.w3.org/TR/FileAPI/)
|
||||
and [XHR L2](http://www.w3.org/TR/XMLHttpRequest/) pollyfills (currently known under combined name of [mOxie](https://github.com/moxiecode/moxie)),
|
||||
giving Plupload a chance to evolve further.
|
||||
|
||||
<a name="structure" />
|
||||
### Structure
|
||||
|
||||
Currently, Plupload may be considered as consisting of three parts: low-level pollyfills,
|
||||
Plupload API and Widgets (UI and Queue). Initially, Widgets were meant only to serve as examples
|
||||
of the API, but quickly formed into fully-functional API implementations that now come bundled with
|
||||
the Plupload API. This has been a source for multiple misconceptions about the API as Widgets were
|
||||
easily mistaken for the Plupload itself. They are only implementations, such as any of you can
|
||||
build by yourself out of the API.
|
||||
|
||||
* [Low-level pollyfills (mOxie)](https://github.com/moxiecode/moxie) - have their own [code base](https://github.com/moxiecode/moxie) and [documentation](https://github.com/moxiecode/moxie/wiki) on GitHub.
|
||||
* [Plupload API](https://github.com/moxiecode/plupload/wiki/API)
|
||||
* [UI Widget](https://github.com/moxiecode/plupload/wiki/UI.Plupload)
|
||||
* [Queue Widget](https://github.com/moxiecode/plupload/wiki/pluploadQueue)
|
||||
|
||||
<a name="build" />
|
||||
### Building instructions
|
||||
|
||||
Plupload depends on File API and XHR2 L2 pollyfills that currently have their
|
||||
[own repository](https://github.com/moxiecode/moxie) on GitHub. However, in most cases you shouldn't
|
||||
care as we bundle the latest build of mOxie, including full and minified JavaScript source and
|
||||
pre-compiled `SWF` and `XAP` components, with [every release](https://github.com/moxiecode/plupload/releases). You can find everything you may need under `js/` folder.
|
||||
|
||||
There are cases where you might need a custom build, for example free of unnecessary runtimes, half the
|
||||
original size, etc. The difficult part of this task comes from mOxie and its set of additional runtimes
|
||||
that require special tools on your workstation in order to compile.
|
||||
Consider [build instructions for mOxie](https://github.com/moxiecode/moxie#build-instructions) -
|
||||
everything applies to Plupload as well.
|
||||
|
||||
First of all, if you want to build custom Plupload packages you will require [Node.js](http://nodejs.org/),
|
||||
as this is our build environment of choice. Node.js binaries (as well as Source)
|
||||
[are available](http://nodejs.org/download/) for all major operating systems.
|
||||
|
||||
Plupload includes _mOxie_ as a submodule, it also depends on some other repositories for building up it's dev
|
||||
environment - to avoid necessity of downloading them one by one, we recommended you to simply clone Plupload
|
||||
with [git](http://git-scm.com/) recursively (you will require git installed on your system for this operation
|
||||
to succeed):
|
||||
|
||||
```
|
||||
git clone --recursive https://github.com/moxiecode/plupload.git
|
||||
```
|
||||
|
||||
And finalize the preparation stage with: `npm install` - this will install all additional modules, including those
|
||||
required by dev and test environments. In case you would rather keep it minimal, add a `--production` flag.
|
||||
|
||||
*Note:* Currently, for an unknown reason, locally installed Node.js modules on Windows, may not be automatically
|
||||
added to the system PATH. So, if `jake` commands below are not recognized you will need to add them manually:
|
||||
|
||||
```
|
||||
set PATH=%PATH%;%CD%\node_modules\.bin\
|
||||
```
|
||||
|
||||
<a name="support" />
|
||||
### Support
|
||||
|
||||
We are actively standing behind the Plupload and now that we are done with major rewrites and refactoring,
|
||||
the only real goal that we have ahead is making it as reliable and bulletproof as possible. We are open to
|
||||
all the suggestions and feature requests. We ask you to file bug reports if you encounter any. We may not
|
||||
react to them instantly, but we constantly bear them in my mind as we extend the code base.
|
||||
|
||||
In addition to dedicated support for those who dare to buy our OEM licenses, we got
|
||||
[discussion boards](http://www.plupload.com/punbb/index.php), which is like an enormous FAQ,
|
||||
covering every possible application case. Of course, you are welcome to file a bug report or feature request,
|
||||
here on [GitHub](https://github.com/moxiecode/plupload/issues).
|
||||
|
||||
Sometimes it is easier to notice the problem when bug report is accompained by the actual code. Consider providing
|
||||
[a Plupload fiddle](https://github.com/moxiecode/plupload/wiki/Create-a-Fiddle) for the troublesome code.
|
||||
|
||||
<a name="contribute" />
|
||||
### Contributing
|
||||
|
||||
We are open to suggestions and code revisions, however there are some rules and limitations that you might
|
||||
want to consider first.
|
||||
|
||||
* Code that you contribute will automatically be licensed under the LGPL, but will not be limited to LGPL.
|
||||
* Although all contributors will get the credit for their work, copyright notices will be changed to [Moxiecode Systems AB](http://www.moxiecode.com/).
|
||||
* Third party code will be reviewed, tested and possibly modified before being released.
|
||||
|
||||
These basic rules help us earn a living and ensure that code remains Open Source and compatible with LGPL license. All contributions will be added to the changelog and appear in every release and on the site.
|
||||
|
||||
An easy place to start is to [translate Plupload to your language](https://github.com/moxiecode/plupload/wiki/Plupload-in-Your-Language#contribute).
|
||||
|
||||
You can read more about how to contribute at: [http://www.plupload.com/contributing](http://www.plupload.com/contributing)
|
||||
|
||||
<a name="license" />
|
||||
### License
|
||||
|
||||
Copyright 2013, [Moxiecode Systems AB](http://www.moxiecode.com/)
|
||||
Released under [GPLv2 License](https://github.com/moxiecode/plupload/blob/master/license.txt).
|
||||
|
||||
We also provide [commercial license](http://www.plupload.com/commercial.php).
|
97
mobile/reg/reg.html
Executable file
@ -0,0 +1,97 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
||||
<link href="css/login.css" rel="stylesheet" />
|
||||
<link href="css/global.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="header_con">
|
||||
<!-- <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a> -->
|
||||
<!-- <img src="img/qlgylogo.png" class="oc_logo" /> -->
|
||||
<!-- <p class="title">全亮共赢扫码注册</p> -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="top" style="opacity: 0;">注册</div> -->
|
||||
<div class="con" style="">
|
||||
<div class="rowImg"><img src="img/qlgylogo.png" class="oc_logo" />
|
||||
</div>
|
||||
<div class="row ">
|
||||
<img src="img/icon_phone1.png" />
|
||||
<span class="s1">用户名:</span>
|
||||
<input type="text" name="loginName" id="loginName" value="" placeholder="输入用户名" />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<img src="img/icon_pwd1.png" />
|
||||
<span class="s1">密码:</span>
|
||||
<input type="password" name="loginPwd" id="loginPwd" maxlength="20" value="" placeholder="请输入密码" />
|
||||
</div>
|
||||
<div class="row ">
|
||||
<img src="img/icon_pwd1.png" />
|
||||
<span class="s1">确认密码:</span>
|
||||
<input type="password" name="reUserPwd" id="reUserPwd" maxlength="20" value="" placeholder="请输入确认密码" />
|
||||
</div>
|
||||
<div class="row ">
|
||||
<img src="img/icon_pwd1.png" />
|
||||
<span class="s1">操作密码:</span>
|
||||
<input type="password" name="loginPaywd" id="loginPaywd" maxlength="20" value="" placeholder="请输入操作密码" />
|
||||
</div>
|
||||
<div class="row ">
|
||||
<img src="img/icon_pwd1.png" />
|
||||
<span class="s1">确认操作密码:</span>
|
||||
<input type="password" name="reUserPaywd" id="reUserPaywd" maxlength="20" value="" placeholder="请输入确认操作密码" />
|
||||
</div>
|
||||
<div class="row ">
|
||||
<img src="img/icon_pwd1.png" />
|
||||
<span class="s1">推荐人:</span>
|
||||
<input type="text" name="pName" id="pName" value="" placeholder="请输入推荐人手机号" />
|
||||
</div>
|
||||
<div class="row pNameCode" style="display: none;">
|
||||
<img src="img/icon_pwd1.png" />
|
||||
<span class="s1 s99">验证码:</span>
|
||||
<input class="tpyzm" id="mobileCode" type="text" maxlength="6" placeholder="请输入验证码" />
|
||||
<input type="button" id="getMobileCode" value="获取验证码"></input>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="zcxy clearfix">
|
||||
<div class="zcxytitle shadown_wai">
|
||||
<label for="">请仔细阅读协议 确认无误后签订协议书</label>
|
||||
</div>
|
||||
<div class="zcxycontent shadown_wai">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="renzhengphoto shadown_wai">
|
||||
<label for="">手持确认书照片</label>
|
||||
<input type="hidden" value='' class='regConfirmImg inp' id="regConfirmImg">
|
||||
<div class='photos'>
|
||||
<span></span>
|
||||
<div class="photos_con">
|
||||
<div id="regConfirm" class="ossfile clearfix" >你的浏览器不支持flash,Silverlight或者HTML5!</div>
|
||||
<!-- <div class="regConfirm photo">
|
||||
<img src="" class='ossfile' id='regConfirm' alt="">
|
||||
<span class=""></span>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="down clearfix">
|
||||
<div class="btn shadown_wai">注册</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="js/jquery-3.2.1.min.js"></script>
|
||||
<script src="lib/plupload-2.1.2/js/plupload.full.min.js"></script>
|
||||
<script src="js/upload.js"></script>
|
||||
<script src="js/reg.js?ver=3"></script>
|
||||
|
||||
<!-- <script src="lib/plupload-2.1.2/js/moxie.min.js"></script> -->
|
||||
</html>
|