|
|
|
@ -701,50 +701,128 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload'], funct
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$scope.myInterval = 2000;
|
|
|
|
|
$scope.first = true;
|
|
|
|
|
$scope.pcfirst = true;
|
|
|
|
|
$scope.bankfirst = true;
|
|
|
|
|
$scope.appfirst = true;
|
|
|
|
|
$scope.active = 0;
|
|
|
|
|
$scope.show = false;
|
|
|
|
|
var slides = $scope.slides = [];
|
|
|
|
|
var addSlide = function () {
|
|
|
|
|
slides.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/hf_pay_step1.png',
|
|
|
|
|
$scope.pcshow = false;
|
|
|
|
|
$scope.appshow = false;
|
|
|
|
|
$scope.bankshow = false;
|
|
|
|
|
var slidesPc = $scope.slidesPc = [];
|
|
|
|
|
var slidesPcBank = $scope.slidesBank = [];
|
|
|
|
|
var slidesApp = $scope.slidesApp = [];
|
|
|
|
|
var addSlidePc = function () {
|
|
|
|
|
slidesPc.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/pc_hf_pay_step1.png',
|
|
|
|
|
text: '第一次打开支付链接进行下单,第一步用微信扫码页面弹出的二维码,确认您的身份',
|
|
|
|
|
id:0
|
|
|
|
|
});
|
|
|
|
|
slides.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/hf_pay_step2.png',
|
|
|
|
|
slidesPc.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/pc_hf_pay_step2.png',
|
|
|
|
|
text: '下一步,填写订单信息。注意订单金额货币单位是澳元(AUD)。请认真填写商品名称,否则可能导致交易不成功。填写完成,最后提交订单。',
|
|
|
|
|
id:1
|
|
|
|
|
});
|
|
|
|
|
slides.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/hf_pay_step3.png',
|
|
|
|
|
text: '跳转到汇付支付页面,选择您的支付方式,同时填写姓名、身份证、银行卡号、手机号信息,完成身份验证,最后点击“确认支付”',
|
|
|
|
|
slidesPc.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/pc_hf_pay_step3.png',
|
|
|
|
|
text: '页面显示支付二维码,使用相应的支付app进行扫码支付。如订单有误,请点击"返回上一步"修改订单。',
|
|
|
|
|
id:2
|
|
|
|
|
});
|
|
|
|
|
slides.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/hf_pay_step4.png',
|
|
|
|
|
text: '页面弹出支付二维码,使用相应的支付app进行扫码支付。',
|
|
|
|
|
slidesPc.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/hf_pay_end.png',
|
|
|
|
|
text: '完成支付,跳转到支付成功页面。',
|
|
|
|
|
id:3
|
|
|
|
|
});
|
|
|
|
|
slides.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/hf_pay_step5.png',
|
|
|
|
|
};
|
|
|
|
|
var addSlidePcBank = function () {
|
|
|
|
|
slidesPcBank.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/pc_bank_hf_pay_step1.png',
|
|
|
|
|
text: '第一次打开支付链接进行下单,第一步用微信扫码页面弹出的二维码,确认您的身份',
|
|
|
|
|
id:0
|
|
|
|
|
});
|
|
|
|
|
slidesPcBank.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/pc_bank_hf_pay_step2.png',
|
|
|
|
|
text: '下一步,填写订单信息。注意订单金额货币单位是澳元(AUD)。请认真填写商品名称,否则可能导致交易不成功。填写完成,最后提交订单。',
|
|
|
|
|
id:1
|
|
|
|
|
});
|
|
|
|
|
slidesPcBank.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/pc_bank_hf_pay_step3.png',
|
|
|
|
|
text: '提交订单后,页面跳转到对应银行,请填写相关信息完成支付。',
|
|
|
|
|
id:2
|
|
|
|
|
});
|
|
|
|
|
slidesPcBank.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/hf_pay_end.png',
|
|
|
|
|
text: '完成支付,跳转到支付成功页面。',
|
|
|
|
|
id:4
|
|
|
|
|
id:3
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
var addSlideApp = function () {
|
|
|
|
|
slidesApp.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/app_bank_hf_pay_step1.png',
|
|
|
|
|
text: '使用微信客户端,填写订单信息。注意订单金额货币单位是澳元(AUD)。请认真填写商品名称,否则可能导致交易不成功。填写完成,最后提交订单。',
|
|
|
|
|
id:0
|
|
|
|
|
});
|
|
|
|
|
slidesApp.push({
|
|
|
|
|
image: '/static/images/hfpaylink_intro/app_bank_hf_pay_step2.png',
|
|
|
|
|
text: '提交订单后,页面跳转到汇付天下支付页面,请填写相关信息完成支付。',
|
|
|
|
|
id:1
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
$scope.toFirst = function () {
|
|
|
|
|
if(!$scope.first) {
|
|
|
|
|
$scope.toPcFirst = function () {
|
|
|
|
|
$scope.reset();
|
|
|
|
|
if(!$scope.pcfirst) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
addSlide();
|
|
|
|
|
$scope.first = false;
|
|
|
|
|
addSlidePc();
|
|
|
|
|
$scope.pcfirst = false;
|
|
|
|
|
};
|
|
|
|
|
$scope.toShow = function () {
|
|
|
|
|
$scope.show = true;
|
|
|
|
|
$scope.toBankFirst = function () {
|
|
|
|
|
$scope.reset();
|
|
|
|
|
if(!$scope.bankfirst) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
addSlidePcBank();
|
|
|
|
|
$scope.bankfirst = false;
|
|
|
|
|
};
|
|
|
|
|
$scope.toAppFirst = function () {
|
|
|
|
|
$scope.reset();
|
|
|
|
|
if(!$scope.appfirst) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
addSlideApp();
|
|
|
|
|
$scope.appfirst = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$scope.toPcShow = function () {
|
|
|
|
|
$scope.pcshow = true;
|
|
|
|
|
};
|
|
|
|
|
$scope.toAppShow = function () {
|
|
|
|
|
$scope.appshow = true;
|
|
|
|
|
};
|
|
|
|
|
$scope.toBankShow = function () {
|
|
|
|
|
$scope.bankshow = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$scope.toHide = function () {
|
|
|
|
|
$scope.show = false
|
|
|
|
|
}
|
|
|
|
|
$scope.pcshow = false;
|
|
|
|
|
$scope.bankshow = false;
|
|
|
|
|
$scope.appshow = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$scope.reset = function () {
|
|
|
|
|
slidesPc = $scope.slidesPc = [];
|
|
|
|
|
slidesPcBank = $scope.slidesBank = [];
|
|
|
|
|
slidesApp = $scope.slidesApp = [];
|
|
|
|
|
$scope.myInterval = 2000;
|
|
|
|
|
$scope.pcfirst = true;
|
|
|
|
|
$scope.bankfirst = true;
|
|
|
|
|
$scope.appfirst = true;
|
|
|
|
|
$scope.active = 0;
|
|
|
|
|
$scope.pcshow = false;
|
|
|
|
|
$scope.appshow = false;
|
|
|
|
|
$scope.bankshow = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}]);
|
|
|
|
|
app.controller('clientPaymentMaterialCtrl', ['$scope', '$http', 'partner', function ($scope, $http, partner) {
|
|
|
|
|