|
|
@@ -0,0 +1,808 @@
|
|
|
+<style>
|
|
|
+ body{
|
|
|
+ font-family: "Microsoft Yahei", "微软雅黑";
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
+ .fl{
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ .fr{
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ .clearfix {
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+ /*头部导航*/
|
|
|
+ #nav{
|
|
|
+ width: 100%;
|
|
|
+ margin: 0 auto;
|
|
|
+ background: #474443;
|
|
|
+ }
|
|
|
+ #nav .container{
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 0;
|
|
|
+ width: 1140px;
|
|
|
+ height: 60px;
|
|
|
+ line-height: 60px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ #nav .fl{
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ #nav .fl img{
|
|
|
+ margin-right: 32px;
|
|
|
+ width: 65px;
|
|
|
+ height: 22px;
|
|
|
+ }
|
|
|
+ #nav .fl span{
|
|
|
+ font-size: 16px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ #nav .fl span:before{
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 25px;
|
|
|
+ left: 80px;
|
|
|
+ width: 1px;
|
|
|
+ height: 14px;
|
|
|
+ background: #a0a0a0;
|
|
|
+ }
|
|
|
+ #nav .fl a.return{
|
|
|
+ margin-left: 28px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #b4b4b4;
|
|
|
+ text-decoration: none;
|
|
|
+ }
|
|
|
+ #nav .fr a{
|
|
|
+ margin-right: 45px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ #nav .fr a:last-child {
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
+ .main{
|
|
|
+ width: 100%;
|
|
|
+ margin: 24px 0 150px 0;
|
|
|
+ }
|
|
|
+ .main .container{
|
|
|
+ width: 1140px;
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+ .main .section{
|
|
|
+ width: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ text-align: center;
|
|
|
+ margin: 0 auto;
|
|
|
+ }
|
|
|
+ .section1 .nav{
|
|
|
+ margin-bottom: 15px;
|
|
|
+ width: 100%;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ .section1 .nav span:first-child a{
|
|
|
+ font-size: 14px;
|
|
|
+ color: #303030;
|
|
|
+ }
|
|
|
+ .section1 .nav span:nth-child(2){
|
|
|
+ margin: 0 10px;
|
|
|
+ }
|
|
|
+ .section1 .nav span:last-child{
|
|
|
+ font-size: 30px;
|
|
|
+ color: #303030;
|
|
|
+ }
|
|
|
+ .section1 .evolve{
|
|
|
+ /*border-top: 2px solid #efb13b;*/
|
|
|
+ }
|
|
|
+ .section1 .evolve .img{
|
|
|
+ width: 1140px;
|
|
|
+ height: 180px;
|
|
|
+ border: 1px solid #e1e1e1;
|
|
|
+ }
|
|
|
+ .section1 .evolve .img img{
|
|
|
+ width: 1140px;
|
|
|
+ height: 180px;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status {
|
|
|
+ margin: 20px 0 0 50px;
|
|
|
+ /*width: 530px;*/
|
|
|
+ width: 100%;
|
|
|
+ height: 310px;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list {
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
+ /*项目状态*/
|
|
|
+ .section1 .evolve .status .status-list span.project-txt{
|
|
|
+ margin-right: 20px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #949494;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-evolve span{
|
|
|
+ margin-right: 80px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #7a7a7a;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-evolve span.end{
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-evolve span.start{
|
|
|
+ color: #323232;
|
|
|
+ margin-right: 65px;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-evolve span.arrangement{
|
|
|
+ color: #323232;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line{
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.line{
|
|
|
+ margin: 20px 0 0 30px;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.line span{
|
|
|
+ display: inline-block;
|
|
|
+ width: 118px;
|
|
|
+ height: 5px;
|
|
|
+ background: #dcdcdc;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.line span.active{
|
|
|
+ background: #ef613b;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.circle{
|
|
|
+ position: absolute ;
|
|
|
+ top: 4px;
|
|
|
+ left: 18px;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.circle span{
|
|
|
+ margin-right: 108px;
|
|
|
+ display: inline-block;
|
|
|
+ width: 13px;
|
|
|
+ height: 13px;
|
|
|
+ background: #dcdcdc;
|
|
|
+ border-radius: 100%;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.circle span:nth-child(3){
|
|
|
+ margin-right: 100px;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.circle span:last-child{
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.circle span.active{
|
|
|
+ background: #ef613b;
|
|
|
+ }
|
|
|
+ .section1 .evolve .status .status-list div.status-detail .status-line div.circle span.empty-circle{
|
|
|
+ background: #fff;
|
|
|
+ border: 2px solid #ef613b;
|
|
|
+ }
|
|
|
+ /*机构信息相关项目*/
|
|
|
+ .section2 .top{
|
|
|
+ margin: 25px 0;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ .section2 .top div.tabNav{
|
|
|
+ margin-right: 50px;
|
|
|
+ position: relative;
|
|
|
+ cursor: pointer;
|
|
|
+ width: 130px;
|
|
|
+ }
|
|
|
+ .section2 .top div.tabNav span{
|
|
|
+ position: absolute;
|
|
|
+ top:0;
|
|
|
+ left: 30px;
|
|
|
+ font-size: 24px;
|
|
|
+ color: #787878;
|
|
|
+ }
|
|
|
+ .section2 .top div.tabNav em{
|
|
|
+ display: inline-block;
|
|
|
+ width: 6px;
|
|
|
+ height: 36px;
|
|
|
+ font-style: normal;
|
|
|
+ background: #dcdcdc;
|
|
|
+ }
|
|
|
+ .section2 .top div.tabNav.active span,.section2 .top div.tabNav:hover span{
|
|
|
+ color: #1e1e1e;
|
|
|
+ }
|
|
|
+ .section2 .top div.tabNav.active em,.section2 .top div.tabNav:hover em{
|
|
|
+ background: #408eff;
|
|
|
+ }
|
|
|
+ /*相关项目*/
|
|
|
+ .section2 .list-item {
|
|
|
+ margin-top: 25px;
|
|
|
+ padding-bottom: 25px;
|
|
|
+ width: 100%;
|
|
|
+ text-align: left;
|
|
|
+ padding-top: 25px;
|
|
|
+ border-top: 1px solid #dcdcdc;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-img {
|
|
|
+ margin-right: 24px;
|
|
|
+ width: 360px;
|
|
|
+ height: 200px;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-img img {
|
|
|
+ width: 360px;
|
|
|
+ height: 200px;
|
|
|
+ border: 1px solid #e1e1e1;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-detail {
|
|
|
+ margin: 10px 30px 0 0;
|
|
|
+ width: 530px;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-detail p {
|
|
|
+ margin-bottom: 30px;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #1e1e1e;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-detail p a {
|
|
|
+ font-size: 18px;
|
|
|
+ color: #1e1e1e;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-detail div {
|
|
|
+ margin-bottom: 14px;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-detail div span {
|
|
|
+ float: left;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #969696;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-detail div span:last-child {
|
|
|
+ width: 460px;
|
|
|
+ color: #323232;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-progress {
|
|
|
+ width: 190px;
|
|
|
+ height: 130px;
|
|
|
+ margin: 15px 0 12px 0;
|
|
|
+ padding-left: 20px;
|
|
|
+ background: #f5f5f5;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-progress div {
|
|
|
+ margin-bottom: 16px;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-progress div:first-child {
|
|
|
+ margin-top: 26px;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-progress div span {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #787878;
|
|
|
+ }
|
|
|
+ .section2 .list-item .project-progress div span em {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #323232;
|
|
|
+ font-style: normal;
|
|
|
+ }
|
|
|
+ .section2 .list-item a.donation {
|
|
|
+ display: inline-block;
|
|
|
+ width: 190px;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ font-size: 14px;
|
|
|
+ text-align: center;
|
|
|
+ background: #ef613b;
|
|
|
+ color: #fff;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ .section2 .list-item a.donation:hover {
|
|
|
+ background: #be3b1b;
|
|
|
+ }
|
|
|
+ /*机构信息*/
|
|
|
+ .section2 .bottom .project-txts{
|
|
|
+ padding-top: 30px;
|
|
|
+ width: 800px;
|
|
|
+ text-align: left;
|
|
|
+ border-top: 1px solid #dcdcdc;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts div{
|
|
|
+ overflow: hidden ;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts p{
|
|
|
+ margin-bottom: 34px;
|
|
|
+ line-height: 21px;
|
|
|
+ font-size: 14px;
|
|
|
+ color:#797979;
|
|
|
+ text-indent: 2em;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .item-list{
|
|
|
+ float: left;
|
|
|
+ margin-bottom: 15px;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .item-list span:first-child{
|
|
|
+ margin-right: 20px;
|
|
|
+ width: 70px;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #000;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .item-list span:last-child{
|
|
|
+ width: 310px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #323232;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .projectIntro{
|
|
|
+ margin-top: 20px;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .projectIntro h3{
|
|
|
+ padding-bottom: 15px;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #1e1e1e;
|
|
|
+ border-bottom: 1px solid #dcdcdc;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .projectIntro .uploadImg{
|
|
|
+ padding-top: 27px;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .projectIntro .uploadImg .item{
|
|
|
+ position: relative;
|
|
|
+ margin-right: 46px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .projectIntro .uploadImg .item .upload-img{
|
|
|
+ margin-bottom: 15px;
|
|
|
+ width: 200px;
|
|
|
+ height: 200px;
|
|
|
+ background: #dcdcdc;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .projectIntro .uploadImg .item input{
|
|
|
+ position: absolute ;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 200px;
|
|
|
+ height: 200px;
|
|
|
+ outline: none;
|
|
|
+ opacity: 0;
|
|
|
+ }
|
|
|
+ .section2 .bottom .project-txts .projectIntro .uploadImg span{
|
|
|
+ font-family: 'SimHei'!important;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #787878;
|
|
|
+ }
|
|
|
+ .project-box{
|
|
|
+ padding: 0 10px;
|
|
|
+ margin-left: 30px;
|
|
|
+ width: 310px;
|
|
|
+ height: 200px;
|
|
|
+ border: 1px solid #dcdcdc;
|
|
|
+ -webkit-box-shadow: 2px 2px 5px #eee;
|
|
|
+ -o-box-shadow: 2px 2px 5px #eee;
|
|
|
+ -moz-box-shadow: 2px 2px 5px #eee;
|
|
|
+ box-shadow: 2px 2px 5px #eee;
|
|
|
+ }
|
|
|
+ .project-box .buttons .bottom-item {
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .project-box .buttons .bottom-item .title {
|
|
|
+ margin: 16px 0 10px 0;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #787878;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ .project-box .buttons .bottom-item .title span {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #787878;
|
|
|
+ }
|
|
|
+ .project-box .buttons .bottom-item .count span:first-child {
|
|
|
+ display: inline-block;
|
|
|
+ margin-right: 15px;
|
|
|
+ padding-right: 15px;
|
|
|
+ width: 240px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ font-size: 28px;
|
|
|
+ color: #505050;
|
|
|
+ text-align: right;
|
|
|
+ border: 1px solid #e1e1e1;
|
|
|
+ background: -webkit-linear-gradient(top, #fff 50%,#eee 100%);
|
|
|
+ background: -o-linear-gradient(top, #fff 50%,#eee 100%);
|
|
|
+ background: -ms-linear-gradient(top, #fff 50%,#eee 100%);
|
|
|
+ background: linear-gradient(to bottom, #fff 50%,#eee 100%);
|
|
|
+ }
|
|
|
+ .project-box .buttons .bottom-item .count span:last-child {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #787878;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ /*机构信息 相关项目*/
|
|
|
+ .main .section2 .bottom{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .show{
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+
|
|
|
+ .status .form-group input {
|
|
|
+ margin-left: 210px;
|
|
|
+ padding-left: 10px;
|
|
|
+ width: 260px;
|
|
|
+ height: 34px;
|
|
|
+ outline: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .status .form-group {
|
|
|
+ position: relative;
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ .form-groups {
|
|
|
+ margin-top: 13px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .status .form-group img {
|
|
|
+ position: absolute;
|
|
|
+ top: 10px;
|
|
|
+ right: 10px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ img {
|
|
|
+ border: none;
|
|
|
+ vertical-align: middle;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*我要捐款弹出窗*/
|
|
|
+ .pop{
|
|
|
+ margin: 0 auto;
|
|
|
+ width: 510px;
|
|
|
+ height: 410px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .pop .modal-dialog .modal-content{
|
|
|
+ width: 510px;
|
|
|
+ /*height: 410px;*/
|
|
|
+ }
|
|
|
+ .pop .header{
|
|
|
+ padding: 0 20px;
|
|
|
+ width: 100%;
|
|
|
+ height: 44px;
|
|
|
+ line-height: 44px;
|
|
|
+ background: #eeeeee;
|
|
|
+ }
|
|
|
+ .pop .header p{
|
|
|
+ font-size: 16px;
|
|
|
+ color: #e96d08;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ .pop .header .close{
|
|
|
+ font-size: 38px;
|
|
|
+ }
|
|
|
+ .pop .body{
|
|
|
+ margin-top: 20px;
|
|
|
+ margin-bottom: 30px;
|
|
|
+ padding: 0 30px;
|
|
|
+ }
|
|
|
+ .pop .body .choose{
|
|
|
+ margin-bottom: 15px;
|
|
|
+ }
|
|
|
+ .pop .body .choose:nth-child(3){
|
|
|
+ margin-top: 32px;
|
|
|
+ }
|
|
|
+ .pop .body .choose span{
|
|
|
+ margin: 8px 15px 0 0;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #969696;
|
|
|
+ }
|
|
|
+ .pop .body .choose span.best{
|
|
|
+ margin-top: 0;
|
|
|
+ }
|
|
|
+ .pop .body .choose ul{
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .pop .body .choose ul li{
|
|
|
+ float: left;
|
|
|
+ margin-right: 17px;
|
|
|
+ padding-right: 10px;
|
|
|
+ width: 70px;
|
|
|
+ height: 34px;
|
|
|
+ line-height: 34px;
|
|
|
+ font-size: 14px;
|
|
|
+ text-align: right;
|
|
|
+ color: #1f1f1f;
|
|
|
+ border: 1px solid #e1e1e1;
|
|
|
+ list-style: none;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ .pop .body .choose ul li:last-child{
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
+ .pop .body .choose li.active,.pop .body .choose li:hover{
|
|
|
+ border-color: #ef613b;
|
|
|
+ }
|
|
|
+ .pop .body .choose input[type='text']{
|
|
|
+ width: 130px;
|
|
|
+ height: 34px;
|
|
|
+ line-height: 34px;
|
|
|
+ padding-left: 15px;
|
|
|
+ border-radius: 0;
|
|
|
+ outline: none;
|
|
|
+ }
|
|
|
+ .pop .body .choose .write{
|
|
|
+ position: relative;
|
|
|
+ margin-top: 12px;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ .pop .body .choose em{
|
|
|
+ position: absolute;
|
|
|
+ top: 9px;
|
|
|
+ right: 212px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #1f1f1f;
|
|
|
+ font-style: normal;
|
|
|
+ }
|
|
|
+ .pop .body .choose textarea{
|
|
|
+ width: 322px;
|
|
|
+ height: 60px;
|
|
|
+ border-radius: 0;
|
|
|
+ }
|
|
|
+ .pop .body .choose .agree{
|
|
|
+ margin: 15px 0 0 85px;
|
|
|
+ }
|
|
|
+ .pop .body .choose .agree span{
|
|
|
+ margin: 0 0 0 7px;
|
|
|
+ }
|
|
|
+ .pop .body .choose .agree span a{
|
|
|
+ font-size: 12px;
|
|
|
+ color: #979797;
|
|
|
+ }
|
|
|
+ .pop .body .choose .pay{
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .pop .body .choose .pay .item{
|
|
|
+ float: left;
|
|
|
+ margin-right: 10px;
|
|
|
+ width: 110px;
|
|
|
+ height: 34px;
|
|
|
+ line-height: 34px;
|
|
|
+ text-align: center;
|
|
|
+ border: 1px solid #dcdcdc;
|
|
|
+ }
|
|
|
+ .pop .body .choose .pay .item:last-child{
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
+ .pop .body .choose .pay .item.active,.pop .body .choose .pay .item:hover{
|
|
|
+ border: 1px solid #ef613b;
|
|
|
+ }
|
|
|
+ .pop .body .choose .pay .item a{
|
|
|
+ display: inline-block;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #323232;
|
|
|
+ }
|
|
|
+ .pop .body .choose .pay .item a img{
|
|
|
+ margin: -2px 15px 0 0;
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ vertical-align: middle;
|
|
|
+ }
|
|
|
+ .pop .body button{
|
|
|
+ width: 200px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ font-size: 18px;
|
|
|
+ text-align: center;
|
|
|
+ background: #ef613b;
|
|
|
+ color: #fff;
|
|
|
+ border: none;
|
|
|
+ outline: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .pop .body button:hover{
|
|
|
+ background: #be3b1b;
|
|
|
+ }
|
|
|
+ .modal-open .modal {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ .modal-open .modal .modal-dialog{
|
|
|
+ width: 480px;
|
|
|
+ height: 330px;
|
|
|
+ top: 25%;
|
|
|
+ }
|
|
|
+ /*切换*/
|
|
|
+ .show{
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<div class="main">
|
|
|
+ <div class="container">
|
|
|
+ <div class="section section1">
|
|
|
+ <div class="nav">
|
|
|
+ <span><a ui-sref="detail({id:project.id})">返回项目</a></span><span>></span><span ng-bind="organization.name"></span>
|
|
|
+ </div>
|
|
|
+ <div class="evolve">
|
|
|
+ <div class="img">
|
|
|
+ <img src="static/images/init.png" alt=""/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section section2">
|
|
|
+ <div class="top clearfix" id="top">
|
|
|
+ <div class="active fl tabNav"><em></em><span>机构信息</span></div>
|
|
|
+ <div class="fl tabNav" ng-if="projectParams.total() != 0"><em></em><span>相关项目</span></div>
|
|
|
+ </div>
|
|
|
+ <!--机构信息-->
|
|
|
+ <div class="bottom clearfix show" >
|
|
|
+ <div class="project-txts fl">
|
|
|
+ <div>
|
|
|
+ <p> {{organization.summary}}
|
|
|
+ </p>
|
|
|
+ <div class="item-list">
|
|
|
+ <span class="fl">成立日期:</span>
|
|
|
+ <span class="fl">{{organization.createTime | date :'yyyy年MM月dd日'}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="item-list">
|
|
|
+ <span class="fl">所在地:</span>
|
|
|
+ <span class="fl">{{organization.province}} {{organization.city}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="item-list">
|
|
|
+ <span class="fl">联系电话:</span>
|
|
|
+ <span class="fl">{{organization.telphone}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="item-list">
|
|
|
+ <span class="fl">详细地址:</span>
|
|
|
+ <span class="fl">{{organization.address}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="item-list">
|
|
|
+ <span class="fl">官方网址:</span>
|
|
|
+ <span class="fl">{{organization.website}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="item-list">
|
|
|
+ <span class="fl">主要领域:</span>
|
|
|
+ <span class="fl">{{organization.majorArea}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="item-list">
|
|
|
+ <span class="fl">机构性质:</span>
|
|
|
+ <span class="fl" ng-if="organization.type ==1">公募</span>
|
|
|
+ <span class="fl" ng-if="organization.type ==2">非公募</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="projectIntro">
|
|
|
+ <h3>相关证书</h3>
|
|
|
+ <div class="uploadImg clearfix">
|
|
|
+ <div class="item fl">
|
|
|
+ <img src="{{organization.personCertificate}}">
|
|
|
+ <div>组织法人登记证书</div>
|
|
|
+ </div>
|
|
|
+ <div class="item fl">
|
|
|
+ <img src="{{organization.donateCertificate}}">
|
|
|
+ <div>慈善组织公开募捐资格证书</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="project-box fl">
|
|
|
+ <div class="buttons">
|
|
|
+ <div class="bottom-item">
|
|
|
+ <div class="title"><span>捐款总人次</span></div>
|
|
|
+ <div class="count"><span ng-bind="joinedPersonHistory | number"></span><span>人次</span></div>
|
|
|
+ </div>
|
|
|
+ <div class="bottom-item">
|
|
|
+ <div class="title"><span>募集总善款</span></div>
|
|
|
+ <div class="count" style="margin-left: -10px;"><span ng-bind="totalDonationsHistory | number:2"></span><span>元</span></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--相关项目-->
|
|
|
+ <div class="bottom bottoms" >
|
|
|
+ <table ng-table="projectParams">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>
|
|
|
+ <div class="status">
|
|
|
+ <div class="form-group form-groups">
|
|
|
+ <input type="search" ng-model="keyword" ng-search="onSearch()" class="form-control" placeholder="请输入关键词"/>
|
|
|
+ <img src="static/images/index/search.png" ng-click="onSearch()" alt="搜索" title="点击搜索"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody ng-if="projectParams.total() == 0">
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <div class="list-item clearfix">
|
|
|
+ <div class="col-md-12 text-center">
|
|
|
+ <div class="f16">当前没有找到符合条件的项目!</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ <tbody ng-repeat="project in $data">
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <div class="list-item clearfix">
|
|
|
+ <div class="project-img fl">
|
|
|
+ <a ui-sref="projectDetail"><img src="{{project.pcImg}}" alt="项目缩略图" title="{{project.name}}"/></a>
|
|
|
+ </div>
|
|
|
+ <div class="project-detail fl">
|
|
|
+ <p><a ui-sref="detail({id:project.id})">{{project.name}}</a></p>
|
|
|
+ <div><span>项目简介:</span><span>{{project.summary}}</span></div>
|
|
|
+ <div><span>筹款时间:</span><span>{{project.startTime | date:'yyyy-MM-dd'}}至{{project.endTime | date:'yyyy-MM-dd'}}</span></div>
|
|
|
+ <div><span>筹款目标:</span><span>{{project.target | number}}元</span></div>
|
|
|
+ <div><span>执 行 方:</span><span>{{project.orgName}}</span></div>
|
|
|
+ </div>
|
|
|
+ <div class="project-progress fr">
|
|
|
+ <div>
|
|
|
+ <span>项目状态:
|
|
|
+ <em ng-if="project.overdue != 1">进行中</em>
|
|
|
+ <em ng-if="project.overdue == 1">已结束</em>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div><span>已参与:<em>{{joinedPersonHistory | number}}</em>人</span></div>
|
|
|
+ <div><span>已筹款:<em>{{project.totalAmount | number}}</em>元({{project.totalAmount * 100 / project.target | number: 2}}%)</span></div>
|
|
|
+ </div>
|
|
|
+ <a class="fr donation" data-toggle="modal" data-target="#layer">我要捐款</a>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<!--捐款弹窗-->
|
|
|
+<div class="pop modal" role='dialog' id='layer'>
|
|
|
+ <div class="modal-dialog">
|
|
|
+ <div class="modal-content">
|
|
|
+ <div class="header modal-header clearfix">
|
|
|
+ <p class="fl">捐款项目:{{project.name}}</p>
|
|
|
+ <div class="close fr" data-dismiss="modal">×</div>
|
|
|
+ </div>
|
|
|
+ <form name="donationForm">
|
|
|
+ <div class="body modal-body">
|
|
|
+ <div class="choose clearfix">
|
|
|
+ <span class="fl">捐款金额:</span>
|
|
|
+ <div class="fl">
|
|
|
+ <ul>
|
|
|
+ <li class="select-money active" ng-click="setMoney(1)">1元</li>
|
|
|
+ <li class="select-money" ng-click="setMoney(50)">50元</li>
|
|
|
+ <li class="select-money" ng-click="setMoney(100)">100元</li>
|
|
|
+ <li class="select-money" ng-click="setMoney(200)">200元</li>
|
|
|
+ </ul>
|
|
|
+ <div class="write"><input type="text" ng-pattern="/^\d{1,9}(.\d{1,2})?$/" ng-model="donation" ng-click="setMoney(0)" ng-change="inputMoney()" placeholder="其他金额" class="write-money form-control"/><em>元</em></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="choose clearfix">
|
|
|
+ <span class="fl">支付方式:</span>
|
|
|
+ <div class="fl pay">
|
|
|
+ <div class="item active select-way"><a ng-click="setWay('支付宝')"><img src="static/images/zfb.png" alt=""/>支付宝</a></div>
|
|
|
+ <div class="item select-way"><a ng-click="setWay('微信')"><img src="static/images/wx.png" alt=""/>微信支付</a></div>
|
|
|
+ <!--<div class="item select-way"><a ng-click="setWay('网银')"><img src="static/images/bank.png" alt=""/>网银支付</a></div>-->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="choose clearfix">
|
|
|
+ <span class="fl best">我的祝福:</span>
|
|
|
+ <textarea ng-model="projectRecord.bless" cols="30" rows="10" class="fl form-control"></textarea>
|
|
|
+ <div class="fl agree clearfix">
|
|
|
+ <input type="checkbox" class="fl" required ng-checked="checked" ng-click="changeChecked()"><span class="fl">同意并接受《<a href="/userAgreement" target="_blank" style="color: #5078cb;">优软一元捐用户协议</a>》</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <button ng-disabled="donationForm.$invalid || !checked || projectRecord.amount == 0" onclick="pay(angular.element(this).scope().project.id, angular.element(this).scope().projectRecord.amount, angular.element(this).scope().projectRecord.way)">确认捐款</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<script>
|
|
|
+ // 点击切换
|
|
|
+ $('#top').on('click', '.tabNav', function () {
|
|
|
+ var index = $(this).index();
|
|
|
+ $(this).addClass('active').siblings().removeClass('active');
|
|
|
+ $('.bottom').eq(index).addClass('show').siblings().removeClass('show');
|
|
|
+ });
|
|
|
+
|
|
|
+ $('.select-money').on('click', function () {
|
|
|
+ $(this).addClass('active').siblings().removeClass('active');
|
|
|
+ });
|
|
|
+ $('.select-way').on('click', function () {
|
|
|
+ $(this).addClass('active').siblings().removeClass('active');
|
|
|
+ });
|
|
|
+ $('.write-money').on('focus', function () {
|
|
|
+ $('.select-money').removeClass('active');
|
|
|
+ });
|
|
|
+</script>
|
|
|
+<script type="text/javascript" src="static/js/pay.js"></script>
|