Commit c1472ff1 authored by 李智书's avatar 李智书

1.提交更新;

parent bd500181
......@@ -293,7 +293,16 @@
}
}
],
,{
"path" : "pages/pdfPreview/pdfPreview",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "校智付",
......
......@@ -520,12 +520,14 @@
});
return
}
if (!this.RechargeSmsorderNoInfo.orderNo) {
Dialog({
title: '系统提示',
message: '请获取验证码!'
});
return
if (bankInfo.accountType != 4) {
if (!this.RechargeSmsorderNoInfo.orderNo) {
Dialog({
title: '系统提示',
message: '请获取验证码!'
});
return
}
}
if (!this.openCardPhonSms) {
Dialog({
......@@ -822,6 +824,20 @@
success: function(res3) {
// loading.hide();
if (res3.code == "10000") {
if (bankInfo.accountType == 4) {
if (res3.results.eacTotalAmt == null) {
weui.topTips("账户信息为空,余额查询失败");
} else {
this_.cardBalanceTx = (res3.results.eacTotalAmt * 1).toFixed(2);
$('.TxClsTx').attr('placeholder',
`可提现金额${(res3.results.eacTotalAmt * 1).toFixed(2)}元`
)
this_.RechargeMax = ((2000 - ((res3.results.eacTotalAmt * 1).toFixed(
2) *
1)).toFixed(2));
}
return
}
if (res3.results.accountBalance == null) {
weui.topTips("账户信息为空,余额查询失败");
} else {
......@@ -832,6 +848,7 @@
this_.RechargeMax = ((2000 - ((res3.results.accountBalance * 1).toFixed(2) *
1)).toFixed(2));
}
} else {
weui.topTips(res3.message)
}
......
......@@ -577,6 +577,20 @@
success: function(res3) {
loading.hide();
if (res3.code == "10000") {
if (bankInfo.accountType == 4) {
if (res3.results.eacTotalAmt == null) {
weui.topTips("账户信息为空,余额查询失败");
} else {
this_.cardBalanceTx = (res3.results.eacTotalAmt * 1).toFixed(2);
$('.TxClsTx').attr('placeholder',
`可提现金额${(res3.results.eacTotalAmt * 1).toFixed(2)}元`
)
this_.RechargeMax = ((2000 - ((res3.results.eacTotalAmt * 1).toFixed(
2) *
1)).toFixed(2));
}
return
}
if (res3.results.accountBalance == null) {
weui.topTips("账户信息为空,余额查询失败");
} else {
......
<template>
<div id="app">
<div id="pdfh5"></div>
</div>
</template>
<script>
import Pdfh5 from "pdfh5";
export default {
name: 'App',
data() {
return {
pdfh5: null
};
},
mounted() {
//实例化
this.pdfh5 = new Pdfh5("#pdfh5", {
pdfurl: "../../static/test.pdf",
scale: 2,
zoomEnable: true,
renderType: 'svg'
});
//监听完成事件
this.pdfh5.on("complete", function(status, msg, time) {
console.log("状态:" + status + ",信息:" + msg + ",耗时:" + time + "毫秒,总页数:" + this.totalNum)
})
}
}
</script>
<style>
@import "pdfh5/css/pdfh5.css";
* {
padding: 0;
margin: 0;
}
html,
body,
#app {
width: 100%;
height: 100%;
}
</style>
......@@ -8405,6 +8405,11 @@ pbkdf2@^3.0.3:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
pdfh5@^1.4.2:
version "1.4.2"
resolved "https://repo.huaweicloud.com/repository/npm/pdfh5/-/pdfh5-1.4.2.tgz#4dc501b0312bb912f68c1610228a2ed6feab2a0a"
integrity sha512-1BL8HIx/EEZowRPBgas7/WokbGEv1gxKNRmmHSimG113178mKxIBH4pxWBc0tj6d25Sy+EwnlQwv9cUUmQa42w==
performance-now@^2.1.0:
version "2.1.0"
resolved "https://repo.huaweicloud.com/repository/npm/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment