|
|
@@ -398,6 +398,7 @@
|
|
|
background: #a0a0a0;
|
|
|
color: #fff;
|
|
|
cursor: pointer;
|
|
|
+ disabled:disabled;
|
|
|
}
|
|
|
.section2 .list-item a.donationOver:hover{
|
|
|
background: #a0a0a0;
|
|
|
@@ -580,7 +581,7 @@
|
|
|
height: 20px;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
- .pop .body button{
|
|
|
+ .pop .body .button{
|
|
|
width: 200px;
|
|
|
height: 40px;
|
|
|
line-height: 40px;
|
|
|
@@ -591,9 +592,24 @@
|
|
|
border: none;
|
|
|
outline: none;
|
|
|
}
|
|
|
- .pop .body button:hover{
|
|
|
+ .pop .body .button:hover{
|
|
|
background: #be3b1b;
|
|
|
}
|
|
|
+ .pop .body .buttonDisabled{
|
|
|
+ width: 200px;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ font-size: 18px;
|
|
|
+ text-align: center;
|
|
|
+ background: #a0a0a0;
|
|
|
+ color: #fff;
|
|
|
+ border: none;
|
|
|
+ outline: none;
|
|
|
+ disabled: disabled;
|
|
|
+ }
|
|
|
+ .pop .body .buttonDisabled:hover{
|
|
|
+ background: #a0a0a0;
|
|
|
+ }
|
|
|
|
|
|
#hover-background .x-floating-wrap {
|
|
|
position: fixed;
|
|
|
@@ -642,6 +658,9 @@
|
|
|
.show{
|
|
|
display: block;
|
|
|
}
|
|
|
+ #kkpager {
|
|
|
+ margin-bottom: 130px!important;
|
|
|
+ }
|
|
|
#carousel-fragment li {
|
|
|
width: 12px;
|
|
|
height: 12px;
|
|
|
@@ -679,24 +698,30 @@
|
|
|
<!--banner–>-->
|
|
|
<div class="banner">
|
|
|
<div id="myCarousel" class="carousel slide">
|
|
|
- <#-- <!-- 轮播(Carousel)指标 –>-->
|
|
|
- <#--<ol class="carousel-indicators">-->
|
|
|
- <#--<li data-target="#myCarousel" data-slide-to="0" class="active"></li>-->
|
|
|
- <#--<li data-target="#myCarousel" data-slide-to="1"></li>-->
|
|
|
- <#--<li data-target="#myCarousel" data-slide-to="2"></li>-->
|
|
|
- <#--</ol>-->
|
|
|
+ <!-- 轮播(Carousel)指标 -->
|
|
|
+ <ol class="carousel-indicators">
|
|
|
+ <#if carouselList?exists>
|
|
|
+ <#list carouselList as carousel>
|
|
|
+ <#if carousel_index==0>
|
|
|
+ <li data-target="#myCarousel" data-slide-to="${carousel_index}" class="active"></li>
|
|
|
+ <#else>
|
|
|
+ <li data-target="#myCarousel" data-slide-to="${carousel_index}"></li>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+ </ol>
|
|
|
+ <div class="carousel-inner">
|
|
|
<#if carouselList?exists>
|
|
|
<#list carouselList as carousel>
|
|
|
- <ol class="carousel-indicators">
|
|
|
- <li class="active"></li>
|
|
|
- </ol>
|
|
|
- <div class="carousel-inner">
|
|
|
+ <#if carousel_index==0>
|
|
|
<div class="item active"><img src="${carousel.pictureUrl}"/></div>
|
|
|
+ </#if>
|
|
|
+ <#if carousel_index!=0>
|
|
|
<div class="item"><img src="${carousel.pictureUrl}"/></div>
|
|
|
- </div>
|
|
|
+ </#if>
|
|
|
</#list>
|
|
|
</#if>
|
|
|
-
|
|
|
+ </div>
|
|
|
<#-- <!-- 轮播(Carousel)导航 –>-->
|
|
|
<a class="carousel-control left" href="#myCarousel"
|
|
|
data-slide="prev">‹</a>
|
|
|
@@ -734,12 +759,12 @@
|
|
|
<!--切换–>-->
|
|
|
<div class="buttons show">
|
|
|
<div class="bottom-item">
|
|
|
- <div class="title"><span>历史参加人次</span></div>
|
|
|
+ <div class="title"><span>历史参加人数</span></div>
|
|
|
<div class="count"><span class="historyperson">${historyPerson!''}</span><span>人次</span></div>
|
|
|
</div>
|
|
|
<div class="bottom-item">
|
|
|
<div class="title"><span>历史捐款总额</span></div>
|
|
|
- <div class="count" style="margin-left: -14px;"><span class="totality">${totality!''}</span><span>元</span></div>
|
|
|
+ <div class="count" style="margin-left: -14px;"><span class="totality">${totality?string('0.00')!'0.00'}</span><span>元</span></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -759,7 +784,7 @@
|
|
|
<select id="chooseArea">
|
|
|
<option>全部</option>
|
|
|
<option>环保/保护动物</option>
|
|
|
- <option>疾病救助</option>
|
|
|
+ <option>疾病援助</option>
|
|
|
<option>扶贫/救灾</option>
|
|
|
<option>教育/助学</option>
|
|
|
</select>
|
|
|
@@ -787,9 +812,14 @@
|
|
|
<div><span>状态:<em>${project.overdue!''}</em></span></div>
|
|
|
<div><span>参与:<em>${project.joinAmount!'0'}</em>人</span></div>
|
|
|
<div><span>筹款:<em class="red">${project.totalAmount!'0'}</em>元</span></div>
|
|
|
- <div><span>进度:<#if project.target?exists><#if project.totalAmount?exists>(${project.totalAmount/project.target*100!''}%)</#if></#if></span></div>
|
|
|
+ <div><span>进度:<#if project.target?exists><#if project.totalAmount?exists>(${(project.totalAmount/project.target*100)?string(',###.00')!''}%)</#if></#if></span></div>
|
|
|
</div>
|
|
|
- <a class="fr donation" onclick="donate(this)">我要捐款</a>
|
|
|
+ <#if project.overdue=="已结束">
|
|
|
+ <a class="fr donationOver">我要捐款</a>
|
|
|
+ </#if>
|
|
|
+ <#if project.overdue!="已结束">
|
|
|
+ <a class="fr donation" onclick="donate(this)">我要捐款</a>
|
|
|
+ </#if>
|
|
|
</div>
|
|
|
<!--弹出窗-->
|
|
|
<div class="pop">
|
|
|
@@ -815,7 +845,7 @@
|
|
|
<div class="fl pay" id="pay-way">
|
|
|
<div class="item active"><img src="static/images/zfb.png" alt=""/>支付宝</div>
|
|
|
<div class="item"><img src="static/images/wx.png" alt=""/>微信支付</div>
|
|
|
- <#--<div class="item"><img src="static/images/bank.png" alt=""/>网银支付</div>-->
|
|
|
+ <#-- <div class="item"><img src="static/images/bank.png" alt=""/>网银支付</div>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="choose clearfix">
|
|
|
@@ -825,7 +855,7 @@
|
|
|
<input type="checkbox" class="fl"><span class="fl"><a href="">同意并接受《优软一元捐用户协议》</a></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <#--<a href="donationsOver">--> <button onclick="pay(${project.id!''}, money, payWay)">确认捐款</button><#--</a>-->
|
|
|
+ <button onclick="pay(${project.id!''}, money, payWay)" class="buttonDisabled">确认捐款</button><#--</a>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -885,12 +915,16 @@
|
|
|
|
|
|
//生成分页代码
|
|
|
kkpager.generPageHtml({
|
|
|
- pno : pno+1,//当前页
|
|
|
+ pno : parseInt(pno)+1,//当前页
|
|
|
mode : 'click', //设置为click模式
|
|
|
//总页码
|
|
|
- total : '${page.totalPages!''}',
|
|
|
+ total : ${page.totalPages!''},
|
|
|
//总数据条数
|
|
|
- totalRecords : '${page.totalElements!''}',
|
|
|
+ totalRecords : ${page.totalElements!''},
|
|
|
+ isShowFirstPageBtn:false,//不展示首页
|
|
|
+ isShowLastPageBtn:false,//不展示尾页
|
|
|
+ isShowPrePageBtn:false,//不展示上一页
|
|
|
+ isGoPage:false,//不展示页码跳转输入框
|
|
|
//点击页码、页码输入框跳转、以及首页、下一页等按钮都会调用click
|
|
|
//适用于不刷新页面,比如ajax
|
|
|
click : function(pno){
|
|
|
@@ -911,9 +945,9 @@
|
|
|
currPageBeforeText : '当前第',
|
|
|
currPageAfterText : '页',
|
|
|
totalInfoSplitStr : '/',
|
|
|
- totalRecordsBeforeText : '共',
|
|
|
+ totalRecordsBeforeText : ' 共',
|
|
|
totalRecordsAfterText : '条数据',
|
|
|
- gopageBeforeText : ' 转到',
|
|
|
+ gopageBeforeText : ' 转到',
|
|
|
gopageButtonOkText : '确定',
|
|
|
gopageAfterText : '页',
|
|
|
buttonTipBeforeText : '第',
|