Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
9e084544
Commit
9e084544
authored
Dec 26, 2017
by
刘丹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注册
parent
cbd1bd50
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
469 additions
and
2 deletions
+469
-2
Index.php
application/app/controller/Index.php
+1
-1
share_register.html
application/app/view/index/share_register.html
+37
-1
log.txt
log.txt
+182
-0
share_register.css
public/app/css/share_register.css
+120
-0
but_yuedu_nor.png
public/app/images/but_yuedu_nor.png
+0
-0
pic_yaoqingzhuce-.png
public/app/images/pic_yaoqingzhuce-.png
+0
-0
share_register.js
public/app/js/share_register.js
+129
-0
No files found.
application/app/controller/Index.php
View file @
9e084544
...
...
@@ -26,7 +26,7 @@ class Index
{
return
view
(
'index/share_detail'
);
}
public
function
share_
detail
()
public
function
share_
register
()
{
return
view
(
'index/share_register'
);
}
...
...
application/app/view/index/share_register.html
View file @
9e084544
...
...
@@ -8,11 +8,47 @@
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
<link
rel=
"stylesheet"
href=
"/app/css/common.css"
>
<link
rel=
"stylesheet"
href=
"/app/css/share_register.css"
>
<link>
</head>
<body>
<body
id=
"regi"
>
<div
class=
"register-con"
>
<img
src=
"/app/images/pic_yaoqingzhuce-.png"
class=
"zhuce-img"
>
<ul
class=
"register-body"
>
<li
class=
"div-phone"
>
<span
class=
"register-span"
>
手机号码
</span>
<input
type=
"text"
id=
"phone"
class=
"infos"
placeholder=
"请输入号码"
>
</li>
<li
class=
"div-ranks"
>
<input
type=
"number"
id=
"ranks"
class=
"infos1"
placeholder=
"请输入验证码"
>
<a
href=
"javascript:;"
class=
"send1"
onclick=
"sends.send();"
>
获取验证码
</a>
</li>
<li>
<span
class=
"register-span"
>
密码
</span>
<input
type=
"password"
id=
"password"
class=
"infos"
placeholder=
"6-20位数字字母"
>
</li>
<div
class=
"register-div"
>
<img
class=
"zc_nor_button"
src=
"/app/images/but_yuedu-.png"
>
<a>
我已阅读
<span>
《同联商业服务协议》
</span>
</a>
</div>
<div
class=
"div-conform"
>
<a
href=
"javascript:;"
class=
"conform"
onclick=
"sends.conform();"
>
提交
</a>
</div>
</ul>
</div>
<script
src=
"/app/js/jquery.js"
></script>
<script
src=
"/app/js/common.js"
charset=
"UTF-8"
></script>
<script
src=
"/app/js/share_register.js"
></script>
</body>
</html>
log.txt
0 → 100644
View file @
9e084544
request body = <TemplateSMS>
<to>17317310822</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>7653</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=23F7CFBBDA3932D97C6242C504D03A31
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>17317310822</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>7581</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=1D60202A1D162C9B6A165ED7A5DC1B00
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>17317310822</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>3183</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=FC4501165720C5131972ADACCD9A2FF8
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>17317310822</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>3456</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=7CF26AF56FDD0565FAABA2D2F70EE9AC
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>17317310822</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>6038</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=11F92CCBE2B52FA45632534E5873CFBC
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>17317310822</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>8659</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=2FAB4115F452CE4D3ADBF933359F0866
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>17317310822</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>2328</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=DF39DAC4D678D0C739E17C8DF82D173D
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>17317310822</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>1583</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=9A5580AD2266F71626795D10D1AC4C57
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>18216883798</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>2787</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=898F599C76536786944122C260D084FF
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>13675428657</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>3368</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=B6577BA940D2F80002B3AD9A52C811B3
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>15876221547</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>8777</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=D4351DCE807CF1B9760A74FE6BB23EAC
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>18614018826</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>3402</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=E0213200121750850843EA53B596A634
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>13575246854</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>5664</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=DD174F1CE3C41951AEA50BC3099B38C2
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
request body = <TemplateSMS>
<to>18112347152</to>
<appId>8a216da85f5c89b1015f7718e2b90a63</appId>
<templateId>214759</templateId>
<datas><data>3766</data><data>5分钟</data></datas>
</TemplateSMS>
request url = https://app.cloopen.com:8883/2013-12-26/Accounts/8a48b55153eae51101540e763d3b3888/SMS/TemplateSMS?sig=70AB848A7696BE0D1A6C7634E3BBC06A
response body = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response>
<statusCode>160053</statusCode>
<statusMsg>IP鉴权失败</statusMsg>
</Response>
public/app/css/share_register.css
View file @
9e084544
.register-con
{
width
:
100%
;
height
:
100%
;
position
:
relative
;
z-index
:
1
;
}
.zhuce-img
{
width
:
100%
;
display
:
block
;
float
:
left
;
}
.register-body
{
width
:
73.3%
;
position
:
absolute
;
z-index
:
3
;
top
:
6.3rem
;
height
:
2rem
;
left
:
13.2%
;
}
.register-body
li
{
width
:
100%
;
height
:
1rem
;
border-bottom
:
1px
solid
#E6E6E6
;
float
:
left
;
}
.register-span
{
font-size
:
0.3rem
;
color
:
#333333
;
float
:
left
;
line-height
:
1rem
;
}
.infos
{
color
:
#333
;
text-align
:
right
;
float
:
right
;
line-height
:
1rem
;
margin-right
:
0.2rem
;
height
:
0.7rem
;
display
:
block
;
font-size
:
0.3rem
;
background
:
none
;
margin-top
:
0.18rem
;
border
:
none
;
}
input
::-webkit-input-placeholder
{
color
:
#ccc
;
}
.error
{
color
:
#F13D2F
;
font-size
:
0.28rem
;
float
:
right
;
margin-top
:
0.1rem
;
}
.infos1
{
color
:
#333
;
text-align
:
left
;
float
:
left
;
line-height
:
1rem
;
height
:
0.7rem
;
display
:
block
;
font-size
:
0.3rem
;
background
:
none
;
margin-top
:
0.18rem
;
border
:
none
;
}
.send1
{
font-size
:
0.26rem
;
color
:
#cccccc
;
text-align
:
right
;
float
:
right
;
line-height
:
1rem
;
}
.send0
{
font-size
:
0.26rem
;
color
:
#ff9419
;
text-align
:
right
;
float
:
right
;
line-height
:
1rem
;
}
.register-
{
width
:
100%
;
float
:
left
;
}
.zc_nor_button
{
width
:
0.26rem
;
height
:
0.26rem
;
float
:
left
;
margin-top
:
0.43rem
;
display
:
block
;
margin-left
:
15%
;
}
.register-div
a
{
float
:
left
;
font-size
:
0.22rem
;
color
:
#666666
;
margin-top
:
0.4rem
;
margin-left
:
0.1rem
;
}
.register-div
span
{
font-size
:
0.22rem
;
color
:
#F13D2F
;
}
#regi
{
background
:
#FFFFFF
;
}
.div-conform
{
width
:
100%
;
height
:
0.7rem
;
background
:
#FE8F00
;
float
:
left
;
border-radius
:
0.35rem
;
line-height
:
0.7rem
;
font-size
:
0.3rem
;
text-align
:
center
;
margin-top
:
0.4rem
;
}
.div-conform
a
{
color
:
#FFFFFF
;
}
public/app/images/but_yuedu_nor.png
0 → 100644
View file @
9e084544
1.83 KB
public/app/images/pic_yaoqingzhuce-.png
View replaced file @
cbd1bd50
View file @
9e084544
165 KB
|
W:
|
H:
481 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/app/js/share_register.js
0 → 100644
View file @
9e084544
/**
* Created by 刘丹 on 2017/12/26.
*/
(
function
()
{
var
url
=
location
.
search
;
//获取url中"?"符后的字串
var
theRequest
=
new
Object
();
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
var
str
=
url
.
substr
(
1
);
strs
=
str
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
strs
.
length
;
i
++
)
{
theRequest
[
strs
[
i
].
split
(
"="
)[
0
]]
=
decodeURI
(
strs
[
i
].
split
(
"="
)[
1
]);
}
}
_referrer_id
=
theRequest
.
id
;
_referrer_source
=
theRequest
.
referrer_source
;
})();
var
sends
=
{
checked
:
1
,
send
:
function
(){
var
numbers
=
/^1
\d{10}
$/
;
var
val
=
$
(
'#phone'
).
val
().
replace
(
/
\s
+/g
,
""
);
//获取输入手机号码
if
(
$
(
'.div-phone'
).
find
(
'span'
).
length
==
0
&&
$
(
'.div-ranks a'
).
attr
(
'class'
)
==
'send1'
){
if
(
!
numbers
.
test
(
val
)
||
val
.
length
==
0
){
$
(
'.div-'
).
append
(
'<span class="error">手机格式错误!</span>'
);
return
false
;
}
}
if
(
numbers
.
test
(
val
)){
$
.
ajax
({
url
:
ServerHost
+
"/api/sendSms/"
+
val
,
data
:
{
"type"
:
'add'
},
type
:
"GET"
,
dataType
:
"json"
,
beforeSend
:
function
()
{},
success
:
function
(
response
)
{
_token
=
response
.
data
.
token
$
(
'.div-phone'
).
append
(
'<span class="error">'
+
response
.
msg
+
'</span>'
);
},
error
:
function
()
{
$
(
'.div-phone'
).
append
(
'<span class="error">验证码发送失败!</span>'
);
}
});
var
time
=
60
;
//$('.div-phone span').remove();
function
timeCountDown
(){
if
(
time
==
0
){
clearInterval
(
timer
);
$
(
'.div-ranks a'
).
addClass
(
'send1'
).
removeClass
(
'send0'
).
html
(
"获取验证码"
);
sends
.
checked
=
1
;
return
true
;
}
$
(
'.div-ranks a'
).
html
(
"剩余"
+
time
+
"S"
);
time
--
;
return
false
;
sends
.
checked
=
0
;
}
$
(
'.div-ranks a'
).
addClass
(
'send0'
).
removeClass
(
'send1'
);
timeCountDown
();
var
timer
=
setInterval
(
timeCountDown
,
1000
);
}
},
conform
:
function
(){
if
(
""
==
$
(
"#phone"
).
val
())
{
alert
(
"请输入您的手机号!"
);
return
;
}
if
(
""
==
$
(
"#password"
).
val
())
{
alert
(
"请输入您的密码!"
);
return
;
}
if
(
""
==
$
(
"#ranks"
).
val
())
{
alert
(
"请输入您的验证码!"
);
return
;
}
$
(
".conform"
).
html
(
"提交中..."
);
$
.
ajax
({
url
:
ServerHost
+
"/api/register"
,
data
:
{
"phone"
:
$
(
"#phone"
).
val
(),
"pwd"
:
$
(
"#password"
).
val
(),
"code"
:
$
(
"#ranks"
).
val
(),
"token"
:
_token
,
"referrer_id"
:
_referrer_id
,
"referrer_source"
:
_referrer_source
,
"type"
:
"add"
},
type
:
"POST"
,
dataType
:
"json"
,
beforeSend
:
function
()
{},
success
:
function
(
response
)
{
if
(
response
.
status
==
0
)
{
//成功跳转
$
(
"input"
).
val
(
''
);
$
(
".conform"
).
html
(
"提交."
);
window
.
location
.
href
=
"/mobile4.0/index.html"
;
}
else
{
alert
(
response
.
msg
);
}
},
error
:
function
()
{
$
(
".conform"
).
html
(
"提交."
);
$
(
'.div-'
).
append
(
'<span class="error">提交失败!</span>'
);
}
});
}
}
// 小图片切换
var
a
=
1
;
$
(
'.zc_nor_button'
).
click
(
function
(){
if
(
a
==
1
)
{
$
(
this
).
attr
(
"src"
,
"/app/images/but_yuedu_nor.png"
)
a
=
2
;
}
else
{
a
=
1
;
$
(
this
).
attr
(
"src"
,
"/app/images/but_yuedu-.png"
)
}
})
//获取id名字
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment