2020.02新版
48
template/default/agreement.php
Normal file
1119
template/default/assets/css/common.css
Normal file
1
template/default/assets/css/index-top.css
Normal file
877
template/default/assets/css/index.css
Normal file
@@ -0,0 +1,877 @@
|
||||
header {
|
||||
position:fixed;
|
||||
background:#fff
|
||||
}
|
||||
@media screen and (min-width:992px) {
|
||||
html,body {
|
||||
height:100%
|
||||
}
|
||||
.center_content {
|
||||
padding-left:10%
|
||||
}
|
||||
#myCarousel,.banner2,.banner3 {
|
||||
height:100%;
|
||||
min-height:450px
|
||||
}
|
||||
#myCarousel .carousel-inner,.carousel-inner>.item {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container .row {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container .row .col-md-6 {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container .row .col-md-6 .cloud_host_img {
|
||||
top:22%
|
||||
}
|
||||
.banner2 .container .row .col-md-6 .ban2_text {
|
||||
height:100%
|
||||
}
|
||||
.ban2_text {
|
||||
position:relative
|
||||
}
|
||||
.ban2_text .ban2_status,.ban2_text .ban3_status {
|
||||
position:absolute;
|
||||
top:30%
|
||||
}
|
||||
.ban2_text .ban2_status .ban2_middle,.ban2_text .ban3_status .ban2_middle,.ban2_text .ban2_status .ban3_middle,.ban2_text .ban3_status .ban3_middle {
|
||||
color:#fff;
|
||||
position:relative;
|
||||
letter-spacing:6px;
|
||||
top:35%;
|
||||
left:10%
|
||||
}
|
||||
.ban2_content,.ban3_content {
|
||||
color:#fff;
|
||||
width:90%;
|
||||
position:relative;
|
||||
letter-spacing:1px;
|
||||
top:37%;
|
||||
left:10%
|
||||
}
|
||||
.ban2_experience {
|
||||
font-size:1.2em;
|
||||
color:#fff;
|
||||
margin-top:30px;
|
||||
position:relative;
|
||||
left:10%
|
||||
}
|
||||
.cloud_host_img {
|
||||
position:absolute
|
||||
}
|
||||
.blog-article {
|
||||
padding:20px
|
||||
}
|
||||
.cloud_db_img {
|
||||
position:absolute;
|
||||
top:20%
|
||||
}
|
||||
}@media (min-width:682px) and (max-width:992px) {
|
||||
header {
|
||||
position:fixed;
|
||||
background:#fff
|
||||
}
|
||||
html,body {
|
||||
height:100%
|
||||
}
|
||||
.center_content {
|
||||
padding-left:5%
|
||||
}
|
||||
#myCarousel,.banner2,.banner3 {
|
||||
height:100%;
|
||||
min-height:450px
|
||||
}
|
||||
#myCarousel .carousel-inner,.carousel-inner>.item {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container .row {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container .row .col-md-6 {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container .row .col-md-6 .ban2_text {
|
||||
height:100%
|
||||
}
|
||||
.ban2_text {
|
||||
position:relative
|
||||
}
|
||||
.ban2_text .ban2_status,.ban2_text .ban3_status {
|
||||
position:absolute;
|
||||
top:30%
|
||||
}
|
||||
.ban2_text .ban2_status .ban2_middle,.ban2_text .ban3_status .ban2_middle,.ban2_text .ban2_status .ban3_middle,.ban2_text .ban3_status .ban3_middle {
|
||||
color:#fff;
|
||||
position:relative;
|
||||
letter-spacing:6px;
|
||||
top:35%;
|
||||
left:10%;
|
||||
font-size:20px
|
||||
}
|
||||
.ban2_content,.ban3_content {
|
||||
color:#fff;
|
||||
width:90%;
|
||||
position:relative;
|
||||
letter-spacing:1px;
|
||||
top:37%;
|
||||
left:10%
|
||||
}
|
||||
.ban2_experience,.ban3_experience {
|
||||
font-size:1.2em;
|
||||
color:#fff;
|
||||
margin-top:30px;
|
||||
position:relative;
|
||||
left:10%
|
||||
}
|
||||
.cloud_host_img,.cloud_db_img {
|
||||
position:absolute;
|
||||
top:22%
|
||||
}
|
||||
.blog-article {
|
||||
padding:15px
|
||||
}
|
||||
}@media (max-width:682px) {
|
||||
html,body {
|
||||
height:100%;
|
||||
min-width:400px;
|
||||
font-size:12px
|
||||
}
|
||||
#myCarousel,.banner2,.banner3 {
|
||||
height:100%
|
||||
}
|
||||
.docker {
|
||||
top:0!important
|
||||
}
|
||||
#myCarousel .carousel-inner,.carousel-inner>.item {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container .row {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .container .row .col-xs-12 {
|
||||
height:50%
|
||||
}
|
||||
.banner2 .container .row .col-xs-12 .ban2_text {
|
||||
height:100%
|
||||
}
|
||||
.banner2 .ban2_text .ban2_status {
|
||||
text-align:center;
|
||||
font-size:1.5em
|
||||
}
|
||||
.cloud_host_img,.cloud_db_img {
|
||||
width:60%;
|
||||
margin-left:20%;
|
||||
margin-top:10%
|
||||
}
|
||||
.ban2_text {
|
||||
position:relative
|
||||
}
|
||||
.ban2_text .ban3_status {
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
font-size:1.5em
|
||||
}
|
||||
.ban2_text .ban3_status .ban3_middle {
|
||||
color:#fff;
|
||||
letter-spacing:6px
|
||||
}
|
||||
.ban2_text .ban3_status .ban3_content {
|
||||
color:#fff;
|
||||
width:100%;
|
||||
letter-spacing:3px
|
||||
}
|
||||
.ban2_text .ban2_status {
|
||||
position:absolute;
|
||||
top:15%
|
||||
}
|
||||
.ban2_text .ban2_status .ban2_middle {
|
||||
color:#fff;
|
||||
position:relative;
|
||||
letter-spacing:6px;
|
||||
top:35%
|
||||
}
|
||||
.ban2_content {
|
||||
color:#fff;
|
||||
width:100%;
|
||||
position:relative;
|
||||
letter-spacing:3px;
|
||||
top:37%
|
||||
}
|
||||
.ban2_experience {
|
||||
color:#fff;
|
||||
margin-top:30px;
|
||||
position:relative
|
||||
}
|
||||
.blog-article {
|
||||
padding:5px
|
||||
}
|
||||
.blog-article .h4 {
|
||||
font-size:14px
|
||||
}
|
||||
.blog-article .h5 {
|
||||
margin-top:5px;
|
||||
font-size:12px
|
||||
}
|
||||
.screen4 .safe-content {
|
||||
font-size:14px
|
||||
}
|
||||
.tenxcloud_news {
|
||||
margin-top:10px
|
||||
}
|
||||
.screen6 .collaborate li a div {
|
||||
margin:0 auto
|
||||
}
|
||||
}#nav-top {
|
||||
box-shadow:0 3px 3px rgba(0,0,0,.175)
|
||||
}
|
||||
.proceed {
|
||||
color:#fff;
|
||||
border:1px solid #fff;
|
||||
border-radius:5px;
|
||||
-moz-transition:background .4s ease;
|
||||
-ms-transition:background .4s ease;
|
||||
-webkit-transition:background .4s ease;
|
||||
transition:background .4s ease
|
||||
}
|
||||
.proceed-foot {
|
||||
color:#D9EFF0;
|
||||
padding:10px 50px;
|
||||
font-size:2em;
|
||||
border:1px solid #fff
|
||||
}
|
||||
.proceed-2,.proceed-3,.proceed-4 {
|
||||
color:#eee;
|
||||
border:1px solid #eee
|
||||
}
|
||||
.proceed:hover {
|
||||
color:#3F5061;
|
||||
background:#fff;
|
||||
border-color:#fff
|
||||
}
|
||||
#youremail {
|
||||
border-radius:4px;
|
||||
width:380px;
|
||||
height:50px;
|
||||
color:#eee;
|
||||
font-size:18px;
|
||||
border:1px solid #eee;
|
||||
background:0 0;
|
||||
vertical-align:middle;
|
||||
text-indent:10px;
|
||||
line-height:normal
|
||||
}
|
||||
#youremail::-webkit-input-placeholder {
|
||||
color:#eee
|
||||
}
|
||||
#youremail:-moz-placeholder {
|
||||
color:#eee
|
||||
}
|
||||
#youremail::-moz-placeholder {
|
||||
color:#eee
|
||||
}
|
||||
#youremail:-ms-input-placeholder {
|
||||
color:#eee
|
||||
}
|
||||
#apply-for {
|
||||
margin-left:10px;
|
||||
line-height:35px;
|
||||
background:#4280CB;
|
||||
vertical-align:top;
|
||||
border-radius:4px;
|
||||
height:50px;
|
||||
width:126px;
|
||||
font-size:18px;
|
||||
cursor:pointer;
|
||||
-moz-transition:background .4s ease;
|
||||
-ms-transition:background .4s ease;
|
||||
-webkit-transition:background .4s ease;
|
||||
transition:background .4s ease;
|
||||
font-family:Microsoft Yahei,Hiragino Sans GB,WenQuanYi Micro Hei,sans-serif
|
||||
}
|
||||
#apply-for:hover {
|
||||
background:#DFDFDF;
|
||||
color:#555
|
||||
}
|
||||
#apply-bottom {
|
||||
margin-left:10px;
|
||||
line-height:35px;
|
||||
background:#eee;
|
||||
vertical-align:middle;
|
||||
border-radius:4px;
|
||||
height:50px;
|
||||
padding:8px 12px;
|
||||
font-size:18px;
|
||||
cursor:pointer;
|
||||
-moz-transition:background .4s ease;
|
||||
-ms-transition:background .4s ease;
|
||||
-webkit-transition:background .4s ease;
|
||||
transition:background .4s ease;
|
||||
font-family:Microsoft Yahei,Hiragino Sans GB,WenQuanYi Micro Hei,sans-serif
|
||||
}
|
||||
a {
|
||||
color:inherit
|
||||
}
|
||||
a:hover {
|
||||
text-decoration:none
|
||||
}
|
||||
.carousel-indicators li {
|
||||
margin:0 8px
|
||||
}
|
||||
.carousel-indicators .active {
|
||||
margin:0 7px
|
||||
}
|
||||
.screen1 {
|
||||
margin-top:65px;
|
||||
height:calc(100% - 65px)
|
||||
}
|
||||
.screen1 #myCarousel {
|
||||
width:100%;
|
||||
overflow:hidden
|
||||
}
|
||||
.carousel-indicators {
|
||||
bottom:20px
|
||||
}
|
||||
.move_cloud {
|
||||
width:100%;
|
||||
height:200px;
|
||||
position:absolute;
|
||||
background:url(../images/hostingupline.png) no-repeat;
|
||||
-webkit-animation:move_top 10s ease-out alternate infinite;
|
||||
-moz-animation:move_top 10s ease-out alternate infinite;
|
||||
-ms-animation:move_top 10s ease-out alternate infinite;
|
||||
animation:move_top 10s ease-out alternate infinite
|
||||
}
|
||||
.banner2 {
|
||||
width:100%;
|
||||
background:url(../images/hostingupline.png) no-repeat;
|
||||
background-size:100%;
|
||||
position:relative
|
||||
}
|
||||
.banner2:after {
|
||||
content:'';
|
||||
background:#4280cb;
|
||||
background:-webkit-gradient(linear,0 0,0 100%,from(#4585d2),to(#4280cb));
|
||||
background:-moz-linear-gradient(top,#4585d2,#4280cb);
|
||||
background:linear-gradient(to bottom,#4585d2,#4280cb);
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
z-index:-1
|
||||
}
|
||||
.banner3:after {
|
||||
content:'';
|
||||
background:#02bf8b;
|
||||
background:-webkit-gradient(linear,0 0,0 100%,from(#02bf8b),to(#01ad7f));
|
||||
background:-moz-linear-gradient(top,#02bf8b,#01ad7f);
|
||||
background:linear-gradient(to bottom,#02bf8b,#01ad7f);
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
z-index:-1
|
||||
}
|
||||
.banner3 {
|
||||
width:100%
|
||||
}
|
||||
.banner4:after {
|
||||
content:'';
|
||||
background:#33405a;
|
||||
background:-webkit-gradient(linear,0 0,0 100%,from(#3e3e4a),to(#3e3e4a));
|
||||
background:-moz-linear-gradient(top,#33405a,#24314e);
|
||||
background:linear-gradient(to bottom,#33405a,#24314e);
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
z-index:-1
|
||||
}
|
||||
#trun_left {
|
||||
position:absolute;
|
||||
width:8%;
|
||||
top:0;
|
||||
left:0;
|
||||
text-align:center;
|
||||
height:100%;
|
||||
z-index:3
|
||||
}
|
||||
#trun_left ._left {
|
||||
display:none;
|
||||
font-size:5em;
|
||||
padding:200px 10px;
|
||||
color:#eee
|
||||
}
|
||||
#trun_left:hover ._left {
|
||||
display:block
|
||||
}
|
||||
#trun_right:hover ._right {
|
||||
display:block
|
||||
}
|
||||
#trun_right {
|
||||
height:100%;
|
||||
width:8%;
|
||||
top:0;
|
||||
position:absolute;
|
||||
right:0;
|
||||
z-index:3;
|
||||
text-align:center
|
||||
}
|
||||
#trun_right ._right {
|
||||
display:none;
|
||||
font-size:5em;
|
||||
color:#eee;
|
||||
padding:200px 10px
|
||||
}
|
||||
.tenxcloud_news {
|
||||
font-size:1.5em
|
||||
}
|
||||
.spring_icon {
|
||||
margin:0 auto;
|
||||
width:160px;
|
||||
height:160px;
|
||||
background:url(../images/shensuo.png) no-repeat
|
||||
}
|
||||
.screen2 {
|
||||
width:100%;
|
||||
padding:80px 0
|
||||
}
|
||||
.screen2 .center_content {
|
||||
margin:20px auto;
|
||||
transition:.3s all
|
||||
}
|
||||
.screen2 .center_content .servers {
|
||||
height:70px;
|
||||
width:70px;
|
||||
float:left;
|
||||
background:url(../images/server_item.png) no-repeat;
|
||||
transition:.5s background ease-in-out
|
||||
}
|
||||
.screen2 .center_content .s_item {
|
||||
background-position:0 0
|
||||
}
|
||||
.screen2 .center_content .r_item {
|
||||
background-position:0 -80px
|
||||
}
|
||||
.screen2 .center_content .m_item {
|
||||
background-position:0 -160px
|
||||
}
|
||||
.screen2 .center_content .a_item {
|
||||
background-position:0 -240px
|
||||
}
|
||||
.screen2 .process:hover {
|
||||
color:#4280CB
|
||||
}
|
||||
.screen2 .process:hover .s_item {
|
||||
background-position:-100px 0
|
||||
}
|
||||
.screen2 .containers:hover {
|
||||
color:#4280CB
|
||||
}
|
||||
.screen2 .containers:hover .r_item {
|
||||
background-position:-100px -80px
|
||||
}
|
||||
.screen2 .primer:hover {
|
||||
color:#4280CB
|
||||
}
|
||||
.screen2 .primer:hover .m_item {
|
||||
background-position:-95px -160px
|
||||
}
|
||||
.screen2 .appstore:hover {
|
||||
color:#4280CB
|
||||
}
|
||||
.screen2 .appstore:hover .a_item {
|
||||
background-position:-100px -240px
|
||||
}
|
||||
.screen3 {
|
||||
width:100%;
|
||||
background:#FAFAFB;
|
||||
position:relative;
|
||||
padding:50px 0
|
||||
}
|
||||
.screen3 .cloud_server {
|
||||
text-align:center;
|
||||
margin:20px 0;
|
||||
color:#696969;
|
||||
font-size:16px
|
||||
}
|
||||
.screen3 .cloud_server .more {
|
||||
margin:10px 0;
|
||||
font-size:1.2em;
|
||||
background:#fff;
|
||||
border:1px solid #333;
|
||||
padding:10px 20px;
|
||||
border-radius:2px;
|
||||
-moz-transition:background .4s ease;
|
||||
-ms-transition:background .4s ease;
|
||||
-webkit-transition:background .4s ease;
|
||||
transition:background .4s ease
|
||||
}
|
||||
.screen3 .server-head {
|
||||
margin-top:20px;
|
||||
color:#696969;
|
||||
text-align:center
|
||||
}
|
||||
.screen3 .server_item {
|
||||
background:url(../images/container_server_icon.png) no-repeat;
|
||||
height:135px;
|
||||
width:140px;
|
||||
transition:.5s background;
|
||||
margin:0 auto
|
||||
}
|
||||
.screen3 .h5 {
|
||||
margin-bottom:50px
|
||||
}
|
||||
.screen3 .container_server {
|
||||
background-position:0 0
|
||||
}
|
||||
.screen3 .arrange {
|
||||
background-position:2px -148px
|
||||
}
|
||||
.screen3 .codebuild {
|
||||
background-position:2px -300px
|
||||
}
|
||||
.screen3 .server-market {
|
||||
background-position:2px -449px
|
||||
}
|
||||
.screen3 .registry {
|
||||
background-position:3px -605px
|
||||
}
|
||||
.screen3 .ci {
|
||||
background-position:3px -757px
|
||||
}
|
||||
.screen3 .hosting {
|
||||
background-position:2px -905px
|
||||
}
|
||||
.screen3 .private {
|
||||
background-position:2px -1049px
|
||||
}
|
||||
.screen3 #container_server:hover .server-head {
|
||||
color:#55C782
|
||||
}
|
||||
.screen3 #container_server:hover .container_server {
|
||||
background-position:-146px 0
|
||||
}
|
||||
.screen3 #server-arrange:hover .server-head {
|
||||
color:#4280CB
|
||||
}
|
||||
.screen3 #server-arrange:hover .arrange {
|
||||
background-position:-146px -148px
|
||||
}
|
||||
.screen3 #codebuild:hover .server-head {
|
||||
color:#F4B329
|
||||
}
|
||||
.screen3 #codebuild:hover .codebuild {
|
||||
background-position:-146px -300px
|
||||
}
|
||||
.screen3 #server-market:hover .server-head {
|
||||
color:#8376B6
|
||||
}
|
||||
.screen3 #server-market:hover .server-market {
|
||||
background-position:-146px -449px
|
||||
}
|
||||
.screen3 #registry:hover .server-head {
|
||||
color:#55c782
|
||||
}
|
||||
.screen3 #registry:hover .registry {
|
||||
background-position:-146px -605px
|
||||
}
|
||||
.screen3 #ci:hover .server-head {
|
||||
color:#4280cb
|
||||
}
|
||||
.screen3 #ci:hover .ci {
|
||||
background-position:-146px -757px
|
||||
}
|
||||
.screen3 #hosting:hover .server-head {
|
||||
color:#f4b329
|
||||
}
|
||||
.screen3 #hosting:hover .hosting {
|
||||
background-position:-146px -905px
|
||||
}
|
||||
.screen3 #private:hover .server-head {
|
||||
color:#998fc3
|
||||
}
|
||||
.screen3 #private:hover .private {
|
||||
background-position:-146px -1049px
|
||||
}
|
||||
.screen4 {
|
||||
width:100%;
|
||||
text-align:center;
|
||||
padding:40px 0 80px;
|
||||
color:#fff;
|
||||
background:url(../images/tese.jpg) no-repeat;
|
||||
background-size:100% 100%
|
||||
}
|
||||
.screen4 .cloud_server {
|
||||
text-align:center;
|
||||
font-size:16px
|
||||
}
|
||||
.screen4 .safe-content {
|
||||
line-height:1.5em
|
||||
}
|
||||
.screen4 .design_safe {
|
||||
width:100px;
|
||||
height:110px;
|
||||
margin:10px auto;
|
||||
background:url(../images/tesetubiao.png) no-repeat
|
||||
}
|
||||
.screen4 .safe_ease {
|
||||
background-position:0 0
|
||||
}
|
||||
.screen4 .design_safe.tall {
|
||||
background-position:0 -110px
|
||||
}
|
||||
.screen4 .design_safe.seeyou {
|
||||
background-position:0 -218px
|
||||
}
|
||||
.screen4 .design_safe.mix {
|
||||
background-position:0 -320px
|
||||
}
|
||||
.screen5 {
|
||||
padding:40px 0 80px;
|
||||
background:#FAFAFB
|
||||
}
|
||||
.screen5 .blog-head {
|
||||
text-align:center;
|
||||
margin-bottom:30px;
|
||||
color:#696969
|
||||
}
|
||||
.screen5 .blog-date {
|
||||
font-size:20px;
|
||||
color:#fff;
|
||||
text-align:center;
|
||||
margin-bottom:20px;
|
||||
width:100px;
|
||||
height:110px;
|
||||
background:#4B80CB
|
||||
}
|
||||
.screen5 .blog-date .hrs {
|
||||
margin:10px auto;
|
||||
width:60%;
|
||||
border-color:#a9c3e6
|
||||
}
|
||||
.screen5 .blog-article {
|
||||
width:calc(100% - 100px);
|
||||
height:110px;
|
||||
background:#fff
|
||||
}
|
||||
.screen5 .blog-article .h5 {
|
||||
line-height:1.3em
|
||||
}
|
||||
.screen5 .blog-body:hover .blog-date {
|
||||
background-color:#2fba66
|
||||
}
|
||||
.screen6 {
|
||||
width:100%;
|
||||
background:#FAFAFB;
|
||||
padding:40px 0 80px;
|
||||
text-align:center
|
||||
}
|
||||
.screen6 .cloud_server {
|
||||
color:#696969;
|
||||
height:100px
|
||||
}
|
||||
.screen6 .collaborate {
|
||||
width:400%;
|
||||
position:relative;
|
||||
height:150px
|
||||
}
|
||||
.screen6 .collaborate ul {
|
||||
height:110px;
|
||||
width:25%;
|
||||
float:left
|
||||
}
|
||||
.screen6 .collaborate ul li {
|
||||
float:left;
|
||||
width:20%;
|
||||
min-width:180px;
|
||||
height:55px
|
||||
}
|
||||
.screen6 .collaborate ul li .partner {
|
||||
width:190px;
|
||||
height:46px;
|
||||
background:url(../images/partner.png) no-repeat
|
||||
}
|
||||
.screen6 .collaborate ul li .aliyun {
|
||||
background-position:-206px 0
|
||||
}
|
||||
.screen6 .collaborate ul li .amazon {
|
||||
background-position:-191px -60px
|
||||
}
|
||||
.screen6 .collaborate ul li .qingcloud {
|
||||
background-position:-191px -120px
|
||||
}
|
||||
.screen6 .collaborate ul li .segmentfault {
|
||||
background-position:-191px -170px
|
||||
}
|
||||
.screen6 .collaborate ul li .oschina {
|
||||
background-position:-191px -223px
|
||||
}
|
||||
.screen6 .collaborate ul li .coding {
|
||||
background-position:-191px -282px
|
||||
}
|
||||
.screen6 .collaborate ul li .fir_im {
|
||||
background-position:-191px -345px
|
||||
}
|
||||
.screen6 .collaborate ul li .gitcafe {
|
||||
background-position:-191px -400px
|
||||
}
|
||||
.screen6 .collaborate ul li .appcan {
|
||||
background-position:-191px -473px
|
||||
}
|
||||
.screen6 .collaborate ul li .jisuanke {
|
||||
background-position:-191px -528px
|
||||
}
|
||||
.screen6 .collaborate ul li .partner2 {
|
||||
width:190px;
|
||||
height:46px;
|
||||
background:url(../images/partner2.png) no-repeat
|
||||
}
|
||||
.screen6 .collaborate ul li .kaiyuanshe {
|
||||
background-position:-15px 0
|
||||
}
|
||||
.screen6 .collaborate ul li .meituan {
|
||||
background-position:-25px -53px
|
||||
}
|
||||
.screen6 .collaborate ul li .easemob {
|
||||
background-position:0 -108px
|
||||
}
|
||||
.screen6 .collaborate ul li .wilddog {
|
||||
background-position:0 -162px
|
||||
}
|
||||
.screen6 .collaborate ul li .yuntongxun {
|
||||
background-position:0 -215px
|
||||
}
|
||||
.screen6 .collaborate ul li .cloudwise {
|
||||
background-position:10px -260px
|
||||
}
|
||||
.screen6 .collaborate ul li .udesk {
|
||||
background-position:-5px -319px
|
||||
}
|
||||
.screen6 .collaborate ul li .upcloud {
|
||||
background-position:-5px -365px
|
||||
}
|
||||
.screen6 .collaborate ul li .gbtags {
|
||||
background-position:-5px -470px
|
||||
}
|
||||
.screen6 .collaborate ul li .oneapm {
|
||||
background-position:-5px -415px
|
||||
}
|
||||
.screen6 .collaborate ul li .partner3 {
|
||||
width:190px;
|
||||
height:46px;
|
||||
background:url(../images/partner3.png?rev=0.21) no-repeat
|
||||
}
|
||||
.screen6 .collaborate ul li .qiniu {
|
||||
background-position:0 0
|
||||
}
|
||||
.screen6 .collaborate ul li .anchnet {
|
||||
background-position:10px -60px
|
||||
}
|
||||
.screen6 .collaborate ul li .rongkecloud {
|
||||
background-position:-15px -116px
|
||||
}
|
||||
.screen6 .collaborate ul li .zhugeio {
|
||||
background-position:-15px -176px
|
||||
}
|
||||
.screen6 .collaborate ul li .yuantuan {
|
||||
background-position:-15px -242px
|
||||
}
|
||||
.screen6 .collaborate ul li .kr36 {
|
||||
background-position:-15px -360px
|
||||
}
|
||||
.screen6 .collaborate ul li .kf5 {
|
||||
background-position:-15px -300px
|
||||
}
|
||||
.screen6 .collaborate ul li .bee {
|
||||
background-position:0 -418px
|
||||
}
|
||||
.screen6 .collaborate ul li .bmob {
|
||||
background-position:10px -465px
|
||||
}
|
||||
.screen6 .collaborate ul li .unisound {
|
||||
background-position:-10px -533px
|
||||
}
|
||||
.screen6 .collaborate ul li .safedog {
|
||||
background-position:-10px -591px
|
||||
}
|
||||
.screen6 .collaborate ul li .apistore {
|
||||
background-position:-10px -650px
|
||||
}
|
||||
.screen6 .collaborate .partnerRun {
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
left:10px;
|
||||
width:24.6%;
|
||||
text-align:center
|
||||
}
|
||||
.screen6 .collaborate .partnerRun .slide {
|
||||
display:inline-block;
|
||||
width:10px;
|
||||
height:10px;
|
||||
border-radius:10px;
|
||||
border:1px solid #9C9C9C;
|
||||
margin:0 8px;
|
||||
cursor:pointer;
|
||||
transition:all .3s
|
||||
}
|
||||
.screen6 .collaborate .partnerRun .slide.active {
|
||||
background:#9C9C9C
|
||||
}
|
||||
.screen7 {
|
||||
padding:60px 0 100px
|
||||
}
|
||||
.screen7 .cloud_server {
|
||||
text-align:center;
|
||||
margin-bottom:30px;
|
||||
color:#696969
|
||||
}
|
||||
.screen7 .media-item {
|
||||
width:150px;
|
||||
height:70px
|
||||
}
|
||||
.screen7 .media-content {
|
||||
line-height:1.2em
|
||||
}
|
||||
@keyframes move_top {
|
||||
from {
|
||||
left:0;
|
||||
top:0
|
||||
}
|
||||
to {
|
||||
left:10%
|
||||
}
|
||||
}@-moz-keyframes move_top {
|
||||
from {
|
||||
left:0
|
||||
}
|
||||
to {
|
||||
left:10%
|
||||
}
|
||||
}@-webkit-keyframes move_top {
|
||||
from {
|
||||
left:0
|
||||
}
|
||||
to {
|
||||
left:10%
|
||||
}
|
||||
}@-o-keyframes move_top {
|
||||
from {
|
||||
left:0
|
||||
}
|
||||
to {
|
||||
left:10%
|
||||
}
|
||||
}
|
||||
BIN
template/default/assets/images/alipay.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
template/default/assets/images/banner4.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
template/default/assets/images/bj_registry_list.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
template/default/assets/images/container_server_icon.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
template/default/assets/images/hostingupline.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
template/default/assets/images/hub.banner.jpg
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
template/default/assets/images/qqpay.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
template/default/assets/images/server_item.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
template/default/assets/images/tenpay.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
template/default/assets/images/tese.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
template/default/assets/images/tesetubiao.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
template/default/assets/images/wxpay.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
325
template/default/doc.php
Normal file
@@ -0,0 +1,325 @@
|
||||
<?php
|
||||
if(!defined('IN_CRONLITE'))exit();
|
||||
require INDEX_ROOT.'head.php';
|
||||
?>
|
||||
<style type="text/css">
|
||||
body{color:#000;}header { position: relative; }
|
||||
.bann{ content:'';background-size:100%;background:#4280cb;background:-webkit-gradient(linear,0 0,0 100%,from(#4585d2),to(#4280cb));background:-moz-linear-gradient(top,#4585d2,#4280cb);background:linear-gradient(to bottom,#4585d2,#4280cb);top:0;left:0;z-index:-1;min-height:50px;width:100%}.fl .active{ color:#3F5061;background:#fff;border-color:#fff}
|
||||
.api_block{margin-bottom: 4em;}
|
||||
</style>
|
||||
|
||||
<div class="bann">
|
||||
|
||||
|
||||
<div class="col-xs-12"style="text-align:center;">
|
||||
<div class="h3"style="color:#ffffff;margin-top: 35px;margin-bottom: 30px;">开发文档</div>
|
||||
|
||||
<div style="clear:both;"></div>
|
||||
</div><div style="clear:both;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="container">
|
||||
|
||||
<!-- Docs nav
|
||||
================================================== -->
|
||||
<div class="row">
|
||||
<div class="col-md-3 ">
|
||||
<div id="toc" class="bc-sidebar">
|
||||
<ul class="nav">
|
||||
<hr/>
|
||||
<li class="toc-h2"><a href="#api0">[API]创建商户</a></li>
|
||||
<li class="toc-h2"><a href="#api1">[API]查询商户信息</a></li>
|
||||
<li class="toc-h2"><a href="#api2">[API]修改结算账号</a></li>
|
||||
<li class="toc-h2"><a href="#api3">[API]查询结算记录</a></li>
|
||||
<li class="toc-h2"><a href="#api4">[API]查询单个订单</a></li>
|
||||
<li class="toc-h2"><a href="#api5">[API]批量查询订单</a></li>
|
||||
<li class="toc-h2"><a href="#api6">[API]二维码下单接口</a></li>
|
||||
<hr/>
|
||||
<li class="toc-h2"><a href="#pay0">发起支付请求</a></li>
|
||||
<li class="toc-h2"><a href="#pay1">支付结果通知</a></li>
|
||||
<hr/>
|
||||
<li class="toc-h2"><a href="#sdk0">SDK下载</a></li>
|
||||
<hr/>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-9">
|
||||
<article class="post page">
|
||||
<section class="post-content">
|
||||
<hr/>
|
||||
<div id="toc2" class="api_block">
|
||||
<h3>
|
||||
协议规则
|
||||
</h3>
|
||||
<p>传输方式:HTTP</p>
|
||||
<p>数据格式:JSON</p>
|
||||
<p>签名算法:MD5</p>
|
||||
<p>字符编码:UTF-8</p>
|
||||
</div>
|
||||
<div id="api0" class="api_block">
|
||||
<h3>
|
||||
[API]创建商户
|
||||
</h3>
|
||||
<p>API权限:该API只能合作支付商户调用</p>
|
||||
<p>URL地址:<?php echo $siteurl?>api.php?act=apply&token={合作者身份TOKEN}&url={商户域名}</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>操作类型</td><td>act</td><td>是</td><td>String</td><td>apply</td><td>此API固定值</td></tr>
|
||||
<tr><td>合作者TOKEN</td><td>token</td><td>是</td><td>String</td><td>9ddab6c4f2c87ce442de371b04f36d68</td><td>需要事先申请</td></tr>
|
||||
<tr><td>商户域名</td><td>url</td><td>是</td><td>String</td><td>pay.v8jisu.cn</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>返回结果:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>返回状态码</td><td>code</td><td>Int</td><td>1</td><td>1为成功,其它值为失败</td></tr>
|
||||
<tr><td>返回信息</td><td>msg</td><td>String</td><td>添加支付商户成功!</td><td></td></tr>
|
||||
<tr><td>商户ID</td><td>pid</td><td>Int</td><td>1001</td><td>所创建的商户ID</td></tr>
|
||||
<tr><td>商户密钥</td><td>key</td><td>String(32)</td><td>89unJUB8HZ54Hj7x4nUj56HN4nUzUJ8i</td><td>所创建的商户密钥</td></tr>
|
||||
<tr><td>商户类型</td><td>type</td><td>Int</td><td>1</td><td>此值暂无用</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="api1" class="api_block">
|
||||
<h3>
|
||||
[API]查询商户信息与结算规则
|
||||
</h3>
|
||||
<p>URL地址:<?php echo $siteurl?>api.php?act=query&pid={商户ID}&key={商户密钥}</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>操作类型</td><td>act</td><td>是</td><td>String</td><td>query</td><td>此API固定值</td></tr>
|
||||
<tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
|
||||
<tr><td>商户密钥</td><td>key</td><td>是</td><td>String</td><td>89unJUB8HZ54Hj7x4nUj56HN4nUzUJ8i</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>返回结果:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>返回状态码</td><td>code</td><td>Int</td><td>1</td><td>1为成功,其它值为失败</td></tr>
|
||||
<tr><td>商户ID</td><td>pid</td><td>Int</td><td>1001</td><td>所创建的商户ID</td></tr>
|
||||
<tr><td>商户密钥</td><td>key</td><td>String(32)</td><td>89unJUB8HZ54Hj7x4nUj56HN4nUzUJ8i</td><td>所创建的商户密钥</td></tr>
|
||||
<tr><td>商户类型</td><td>type</td><td>Int</td><td>1</td><td>此值暂无用</td></tr>
|
||||
<tr><td>商户状态</td><td>active</td><td>Int</td><td>1</td><td>1为正常,0为封禁</td></tr>
|
||||
<tr><td>商户余额</td><td>money</td><td>String</td><td>0.00</td><td>商户所拥有的余额</td></tr>
|
||||
<tr><td>结算账号</td><td>account</td><td>String</td><td>pay@cccyun.cn</td><td>结算的支付宝账号</td></tr>
|
||||
<tr><td>结算姓名</td><td>username</td><td>String</td><td>张三</td><td>结算的支付宝姓名</td></tr>
|
||||
<tr><td>满多少自动结算</td><td>settle_money</td><td>String</td><td>30</td><td>此值为系统预定义</td></tr>
|
||||
<tr><td>手动结算手续费</td><td>settle_fee</td><td>String</td><td>1</td><td>此值为系统预定义</td></tr>
|
||||
<tr><td>每笔订单分成比例</td><td>money_rate</td><td>String</td><td>98</td><td>此值为系统预定义</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="api2" class="api_block">
|
||||
<h3>
|
||||
[API]修改结算账号
|
||||
</h3>
|
||||
<p>URL地址:<?php echo $siteurl?>api.php?act=change&pid={商户ID}&key={商户密钥}&account={结算账号}&username={结算姓名}</p>
|
||||
<p>注:为了保障资金安全,已经设置结算账号的无法再进行修改,如需修改请联系客服</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>操作类型</td><td>act</td><td>是</td><td>String</td><td>change</td><td>此API固定值</td></tr>
|
||||
<tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
|
||||
<tr><td>商户密钥</td><td>key</td><td>是</td><td>String</td><td>89unJUB8HZ54Hj7x4nUj56HN4nUzUJ8i</td><td></td></tr>
|
||||
<tr><td>结算账号</td><td>account</td><td>是</td><td>String</td><td>pay@cccyun.cn</td><td>结算的支付宝账号</td></tr>
|
||||
<tr><td>结算姓名</td><td>username</td><td>是</td><td>String</td><td>张三</td><td>结算的支付宝姓名</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>返回结果:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>返回状态码</td><td>code</td><td>Int</td><td>1</td><td>1为成功,其它值为失败</td></tr>
|
||||
<tr><td>返回信息</td><td>msg</td><td>String</td><td>修改收款账号成功!</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="api3" class="api_block">
|
||||
<h3>
|
||||
[API]查询结算记录
|
||||
</h3>
|
||||
<p>URL地址:<?php echo $siteurl?>api.php?act=settle&pid={商户ID}&key={商户密钥}</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>操作类型</td><td>act</td><td>是</td><td>String</td><td>settle</td><td>此API固定值</td></tr>
|
||||
<tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
|
||||
<tr><td>商户密钥</td><td>key</td><td>是</td><td>String</td><td>89unJUB8HZ54Hj7x4nUj56HN4nUzUJ8i</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>返回结果:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>返回状态码</td><td>code</td><td>Int</td><td>1</td><td>1为成功,其它值为失败</td></tr>
|
||||
<tr><td>返回信息</td><td>msg</td><td>String</td><td>查询结算记录成功!</td><td></td></tr>
|
||||
<tr><td>结算记录</td><td>data</td><td>Array</td><td>结算记录列表</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="api4" class="api_block">
|
||||
<h3>
|
||||
[API]查询单个订单
|
||||
</h3>
|
||||
<p>URL地址:<?php echo $siteurl?>api.php?act=order&pid={商户ID}&key={商户密钥}&out_trade_no={商户订单号}</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>操作类型</td><td>act</td><td>是</td><td>String</td><td>order</td><td>此API固定值</td></tr>
|
||||
<tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
|
||||
<tr><td>商户密钥</td><td>key</td><td>是</td><td>String</td><td>89unJUB8HZ54Hj7x4nUj56HN4nUzUJ8i</td><td></td></tr>
|
||||
<tr><td>商户订单号</td><td>out_trade_no</td><td>是</td><td>String</td><td>20160806151343349</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>返回结果:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>返回状态码</td><td>code</td><td>Int</td><td>1</td><td>1为成功,其它值为失败</td></tr>
|
||||
<tr><td>返回信息</td><td>msg</td><td>String</td><td>查询订单号成功!</td><td></td></tr>
|
||||
<tr><td>易支付订单号</td><td>trade_no</td><td>String</td><td>2016080622555342651</td><td><?php echo $conf['sitename']?>订单号</td></tr>
|
||||
<tr><td>商户订单号</td><td>out_trade_no</td><td>String</td><td>20160806151343349</td><td>商户系统内部的订单号</td></tr>
|
||||
<tr><td>支付方式</td><td>type</td><td>String</td><td>alipay</td><td>alipay:支付宝,tenpay:财付通,<br/>qqpay:QQ钱包,wxpay:微信支付</td></tr>
|
||||
<tr><td>商户ID</td><td>pid</td><td>Int</td><td>1001</td><td>发起支付的商户ID</td></tr>
|
||||
<tr><td>创建订单时间</td><td>addtime</td><td>String</td><td>2016-08-06 22:55:52</td><td></td></tr>
|
||||
<tr><td>完成交易时间</td><td>endtime</td><td>String</td><td>2016-08-06 22:55:52</td><td></td></tr>
|
||||
<tr><td>商品名称</td><td>name</td><td>String</td><td>VIP会员</td><td></td></tr>
|
||||
<tr><td>商品金额</td><td>money</td><td>String</td><td>1.00</td><td></td></tr>
|
||||
<tr><td>支付状态</td><td>status</td><td>Int</td><td>0</td><td>1为支付成功,0为未支付</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="api5" class="api_block">
|
||||
<h3>
|
||||
[API]批量查询订单
|
||||
</h3>
|
||||
<p>URL地址:<?php echo $siteurl?>api.php?act=orders&pid={商户ID}&key={商户密钥}</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>操作类型</td><td>act</td><td>是</td><td>String</td><td>orders</td><td>此API固定值</td></tr>
|
||||
<tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
|
||||
<tr><td>商户密钥</td><td>key</td><td>是</td><td>String</td><td>89unJUB8HZ54Hj7x4nUj56HN4nUzUJ8i</td><td></td></tr>
|
||||
<tr><td>查询订单数量</td><td>limit</td><td>否</td><td>Int</td><td>20</td><td>返回的订单数量,最大50</td></tr>
|
||||
<tr><td>页码</td><td>page</td><td>否</td><td>Int</td><td>1</td><td>当前查询的页码</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>返回结果:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>返回状态码</td><td>code</td><td>Int</td><td>1</td><td>1为成功,其它值为失败</td></tr>
|
||||
<tr><td>返回信息</td><td>msg</td><td>String</td><td>查询结算记录成功!</td><td></td></tr>
|
||||
<tr><td>订单列表</td><td>data</td><td>Array</td><td></td><td>订单列表</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="api6" class="api_block">
|
||||
<h3>
|
||||
[API]二维码下单接口
|
||||
</h3>
|
||||
<p>此接口可用于服务器后端发起支付请求,会返回支付二维码链接</p>
|
||||
<p>URL地址:<?php echo $siteurl?>qrcode.php?pid={商户ID}&type={支付方式}&out_trade_no={商户订单号}&notify_url={服务器异步通知地址}&name={商品名称}&money={金额}&sign={签名字符串}&sign_type=MD5</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
|
||||
<tr><td>支付方式</td><td>type</td><td>是</td><td>String</td><td>alipay</td><td>qqpay:QQ钱包,wxpay:微信支付</td></tr>
|
||||
<tr><td>商户订单号</td><td>out_trade_no</td><td>是</td><td>String</td><td>20160806151343349</td><td></td></tr>
|
||||
<tr><td>异步通知地址</td><td>notify_url</td><td>是</td><td>String</td><td>http://www.cccyun.cc/notify_url.php</td><td>服务器异步通知地址</td></tr>
|
||||
<tr><td>商品名称</td><td>name</td><td>是</td><td>String</td><td>VIP会员</td><td></td></tr>
|
||||
<tr><td>商品金额</td><td>money</td><td>是</td><td>String</td><td>1.00</td><td></td></tr>
|
||||
<tr><td>签名字符串</td><td>sign</td><td>是</td><td>String</td><td>202cb962ac59075b964b07152d234b70</td><td>签名算法与<a href="https://doc.open.alipay.com/docs/doc.htm?treeId=62&articleId=104741&docType=1" target="_blank">支付宝签名算法</a>相同</td></tr>
|
||||
<tr><td>签名类型</td><td>sign_type</td><td>是</td><td>String</td><td>MD5</td><td>默认为MD5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>返回结果:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>返回状态码</td><td>code</td><td>Int</td><td>1</td><td>1为成功,其它值为失败</td></tr>
|
||||
<tr><td>返回信息</td><td>msg</td><td>String</td><td>下单成功!</td><td></td></tr>
|
||||
<tr><td>订单号</td><td>trade_no</td><td>String</td><td>20160806151343349</td><td></td></tr>
|
||||
<tr><td>商户订单号</td><td>out_trade_no</td><td>String</td><td>20160806151343349</td><td></td></tr>
|
||||
<tr><td>二维码链接</td><td>code_url</td><td>String</td><td>weixin://wxpay/bizpayurl?pr=04IPMKM</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr/>
|
||||
</div>
|
||||
<div id="pay0" class="api_block">
|
||||
<h3>
|
||||
发起支付请求
|
||||
</h3>
|
||||
<p>URL地址:<?php echo $siteurl?>submit.php</p>
|
||||
<p>POST数据:pid={商户ID}&type={支付方式}&out_trade_no={商户订单号}&notify_url={服务器异步通知地址}&return_url={页面跳转通知地址}&name={商品名称}&money={金额}&sitename={网站名称}&sign={签名字符串}&sign_type=MD5</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
|
||||
<tr><td>支付方式</td><td>type</td><td>是</td><td>String</td><td>alipay</td><td>alipay:支付宝,tenpay:财付通,<br/>qqpay:QQ钱包,wxpay:微信支付</td></tr>
|
||||
<tr><td>商户订单号</td><td>out_trade_no</td><td>是</td><td>String</td><td>20160806151343349</td><td></td></tr>
|
||||
<tr><td>异步通知地址</td><td>notify_url</td><td>是</td><td>String</td><td>http://www.cccyun.cc/notify_url.php</td><td>服务器异步通知地址</td></tr>
|
||||
<tr><td>跳转通知地址</td><td>return_url</td><td>是</td><td>String</td><td>http://www.cccyun.cc/return_url.php</td><td>页面跳转通知地址</td></tr>
|
||||
<tr><td>商品名称</td><td>name</td><td>是</td><td>String</td><td>VIP会员</td><td></td></tr>
|
||||
<tr><td>商品金额</td><td>money</td><td>是</td><td>String</td><td>1.00</td><td></td></tr>
|
||||
<tr><td>网站名称</td><td>sitename</td><td>否</td><td>String</td><td>彩虹云任务</td><td></td></tr>
|
||||
<tr><td>签名字符串</td><td>sign</td><td>是</td><td>String</td><td>202cb962ac59075b964b07152d234b70</td><td>签名算法与<a href="https://doc.open.alipay.com/docs/doc.htm?treeId=62&articleId=104741&docType=1" target="_blank">支付宝签名算法</a>相同</td></tr>
|
||||
<tr><td>签名类型</td><td>sign_type</td><td>是</td><td>String</td><td>MD5</td><td>默认为MD5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="pay1" class="api_block">
|
||||
<h3>
|
||||
支付结果通知
|
||||
</h3>
|
||||
<p>通知类型:服务器异步通知(notify_url)、页面跳转通知(return_url)</p>
|
||||
<p>请求方式:GET</p>
|
||||
<p>请求参数说明:</p>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
|
||||
<tr><td>易支付订单号</td><td>trade_no</td><td>是</td><td>String</td><td>20160806151343349021</td><td><?php echo $conf['sitename']?>订单号</td></tr>
|
||||
<tr><td>商户订单号</td><td>out_trade_no</td><td>是</td><td>String</td><td>20160806151343349</td><td>商户系统内部的订单号</td></tr>
|
||||
<tr><td>支付方式</td><td>type</td><td>是</td><td>String</td><td>alipay</td><td>alipay:支付宝,tenpay:财付通,<br/>qqpay:QQ钱包,wxpay:微信支付,<br/>alipaycode:支付宝扫码,jdpay:京东支付</td></tr>
|
||||
<tr><td>商品名称</td><td>name</td><td>是</td><td>String</td><td>VIP会员</td><td></td></tr>
|
||||
<tr><td>商品金额</td><td>money</td><td>是</td><td>String</td><td>1.00</td><td></td></tr>
|
||||
<tr><td>支付状态</td><td>trade_status</td><td>是</td><td>String</td><td>TRADE_SUCCESS</td><td></td></tr>
|
||||
<tr><td>签名字符串</td><td>sign</td><td>是</td><td>String</td><td>202cb962ac59075b964b07152d234b70</td><td>签名算法与<a href="https://doc.open.alipay.com/docs/doc.htm?treeId=62&articleId=104741&docType=1" target="_blank">支付宝签名算法</a>相同</td></tr>
|
||||
<tr><td>签名类型</td><td>sign_type</td><td>是</td><td>String</td><td>MD5</td><td>默认为MD5</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr/>
|
||||
</div>
|
||||
<div id="sdk0" class="api_block">
|
||||
<h3>
|
||||
SDK下载
|
||||
</h3>
|
||||
<blockquote>
|
||||
<a href="./SDK.zip" style="color:blue">SDK.zip</a><br/>
|
||||
SDK版本:V1.1
|
||||
</blockquote>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php require INDEX_ROOT.'foot.php';?>
|
||||
40
template/default/foot.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
if(!defined('IN_CRONLITE'))exit();
|
||||
?>
|
||||
|
||||
<div class="address">
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-8 col-lg-9">
|
||||
<ul class="porduct">
|
||||
<h4>产品</h4>
|
||||
<li><a href="agreement.html" target="_blank">服务条款</a></li>
|
||||
<li><a href="doc.html" target="_blank">开发文档</a></li>
|
||||
</ul>
|
||||
<ul class="price">
|
||||
<h4>关于我们</h4>
|
||||
<li><?php echo $conf['sitename']?>是<?php echo $conf['orgname']?>旗下的免签约支付产品</li>
|
||||
</ul>
|
||||
<ul class="about"style="width: 40%;padding-left: 22px;">
|
||||
<h4>联系我们</h4>
|
||||
<li><strong>QQ:</strong><a href="https://wpa.qq.com/msgrd?v=3&uin=<?php echo $conf['kfqq']?>&Site=pay&Menu=yes" target="_blank"><?php echo $conf['kfqq']?></a></li>
|
||||
<li><strong>Email:</strong><a href="mailto:<?php echo $conf['email']?>"><?php echo $conf['email']?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="xinxi">
|
||||
<p><?php echo $conf['sitename']?> ©2020 All Rights Reserved. <?php echo $conf['footer']?></p>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if('ontouchend' in document.body && $(window).width() < 996){
|
||||
$('.col-xs-12 .h2').css('text-align','center');
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
73
template/default/head.php
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
if(!defined('IN_CRONLITE'))exit();
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title><?php echo $conf['title']?></title>
|
||||
<meta name="keywords" content="<?php echo $conf['keywords']?>">
|
||||
<meta name="description" content="<?php echo $conf['description']?>" />
|
||||
<meta name="viewport"content="user-scalable=no, width=device-width">
|
||||
<meta name="viewport"content="width=device-width, initial-scale=1"/>
|
||||
<meta name="renderer"content="webkit">
|
||||
<link rel="stylesheet" href="//cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" href="//cdn.staticfile.org/twitter-bootstrap/3.4.1/css/bootstrap.min.css" type="text/css" />
|
||||
<link rel="stylesheet"href="<?php echo STATIC_ROOT?>css/common.css">
|
||||
<link rel="stylesheet"href="<?php echo STATIC_ROOT?>css/index-top.css">
|
||||
<!--[if IE 9 ]><style type="text/css">#ie9{ display:block; }</style><![endif]-->
|
||||
<script src="//cdn.staticfile.org/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script src="//cdn.staticfile.org/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>
|
||||
<script src="//cdn.staticfile.org/jquery-ujs/1.2.2/rails.min.js"async="true"></script>
|
||||
<link rel="stylesheet"type="text/css"href="<?php echo STATIC_ROOT?>css/index.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<!--[if (gt IE 6)&(lt IE 9)]>
|
||||
<h1 style='color:red;text-align:center;'>
|
||||
你好,浏览器版本过低,升级可正常访问,点击<a style="color:blue"href="http://browsehappy.com/">升级您的浏览器</a>
|
||||
</h1>
|
||||
<style type="text/css">#ielt9{ display: none; }h1{ height:300px;line-height: 300px;display:block; }header{ display: none; }#ie9{ display: block; }.tenxcloud-logo{ margin:50px auto 0;display:block}</style>
|
||||
<![endif]-->
|
||||
|
||||
<div id="ielt9"style="height:100%">
|
||||
<header>
|
||||
<nav id="main-nav"class="navbar navbar-default"role="navigation">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="navbar-header">
|
||||
<button type="button"class="toggle navbar-toggle collapsed"data-toggle="collapse"data-target=".navbar-top-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a href="/"><span class="logo" style="background:url(assets/img/logo.png) no-repeat;height: 45px"></span></a>
|
||||
</div>
|
||||
<div class="navbar-collapse navbar-top-collapse collapse"style="height: 1px;">
|
||||
<ul class="nav navbar-nav navbar-right c_navbar">
|
||||
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right z_navbar">
|
||||
<li><a href="/">首页</a></li>
|
||||
<li><a href="doc.html">开发文档</a></li>
|
||||
<?php if($conf['test_open']){?>
|
||||
<li><a href="/user/test.php">支付测试</a></li>
|
||||
<?php }?>
|
||||
<li><a href="/user/">用户中心</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<div id="ie9">你当前的浏览器版本过低,请您升级至IE9以上版本,以达到最佳效果,谢谢!<span class="closeIE">X</span></div>
|
||||
<div id="scroll_Top">
|
||||
<i class="fa fa-arrow-up"></i>
|
||||
<a href="javascript:;"title="去顶部"class="TopTop">TOP</a></div>
|
||||
<script>
|
||||
|
||||
$('.closeIE').click(function(event) {
|
||||
$('#ie9').fadeOut();
|
||||
});
|
||||
</script>
|
||||
106
template/default/index.php
Normal file
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
if(!defined('IN_CRONLITE'))exit();
|
||||
require INDEX_ROOT.'head.php';
|
||||
?>
|
||||
<section class="screen1">
|
||||
<div id="myCarousel"class="carousel slide">
|
||||
<div class="carousel-inner">
|
||||
|
||||
<div class="item active">
|
||||
<div class="banner2 banner3">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-12 col-sm-6 col-md-6">
|
||||
<div class="ban2_img">
|
||||
<div class="cloud_db_img"><img src="<?php echo STATIC_ROOT?>images/banner4.png"class="img-responsive"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6 col-md-6">
|
||||
<div class="ban2_text">
|
||||
<div class="ban2_status docker">
|
||||
<div class="ban2_middle">欢迎使用<?php echo $conf['sitename']?></div>
|
||||
<div class="ban2_content">提供免签约支付宝、QQ钱包、微信支付</div>
|
||||
|
||||
<div class="ban2_experience">
|
||||
<a href="/user/"class="btn proceed">登录商户</a> <a href="/user/reg.php"class="btn proceed">注册商户</a><br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- <ol class="carousel-indicators">
|
||||
<li data-target="#myCarousel"data-slide-to="1"class="active"></li>
|
||||
</ol>
|
||||
<div id="trun_left"><a href="#myCarousel"data-slide="prev"class="_left">‹</a></div>
|
||||
<div id="trun_right"><a href="#myCarousel"data-slide="next"class="_right">›</a></div>-->
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="screen3">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 cloud_server">
|
||||
<div class="h3"><?php echo $conf['sitename']?>®免签约支付产品</div>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-4 col-md-4">
|
||||
<div id="container_server">
|
||||
<div class="server_item container_server"></div>
|
||||
<div class="server-head h4">多种支付方式
|
||||
<div class="h5 text-center">支持财付通 支付宝 微信 QQ钱包</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-4 col-md-4">
|
||||
<div id="server-arrange">
|
||||
<div class="server_item arrange"></div>
|
||||
<div class="server-head h4">对接费率超低
|
||||
<div class="h5 text-center">每笔交易手续费低至2%,比其它平台更便宜</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-4 col-md-4">
|
||||
<div id="codebuild">
|
||||
<div class="server_item codebuild"></div>
|
||||
<div class="server-head h4">无需自主提现
|
||||
<div class="h5 text-center">满一定金额即可自动提现到你的支付宝账号</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="screen4">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 blog-head">
|
||||
<div class="h3">平台合作伙伴</div>
|
||||
<div class="col-xs-3">
|
||||
<img src="<?php echo STATIC_ROOT?>images/alipay.png" width="150">
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<img src="<?php echo STATIC_ROOT?>images/wxpay.png" width="150">
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<img src="<?php echo STATIC_ROOT?>images/qqpay.png" width="150">
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<img src="<?php echo STATIC_ROOT?>images/tenpay.png" width="150">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php require INDEX_ROOT.'foot.php';?>
|
||||
BIN
template/default/preview.png
Normal file
|
After Width: | Height: | Size: 28 KiB |