소스 검색

支付列表蒙层问题

chenyue 6 년 전
부모
커밋
3105a0f722
5개의 변경된 파일6개의 추가작업 그리고 8개의 파일을 삭제
  1. 2 2
      html/payment/css/payment.css
  2. 1 1
      html/payment/html/paymentList.html
  3. 1 1
      html/payment/js/payment.js
  4. 1 3
      html/payment/js/paymentList.js
  5. 1 1
      html/payment/js/paymentResult.js

+ 2 - 2
html/payment/css/payment.css

@ -118,6 +118,7 @@
  /*height: 100px;*/
  color:#ffffff;
  margin-top: 15px;
  position: relative;
}
.labelIcon.weixin{
  background-image: url(../images/weixinzhifu_bg_img.png);	
@ -154,9 +155,8 @@
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    top: 15px;
    top: 0px;
    left: 0px;
    margin: 0px 15px;
    width: -webkit-fill-available;
    width: -webkit-fill-available;
    width: -moz-fill-available;

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

@ -37,7 +37,7 @@
				<div class="mui-scroll">
					<ul class="plr15 pb15" v-if="length!=0">
						<template  v-for="(item,i) in dataList" v-key="i">
							<li  class="labelIcon" :class="payTypeList[item.payType]?payTypeList[item.payType].type:''" :data-id="i" @tap="gotoResult(i)">
							<li  class="labelIcon" :class="payTypeList[item.payType]?payTypeList[item.payType].type:''" @tap="gotoResult(item)">
								<div>
									<img :src="payTypeList[item.payType]?payTypeList[item.payType].Img:''" width="24" height="24"/>
									<span class="c-f14 pl10" style="position: relative;top: -2px;">{{payTypeList[item.payType]?payTypeList[item.payType].text:''}}</span>

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

@ -103,7 +103,7 @@ var loading = dialog({
					healthType:vm.paytype,
					payAmount:parseFloat(vm.payMoney).toFixed(2),
					spbillCreateIp:returnCitySN["cip"],
					code:getUrlParam("code"),
//					code:getUrlParam("code"),
					openid:JSON.parse(localStorage.getItem("wlyyAgent")).openid
				};
				sendPost("third/hy/pay/createPayOrder", params, "json", "post",function(){        	

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

@ -142,10 +142,8 @@ var iscrollState='';//判断滑动方向
			    })
			},
			//跳转到订单结果页
			gotoResult:function(index){
			gotoResult:function(item){
				var vm=this
//				console.log($($(index)[0].currentTarget).attr("data-id"))
				var item=vm.dataList[index]
				window.location.href='../../payment/html/paymentResult.html?healthType='+item.healthType+"&patientName="+item.patientName+"&healthNo="+item.healthNo+"&payAmount="+item.payAmount+"&seqNo="+item.seqNo+"&createDate="+item.createDate;
			},
			//跳转切换就诊卡

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

@ -69,7 +69,7 @@ var loading = dialog({
			//从缴费列表进入
			gerPayOrderList:function(){
				var vm=this
				vm.data={seqNo:Request.seqNo,"patientName":getQueryString('patientName'),"healthNo":Request.healthNo,"healthType":Request.healthType,"payAmount":Request.payAmount,"createDate":Request.createDate}
				vm.data={seqNo:Request.seqNo,"patientName":getQueryString('patientName'),"healthNo":Request.healthNo,"healthType":Request.healthType,"payAmount":Request.payAmount,"createDate":getQueryString('createDate')}
				vm.result=vm.successResult
			},
			filterData:function(){