Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李智书
xzf_uniapp-wechat-web
Commits
db0ea732
Commit
db0ea732
authored
Jun 23, 2022
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充值相关修改
parent
ec450caa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2052 additions
and
1613 deletions
+2052
-1613
src/pages.json
src/pages.json
+18
-1
src/pages/IcbcModule/Recharge/Recharge.vue
src/pages/IcbcModule/Recharge/Recharge.vue
+1828
-1612
src/pages/commonProblem/commonProblem.vue
src/pages/commonProblem/commonProblem.vue
+110
-0
src/pages/problemDetail/problemDetail.vue
src/pages/problemDetail/problemDetail.vue
+96
-0
No files found.
src/pages.json
View file @
db0ea732
...
@@ -433,7 +433,24 @@
...
@@ -433,7 +433,24 @@
}
}
}
}
],
,
{
"path"
:
"pages/commonProblem/commonProblem"
,
"style"
:
{
"navigationBarTitleText"
:
"常见问题"
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/problemDetail/problemDetail"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
],
"globalStyle"
:
{
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"校智付"
,
"navigationBarTitleText"
:
"校智付"
,
...
...
src/pages/IcbcModule/Recharge/Recharge.vue
View file @
db0ea732
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"userInfoBox"
>
<view
class=
"userInfoBox"
>
<view
class=
"firstLine"
>
<view
class=
"firstLine"
>
<view
class=
"avatar"
>
<view
class=
"avatar"
>
<image
:src=
"ImgUrl+'user/personAva.png'"
alt=
""
></image>
<image
:src=
"ImgUrl + 'user/personAva.png'"
alt=
""
></image>
</view>
</view>
<view
class=
"name"
>
{{
PersonalInfo
.
name
}}
</view>
<view
class=
"name"
>
{{
PersonalInfo
.
name
}}
</view>
<view>
{{
PersonalInfo
.
gradename
}}{{
<view>
{{
PersonalInfo
.
gradename
}}{{
PersonalInfo
.
classname
}}
</view>
</view>
<view
class=
"secondLine"
>
{{
PersonalInfo
.
schoolname
}}
</view>
</view>
<view
class=
"contentWrapper"
v-if=
"!depotMoneyother"
>
<view
class=
"balanceWrapper"
>
<view
class=
"firstLine"
>
<view
class=
"left"
>
<view>
可用余额(元)
</view>
<view>
{{
cardBalanceTx
}}
</view>
</view>
<view
class=
"right"
>
<van-popover
v-model=
"showPopover"
trigger=
"click"
:actions=
"actions"
placement=
"bottom-end"
@
select=
"onSelect"
>
<template
#reference
>
<image
class=
"icon"
:src=
"ImgUrl + 'user/more.png'"
alt=
""
></image>
</
template
>
</van-popover>
</view>
</view>
<view
class=
"lastLine"
>
<view>
**** **** ****
{{
bankInfo_.accountNo.slice(bankInfo_.accountNo.length - 4)
}}
</view>
<view
class=
"right"
>
<!-- <image class="btn" :src="ImgUrl + 'user/cashBtn.png'" alt=""></image> -->
提现
</view>
</view>
</view>
</view>
<view
class=
"contentBox"
v-if=
"!depotMoneyother"
>
<!-- <image mode='widthFix' src="https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/images/xiaopaycard (31).png"></image> -->
<view
class=
"contentDiv"
style=
"display: none"
>
<view
class=
"headview"
>
<view
class=
"schoolname"
>
{{ PersonalInfo.schoolname }}
</view>
<view
class=
"IconCls"
>
电子校园卡
</view>
</view>
<!-- 卡号显示 -->
<view
class=
"cardNum"
>
<view
class=
"cardNumleft"
><span>
账户:
</span>
**** **** ****
{{ bankInfo_.accountNo.slice(bankInfo_.accountNo.length - 4) }}
<span>
(工商III类户)
</span>
</view>
<view
class=
"cardNumright"
id=
"cardNumright"
@
click=
"CopyCardNumber"
>
复制
</view>
</view>
<view
class=
"HidenText"
>
<view
class=
"userName"
>
姓名:
<span>
{{ PersonalInfo.name }}
</span></view>
<view
class=
"StudentCls"
v-if=
"PersonalInfo.usertype == '1'"
>
班级:{{ PersonalInfo.gradename }}({{
PersonalInfo.classname
PersonalInfo.classname
}}
</view>
}})
</view>
</view>
<view
class=
"TeacherCls"
v-else
>
教职工
</view>
<view
class=
"secondLine"
>
{{
PersonalInfo
.
schoolname
}}
</view>
</view>
</view>
<view
class=
"Balance"
>
<view
class=
"balanceWrapper"
>
<view
class=
"cardBalanceTx"
>
余额:¥
<span>
{{ cardBalanceTx }}
</span></view>
<view
class=
"firstLine"
></view>
<view
@
click=
"ToWalletTx"
>
</view>
<span
style=
"display: inline-block; padding-right: 10rpx"
>
余额提现
</span>
<view
class=
"contentBox"
v-if=
"!depotMoneyother"
>
<image
style=
"position: relative; width: 13rpx; height: 20rpx"
class=
"ImgIcon1"
mode=
"widthFix"
<!--
<image
mode=
'widthFix'
src=
"https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/images/xiaopaycard (31).png"
></image>
-->
:src=
"ImgUrl + 'images/xiaopaycard (17).png'"
alt=
""
></image>
<view
class=
"contentDiv"
>
</view>
<view
class=
"headview"
>
</view>
<view
class=
"schoolname"
>
{{
PersonalInfo
.
schoolname
}}
</view>
</view>
<view
class=
"IconCls"
>
电子校园卡
</view>
<!-- 充值明细 -->
</view>
<view
style=
"display: none"
class=
"RechargeDetailed"
@
click=
"BackToMini('purchaseDetail')"
>
<!-- 卡号显示 -->
账户明细
<view
class=
"cardNum"
>
</view>
<view
class=
"cardNumleft"
<!-- 充值账户 -->
><span>
账户:
</span>
**** **** ****
<view
class=
"Recharge"
>
{{
bankInfo_
.
accountNo
.
slice
(
bankInfo_
.
accountNo
.
length
-
4
)
}}
<span></span>
<span>
(工商III类户)
</span>
<span>
账户充值
</span>
</view>
</view>
<view
class=
"cardNumright"
id=
"cardNumright"
@
click=
"CopyCardNumber"
<!-- 充值的金额 -->
>
复制
</view
<view
class=
"moneyWrapper"
>
>
<view
class=
"moneyItem"
@
click=
"depotMoney(item.value, index)"
</view>
v-bind:class=
"MoneyIndex == index ? 'active' : ''"
:data-money=
"item.value || 0"
<view
class=
"HidenText"
>
v-for=
"(item, index) in MoneyList"
:key=
"index"
>
<view
class=
"userName"
<view>
{{ item.value }}
</view>
>
姓名:
<span>
{{
PersonalInfo
.
name
}}
</span></view
<view>
{{ item.lable }}
</view>
>
</view>
<view
class=
"StudentCls"
v-if=
"PersonalInfo.usertype == '1'"
>
<view
class=
"other"
>
班级:
{{
PersonalInfo
.
gradename
}}
(
{{
<input
v-model=
"inputOtherM"
@
input=
"inputControl"
@
blur=
"ReturnToTop"
placeholder=
"其他金额,最低3元"
PersonalInfo
.
classname
placeholder-class=
"placeholderinputOtherM"
type=
"text"
maxlength=
"6"
/>
}}
)
</view
</view>
>
</view>
<view
class=
"TeacherCls"
v-else
>
教职工
</view>
<view
class=
"MoneyBox"
style=
"display: none"
>
</view>
<view
class=
"depotMoney"
@
click=
"depotMoney(item.value, index)"
<view
class=
"Balance"
>
v-bind:class=
"MoneyIndex == index ? 'choiceClass' : ''"
:data-money=
"item.value || 0"
<view
class=
"cardBalanceTx"
v-for=
"(item, index) in MoneyList"
:key=
"index"
>
>
余额:¥
<span>
{{
cardBalanceTx
}}
</span></view
<span
class=
"value"
>
>
{{ item.value }}
<view
@
click=
"ToWalletTx"
>
</span>
<span
style=
"display: inline-block; padding-right: 10rpx"
<span
style=
"font-size: 28rpx; font-weight: 600; margin-left: 7rpx"
>
>
余额提现
</span
{{item.lable}}
>
</span>
<image
<!-- <span class="tips" v-show="item.tips">
style=
"position: relative; width: 13rpx; height: 20rpx"
class=
"ImgIcon1"
mode=
"widthFix"
:src=
"ImgUrl + 'images/xiaopaycard (17).png'"
alt=
""
></image>
</view>
</view>
</view>
<!-- 充值明细 -->
<view
class=
"RechargeDetailed"
@
click=
"BackToMini('purchaseDetail')"
>
账户明细
</view>
<!-- 充值账户 -->
<view
class=
"Recharge"
>
<span></span>
<span>
账户充值
</span>
</view>
<!-- 充值的金额 -->
<view
class=
"MoneyBox"
>
<view
class=
"depotMoney"
@
click=
"depotMoney(item.value, index)"
v-bind:class=
"MoneyIndex == index ? 'choiceClass' : ''"
:data-money=
"item.value || 0"
v-for=
"(item, index) in MoneyList"
:key=
"index"
>
<span
class=
"value"
>
{{
item
.
value
}}
</span>
<span
style=
"font-size: 28rpx; font-weight: 600; margin-left: 7rpx"
>
{{
item
.
lable
}}
</span>
<!--
<span
class=
"tips"
v-show=
"item.tips"
>
{{item.tips}}
{{item.tips}}
</span> -->
</span> -->
</view>
</view>
</view>
</view>
<!-- 充值限额提示 -->
<!-- 充值限额提示 -->
<view
class=
"depositbox"
>
<view
class=
"depositbox"
>
<image
<image
mode=
"widthFix"
class=
"depositImg"
src=
"../../../static/img/depositIcon.png"
></image>
mode=
"widthFix"
<span
style=
"
class=
"depositImg"
src=
"../../../static/img/depositIcon.png"
></image>
<span
style=
"
vertical-align: middle;
vertical-align: middle;
font-size: 28rpx;
font-size: 28rpx;
color: #333333;
color: #333333;
font-weight: 500;
font-weight: 500;
"
"
>
最大可充值金额:
<span
style=
"color: red"
>
¥
<span
class=
"canDepositTx"
>
{{ RechargeMax }}
</span></span></span>
>
最大可充值金额:
<span
style=
"color: red"
</view>
>
¥
<span
class=
"canDepositTx"
>
{{
RechargeMax
}}
</span></span
<!-- 充值其它金额 -->
></span
<!-- <view class="OtherMoney" v-if="isOtherMoney"> -->
>
<view
class=
"OtherMoney"
style=
"display: none"
>
</view>
<span>
¥
</span>
<!-- 充值其它金额 -->
<input
v-model=
"inputOtherM"
@
input=
"inputControl"
@
blur=
"ReturnToTop"
placeholder=
"请输入其他金额,最低3元"
<!--
<view
class=
"OtherMoney"
v-if=
"isOtherMoney"
>
-->
placeholder-class=
"placeholderinputOtherM"
type=
"text"
maxlength=
"6"
/>
<view
class=
"OtherMoney"
>
</view>
<span>
¥
</span>
<!-- 支付方式 -->
<input
<view
class=
"paytype"
>
v-model=
"inputOtherM"
<view
class=
"left"
>
付款账户
</view>
@
input=
"inputControl"
<view
class=
"right"
@
click=
"queryBindCardList"
>
@
blur=
"ReturnToTop"
{{ bankInfo_.bindCardName }}({{ bankInfo_.bindCardNo.slice(bankInfo_.bindCardNo.length - 4)}})
placeholder=
"请输入其他金额,最低3元"
<van-icon
name=
"arrow"
/>
placeholder-class=
"placeholderinputOtherM"
</view>
type=
"text"
</view>
maxlength=
"6"
<view
class=
"payType"
style=
"display: none"
@
click=
"queryBindCardList"
>
/>
<view>
付款方式
</view>
</view>
<view>
<!-- 支付方式 -->
{{ bankInfo_.bindCardName }}
<view
class=
"payType"
@
click=
"queryBindCardList"
>
{{ bankInfo_.bindCardNo.slice(bankInfo_.bindCardNo.length - 4)
<view>
付款方式
</view>
}}
<span
class=
"arrow"
></span>
<view>
</view>
{{
bankInfo_
.
bindCardName
}}
<!-- <view>{{bankInfo_.accountName}}({{bankInfo_.accountNo.slice(bankInfo_.accountNo.length-4)}}) <span
{{
bankInfo_
.
bindCardNo
.
slice
(
bankInfo_
.
bindCardNo
.
length
-
4
)
}}
<span
class=
"arrow"
></span
></view>
<!--
<view>
{{
bankInfo_
.
accountName
}}
(
{{
bankInfo_
.
accountNo
.
slice
(
bankInfo_
.
accountNo
.
length
-
4
)
}}
)
<span
class="arrow"></span></view> -->
class="arrow"></span></view> -->
</view>
</view>
<!--
<view
class=
""
style=
"height: 1rpx;background-color: #DFDFDF;"
></view>
-->
<!-- <view class="" style="height: 1rpx;background-color: #DFDFDF;"></view> -->
<!-- 充值生活费 -->
<!-- 充值生活费 -->
<view
class=
"bottomdiv"
>
<view
class=
"bottomdiv"
>
<view
<view
class=
"DepositID"
@
click=
"toDeposit"
class=
"DepositID"
v-bind:style=
"Money != '' ? '' : 'background: #e6e6e6 !important;'"
>
@
click=
"toDeposit"
<span>
充值生活费
</span>
v-bind:style=
"Money != '' ? '' : 'background: #e6e6e6 !important;'"
</view>
>
<!-- -->
<span>
充值生活费
</span>
<!-- <view class="switchbankCard" @click="ChangeBankPay"
</view>
<!-- -->
<view
class=
"switchbankCard"
@
click=
"ChangeBankPay"
>我要换银行卡支付</view
>我要换银行卡支付</view
>
> -->
</view>
<view
class=
"service"
>
工商银行Ⅲ类户为您提供服务
</view>
</view>
</view>
<!-- 其他充值金额 -->
</view>
<view
class=
"contentBox"
v-if=
"depotMoneyother"
>
<!-- 其他充值金额 -->
<view
class=
"OtherTitle"
>
充值金额
</view>
<view
class=
"contentBox"
v-if=
"depotMoneyother"
>
<view
class=
"inputOtherM"
>
<view
class=
"OtherTitle"
>
充值金额
</view>
<span>
¥
</span>
<view
class=
"inputOtherM"
>
<input
<span>
¥
</span>
v-model=
"inputOtherM"
<input
v-model=
"inputOtherM"
@
input=
"inputControl"
placeholder-class=
"placeholderinputOtherM"
@
input=
"inputControl"
type=
"text"
maxlength=
"6"
/>
placeholder-class=
"placeholderinputOtherM"
</view>
type=
"text"
<view
class=
"OtherLine"
></view>
maxlength=
"6"
<!-- 充值范围 -->
/>
<view
class=
"Recharge_"
>
</view>
<!-- <image mode="widthFix" class="depositImg" src="../../static/img/depositIcon.png"></image> -->
<view
class=
"OtherLine"
></view>
<span>
最大可充值金额:
</span>
<!-- 充值范围 -->
<span>
¥
<span>
3.00 ~ {{ RechargeMax }}
</span></span>
<view
class=
"Recharge_"
>
</view>
<!--
<image
mode=
"widthFix"
class=
"depositImg"
src=
"../../static/img/depositIcon.png"
></image>
-->
</view>
<span>
最大可充值金额:
</span>
<!-- 弹出层 -->
<span
<uni-popup
ref=
"popup"
:mask-click=
"false"
>
>
¥
<span>
3.00 ~
{{
RechargeMax
}}
</span></span
<!-- 充值确认 -->
>
<view
class=
"RechargeConfirmationBox"
>
</view>
<view
class=
"RechargeInfo"
>
</view>
<view
class=
"closePhoneBox"
@
click=
"close()"
>
<!-- 弹出层 -->
<image
src=
"../../../static/img/close.png"
mode=
"aspectFit"
></image>
<uni-popup
ref=
"popup"
:mask-click=
"false"
>
</view>
<!-- 充值确认 -->
<view
class=
"RechargeInfo1"
>
充值生活费
</view>
<view
class=
"RechargeConfirmationBox"
>
<view
style=
"width: 520rpx; height: 1rpx; background: #eeeeee"
></view>
<view
class=
"RechargeInfo"
>
<view
class=
"ContenInfo"
>
<view
class=
"closePhoneBox"
@
click=
"close()"
>
<view
class=
""
v-if=
"isOtherMoney"
>
<image
src=
"../../../static/img/close.png"
mode=
"aspectFit"
></image>
充值金额:{{ inputOtherM }}元
</view>
</view>
<view
class=
"RechargeInfo1"
>
充值生活费
</view>
<view
class=
""
v-else
>
充值金额:{{ Money }}元
</view>
<view
style=
"width: 520rpx; height: 1rpx; background: #eeeeee"
></view>
<view
class=
""
>
<view
class=
"ContenInfo"
>
付款账户:{{ bankInfo_.bindCardName }}({{
<view
class=
""
v-if=
"isOtherMoney"
>
充值金额:
{{
inputOtherM
}}
元
</view>
<view
class=
""
v-else
>
充值金额:
{{
Money
}}
元
</view>
<view
class=
""
>
付款账户:
{{
bankInfo_
.
bindCardName
}}
(
{{
bankInfo_.bindCardNo
&&
bankInfo_.bindCardNo
&&
bankInfo_.bindCardNo.slice(bankInfo_.bindCardNo.length - 4)
bankInfo_.bindCardNo.slice(bankInfo_.bindCardNo.length - 4)
}})
}})
</view>
</view>
</view>
</view>
<view
style=
"width: 520rpx; height: 1rpx; background: #eeeeee"
></view>
<view
style=
"width: 520rpx; height: 1rpx; background: #eeeeee"
></view>
<!-- 取消 确认充值按钮 -->
<!-- 取消 确认充值按钮 -->
<view
class=
"BtngGoup"
>
<view
class=
"BtngGoup"
>
<view
class=
""
@
click=
"close()"
>
取消
</view>
<view
class=
""
@
click=
"close()"
>
取消
</view>
<view
class=
""
@
click=
"ExchangeRecharge"
>
确认充值
</view>
<view
class=
""
@
click=
"ExchangeRecharge"
>
确认充值
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</uni-popup>
</uni-popup>
<!-- 选择银行卡 -->
<!-- 选择银行卡 -->
<view
class=
"selectCard"
>
<view
class=
"selectCard"
>
<van-popup
<van-popup
v-model=
"popshow"
round
position=
"bottom"
:style=
"{ height: '40%' }"
>
v-model=
"popshow"
<!-- 银行卡列表 -->
round
<view
class=
"accountlist"
>
position=
"bottom"
<!-- 切换绑定的一类卡列表 -->
:style=
"
{ height: '30%' }"
<view
class=
"showBindCardList"
>
>
<view
class=
"choiceBox"
>
选择付款账户
</view>
<!-- 银行卡列表 -->
<view
class=
"cardsList"
>
<view
class=
"accountlist"
>
<view
class=
"ListItem"
@
click=
"ChangeCardPay(item)"
v-for=
"(item, index) in bindcardList"
<!-- 切换绑定的一类卡列表 -->
:key=
"index"
>
<view
class=
"showBindCardList"
>
<span
style=
"padding-right: 10px"
>
{{ item.bindCardName }}
</span>
<view
class=
"choiceBox"
>
选择付款账户
</view>
<span>
尾号:{{item.bindCardNo.slice(item.bindCardNo.length - 4)}}
</span>
<view
<image
class=
"BankListImg"
src=
"../../../static/img/choiceBank.png"
></image>
class=
"ListItem"
</view>
@
click=
"ChangeCardPay(item)"
</view>
v-for=
"(item, index) in bindcardList"
<view
class=
"changeCard"
@
click=
"ChangeBankPay"
>
我要换卡支付
</view>
:key=
"index"
</view>
>
</view>
<span
style=
"padding-right: 10px"
>
{{
item
.
bindCardName
}}
</span>
</van-popup>
<span
</view>
>
尾号:
{{
</view>
item
.
bindCardNo
.
slice
(
item
.
bindCardNo
.
length
-
4
)
}}
</span
>
<image
class=
"BankListImg"
src=
"../../../static/img/choiceBank.png"
></image>
</view>
</view>
</view>
</van-popup>
</view>
</view>
</template>
</template>
<
script
>
<
script
>
import
{
Dialog
,
Toast
}
from
"
vant
"
;
import
{
import
keyboardPackage
from
"
@/components/keyboard-package/keyboard-package.vue
"
;
Dialog
,
import
cityData
from
"
@/common/js/city.js
"
;
Toast
var
gHost
=
"
https://
"
+
window
.
location
.
host
;
}
from
"
vant
"
;
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
import
keyboardPackage
from
"
@/components/keyboard-package/keyboard-package.vue
"
;
gHost
=
"
https://fpdev.xiaopay.net
"
;
import
cityData
from
"
@/common/js/city.js
"
;
// gHost = "/api";
var
gHost
=
"
https://
"
+
window
.
location
.
host
;
}
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
let
times
=
0
;
gHost
=
"
https://fpdev.xiaopay.net
"
;
var
limitClick
=
false
;
//禁止重复点击
// gHost = "/api";
var
sessionID
=
""
,
}
userID
=
""
;
let
times
=
0
;
var
payCardNumber
=
""
;
//一类卡号
var
limitClick
=
false
;
//禁止重复点击
var
orderSerialNo
=
""
;
//提现结果查询 指令号
var
sessionID
=
""
,
var
businessNo
=
""
,
userID
=
""
;
otpOrderNo
=
""
,
var
payCardNumber
=
""
;
//一类卡号
mobileNo
=
""
;
var
orderSerialNo
=
""
;
//提现结果查询 指令号
var
msCount
=
60
;
//定时器
var
businessNo
=
""
,
var
MyTimer
=
null
;
otpOrderNo
=
""
,
var
fromType
=
0
;
//0转账 1提现
mobileNo
=
""
;
var
opeType
=
0
;
//0充值 1提现 手机号验证
var
msCount
=
60
;
//定时器
var
bankInfo
=
{
var
MyTimer
=
null
;
acctNoArray
:
""
,
var
fromType
=
0
;
//0转账 1提现
idNo
:
""
,
var
opeType
=
0
;
//0充值 1提现 手机号验证
schoolId
:
""
,
var
bankInfo
=
{
trueName
:
""
,
acctNoArray
:
""
,
userId
:
""
,
idNo
:
""
,
sessionid
:
""
,
schoolId
:
""
,
wechattype
:
1
,
trueName
:
""
,
};
userId
:
""
,
/**
sessionid
:
""
,
* 对象转拼接字符串
wechattype
:
1
,
* @param {*} res Object 需要转换的数据对象
};
*/
/**
function
OforS
(
res
)
{
* 对象转拼接字符串
var
resL
=
0
;
* @param {*} res Object 需要转换的数据对象
var
outS
=
""
;
*/
for
(
var
i
in
res
)
{
function
OforS
(
res
)
{
if
(
resL
==
0
)
{
var
resL
=
0
;
outS
+=
""
+
i
+
"
=
"
+
res
[
i
];
var
outS
=
""
;
}
else
{
for
(
var
i
in
res
)
{
outS
+=
"
&
"
+
i
+
"
=
"
+
res
[
i
];
if
(
resL
==
0
)
{
}
outS
+=
""
+
i
+
"
=
"
+
res
[
i
];
resL
++
;
}
else
{
}
outS
+=
"
&
"
+
i
+
"
=
"
+
res
[
i
];
return
outS
;
}
}
resL
++
;
export
default
{
}
components
:
{
return
outS
;
keyboardPackage
,
}
},
export
default
{
name
:
"
Recharge
"
,
components
:
{
data
()
{
keyboardPackage
,
return
{
},
popshow
:
false
,
name
:
"
Recharge
"
,
// 输入其它金额
data
()
{
isOtherMoney
:
false
,
return
{
inputOtherM
:
""
,
showPopover
:
false
,
RechargeException
:
false
,
// 通过 actions 属性来定义菜单选项
depotMoneyother
:
false
,
//其他充值
actions
:
[{
Money
:
""
,
//选择金额
text
:
"
复制卡号
"
MoneyIndex
:
-
1
,
},
{
RechargeMax
:
"
2000
"
,
//最大充值限制
text
:
"
账户明细
"
ReflectMoney
:
""
,
//提现金额
},
{
VerifyCode
:
""
,
//验证码
text
:
"
常见问题
"
cardBalanceTx
:
"
0
"
,
//余额
}],
CodeMsg
:
"
获取验证码
"
,
popshow
:
false
,
type
:
"
number
"
,
// 输入其它金额
PersonalInfo
:
{
isOtherMoney
:
false
,
schoolname
:
""
,
inputOtherM
:
""
,
name
:
""
,
RechargeException
:
false
,
usertype
:
"
1
"
,
depotMoneyother
:
false
,
//其他充值
},
Money
:
""
,
//选择金额
bankInfo_
:
{
MoneyIndex
:
-
1
,
accountNo
:
"
**** **** **** 1234
"
,
RechargeMax
:
"
2000
"
,
//最大充值限制
bindCardName
:
""
,
ReflectMoney
:
""
,
//提现金额
bindCardNo
:
""
,
VerifyCode
:
""
,
//验证码
},
cardBalanceTx
:
"
0
"
,
//余额
ImgUrl
:
this
.
$ImgUrl
,
CodeMsg
:
"
获取验证码
"
,
MoneyList
:
[
type
:
"
number
"
,
{
PersonalInfo
:
{
lable
:
"
元
"
,
schoolname
:
""
,
value
:
100
,
name
:
""
,
},
usertype
:
"
1
"
,
{
},
lable
:
"
元
"
,
bankInfo_
:
{
value
:
200
,
accountNo
:
"
**** **** **** 1234
"
,
},
bindCardName
:
""
,
{
bindCardNo
:
""
,
lable
:
"
元
"
,
},
value
:
500
,
ImgUrl
:
this
.
$ImgUrl
,
},
MoneyList
:
[{
{
lable
:
"
元
"
,
lable
:
"
元
"
,
value
:
100
,
value
:
1000
,
},
},
{
],
lable
:
"
元
"
,
numberList
:
[],
value
:
200
,
tempFiles1
:
"
../../static/img/idCardBg1.png
"
,
//上传身份证临时选择文件
},
tempFiles2
:
"
../../static/img/idCardBg0.png
"
,
{
//绑定的一类卡列表
lable
:
"
元
"
,
bindcardList
:
[],
value
:
500
,
};
},
},
{
onLoad
:
function
(
options
)
{
lable
:
"
元
"
,
console
.
log
(
options
);
value
:
1000
,
// 初始化
},
userID
=
options
[
"
userID
"
]
||
""
;
],
sessionID
=
options
[
"
seesionID
"
]
||
""
;
numberList
:
[],
fromType
=
options
[
"
fromType
"
]
||
""
;
tempFiles1
:
"
../../static/img/idCardBg1.png
"
,
//上传身份证临时选择文件
bankInfo
.
sessionid
=
sessionID
||
""
;
tempFiles2
:
"
../../static/img/idCardBg0.png
"
,
this
.
QueryUserInfo
();
//绑定的一类卡列表
},
bindcardList
:
[],
created
:
function
()
{},
};
mounted
:
function
()
{},
},
methods
:
{
onLoad
:
function
(
options
)
{
async
ChangeBankPay
()
{
console
.
log
(
options
);
uni
.
showLoading
({
mask
:
true
});
// 初始化
let
status
=
await
this
.
accountCloseacceptStatusQuery
();
userID
=
options
[
"
userID
"
]
||
""
;
uni
.
hideLoading
();
sessionID
=
options
[
"
seesionID
"
]
||
""
;
if
(
status
!==
0
)
return
false
;
fromType
=
options
[
"
fromType
"
]
||
""
;
this
.
BackToMini
(
"
AssignAddCard
"
);
bankInfo
.
sessionid
=
sessionID
||
""
;
},
this
.
QueryUserInfo
();
accountCloseacceptStatusQuery
()
{
},
return
new
Promise
((
resolve
,
reject
)
=>
{
created
:
function
()
{},
$
.
ajax
({
mounted
:
function
()
{},
//查询是否提交销户
methods
:
{
url
:
onSelect
(
action
)
{
gHost
+
if
(
action
.
text
==
"
复制卡号
"
)
{
"
/bank-wechat/icbc/account/manager/accountCloseacceptStatusQuery
"
,
this
.
CopyCardNumber
();
type
:
"
post
"
,
}
else
if
(
action
.
text
==
"
账户明细
"
)
{
data
:
{
this
.
BackToMini
(
'
purchaseDetail
'
);
schoolId
:
this
.
PersonalInfo
.
schoolid
,
}
else
if
(
action
.
text
==
"
常见问题
"
)
{
userId
:
this
.
PersonalInfo
.
id
,
uni
.
navigateTo
({
wechattype
:
1
,
url
:
`../../commonProblem/commonProblem`
sessionid
:
sessionID
,
})
},
}
contentType
:
"
application/x-www-form-urlencoded
"
,
},
headers
:
{
async
ChangeBankPay
()
{
sessionid
:
sessionID
,
uni
.
showLoading
({
},
mask
:
true
success
:
({
code
,
message
,
results
})
=>
{
});
let
status
=
results
&&
results
.
status
;
// 0表示未申请,1申请中,2已销户,3销户申请失败
let
status
=
await
this
.
accountCloseacceptStatusQuery
();
if
(
code
===
"
10000
"
&&
status
==
"
0
"
)
{
uni
.
hideLoading
();
}
else
if
(
code
===
"
10000
"
&&
status
==
"
1
"
)
{
if
(
status
!==
0
)
return
false
;
uni
.
showToast
({
this
.
BackToMini
(
"
AssignAddCard
"
);
title
:
"
您已提交销户申请,银行正在审核中。
"
,
},
icon
:
"
none
"
,
accountCloseacceptStatusQuery
()
{
});
return
new
Promise
((
resolve
,
reject
)
=>
{
}
else
{
$
.
ajax
({
uni
.
showToast
({
//查询是否提交销户
title
:
message
,
url
:
gHost
+
icon
:
"
none
"
,
"
/bank-wechat/icbc/account/manager/accountCloseacceptStatusQuery
"
,
});
type
:
"
post
"
,
}
data
:
{
resolve
(
status
);
schoolId
:
this
.
PersonalInfo
.
schoolid
,
},
userId
:
this
.
PersonalInfo
.
id
,
error
:
function
(
err
)
{
wechattype
:
1
,
uni
.
showToast
({
sessionid
:
sessionID
,
title
:
err
.
message
||
"
请求失败
"
,
},
icon
:
"
none
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
});
headers
:
{
reject
(
-
1
);
sessionid
:
sessionID
,
},
},
});
success
:
({
});
code
,
},
message
,
// 验证码弹出框开启
results
toDeposit
()
{
})
=>
{
if
(
this
.
isOtherMoney
)
{
let
status
=
results
&&
results
.
status
;
// 0表示未申请,1申请中,2已销户,3销户申请失败
if
(
this
.
inputOtherM
==
""
)
{
if
(
code
===
"
10000
"
&&
status
==
"
0
"
)
{}
else
if
(
code
===
"
10000
"
&&
uni
.
showModal
({
status
==
"
1
"
)
{
title
:
"
系统提示
"
,
uni
.
showToast
({
content
:
"
请输入要充值的金额!
"
,
title
:
"
您已提交销户申请,银行正在审核中。
"
,
});
icon
:
"
none
"
,
return
;
});
}
}
else
{
if
(
parseFloat
(
this
.
inputOtherM
)
*
1
<
3
)
{
uni
.
showToast
({
weui
.
topTips
(
"
充值金额必须大于3元
"
);
title
:
message
,
return
;
icon
:
"
none
"
,
}
});
}
else
{
}
if
(
this
.
Money
==
""
)
{
resolve
(
status
);
uni
.
showModal
({
},
title
:
"
系统提示
"
,
error
:
function
(
err
)
{
content
:
"
请选择要充值的金额!
"
,
uni
.
showToast
({
});
title
:
err
.
message
||
"
请求失败
"
,
return
;
icon
:
"
none
"
,
}
});
if
(
parseFloat
(
this
.
inputOtherM
)
*
1
<
3
)
{
reject
(
-
1
);
weui
.
topTips
(
"
充值金额必须大于3元
"
);
},
return
;
});
}
});
}
},
this
.
$refs
.
popup
.
open
(
"
top
"
);
// 验证码弹出框开启
},
toDeposit
()
{
// 验证码弹出框关闭
if
(
this
.
isOtherMoney
)
{
close
()
{
if
(
this
.
inputOtherM
==
""
)
{
this
.
$refs
.
popup
.
close
();
uni
.
showModal
({
},
title
:
"
系统提示
"
,
//切换到提现
content
:
"
请输入要充值的金额!
"
,
ToWalletTx
()
{
});
$
(
"
#DepositBox
"
).
css
(
"
display
"
,
"
none
"
);
return
;
$
(
"
#TxWalletBox
"
).
css
(
"
display
"
,
"
block
"
);
}
// $('.TitleHeader').html('电子账户提现');
if
(
parseFloat
(
this
.
inputOtherM
)
*
1
<
3
)
{
$
(
"
.doBtnTx
"
).
html
(
"
提现
"
);
weui
.
topTips
(
"
充值金额必须大于3元
"
);
opeType
=
1
;
return
;
uni
.
navigateTo
({
}
url
:
}
else
{
"
../Reflect/Reflect?
"
+
if
(
this
.
Money
==
""
)
{
OforS
({
uni
.
showModal
({
sessionID
:
sessionID
,
title
:
"
系统提示
"
,
userID
:
userID
,
content
:
"
请选择要充值的金额!
"
,
}),
});
});
return
;
},
}
//全部提现
if
(
parseFloat
(
this
.
inputOtherM
)
*
1
<
3
)
{
TxAllFun
()
{
weui
.
topTips
(
"
充值金额必须大于3元
"
);
this
.
ReflectMoney
=
this
.
cardBalanceTx
*
1
;
return
;
// $('.TxClsTx').val($('.cardBalanceTx')[0].textContent * 1);
}
},
}
// 输入限制
this
.
$refs
.
popup
.
open
(
"
top
"
);
inputControl
(
e
)
{
},
let
this_
=
this
;
// 验证码弹出框关闭
this_
.
MoneyIndex
=
-
1
;
close
()
{
this_
.
isOtherMoney
=
true
;
this
.
$refs
.
popup
.
close
();
let
obj
=
e
.
detail
;
},
this
.
$nextTick
(
function
()
{
//切换到提现
obj
.
value
=
obj
.
value
.
replace
(
/
[^\d
.
]
/g
,
""
);
//清除"数字"和"."以外的字符
ToWalletTx
()
{
obj
.
value
=
obj
.
value
.
replace
(
/^
\.
/g
,
""
);
//验证第一个字符是数字而不是.
$
(
"
#DepositBox
"
).
css
(
"
display
"
,
"
none
"
);
obj
.
value
=
obj
.
value
.
replace
(
/
\.{2,}
/g
,
"
.
"
);
//只保留第一个. 清除多余的.
$
(
"
#TxWalletBox
"
).
css
(
"
display
"
,
"
block
"
);
obj
.
value
=
obj
.
value
// $('.TitleHeader').html('电子账户提现');
.
replace
(
"
.
"
,
"
$#$
"
)
$
(
"
.doBtnTx
"
).
html
(
"
提现
"
);
.
replace
(
/
\.
/g
,
""
)
opeType
=
1
;
.
replace
(
"
$#$
"
,
"
.
"
);
//只允许输入一个小数点
uni
.
navigateTo
({
obj
.
value
=
obj
.
value
.
replace
(
/^
(\-)
*
(\d
+
)\.(\d\d)
.*$/
,
"
$1$2.$3
"
);
//只能输入两个小数
url
:
"
../Reflect/Reflect?
"
+
obj
.
value
=
OforS
({
obj
.
value
*
1
>
this_
.
RechargeMax
?
this_
.
RechargeMax
:
obj
.
value
;
sessionID
:
sessionID
,
if
(
obj
.
value
==
""
||
obj
.
value
*
1
<
3
)
{
userID
:
userID
,
$
(
"
.DepositID
"
).
attr
(
}),
"
style
"
,
});
"
background: rgb(230, 230, 230) !important;
"
},
);
//全部提现
}
else
{
TxAllFun
()
{
$
(
"
.DepositID
"
).
removeAttr
(
"
style
"
);
this
.
ReflectMoney
=
this
.
cardBalanceTx
*
1
;
}
// $('.TxClsTx').val($('.cardBalanceTx')[0].textContent * 1);
this_
.
inputOtherM
=
obj
.
value
;
},
});
// 输入限制
},
inputControl
(
e
)
{
//input键盘弹起不会弹
let
this_
=
this
;
ReturnToTop
()
{
this_
.
MoneyIndex
=
-
1
;
// 若最后一位为小数点则去掉
this_
.
isOtherMoney
=
true
;
let
str
=
this
.
inputOtherM
+
""
;
let
obj
=
e
.
detail
;
if
(
str
.
lastIndexOf
(
"
.
"
)
==
str
.
length
-
1
)
{
this
.
$nextTick
(
function
()
{
this
.
inputOtherM
=
str
.
substring
(
0
,
str
.
length
-
1
);
obj
.
value
=
obj
.
value
.
replace
(
/
[^\d
.
]
/g
,
""
);
//清除"数字"和"."以外的字符
}
obj
.
value
=
obj
.
value
.
replace
(
/^
\.
/g
,
""
);
//验证第一个字符是数字而不是.
this
.
$nextTick
(
function
()
{
obj
.
value
=
obj
.
value
.
replace
(
/
\.{2,}
/g
,
"
.
"
);
//只保留第一个. 清除多余的.
document
.
scrollingElement
.
scrollTo
(
0
,
this
.
scrollTop
);
obj
.
value
=
obj
.
value
});
.
replace
(
"
.
"
,
"
$#$
"
)
},
.
replace
(
/
\.
/g
,
""
)
// 充值
.
replace
(
"
$#$
"
,
"
.
"
);
//只允许输入一个小数点
async
ExchangeRecharge
()
{
obj
.
value
=
obj
.
value
.
replace
(
/^
(\-)
*
(\d
+
)\.(\d\d)
.*$/
,
"
$1$2.$3
"
);
//只能输入两个小数
let
amount
,
bindMedium
,
summary
;
obj
.
value
=
if
(
this
.
isOtherMoney
)
{
obj
.
value
*
1
>
this_
.
RechargeMax
?
this_
.
RechargeMax
:
obj
.
value
;
if
(
this
.
inputOtherM
==
""
)
{
if
(
obj
.
value
==
""
||
obj
.
value
*
1
<
3
)
{
uni
.
showModal
({
$
(
"
.DepositID
"
).
attr
(
title
:
"
系统提示
"
,
"
style
"
,
content
:
"
请输入要充值的金额!
"
,
"
background: rgb(230, 230, 230) !important;
"
});
);
return
;
}
else
{
}
$
(
"
.DepositID
"
).
removeAttr
(
"
style
"
);
amount
=
this
.
inputOtherM
*
1
;
}
}
else
{
this_
.
inputOtherM
=
obj
.
value
;
if
(
this
.
Money
==
""
)
{
});
uni
.
showModal
({
},
title
:
"
系统提示
"
,
//input键盘弹起不会弹
content
:
"
请选择要充值的金额!
"
,
ReturnToTop
()
{
});
// 若最后一位为小数点则去掉
return
;
let
str
=
this
.
inputOtherM
+
""
;
}
if
(
str
.
lastIndexOf
(
"
.
"
)
==
str
.
length
-
1
)
{
amount
=
this
.
Money
*
1
;
this
.
inputOtherM
=
str
.
substring
(
0
,
str
.
length
-
1
);
}
}
let
this_
=
this
;
this
.
$nextTick
(
function
()
{
uni
.
showLoading
({
document
.
scrollingElement
.
scrollTo
(
0
,
this
.
scrollTop
);
mask
:
true
,
});
title
:
"
处理中......
"
,
},
});
// 充值
try
{
async
ExchangeRecharge
()
{
let
status
=
await
this
.
accountCloseacceptStatusQuery
();
let
amount
,
bindMedium
,
summary
;
if
(
status
!==
0
)
{
if
(
this
.
isOtherMoney
)
{
uni
.
hideLoading
();
if
(
this
.
inputOtherM
==
""
)
{
return
false
;
uni
.
showModal
({
}
title
:
"
系统提示
"
,
}
catch
(
e
)
{
content
:
"
请输入要充值的金额!
"
,
uni
.
hideLoading
();
});
return
false
;
return
;
}
}
amount
=
this
.
inputOtherM
*
1
;
$
.
ajax
({
}
else
{
url
:
gHost
+
"
/bank-wechat/icbc/account/exchange/recharge
"
,
if
(
this
.
Money
==
""
)
{
type
:
"
POST
"
,
uni
.
showModal
({
contentType
:
"
application/x-www-form-urlencoded
"
,
title
:
"
系统提示
"
,
data
:
{
content
:
"
请选择要充值的金额!
"
,
schoolId
:
bankInfo
.
schoolId
,
});
userId
:
userID
,
return
;
sessionid
:
sessionID
,
}
wechattype
:
1
,
amount
=
this
.
Money
*
1
;
amount
:
amount
,
}
bindMedium
:
this
.
bankInfo_
.
bindCardNo
,
let
this_
=
this
;
summary
:
"
充值
"
,
uni
.
showLoading
({
},
mask
:
true
,
headers
:
{
title
:
"
处理中......
"
,
sessionid
:
sessionID
,
});
},
try
{
success
:
function
(
res5
)
{
let
status
=
await
this
.
accountCloseacceptStatusQuery
();
uni
.
hideLoading
();
if
(
status
!==
0
)
{
if
(
res5
.
code
==
"
10000
"
)
{
uni
.
hideLoading
();
this_
.
close
();
return
false
;
setTimeout
(()
=>
{
}
this_
.
queryBankInfo
();
}
catch
(
e
)
{
},
3000
);
uni
.
hideLoading
();
wx
.
showModal
({
return
false
;
title
:
"
充值申请已提交
"
,
}
content
:
"
银行处理需要1-5分钟时间,充值结果以余额查询为准。
"
,
showCancel
:
false
,
$
.
ajax
({
});
url
:
gHost
+
"
/bank-wechat/icbc/account/exchange/recharge
"
,
}
else
{
type
:
"
POST
"
,
weui
.
topTips
(
res5
.
message
);
contentType
:
"
application/x-www-form-urlencoded
"
,
}
data
:
{
},
schoolId
:
bankInfo
.
schoolId
,
error
:
function
(
err
)
{
userId
:
userID
,
uni
.
hideLoading
();
sessionid
:
sessionID
,
},
wechattype
:
1
,
});
amount
:
amount
,
},
bindMedium
:
this
.
bankInfo_
.
bindCardNo
,
// 充值结果查询
summary
:
"
充值
"
,
async
ExchangeRechargeQuery
(
flowId
,
oriCorpSerno
)
{
},
let
this_
=
this
;
headers
:
{
let
loading
=
Toast
.
loading
({
sessionid
:
sessionID
,
message
:
"
加载中...
"
,
},
forbidClick
:
true
,
success
:
function
(
res5
)
{
loadingType
:
"
spinner
"
,
uni
.
hideLoading
();
duration
:
0
,
if
(
res5
.
code
==
"
10000
"
)
{
});
this_
.
close
();
$
.
ajax
({
setTimeout
(()
=>
{
url
:
gHost
+
"
/bank-wechat/icbc/account/exchange/rechargeQuery
"
,
this_
.
queryBankInfo
();
type
:
"
POST
"
,
},
3000
);
contentType
:
"
application/x-www-form-urlencoded
"
,
wx
.
showModal
({
data
:
{
title
:
"
充值申请已提交
"
,
schoolId
:
bankInfo
.
schoolId
,
content
:
"
银行处理需要1-5分钟时间,充值结果以余额查询为准。
"
,
userId
:
userID
,
showCancel
:
false
,
sessionid
:
sessionID
,
});
wechattype
:
1
,
}
else
{
flowId
:
flowId
,
weui
.
topTips
(
res5
.
message
);
oriCorpSerno
:
oriCorpSerno
,
}
},
},
headers
:
{
error
:
function
(
err
)
{
sessionid
:
sessionID
,
uni
.
hideLoading
();
},
},
success
:
function
(
res5
)
{
});
loading
.
clear
();
},
if
(
res5
.
code
==
"
10000
"
)
{
// 充值结果查询
let
appStatus
=
res5
.
results
.
appStatus
;
async
ExchangeRechargeQuery
(
flowId
,
oriCorpSerno
)
{
if
(
appStatus
==
"
4
"
)
{
let
this_
=
this
;
uni
.
showModal
({
let
loading
=
Toast
.
loading
({
title
:
"
系统提示
"
,
message
:
"
加载中...
"
,
content
:
"
充值成功!
"
,
forbidClick
:
true
,
});
loadingType
:
"
spinner
"
,
this_
.
queryBankInfo
();
duration
:
0
,
}
else
{
});
uni
.
showModal
({
$
.
ajax
({
title
:
"
系统提示
"
,
url
:
gHost
+
"
/bank-wechat/icbc/account/exchange/rechargeQuery
"
,
content
:
appStatus
==
"
1
"
?
"
申请已受理
"
:
res5
.
message
,
type
:
"
POST
"
,
});
contentType
:
"
application/x-www-form-urlencoded
"
,
}
data
:
{
}
else
{
schoolId
:
bankInfo
.
schoolId
,
weui
.
topTips
(
res5
.
message
);
userId
:
userID
,
uni
.
showModal
({
sessionid
:
sessionID
,
title
:
"
系统提示
"
,
wechattype
:
1
,
content
:
res5
.
message
,
flowId
:
flowId
,
});
oriCorpSerno
:
oriCorpSerno
,
}
},
},
headers
:
{
error
:
function
(
err
)
{
sessionid
:
sessionID
,
loading
.
clear
();
},
},
success
:
function
(
res5
)
{
});
loading
.
clear
();
},
if
(
res5
.
code
==
"
10000
"
)
{
// 复制我卡号
let
appStatus
=
res5
.
results
.
appStatus
;
async
CopyCardNumber
()
{
if
(
appStatus
==
"
4
"
)
{
let
value
=
this
.
bankInfo_
.
accountNo
;
uni
.
showModal
({
Dialog
({
title
:
"
系统提示
"
,
title
:
"
系统提示
"
,
content
:
"
充值成功!
"
,
message
:
"
复制成功!
"
,
});
});
this_
.
queryBankInfo
();
this
.
$nextTick
(
function
()
{
}
else
{
let
clipboard
=
new
ClipboardJS
(
"
#cardNumright
"
,
{
uni
.
showModal
({
text
:
function
()
{
title
:
"
系统提示
"
,
return
value
;
content
:
appStatus
==
"
1
"
?
"
申请已受理
"
:
res5
.
message
,
},
});
});
}
});
}
else
{
},
weui
.
topTips
(
res5
.
message
);
//选择输入其他金额
uni
.
showModal
({
OtherMoney
()
{
title
:
"
系统提示
"
,
this
.
depotMoneyother
=
true
;
content
:
res5
.
message
,
},
});
// 快捷选择金额
}
async
depotMoney
(
value
,
MoneyIndex
)
{
},
// console.log(value);
error
:
function
(
err
)
{
// if (!value) {
loading
.
clear
();
// this.isOtherMoney = true;
},
// this.Money = "";
});
// this.MoneyIndex = MoneyIndex;
},
// return;
// 复制我卡号
// }
async
CopyCardNumber
()
{
this
.
isOtherMoney
=
false
;
let
value
=
this
.
bankInfo_
.
accountNo
;
this
.
inputOtherM
=
""
;
Dialog
({
this
.
Money
=
parseInt
(
value
);
title
:
"
系统提示
"
,
this
.
MoneyIndex
=
MoneyIndex
;
message
:
"
复制成功!
"
,
},
});
//按钮操作
this
.
$nextTick
(
function
()
{
HideHTML
(
dom
,
type
)
{
let
clipboard
=
new
ClipboardJS
(
"
#cardNumright
"
,
{
this
.
$nextTick
(
function
()
{
text
:
function
()
{
if
(
type
==
0
)
{
return
value
;
$
(
"
.
"
+
dom
).
css
(
"
display
"
,
"
none
"
);
},
}
else
{
});
$
(
"
.
"
+
dom
).
css
(
"
display
"
,
"
block
"
);
});
}
},
});
//选择输入其他金额
},
OtherMoney
()
{
//返回小程序 跳转指定页面
this
.
depotMoneyother
=
true
;
BackToMini
(
page
)
{
},
if
(
page
==
"
UserMain
"
||
page
==
"
personalCenter
"
)
{
// 快捷选择金额
jWeixin
.
miniProgram
.
switchTab
({
async
depotMoney
(
value
,
MoneyIndex
)
{
url
:
`/pages/
${
page
}
/main`
,
// console.log(value);
});
// if (!value) {
}
else
{
// this.isOtherMoney = true;
jWeixin
.
miniProgram
.
redirectTo
({
// this.Money = "";
url
:
`/pages/
${
page
}
/main`
,
// this.MoneyIndex = MoneyIndex;
});
// return;
}
// }
},
this
.
isOtherMoney
=
false
;
//换绑卡
this
.
inputOtherM
=
""
;
ChangeCardPay
(
item
)
{
this
.
Money
=
parseInt
(
value
);
let
this_
=
this
;
this
.
MoneyIndex
=
MoneyIndex
;
if
(
bankInfo
.
bindCardNo
==
item
.
bindCardNo
)
{
},
return
;
//按钮操作
}
HideHTML
(
dom
,
type
)
{
var
loading
=
weui
.
loading
(
"
请稍后
"
);
this
.
$nextTick
(
function
()
{
$
.
ajax
({
if
(
type
==
0
)
{
url
:
gHost
+
"
/bank-wechat/icbc/account/bindcard/changeDefaultBinding
"
,
$
(
"
.
"
+
dom
).
css
(
"
display
"
,
"
none
"
);
type
:
"
POST
"
,
}
else
{
contentType
:
"
application/x-www-form-urlencoded
"
,
$
(
"
.
"
+
dom
).
css
(
"
display
"
,
"
block
"
);
data
:
{
}
schoolId
:
bankInfo
.
schoolId
,
});
userId
:
userID
,
},
sessionid
:
sessionID
,
//返回小程序 跳转指定页面
wechattype
:
1
,
BackToMini
(
page
)
{
bindMedium
:
item
.
bindCardNo
,
if
(
page
==
"
UserMain
"
||
page
==
"
personalCenter
"
)
{
bindMediumName
:
item
.
bindCardName
,
jWeixin
.
miniProgram
.
switchTab
({
},
url
:
`/pages/
${
page
}
/main`
,
success
:
function
(
res5
)
{
});
loading
.
hide
();
}
else
{
if
(
res5
.
code
==
"
10000
"
)
{
jWeixin
.
miniProgram
.
redirectTo
({
this_
.
queryUserBankInfo
();
url
:
`/pages/
${
page
}
/main`
,
this_
.
close
();
});
}
else
{
}
weui
.
topTips
(
res5
.
message
);
},
}
//换绑卡
this_
.
popshow
=
false
;
ChangeCardPay
(
item
)
{
},
let
this_
=
this
;
error
:
function
(
err
)
{
if
(
bankInfo
.
bindCardNo
==
item
.
bindCardNo
)
{
loading
.
hide
();
return
;
},
}
});
var
loading
=
weui
.
loading
(
"
请稍后
"
);
},
$
.
ajax
({
//查询一类卡绑定列表
url
:
gHost
+
"
/bank-wechat/icbc/account/bindcard/changeDefaultBinding
"
,
queryBindCardList
()
{
type
:
"
POST
"
,
let
this_
=
this
;
contentType
:
"
application/x-www-form-urlencoded
"
,
let
loading
=
weui
.
loading
(
"
请稍后
"
);
data
:
{
$
.
ajax
({
schoolId
:
bankInfo
.
schoolId
,
url
:
gHost
+
"
/bank-wechat/icbc/account/bindcard/bindingList
"
,
userId
:
userID
,
type
:
"
POST
"
,
sessionid
:
sessionID
,
contentType
:
"
application/x-www-form-urlencoded
"
,
wechattype
:
1
,
data
:
{
bindMedium
:
item
.
bindCardNo
,
mediumId
:
bankInfo
.
accountNo
,
bindMediumName
:
item
.
bindCardName
,
schoolId
:
bankInfo
.
schoolId
,
},
userId
:
userID
,
success
:
function
(
res5
)
{
sessionid
:
sessionID
,
loading
.
hide
();
wechattype
:
1
,
if
(
res5
.
code
==
"
10000
"
)
{
},
this_
.
queryUserBankInfo
();
success
:
function
(
res4
)
{
this_
.
close
();
loading
.
hide
();
}
else
{
if
(
res4
.
code
==
"
10000
"
)
{
weui
.
topTips
(
res5
.
message
);
this_
.
bindcardList
=
res4
.
results
;
}
this_
.
popshow
=
true
;
this_
.
popshow
=
false
;
}
else
{
},
weui
.
topTips
(
res4
.
message
);
error
:
function
(
err
)
{
}
loading
.
hide
();
},
},
error
:
function
(
err
)
{
});
loading
.
hide
();
},
},
//查询一类卡绑定列表
});
queryBindCardList
()
{
},
let
this_
=
this
;
//获取银行余额
let
loading
=
weui
.
loading
(
"
请稍后
"
);
queryBankInfo
()
{
$
.
ajax
({
let
this_
=
this
;
url
:
gHost
+
"
/bank-wechat/icbc/account/bindcard/bindingList
"
,
// let loading = weui.loading('请稍后');
type
:
"
POST
"
,
$
.
ajax
({
contentType
:
"
application/x-www-form-urlencoded
"
,
url
:
gHost
+
"
/bank-wechat/icbc/account/balance/balanceQuery
"
,
data
:
{
type
:
"
POST
"
,
mediumId
:
bankInfo
.
accountNo
,
timeout
:
8000
,
schoolId
:
bankInfo
.
schoolId
,
contentType
:
"
application/x-www-form-urlencoded
"
,
userId
:
userID
,
data
:
{
sessionid
:
sessionID
,
mediumId
:
bankInfo
.
accountNo
||
""
,
wechattype
:
1
,
schoolId
:
bankInfo
.
schoolId
||
""
,
},
userId
:
bankInfo
.
userId
||
""
,
success
:
function
(
res4
)
{
sessionid
:
sessionID
,
loading
.
hide
();
wechattype
:
1
,
if
(
res4
.
code
==
"
10000
"
)
{
},
this_
.
bindcardList
=
res4
.
results
;
success
:
function
(
res3
)
{
this_
.
popshow
=
true
;
// loading.hide();
}
else
{
if
(
res3
.
code
==
"
10000
"
)
{
weui
.
topTips
(
res4
.
message
);
if
(
res3
.
results
.
accountBalance
==
null
)
{
}
weui
.
topTips
(
"
账户信息为空,余额查询失败
"
);
},
}
else
{
error
:
function
(
err
)
{
this_
.
cardBalanceTx
=
(
res3
.
results
.
accountBalance
*
1
).
toFixed
(
loading
.
hide
();
2
},
);
});
$
(
"
.TxClsTx
"
).
attr
(
},
"
placeholder
"
,
//获取银行余额
`可提现金额
${(
res3
.
results
.
accountBalance
*
1
).
toFixed
(
2
)}
元`
queryBankInfo
()
{
);
let
this_
=
this
;
this_
.
RechargeMax
=
(
// let loading = weui.loading('请稍后');
2000
-
$
.
ajax
({
(
res3
.
results
.
accountBalance
*
1
).
toFixed
(
2
)
*
1
url
:
gHost
+
"
/bank-wechat/icbc/account/balance/balanceQuery
"
,
).
toFixed
(
2
);
type
:
"
POST
"
,
}
timeout
:
8000
,
}
else
{
contentType
:
"
application/x-www-form-urlencoded
"
,
weui
.
topTips
(
res3
.
message
);
data
:
{
}
mediumId
:
bankInfo
.
accountNo
||
""
,
},
schoolId
:
bankInfo
.
schoolId
||
""
,
error
:
function
(
err
)
{
userId
:
bankInfo
.
userId
||
""
,
// loading.hide();
sessionid
:
sessionID
,
},
wechattype
:
1
,
complete
:
function
(
XMLHttpRequest
,
status
)
{
},
// loading.hide();
success
:
function
(
res3
)
{
if
(
status
==
"
timeout
"
)
{
// loading.hide();
weui
.
topTips
(
"
请求超时,余额查询失败
"
);
if
(
res3
.
code
==
"
10000
"
)
{
}
if
(
res3
.
results
.
accountBalance
==
null
)
{
},
weui
.
topTips
(
"
账户信息为空,余额查询失败
"
);
});
}
else
{
},
this_
.
cardBalanceTx
=
(
res3
.
results
.
accountBalance
*
1
).
toFixed
(
//获取用户已填写银行信息
2
queryUserBankInfo
()
{
);
let
this_
=
this
;
$
(
"
.TxClsTx
"
).
attr
(
// let loading = weui.loading('请稍后');
"
placeholder
"
,
$
.
ajax
({
`可提现金额
${(
res3
.
results
.
accountBalance
*
1
).
toFixed
(
2
)}
元`
url
:
gHost
+
"
/bank-wechat/user/bank/get
"
,
);
type
:
"
POST
"
,
this_
.
RechargeMax
=
(
contentType
:
"
application/x-www-form-urlencoded
"
,
2000
-
data
:
{
(
res3
.
results
.
accountBalance
*
1
).
toFixed
(
2
)
*
1
schoolId
:
bankInfo
.
schoolId
,
).
toFixed
(
2
);
userId
:
userID
,
}
sessionid
:
sessionID
,
}
else
{
wechattype
:
1
,
weui
.
topTips
(
res3
.
message
);
},
}
success
:
function
(
res2
)
{
},
if
(
res2
.
code
==
"
10000
"
)
{
error
:
function
(
err
)
{
if
(
!
res2
.
results
)
{
// loading.hide();
weui
.
topTips
(
"
获取用户银行信息失败!
"
);
},
// loading.hide();
complete
:
function
(
XMLHttpRequest
,
status
)
{
return
;
// loading.hide();
}
if
(
status
==
"
timeout
"
)
{
bankInfo
=
res2
.
results
;
weui
.
topTips
(
"
请求超时,余额查询失败
"
);
bankInfo
.
sessionid
=
sessionID
;
}
this_
.
queryBankInfo
();
//查余额
},
this_
.
bankInfo_
=
bankInfo
;
});
// this_.getBindingList(bankInfo.accountNo,bankInfo.schoolId,bankInfo.id);
},
}
else
{
//获取用户已填写银行信息
weui
.
topTips
(
res2
.
message
);
queryUserBankInfo
()
{
}
let
this_
=
this
;
},
// let loading = weui.loading('请稍后');
error
:
function
(
err
)
{
$
.
ajax
({
// loading.hide();
url
:
gHost
+
"
/bank-wechat/user/bank/get
"
,
},
type
:
"
POST
"
,
});
contentType
:
"
application/x-www-form-urlencoded
"
,
},
data
:
{
//查询用户信息
schoolId
:
bankInfo
.
schoolId
,
QueryUserInfo
()
{
userId
:
userID
,
let
this_
=
this
;
sessionid
:
sessionID
,
let
loading
=
Toast
.
loading
({
wechattype
:
1
,
message
:
"
加载中...
"
,
},
forbidClick
:
true
,
success
:
function
(
res2
)
{
loadingType
:
"
spinner
"
,
if
(
res2
.
code
==
"
10000
"
)
{
duration
:
0
,
if
(
!
res2
.
results
)
{
});
weui
.
topTips
(
"
获取用户银行信息失败!
"
);
$
.
ajax
({
// loading.hide();
url
:
gHost
+
"
/wechat/svweapp/QueryPersonalInfo
"
,
return
;
type
:
"
POST
"
,
}
contentType
:
"
application/x-www-form-urlencoded
"
,
bankInfo
=
res2
.
results
;
data
:
{
bankInfo
.
sessionid
=
sessionID
;
userid
:
userID
,
this_
.
queryBankInfo
();
//查余额
sessionid
:
sessionID
,
this_
.
bankInfo_
=
bankInfo
;
wechattype
:
1
,
// this_.getBindingList(bankInfo.accountNo,bankInfo.schoolId,bankInfo.id);
},
}
else
{
success
:
function
(
res1
)
{
weui
.
topTips
(
res2
.
message
);
loading
.
clear
();
}
if
(
res1
.
code
==
"
10000
"
)
{
},
bankInfo
.
schoolId
=
res1
.
results
.
schoolid
;
error
:
function
(
err
)
{
bankInfo
.
userId
=
res1
.
results
.
id
;
// loading.hide();
this_
.
PersonalInfo
=
res1
.
results
;
},
if
(
res1
.
results
.
usertype
==
1
)
{
});
$
(
"
.StudentCls
"
).
css
(
"
display
"
,
"
block
"
);
},
$
(
"
.TeacherCls
"
).
css
(
"
display
"
,
"
none
"
);
//查询用户信息
}
else
{
QueryUserInfo
()
{
$
(
"
.StudentCls
"
).
css
(
"
display
"
,
"
none
"
);
let
this_
=
this
;
$
(
"
.TeacherCls
"
).
css
(
"
display
"
,
"
block
"
);
let
loading
=
Toast
.
loading
({
}
message
:
"
加载中...
"
,
this_
.
queryUserBankInfo
();
forbidClick
:
true
,
}
else
{
loadingType
:
"
spinner
"
,
weui
.
topTips
(
res1
.
message
);
duration
:
0
,
setTimeout
(()
=>
{
});
this_
.
BackToMini
(
"
UserMain
"
);
$
.
ajax
({
},
1500
);
url
:
gHost
+
"
/wechat/svweapp/QueryPersonalInfo
"
,
}
type
:
"
POST
"
,
},
contentType
:
"
application/x-www-form-urlencoded
"
,
error
:
function
(
err
)
{
data
:
{
loading
.
clear
();
userid
:
userID
,
},
sessionid
:
sessionID
,
});
wechattype
:
1
,
},
},
},
success
:
function
(
res1
)
{
};
loading
.
clear
();
if
(
res1
.
code
==
"
10000
"
)
{
bankInfo
.
schoolId
=
res1
.
results
.
schoolid
;
bankInfo
.
userId
=
res1
.
results
.
id
;
this_
.
PersonalInfo
=
res1
.
results
;
if
(
res1
.
results
.
usertype
==
1
)
{
$
(
"
.StudentCls
"
).
css
(
"
display
"
,
"
block
"
);
$
(
"
.TeacherCls
"
).
css
(
"
display
"
,
"
none
"
);
}
else
{
$
(
"
.StudentCls
"
).
css
(
"
display
"
,
"
none
"
);
$
(
"
.TeacherCls
"
).
css
(
"
display
"
,
"
block
"
);
}
this_
.
queryUserBankInfo
();
}
else
{
weui
.
topTips
(
res1
.
message
);
setTimeout
(()
=>
{
this_
.
BackToMini
(
"
UserMain
"
);
},
1500
);
}
},
error
:
function
(
err
)
{
loading
.
clear
();
},
});
},
},
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
html
,
html
,
body
,
body
,
page
{
page
{
width
:
750rpx
;
width
:
750rpx
;
background
:
linear-gradient
(
180deg
,
#ffffff
0%
,
#fafafa
100%
);
background
:
linear-gradient
(
180deg
,
#ffffff
0%
,
#fafafa
100%
);
}
}
.userInfoBox
{
display
:
flex
;
.userInfoBox
{
flex-direction
:
column
;
display
:
flex
;
width
:
calc
(
100%
-
64rpx
);
flex-direction
:
column
;
height
:
150rpx
;
width
:
calc
(
100%
-
64rpx
);
margin
:
0
32rpx
;
height
:
150rpx
;
margin-top
:
30rpx
;
margin
:
0
32rpx
;
background
:
linear-gradient
(
270deg
,
#f4f4f4
0%
,
#ebebeb
100%
);
margin-top
:
30rpx
;
border-radius
:
16px
;
background
:
linear-gradient
(
270deg
,
#f4f4f4
0%
,
#ebebeb
100%
);
.firstLine
{
border-radius
:
16px
;
display
:
flex
;
flex-direction
:
row
;
.firstLine
{
width
:
calc
(
100%
-
68rpx
);
display
:
flex
;
height
:
56rpx
;
flex-direction
:
row
;
line-height
:
56rpx
;
width
:
calc
(
100%
-
68rpx
);
margin
:
0
34rpx
;
height
:
56rpx
;
margin-top
:
28rpx
;
line-height
:
56rpx
;
overflow
:
hidden
;
margin
:
0
34rpx
;
view
{
margin-top
:
28rpx
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
.avatar
{
view
{
width
:
56rpx
;
white-space
:
nowrap
;
height
:
56rpx
;
}
uni-image
{
width
:
56rpx
;
.avatar
{
height
:
56rpx
;
width
:
56rpx
;
}
height
:
56rpx
;
}
.name
{
uni-image
{
margin-left
:
17rpx
;
width
:
56rpx
;
font-size
:
36rpx
;
height
:
56rpx
;
font-weight
:
600
;
}
color
:
rgba
(
0
,
0
,
0
,
0
.85
);
}
}
view
:last-child
{
.name
{
margin-left
:
10rpx
;
margin-left
:
17rpx
;
align-self
:
center
;
font-size
:
36rpx
;
align-items
:
center
;
font-weight
:
600
;
padding
:
0
8rpx
;
color
:
rgba
(
0
,
0
,
0
,
0
.85
);
height
:
40rpx
;
}
line-height
:
40rpx
;
background
:
rgba
(
0
,
0
,
0
,
0
.08
);
view
:last-child
{
border-radius
:
4rpx
;
margin-left
:
10rpx
;
font-size
:
26rpx
;
align-self
:
center
;
font-weight
:
500
;
align-items
:
center
;
color
:
rgba
(
0
,
0
,
0
,
0
.5
);
padding
:
0
8rpx
;
}
height
:
40rpx
;
}
line-height
:
40rpx
;
.secondLine
{
background
:
rgba
(
0
,
0
,
0
,
0
.08
);
display
:
flex
;
border-radius
:
4rpx
;
width
:
calc
(
100%
-
62rpx
);
font-size
:
26rpx
;
margin
:
0
31rpx
;
font-weight
:
500
;
margin-top
:
8rpx
;
color
:
rgba
(
0
,
0
,
0
,
0
.5
);
height
:
37rpx
;
}
line-height
:
37rpx
;
}
font-size
:
26rpx
;
color
:
rgba
(
0
,
0
,
0
,
0
.45
);
.secondLine
{
}
display
:
flex
;
}
width
:
calc
(
100%
-
62rpx
);
.balanceWrapper
{
margin
:
0
31rpx
;
width
:
calc
(
100%
-
64rpx
);
margin-top
:
8rpx
;
margin
:
0
32rpx
;
height
:
37rpx
;
margin-top
:
24rpx
;
line-height
:
37rpx
;
height
:
289rpx
;
font-size
:
26rpx
;
background-image
:
url("https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/user/bankBg.png")
;
color
:
rgba
(
0
,
0
,
0
,
0
.45
);
background-repeat
:
no-repeat
;
}
background-size
:
100%
100%
;
}
position
:
relative
;
}
.contentWrapper
{
.showBindCardList
{
width
:
100%
;
.choiceBox
{
display
:
flex
;
text-align
:
center
;
flex-direction
:
column
;
font-weight
:
bold
;
}
height
:
50px
;
line-height
:
50px
;
.balanceWrapper
{
padding
:
0
;
width
:
calc
(
100%
-
144rpx
);
border-bottom
:
0
.5px
solid
#e6e6e6
;
margin
:
0
32rpx
;
}
margin-top
:
24rpx
;
height
:
249rpx
;
.ListItem
{
padding
:
40rpx
40rpx
0
;
border-bottom
:
1rpx
solid
#e6e6e6
;
background-image
:
url("https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/user/bankBg.png")
;
font-size
:
30rpx
;
background-repeat
:
no-repeat
;
padding
:
25rpx
0
;
background-size
:
100%
100%
;
background
:
#fff
;
position
:
relative
;
position
:
relative
;
display
:
flex
;
text-align
:
center
;
flex-direction
:
column
;
}
}
.firstLine
{
display
:
flex
;
.SubmittedSuccessfully
{
justify-content
:
space-between
;
width
:
400rpx
!
important
;
height
:
200rpx
!
important
;
.left
{
margin
:
0
auto
!
important
;
view
:first-child
{
background
:
#000000
;
height
:
33rpx
;
opacity
:
0
.8
;
font-size
:
24rpx
;
border-radius
:
8rpx
;
font-weight
:
600
;
}
color
:
rgba
(
255
,
255
,
255
,
0
.85
);
line-height
:
33rpx
;
.cardNum
{
}
width
:
574rpx
;
margin
:
0
auto
;
view
:last-child
{
display
:
flex
;
height
:
84rpx
;
justify-content
:
space-between
;
font-size
:
60rpx
;
padding-top
:
36rpx
;
font-weight
:
600
;
font-size
:
24rpx
;
color
:
#ffffff
;
line-height
:
84rpx
;
.cardNumleft
{
}
font-family
:
PingFang
SC
;
}
font-weight
:
500
;
color
:
#ffffff
;
.right
{
}
width
:
60rpx
;
height
:
60rpx
;
.cardNumright
{
align-self
:
flex-start
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
.icon
{
text-decoration
:
underline
;
width
:
60rpx
;
color
:
#ffffff
;
height
:
60rpx
;
}
}
}
}
}
.RechargeDetailed
{
text-align
:
center
;
.lastLine
{
// width: 118rpx;
display
:
flex
;
height
:
32rpx
;
width
:
100%
;
margin
:
0
auto
;
justify-content
:
space-between
;
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
view
:first-child
{
font-weight
:
500
;
height
:
60rpx
;
text-decoration
:
underline
;
font-size
:
40rpx
;
color
:
#36a8ff
;
font-weight
:
600
;
margin-top
:
50rpx
;
color
:
#ffffff
;
}
line-height
:
60rpx
;
}
.contentBox
{
width
:
670rpx
;
.right
{
height
:
376rpx
;
width
:
140rpx
;
margin
:
0
auto
;
height
:
60rpx
;
}
line-height
:
60rpx
;
font-size
:
30rpx
;
.contentDiv
{
font-weight
:
600
;
height
:
100%
;
color
:
#04b871
;
// margin-top: 36rpx;
background-image
:
url("https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/user/cashBtn.png")
;
border-radius
:
15rpx
;
background-repeat
:
no-repeat
;
background-image
:
url("https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/images/xiaopaycard (31)
.
png
");
background-size
:
cover
;
background-repeat: no-repeat;
text-align
:
center
;
background-size: 100% 100%;
}
position: relative;
.btn
{
top: 36rpx;
width
:
140rpx
;
}
height
:
60rpx
;
}
.HidenText {
}
width: 574rpx;
}
margin: 0 auto;
padding-top: 88rpx;
.accountlist
{
}
width
:
100%
;
height
:
100%
;
.HidenText,
}
.Balance {
padding-left: 46rpx;
.showBindCardList
{
padding-right: 40rpx;
width
:
100%
;
display: flex;
height
:
100%
;
justify-content: space-between;
.choiceBox
{
font-size: 28rpx;
text-align
:
center
;
color: #ffffff;
font-weight
:
bold
;
}
height
:
100rpx
;
line-height
:
100rpx
;
.Balance {
padding
:
0
;
width: 574rpx;
border-bottom
:
1rpx
solid
#e6e6e6
;
margin: 0 auto;
}
margin-top: 20rpx;
.cardsList
{
font-size: 30rpx;
width
:
100%
;
font-family: PingFang SC;
height
:
calc
(
100%
-
260rpx
);
font-weight: bold;
overflow-y
:
scroll
;
color: #ffffff;
}
}
.ListItem
{
.Recharge {
border-bottom
:
1rpx
solid
#e6e6e6
;
// height: 30rpx;
font-size
:
30rpx
;
font-size: 32rpx;
padding
:
25rpx
0
;
font-family: PingFang SC;
background
:
#fff
;
font-weight: bold;
position
:
relative
;
color: #333333;
text-align
:
center
;
margin-top: 58rpx;
}
span:nth-child(1) {
.changeCard
{
width: 4rpx;
margin
:
0
auto
;
height: 30rpx;
margin-top
:
40rpx
;
background: #23d6a3;
height
:
40rpx
;
border-radius: 2rpx;
font-size
:
28rpx
;
display: inline-block;
font-weight
:
400
;
position: relative;
color
:
#04B871
;
top: 5rpx;
line-height
:
40rpx
;
}
text-align
:
center
;
}
span:nth-child(2) {
}
display: inline-block;
margin-left: 16rpx;
.SubmittedSuccessfully
{
}
width
:
400rpx
!
important
;
}
height
:
200rpx
!
important
;
margin
:
0
auto
!
important
;
.headview {
background
:
#000000
;
display: flex;
opacity
:
0
.8
;
justify-content: space-between;
border-radius
:
8rpx
;
// padding-left: 40rpx;
}
// padding-right: 40rpx;
.cardNum
{
padding-top: 36rpx;
width
:
574rpx
;
width: 574rpx;
margin
:
0
auto
;
margin: 0 auto;
display
:
flex
;
}
justify-content
:
space-between
;
padding-top
:
36rpx
;
.headview .schoolname {
font-size
:
24rpx
;
width: 252rpx;
height: 50rpx;
.cardNumleft
{
font-size: 36rpx;
font-family
:
PingFang
SC
;
font-family: PingFangSC-Medium, PingFang SC;
font-weight
:
500
;
font-weight: 500;
color
:
#ffffff
;
color: #ffffff;
}
line-height: 50rpx;
}
.cardNumright
{
font-family
:
PingFang
SC
;
.headview .IconCls {
font-weight
:
500
;
width: 170rpx;
text-decoration
:
underline
;
height: 48rpx;
color
:
#ffffff
;
background: #20946d;
}
border-radius: 25rpx;
}
font-size: 24rpx;
.RechargeDetailed
{
font-weight: 400;
text-align
:
center
;
color: #ffffff;
// width: 118rpx;
line-height: 48rpx;
height
:
32rpx
;
text-align: center;
margin
:
0
auto
;
}
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
.MoneyBox {
font-weight
:
500
;
flex-wrap: wrap;
text-decoration
:
underline
;
height: auto;
color
:
#36a8ff
;
color: #888888;
margin-top
:
50rpx
;
width: 686rpx;
}
margin: 0 auto;
overflow: hidden;
.contentBox
{
}
width
:
670rpx
;
display
:
flex
;
.choiceClass {
flex-direction
:
column
;
background: rgba(39, 266, 148, 0.1) !important;
margin
:
0
auto
;
color: #28d79c;
}
}
.contentDiv
{
.MoneyBox view {
height
:
100%
;
width: 220rpx;
// margin-top: 36rpx;
height: 120rpx;
border-radius
:
15rpx
;
background: #ffffff;
background-image
:
url("https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static/weapp/images/xiaopaycard (31)
.
png
");
border-radius: 8rpx;
background-repeat: no-repeat;
border: 1rpx solid #eeeeee;
background-size: 100% 100%;
margin-top: 16rpx;
text-align: center;
position: relative;
position: relative;
top: 36rpx;
box-shadow: 0px 9rpx 23rpx 0rpx rgba(25, 26, 88, 0.07);
}
margin-right: 2px;
float: left;
.HidenText {
}
width: 574rpx;
margin: 0 auto;
.depotMoney .value {
padding-top: 88rpx;
font-size: 45rpx;
}
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
.HidenText,
line-height: 120rpx;
.Balance {
text-align: center;
padding-left: 46rpx;
}
padding-right: 40rpx;
display: flex;
.depotMoney .tips {
justify-content: space-between;
// width: 79rpx;
// height: 33rpx;
font-size: 28rpx;
// background: linear-gradient(180deg, #FA6400 0%, #FD9D00 100%);
color: #ffffff;
// border-radius: 4rpx;
}
// font-size: 18rpx;
// font-weight: 500;
.Balance {
// padding: 4rpx;
width: 574rpx;
// text-align: center;
margin: 0 auto;
// float: right;
margin-top: 20rpx;
// position: absolute;
// right: 0rpx;
font-size: 30rpx;
// line-height: 33rpx;
font-family: PingFang SC;
}
font-weight: bold;
color: #ffffff;
.OtherMoney {
}
display: flex;
justify-content: flex-start;
.Recharge {
// color: #999999;
width: 100%;
// font-size: 28rpx;
height: 40rpx;
// font-family: PingFangSC-Regular, PingFang SC;
margin-top: 40rpx;
// font-weight: 400;
font-size: 28rpx;
// color: #999999;
font-family: PingFangSC-Medium, PingFang SC;
// line-height: 40rpx;
font-weight: 500;
width: 686rpx;
color: rgba(0, 0, 0, 0.4);
height: 100rpx;
line-height: 40rpx;
background: #f7f6fb;
}
border-radius: 10rpx;
margin: 0 auto;
.headview {
line-height: 100rpx;
display: flex;
margin-top: 32rpx;
justify-content: space-between;
// padding-left: 40rpx;
span {
// padding-right: 40rpx;
display: inline-block;
font-size: 40rpx;
padding-top: 36rpx;
font-family: PingFang SC;
width: 574rpx;
font-weight: bold;
margin: 0 auto;
color: #000000;
}
padding-left: 26rpx;
}
.headview .schoolname {
width: 252rpx;
input {
height: 50rpx;
height: 100%;
font-size: 36rpx;
}
font-family: PingFangSC-Medium, PingFang SC;
}
font-weight: 500;
color: #ffffff;
.OtherMoney view:nth-child(2) {
line-height: 50rpx;
// width: 30rpx;
}
// height: 30rpx;
// background: #F0F0F0;
.headview .IconCls {
// border-radius: 50%;
width: 170rpx;
// text-align: center;
height: 48rpx;
// line-height: 30rpx;
background: #20946d;
// margin-top: 7rpx;
border-radius: 25rpx;
// margin-left: 5rpx;
}
font-size: 24rpx;
font-weight: 400;
.payType {
color: #ffffff;
height: 98rpx;
line-height: 48rpx;
line-height: 98rpx;
text-align: center;
display: flex;
}
justify-content: space-between;
}
.moneyWrapper {
margin-top: 10rpx;
.payType view:nth-child(1) {
width: 100%;
// width: 120rpx;
display: flex;
height: 42rpx;
flex-wrap: wrap;
font-size: 32rpx;
font-family: PingFang SC;
.moneyItem {
font-weight: 500;
width: 210rpx;
color: #888888;
height: 120rpx;
line-height: 98rpx;
background: #f8f8f8;
}
border-radius: 12rpx;
display: flex;
.payType view::nth-child(2) {
justify-content: center;
width: 225rpx;
margin-right: 18rpx;
height: 45rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-size: 32rpx;
margin-bottom: 24rpx;
font-family: PingFang SC;
font-weight: bold;
view {
color: #333333;
align-self: center;
line-height: 45rpx;
color: #333333;
}
}
.arrow {
view:first-child {
transform: rotate(-45deg);
font-size: 40rpx;
top: -3rpx;
font-weight: 500;
border: solid #999999;
}
border-width: 0 1rpx 1rpx 0;
display: inline-block;
view:last-child {
padding: 8rpx;
font-size: 30rpx;
position: relative;
}
}
}
@media (min-height: 650px) {
.moneyItem:nth-child(3n) {
.bottomdiv {
margin-right: 0;
position: fixed;
}
left: 0;
right: 0;
.active {
bottom: 30rpx;
border: 3rpx solid #04b871;
}
}
view {
color: #04b871;
.DepositID {
}
width: 630rpx;
}
height: 92rpx;
background: #04ba73;
.other {
border-radius: 8rpx;
width: 444rpx;
margin: 0 auto;
height: 120rpx;
text-align: center;
line-height: 120rpx;
bottom: 30rpx;
text-align: center;
}
background: #f8f8f8;
border-radius: 12rpx;
.DepositID span {
height: 50rpx;
/deep/.uni-input-wrapper {
font-size: 36rpx;
position: absolute;
font-family: PingFangSC-Medium, PingFang SC;
width: 444rpx;
font-weight: 500;
height: 120rpx;
color: #ffffff;
font-size: 40rpx;
line-height: 92rpx;
font-weight: 500;
}
color: #333333;
}
.switchbankCard {
text-align: center;
/deep/.uni-input-input {
/* width: 205px; */
height: 120rpx;
// height: 28rpx;
line-height: 120rpx;
font-size: 26rpx;
}
font-family: PingFang SC;
}
font-weight: 500;
}
text-decoration: underline;
color: #268ef8;
.MoneyBox {
margin-top: 23rpx;
flex-wrap: wrap;
}
height: auto;
color: #888888;
.RechargeConfirmationBox {
width: 686rpx;
position: fixed;
margin: 0 auto;
left: 0;
overflow: hidden;
right: 0;
}
top: 400rpx;
width: 618rpx;
.choiceClass {
height: 478rpx;
background: rgba(39, 266, 148, 0.1) !important;
background: #ffffff;
color: #28d79c;
border-radius: 8rpx;
}
margin: 0 auto;
.MoneyBox view {
.RechargeInfo {
width: 220rpx;
width: 520rpx;
height: 120rpx;
height: 100%;
background: #ffffff;
margin: 0 auto;
border-radius: 8rpx;
border: 1rpx solid #eeeeee;
.RechargeInfo1 {
margin-top: 16rpx;
height: 124rpx;
text-align: center;
line-height: 124rpx;
position: relative;
font-size: 36rpx;
box-shadow: 0px 9rpx 23rpx 0rpx rgba(25, 26, 88, 0.07);
font-family: PingFang SC;
margin-right: 2px;
font-weight: bold;
float: left;
color: #000000;
}
text-align: center;
}
.depotMoney .value {
font-size: 45rpx;
.ContenInfo {
font-family: PingFangSC-Semibold, PingFang SC;
text-align: center;
font-weight: 600;
// width: 383rpx;
line-height: 120rpx;
height: 159rpx;
text-align: center;
margin: 0 auto;
}
font-size: 32rpx;
font-family: PingFang SC;
.depotMoney .tips {
font-weight: 500;
// width: 79rpx;
color: #010101;
// height: 33rpx;
// background: linear-gradient(180deg, #FA6400 0%, #FD9D00 100%);
view {
// border-radius: 4rpx;
line-height: 75rpx;
// font-size: 18rpx;
}
// font-weight: 500;
}
// padding: 4rpx;
// text-align: center;
.BtngGoup {
// float: right;
justify-content: space-between;
// position: absolute;
display: flex;
// right: 0rpx;
margin-top: 40rpx;
// line-height: 33rpx;
}
view {
width: 250rpx;
.OtherMoney {
height: 88rpx;
display: flex;
border-radius: 8rpx;
justify-content: flex-start;
text-align: center;
// color: #999999;
line-height: 88rpx;
// font-size: 28rpx;
}
// font-family: PingFangSC-Regular, PingFang SC;
// font-weight: 400;
view:nth-child(1) {
// color: #999999;
background: #ebebeb;
// line-height: 40rpx;
font-size: 36rpx;
width: 686rpx;
font-family: PingFang SC;
height: 100rpx;
font-weight: 500;
background: #f7f6fb;
color: #1cc48b;
border-radius: 10rpx;
}
margin: 0 auto;
line-height: 100rpx;
view:nth-child(2) {
margin-top: 32rpx;
background: #1cc48b;
font-size: 36rpx;
span {
font-family: PingFang SC;
display: inline-block;
font-weight: 500;
font-size: 40rpx;
color: #ffffff;
font-family: PingFang SC;
}
font-weight: bold;
}
color: #000000;
}
padding-left: 26rpx;
}
}
.closePhoneBox {
input {
// width: 35rpx;
height: 100%;
height: 35rpx;
}
position: relative;
}
right: -20rpx;
top: 20rpx;
.OtherMoney view:nth-child(2) {
text-align: right;
// width: 30rpx;
// height: 30rpx;
image {
// background: #F0F0F0;
width: 40rpx;
// border-radius: 50%;
height: 40rpx;
// text-align: center;
position: relative;
// line-height: 30rpx;
}
// margin-top: 7rpx;
}
// margin-left: 5rpx;
}
.doBtnTx {
width: 506rpx;
.paytype {
height: 92rpx;
display: flex;
background: #04ba73;
margin-top: 39rpx;
border-radius: 8rpx;
width: 100%;
color: #ffffff;
height: 40rpx;
justify-content: space-between;
position: absolute;
font-size: 28rpx;
left: 0;
right: 0;
.left {
margin: 0 auto;
font-weight: 500;
bottom: 38rpx;
color: rgba(0, 0, 0, 0.4);
}
}
.PhoneNum,
.right {
.VerifyCode {
color: rgba(0, 0, 0, 0.85);
width: 506rpx;
height: 80rpx;
.van-icon {
line-height: 60rpx;
font-size: 28rpx;
background: #f7f6fb;
color: #161616;
margin: 0 auto;
}
margin-top: 20rpx;
}
}
}
.VerifyCode {
.payType {
display: flex;
height: 98rpx;
justify-content: space-between;
line-height: 98rpx;
}
display: flex;
justify-content: space-between;
.VerifyCode input {
}
width: 200rpx;
}
.payType view:nth-child(1) {
// width: 120rpx;
.CodeMsg {
height: 42rpx;
color: #01bc73;
font-size: 32rpx;
background: #f7f6fb;
font-family: PingFang SC;
font-size: 32rpx;
font-weight: 500;
font-weight: 600;
color: #888888;
line-height: 80rpx;
line-height: 98rpx;
letter-spacing: 3rpx;
}
}
.payType view::nth-child(2) {
.placeholderInput {
width: 225rpx;
color: #aaaaaa;
height: 45rpx;
font-size: 42rpx;
font-size: 32rpx;
font-weight: 500;
font-family: PingFang SC;
letter-spacing: 3rpx;
font-weight: bold;
// padding-left: 50rpx;
color: #333333;
height: 80rpx;
line-height: 45rpx;
}
}
.OtherTitle {
.arrow {
height: 67rpx;
transform: rotate(-45deg);
font-size: 48rpx;
top: -3rpx;
font-family: PingFangSC-Semibold, PingFang SC;
border: solid #999999;
font-weight: 600;
border-width: 0 1rpx 1rpx 0;
color: #010101;
display: inline-block;
line-height: 67rpx;
padding: 8rpx;
position: relative;
padding-top: 60rpx;
}
}
@media (min-height: 1040px) {
.inputOtherM {
.bottomdiv {
display: flex;
position: fixed;
height: 100rpx;
left: 0;
margin-top: 40rpx;
right: 0;
}
bottom: 30rpx;
}
.inputOtherM input {
}
border: none;
outline: none;
.DepositID {
height: 50rpx;
width: 100%;
padding-left: 16rpx;
height: 90rpx;
font-size: 72rpx;
background: #04b871;
font-weight: 600;
border-radius: 45px;
}
line-height: 90rpx;
text-align: center;
.inputOtherM span:nth-child(1) {
font-size: 34rpx;
width: 72rpx;
font-weight: 500;
font-size: 80rpx;
color: #ffffff;
font-family: PingFangSC-Semibold, PingFang SC;
margin: 0 auto;
font-weight: 600;
margin-top: 29rpx;
color: #010101;
text-align: center;
line-height: 100rpx;
}
}
.DepositID span {
.OtherLine {
height: 50rpx;
width: 631rpx;
font-size: 36rpx;
height: 1rpx;
font-family: PingFangSC-Medium, PingFang SC;
background-color: #cccccc;
font-weight: 500;
margin-top: 19rpx;
color: #ffffff;
}
line-height: 92rpx;
}
.depositbox {
margin-top: 31rpx;
.service {
height: 30rpx;
margin-top: 118rpx;
line-height: 30rpx;
width: 100%;
}
height: 40rpx;
font-size: 28rpx;
.depositImg {
font-weight: 400;
width: 24rpx;
color: rgba(0, 0, 0, 0.5);
height: 24rpx;
line-height: 40rpx;
vertical-align: middle;
text-align: center;
margin-right: 8rpx;
}
position: relative;
top: -2rpx;
.switchbankCard {
}
text-align: center;
/* width: 205px; */
.Recharge_ {
// height: 28rpx;
height: 40rpx;
font-size: 26rpx;
font-size: 28rpx;
font-family: PingFang SC;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 500;
font-weight: 400;
text-decoration: underline;
color: #333333;
color: #268ef8;
line-height: 40rpx;
margin-top: 23rpx;
margin-top: 40rpx;
}
}
.RechargeConfirmationBox {
.Recharge_ span:nth-child(2) {
position: fixed;
font-size: 28rpx;
left: 0;
font-family: PingFangSC-Semibold, PingFang SC;
right: 0;
font-weight: 600;
top: 400rpx;
color: #fa6400;
width: 618rpx;
}
height: 478rpx;
background: #ffffff;
.placeholderinputOtherM {
border-radius: 8rpx;
height: 50rpx;
margin: 0 auto;
// font-family: PingFangSC-Semibold, PingFang SC;
// font-weight: 600;
.RechargeInfo {
// color: #010101;
width: 520rpx;
line-height: 50rpx;
height: 100%;
width: 323rpx;
margin: 0 auto;
font-size: 28rpx;
font-family: PingFang SC;
.RechargeInfo1 {
font-weight: 500;
height: 124rpx;
color: #888888;
line-height: 124rpx;
}
font-size: 36rpx;
font-family: PingFang SC;
// 异常处理
font-weight: bold;
.RechargeException {
color: #000000;
padding-top: 20rpx;
text-align: center;
}
}
.weui-label {
.ContenInfo {
// width: 118rpx;
text-align: center;
height: 42rpx;
// width: 383rpx;
font-size: 30rpx;
height: 159rpx;
font-family: PingFangSC-Medium, PingFang SC;
margin: 0 auto;
font-weight: 500;
font-size: 32rpx;
color: #3d3d3d;
font-family: PingFang SC;
line-height: 42rpx;
font-weight: 500;
font-weight: bold;
color: #010101;
margin-left: 30rpx;
}
view {
line-height: 75rpx;
.tiptext {
}
height: 1.06rem;
}
font-size: 0.75rem;
font-family: PingFangSC-Regular, PingFang SC;
.BtngGoup {
font-weight: 400;
justify-content: space-between;
color: #03bc73;
display: flex;
line-height: 1.06rem;
margin-top: 40rpx;
margin-bottom: 0.625rem;
text-align: center;
view {
}
width: 250rpx;
height: 88rpx;
.bottomDetail {
border-radius: 8rpx;
width: 628rpx;
text-align: center;
height: 88rpx;
line-height: 88rpx;
color: white;
}
// position: fixed;
// left: 0;
view:nth-child(1) {
// right: 0;
background: #ebebeb;
margin: 0 auto;
font-size: 36rpx;
background-color: #03bc73;
font-family: PingFang SC;
text-align: center;
font-weight: 500;
line-height: 88rpx;
color: #1cc48b;
}
margin-top: 84rpx;
}
view:nth-child(2) {
background: #1cc48b;
.RechargeException input::placeholder {
font-size: 36rpx;
color: #a1a4a8;
font-family: PingFang SC;
}
font-weight: 500;
color: #ffffff;
.RechargeException .weui-cell {
}
height: 4rem;
}
padding: 0 !important;
}
}
}
.idCardPhoto1,
.closePhoneBox {
.idCardPhoto2 {
// width: 35rpx;
width: 388rpx;
height: 35rpx;
height: 224rpx;
position: relative;
margin: 0 auto;
right: -20rpx;
margin-top: 20rpx;
top: 20rpx;
}
text-align: right;
.idCardPhoto1 image,
image {
.idCardPhoto2 image {
width: 40rpx;
width: 100%;
height: 40rpx;
height: 100%;
position: relative;
position: relative;
}
}
}
.weui-toptips_success {
.doBtnTx {
background-color: #03bc73 !important;
width: 506rpx;
}
height: 92rpx;
background: #04ba73;
.positionCam {
border-radius: 8rpx;
height: 32rpx;
color: #ffffff;
font-size: 22rpx;
font-family: PingFang-SC-Medium, PingFang-SC;
position: absolute;
font-weight: 500;
left: 0;
color: #6d7278;
right: 0;
line-height: 32rpx;
margin: 0 auto;
text-align: center;
bottom: 38rpx;
position: relative;
}
top: -29px;
}
.PhoneNum,
.VerifyCode {
.BgCoverBox {
width: 506rpx;
width: 100vw;
height: 80rpx;
height: 100vh;
line-height: 60rpx;
position: fixed;
background: #f7f6fb;
left: 0;
margin: 0 auto;
top: 0;
margin-top: 20rpx;
z-index: 10;
}
background: #000000;
opacity: 0.5;
.VerifyCode {
}
display: flex;
justify-content: space-between;
.hideListCover {
}
max-height: 50vh;
overflow-y: auto;
.VerifyCode input {
padding: 0;
width: 200rpx;
}
}
.bottomDiv {
.CodeMsg {
font-weight: bold;
color: #01bc73;
height: 50px;
background: #f7f6fb;
line-height: 50px;
font-size: 32rpx;
border-bottom: 1px solid #e6e6e6;
font-weight: 600;
}
line-height: 80rpx;
letter-spacing: 3rpx;
}
.placeholderInput {
color: #aaaaaa;
font-size: 42rpx;
font-weight: 500;
letter-spacing: 3rpx;
// padding-left: 50rpx;
height: 80rpx;
}
.OtherTitle {
height: 67rpx;
font-size: 48rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #010101;
line-height: 67rpx;
padding-top: 60rpx;
}
.inputOtherM {
display: flex;
height: 100rpx;
margin-top: 40rpx;
}
.inputOtherM input {
border: none;
outline: none;
height: 50rpx;
padding-left: 16rpx;
font-size: 72rpx;
font-weight: 600;
}
.inputOtherM span:nth-child(1) {
width: 72rpx;
font-size: 80rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #010101;
line-height: 100rpx;
}
.OtherLine {
width: 631rpx;
height: 1rpx;
background-color: #cccccc;
margin-top: 19rpx;
}
.depositbox {
margin-top: 40rpx;
height: 30rpx;
line-height: 30rpx;
}
.depositImg {
width: 24rpx;
height: 24rpx;
vertical-align: middle;
margin-right: 8rpx;
position: relative;
top: -2rpx;
}
.Recharge_ {
height: 40rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
line-height: 40rpx;
margin-top: 40rpx;
}
.Recharge_ span:nth-child(2) {
font-size: 28rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #fa6400;
}
.placeholderinputOtherM {
height: 120rpx;
line-height: 120rpx;
font-size: 32rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(0, 0, 0, 0.25);
}
/deep/uni-input {
line-height: 120rpx;
}
// 异常处理
.RechargeException {
padding-top: 20rpx;
}
.weui-label {
// width: 118rpx;
height: 42rpx;
font-size: 30rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #3d3d3d;
line-height: 42rpx;
font-weight: bold;
margin-left: 30rpx;
}
.tiptext {
height: 1.06rem;
font-size: 0.75rem;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #03bc73;
line-height: 1.06rem;
margin-bottom: 0.625rem;
text-align: center;
}
.bottomDetail {
width: 628rpx;
height: 88rpx;
color: white;
// position: fixed;
// left: 0;
// right: 0;
margin: 0 auto;
background-color: #03bc73;
text-align: center;
line-height: 88rpx;
margin-top: 84rpx;
}
.RechargeException input::placeholder {
color: #a1a4a8;
}
.RechargeException .weui-cell {
height: 4rem;
padding: 0 !important;
}
.idCardPhoto1,
.idCardPhoto2 {
width: 388rpx;
height: 224rpx;
margin: 0 auto;
margin-top: 20rpx;
}
.idCardPhoto1 image,
.idCardPhoto2 image {
width: 100%;
height: 100%;
position: relative;
}
.weui-toptips_success {
background-color: #03bc73 !important;
}
.positionCam {
height: 32rpx;
font-size: 22rpx;
font-family: PingFang-SC-Medium, PingFang-SC;
font-weight: 500;
color: #6d7278;
line-height: 32rpx;
text-align: center;
position: relative;
top: -29px;
}
.BgCoverBox {
width: 100vw;
height: 100vh;
position: fixed;
left: 0;
top: 0;
z-index: 10;
background: #000000;
opacity: 0.5;
}
.hideListCover {
max-height: 50vh;
overflow-y: auto;
padding: 0;
}
.bottomDiv {
font-weight: bold;
height: 50px;
line-height: 50px;
border-bottom: 1px solid #e6e6e6;
}
</
style
>
</
style
>
src/pages/commonProblem/commonProblem.vue
0 → 100644
View file @
db0ea732
<
template
>
<view
class=
"commonProblem"
>
<view
class=
"itemWrapper"
>
<view
class=
"title"
>
使用规则
</view>
<view
class=
"content"
>
<view
@
click=
"toDetail('使用规则', 1, 1)"
>
余额储存在哪里?
</view>
<view
@
click=
"toDetail('使用规则',1, 2)"
>
为什么我的余额充足却消费失败?
</view>
</view>
</view>
<view
class=
"itemWrapper"
>
<view
class=
"title"
>
充值问题
</view>
<view
class=
"content"
>
<view
@
click=
"toDetail('充值问题',2, 1)"
>
充值失败后我的钱去哪了?
</view>
<view
@
click=
"toDetail('充值问题',2, 2)"
>
充值的上限是多少?
</view>
</view>
</view>
<view
class=
"itemWrapper"
>
<view
class=
"title"
>
提现问题
</view>
<view
class=
"content"
>
<view
@
click=
"toDetail('提现问题',3, 1)"
>
充值金额是否可以提现?
</view>
<view
@
click=
"toDetail('提现问题',3, 2)"
>
提现申请成功后,多久可以到账?
</view>
<view
@
click=
"toDetail('提现问题',3, 3)"
>
为什么线上提现会失败?
</view>
</view>
</view>
<view
class=
"itemWrapper"
>
<view
class=
"title"
>
其他问题
</view>
<view
class=
"content"
>
<view
@
click=
"toDetail('其他问题',4, 1)"
>
为什么电子校园卡激活收到银行的短信?
</view>
<view
@
click=
"toDetail('其他问题',4, 2)"
>
电子校园卡内的余额为什么会调整更新?
</view>
</view>
</view>
</view>
</
template
>
<
script
>
import
{
Dialog
,
Toast
}
from
"
vant
"
;
import
keyboardPackage
from
"
@/components/keyboard-package/keyboard-package.vue
"
;
import
cityData
from
"
@/common/js/city.js
"
;
var
gHost
=
"
https://
"
+
window
.
location
.
host
;
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
gHost
=
"
https://fpdev.xiaopay.net
"
;
// gHost = "/api";
}
export
default
{
components
:
{
},
name
:
"
commonProblem
"
,
data
()
{
return
{
}
},
onLoad
:
function
(
options
)
{
},
created
:
function
()
{},
mounted
:
function
()
{},
methods
:
{
// 跳转问题详情界面
toDetail
(
title
,
parent
,
sub
){
uni
.
navigateTo
({
url
:
`../problemDetail/problemDetail?title=
${
title
}
&parent=
${
parent
}
&sub=
${
sub
}
`
})
}
},
};
</
script
>
<
style
lang=
"scss"
>
html
,
body
,
page
{
width
:
750rpx
;
background
:
linear-gradient
(
180deg
,
#ffffff
0%
,
#fafafa
100%
);
}
.commonProblem
{
width
:
100%
;
height
:
100%
;
min-height
:
100vh
;
display
:
flex
;
flex-direction
:
column
;
.itemWrapper
{
width
:
calc
(
100%
-
64rpx
);
margin
:
30rpx
32rpx
0
;
padding-bottom
:
30rpx
;
border-bottom
:
1rpx
solid
#CCCCCC
;
display
:
flex
;
justify-content
:
space-between
;
.title
{
width
:
180rpx
;
font-size
:
30rpx
;
align-self
:
center
;
font-weight
:
600
;
color
:
#333333
;
}
.content
{
width
:
calc
(
100%
-
200rpx
);
display
:
flex
;
flex-direction
:
column
;
font-size
:
28rpx
;
color
:
#888888
;
line-height
:
50rpx
;
margin-left
:
20rpx
;
}
}
.itemWrapper
:first-child
{
margin-top
:
50rpx
;
}
}
</
style
>
src/pages/problemDetail/problemDetail.vue
0 → 100644
View file @
db0ea732
<
template
>
<view
class=
"problemDetail"
>
<van-collapse
v-model=
"activeName"
accordion
>
<van-collapse-item
title=
"余额储存在哪里?"
v-if=
"parent == 1"
name=
"1-1"
>
<span>
为了保障用户资金安全、存储合规,用户充值金额均存在
</span><span
class=
"red"
>
用户以本人名义
</span><span>
开立的银行电子账户(即电子校园卡)中。
</span>
</van-collapse-item>
<van-collapse-item
title=
"为什么我的余额充足却消费失败?"
v-if=
"parent == 1"
name=
"1-2"
>
<p>
以下情况可能导致支付失败:
</p>
<p>
1.单笔支付超100
</p>
<p>
2.可能因用户个人原因(非正常操作、违规操作等),导致账户被开户银行进行司法冻结。具体可咨询开户银行客户热线
</p>
<p>
工商银行:95588
</p>
<p>
交通银行:95559
</p>
<p>
平安银行:95511
</p>
<p>
渤海银行:95541
</p>
</van-collapse-item>
<van-collapse-item
title=
"充值失败后我的钱去哪了?"
v-if=
"parent == 2"
name=
"2-1"
>
充值失败后,充值金额将在7个工作日内退回用户开户时指定的银行卡账户中。
</van-collapse-item>
<van-collapse-item
title=
"充值的上限是多少?"
v-if=
"parent == 2"
name=
"2-2"
>
根据人民银行关于II/III类户使用相关法规限制,III类户可用金额上限2000,II类户可用金额上限10000。
</van-collapse-item>
<van-collapse-item
title=
"充值金额是否可以提现?"
v-if=
"parent == 3"
name=
"3-1"
>
充值金额可随时发起提现。
</van-collapse-item>
<van-collapse-item
title=
"提现申请成功后,多久可以到账?"
v-if=
"parent == 3"
name=
"3-2"
>
提现到账时间受到人民银行相关支付系统稳定性影响,无法准确预估。一般提现到账时间为2个小时。
</van-collapse-item>
<van-collapse-item
title=
"为什么线上提现会失败?"
v-if=
"parent == 3"
name=
"3-3"
>
<p>
提现失败的原因可能有:
</p>
<p>
1.超出当日提现次数
</p>
<p>
2.由于用户个人问题导致的账户出款功能受限制等
</p>
<p>
具体可咨询客服400-9656-210
</p>
</van-collapse-item>
<van-collapse-item
title=
"为什么电子校园卡激活收到银行的短信?"
v-if=
"parent == 4"
name=
"4-1"
>
电子校园卡账户由银行II/III账户支持。
</van-collapse-item>
<van-collapse-item
title=
"电子校园卡内的余额为什么会调整更新?"
v-if=
"parent == 4"
name=
"4-2"
>
账户中的实际金额以银行II/III类户账户中的余额为准,当您在银行进行提现等操作时,真实余额将会同步更新。如对明细有疑问,请致电银行客户热线
</van-collapse-item>
</van-collapse>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
activeName
:
'
1-1
'
,
parent
:
1
,
sub
:
1
}
},
onLoad
:
function
(
options
)
{
const
{
title
,
parent
,
sub
}
=
options
;
// 设置标题
uni
.
setNavigationBarTitle
({
title
:
title
})
this
.
parent
=
parent
;
this
.
sub
=
sub
;
this
.
activeName
=
parent
+
"
-
"
+
sub
;
},
methods
:
{
change
(
e
)
{
console
.
log
(
e
);
}
}
}
</
script
>
<
style
lang=
"scss"
>
.problemDetail
{
width
:
100%
;
height
:
100%
;
min-height
:
calc
(
100vh
-
88rpx
);
.content
{
padding
:
30rpx
;
.red
{
color
:
red
;
}
}
.text
{
font-size
:
28rpx
;
color
:
#666666
;
line-height
:
40rpx
;
}
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment