Commit 79a62386 authored by 李晓兵's avatar 李晓兵

'修改在线支付'

parent f0968541
Pipeline #4375 canceled with stages
...@@ -11,5 +11,5 @@ module.exports = { ...@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"', ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="', fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="',
appId: '"com.xcmg.app.dev"', appId: '"com.xcmg.app.dev"',
currentVersion: '"1.2.5"' currentVersion: '"1.2.6"'
} }
...@@ -61,24 +61,24 @@ ...@@ -61,24 +61,24 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="isShowpayInfo"> <div v-if="isShowpayInfo" class="box-wrap">
<div class="box-top"> <!-- <div class="box-top">
<img src="@/assets/payment/bank-title.png" > <img src="@/assets/payment/bank-title.png" >
</div> </div>-->
<div class="box-center"> <div class="box-center">
<list-item :item-height="44"> <list-item :item-height="44">
<item> <item>
<div slot="name" class="name">订单编号</div> <div slot="name" class="name">订单编号</div>
<div slot="content">{{ info.order_number }}</div> <div slot="content">{{ info.order_number }}</div>
</item> </item>
<item> <!-- <item>
<div slot="name" class="name">付款人</div> <div slot="name" class="name">付款人</div>
<div slot="content">{{ info.pay_amount_name }}</div> <div slot="content">{{ info.pay_amount_name }}</div>
</item> </item>
<item> <item>
<div slot="name" class="name">付款账号</div> <div slot="name" class="name">付款账号</div>
<div slot="content">{{ info.pay_amount }}</div> <div slot="content">{{ info.pay_amount }}</div>
</item> </item>-->
<item> <item>
<div slot="name" class="name">交易金额</div> <div slot="name" class="name">交易金额</div>
<div slot="content">{{ info.orderamount|currency }}</div> <div slot="content">{{ info.orderamount|currency }}</div>
...@@ -88,25 +88,31 @@ ...@@ -88,25 +88,31 @@
<div slot="content">{{ text }}</div> <div slot="content">{{ text }}</div>
</item> </item>
</list-item> </list-item>
<div class="description"> </div>
<p>- 说明 -</p> <div class="pay-btn">
<p>上述两种支付方式均支持借记卡和信用卡;</p> <div v-if="showpay" class="pay-btn-foot" @click="pay">立即支付</div>
<p>手机K码支付需要您开通我行消息服务。</p> <div v-if="nextPay" class="pay-btn-foot" @click="pay">继续支付</div>
<p>掌上银行支付需要您首先开通我行掌上银行,</p> <div v-if="showSelect" class="pay-btn-foot" @click="searchResult">查询支付结果</div>
<p>且支付账户已添加到掌上银行;</p> <div v-if="isGo" class="pay-btn-foot" @click="goMyInfo">返回个人中心</div>
<p>www.abchina. com</p> </div>
<p>全国24小时服务热线:95599</p> <div class="description">
<p>中国农业银行版权所有</p> <p>- 说明 -</p>
</div> <p>上述两种支付方式均支持借记卡和信用卡;</p>
<p>手机K码支付需要您开通我行消息服务。</p>
<p>掌上银行支付需要您首先开通我行掌上银行,</p>
<p>且支付账户已添加到掌上银行;</p>
<!-- <p>www.abchina. com</p>
<p>全国24小时服务热线:95599</p>
<p>中国农业银行版权所有</p>-->
</div> </div>
</div> </div>
</h-content> </h-content>
<bottom-tab> <!-- <bottom-tab>
<tab-button v-if="showpay" class="foot" @click.native="pay">立即支付</tab-button> <tab-button v-if="showpay" class="foot" @click.native="pay">立即支付</tab-button>
<tab-button v-if="nextPay" class="foot" @click.native="pay">继续支付</tab-button> <tab-button v-if="nextPay" class="foot" @click.native="pay">继续支付</tab-button>
<tab-button v-if="showSelect" class="foot" @click.native="searchResult">查询支付结果</tab-button> <tab-button v-if="showSelect" class="foot" @click.native="searchResult">查询支付结果</tab-button>
<tab-button v-if="isGo" class="foot" @click.native="goMyInfo">返回个人中心</tab-button> <tab-button v-if="isGo" class="foot" @click.native="goMyInfo">返回个人中心</tab-button>
</bottom-tab> </bottom-tab>-->
</h-view> </h-view>
</template> </template>
<script> <script>
...@@ -164,6 +170,7 @@ export default { ...@@ -164,6 +170,7 @@ export default {
}, },
pay () { pay () {
let vm = this let vm = this
vm.nextPay = false
cordova.InAppBrowser.open(this.url, '_blank', 'location=yes') cordova.InAppBrowser.open(this.url, '_blank', 'location=yes')
// window.open(this.url) // window.open(this.url)
setTimeout(() => { setTimeout(() => {
...@@ -277,17 +284,27 @@ export default { ...@@ -277,17 +284,27 @@ export default {
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
background-color: #fafafa; background-color: #fafafa;
.box-top { /* .box-top {
img { img {
height: 72px; height: 72px;
} }
}*/
.box-wrap{
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
.box-center{
width: 100%;
}
} }
.description { .description {
width: 232px; width: 100%;
height: 141px; height: 141px;
margin: 0 auto; /* margin: 0 auto;
margin-top:145px; margin-top:145px;*/
margin-bottom: 30px; // margin-bottom: 30px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
color: #d5d5d5; color: #d5d5d5;
...@@ -296,6 +313,16 @@ export default { ...@@ -296,6 +313,16 @@ export default {
line-height: 18px; line-height: 18px;
flex-flow: row wrap; flex-flow: row wrap;
} }
.pay-btn{
width: 90%;
background: @headerColor;
height: 36px;
font-size: 14px;
line-height: 36px;
text-align: center;
color: #FFF;
border-radius: 6px;
}
} }
.foot { .foot {
color: #fff; color: #fff;
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.6993e65c3c23fe091516186ea68777ec.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.e547499500fbe65e7169.js></script><script type=text/javascript src=./static/js/app.15189d51f1772069bb43.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.b791cc37858b1b88ac1609dc5d532253.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.e547499500fbe65e7169.js></script><script type=text/javascript src=./static/js/app.92e19b9a3d4424b8181c.js></script></body></html>
\ No newline at end of file \ No newline at end of file
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