Explorar o código

解决缴费列表无数据时下拉问题

chenyue %!s(int64=6) %!d(string=hai) anos
pai
achega
f47d9336b9
Modificáronse 2 ficheiros con 10 adicións e 10 borrados
  1. 9 9
      html/payment/html/paymentList.html
  2. 1 1
      html/payment/js/paymentList.js

+ 9 - 9
html/payment/html/paymentList.html

@ -25,9 +25,9 @@
				<span v-if="cardlenght>1" class="qiehuan-txt" @click="changeCards">切换</span>
				<img src="../images/rili_icon.png" class="date-icon"/>			
			</div>
			<div id="wrapper" class="mui-scroll-wrapper" style="top: 50px;"  v-if="length!=0">
			<div id="wrapper" class="mui-scroll-wrapper" style="top: 50px;">
				<div class="mui-scroll">
					<ul class="plr15 pb15">
					<ul class="plr15 pb15" v-if="length!=0">
						<li  v-for="(item,i) in dataList" v-key="i" class="labelIcon" :class="payTypeList[item.payType]?payTypeList[item.payType].type:''"  @tap="gotoResult(item.seqNo)">
							<div>
								<img :src="payTypeList[item.payType]?payTypeList[item.payType].Img:''" width="24" height="24"/>
@ -42,13 +42,13 @@
								<span style="float: right;">{{item.payTimeStart}}</span>
							</div>	
						</li>					
					</ul>
				</div>
			</div>
			<div class="default-div" v-else>
				<img src="../images/wushuju.png" width="222"/>
				<div class="c-999 c-f14 pt30">
					暂无该就诊卡缴费记录
					</ul>					
					<div class="default-div" v-else>
						<img src="../images/wushuju.png" width="222"/>
						<div class="c-999 c-f14 pt30">
							暂无该就诊卡缴费记录
						</div>
					</div>
				</div>
			</div>
			<a href="javascript:;" class="circle-btn"  @click="gotoCards"><span style="margin-top: 1px;">我的<br/>就诊卡</span></a>

+ 1 - 1
html/payment/js/paymentList.js

@ -15,7 +15,7 @@ var iscrollState='';//判断滑动方向
			    contentdown : "下拉可以刷新",
			    contentover : "释放立即刷新",
			    contentrefresh : "正在刷新...",
			    callback: function(){
			    callback: function(){		    		
			    	iscrollState='down'
			    	myVue.getList()
			    	myVue.isdown()