1.修改支付提示

yj-dev
杨杰 3 years ago
parent 2bf301f464
commit d87aedc99e
  1. 4
      components/sanshui-modal/index.vue
  2. 8
      components/sanshui-payment-password/index.vue
  3. 2
      pages.json
  4. 22
      pages/order/confirmation.vue
  5. 8
      pages/pay/payment/payment.vue
  6. 45
      pages/tabBar/user/user.vue
  7. 14
      pages/user/bindingCard/bindingCard.vue
  8. 2
      pages/user/unionCard/unionCard.vue

@ -94,8 +94,8 @@
box-sizing: border-box;
opacity: 0;
position: fixed;
top: 44px;
bottom: 50px;
top: 0px;
bottom: 0px;
left: 0;
width: 100%;
pointer-events: none;

@ -331,11 +331,11 @@
}
},
checkSafePwd(type) {
uni.showLoading({
title: '校验安全密码中'
});
// uni.showLoading({
// title: ''
// });
setTimeout(() => {//ajaxemit
uni.hideLoading();
// uni.hideLoading();
let response = {//
code: 1,
msg: '密码正确'

@ -497,7 +497,7 @@
"path" : "pages/user/bindingCard/bindingCard",
"style" :
{
"navigationBarTitleText": "定卡号",
"navigationBarTitleText": "绑定定卡号",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white",

@ -118,7 +118,7 @@
</view>
<view class="width100 height60"></view>
<view class="footer" v-if="isture">
<view class="footer">
<view class="settlement">
<view class="sum">实付:<view class="money" v-if="couponList.payType == 1">{{paytheprice}}</view>
<view class="money aliitem" v-else>
@ -154,7 +154,7 @@
</view>
</view>
</wybPopup>
<ssPaymentPassword ref="paymentPassword" :mode="1" @submit="submitHandle" />
<ssPaymentPassword ref="paymentPassword" :mode="1" @submit="submitHandle"/>
</view>
</template>
@ -202,7 +202,6 @@
user: '',
paytype: '',
PaymentPassword: '',
isture: true,
orderId: '',
jumpType: '',
tongCardPrice: 0,
@ -498,9 +497,14 @@
})
return;
}
that.isture = false;
that.$refs.paymentPassword.modalFun('show');
} else if (that.paytype == 'gonghuika') {
if (!that.user.isSetPayPwd) {
uni.navigateTo({
url: '../login/updatePas/updatePas'
})
return;
}
if (!that.user.isSetHltCard) {
uni.showToast({
icon: 'none',
@ -516,7 +520,6 @@
});
return;
}
that.isture = false;
that.$refs.paymentPassword.modalFun('show');
} else {
uni.showToast({
@ -528,7 +531,14 @@
},
submitHandle(e) {
this.PaymentPassword = e.value;
this.isture = true;
if(this.PaymentPassword == ''){
uni.showToast({
title: '请勿手动关闭弹窗',
icon: 'none',
duration: 2000
})
return;
}
uni.showLoading({
title: '支付中...'
})

@ -103,7 +103,6 @@
this.pryType = e.paytype;
this.orderNo = e.orderId;
this.couponId = e.couponId;
this.user = app.globalData.userInfo;
this.jumpType = e.typeaout;
if (this.pryType == 1) {
this.paytype = 'wxpay';
@ -116,6 +115,7 @@
},
onShow() {
let that = this;
that.user = app.globalData.userInfo;
uni.getStorage({
key: 'balanceCardNo',
success(e) {
@ -222,6 +222,12 @@
}
that.$refs.paymentPassword.modalFun('show');
} else if (that.paytype == 'gonghuika') {
if (!that.user.isSetPayPwd) {
uni.navigateTo({
url: '../../login/updatePas/updatePas'
})
return;
}
if (!that.user.isSetHltCard) {
uni.showToast({
icon: 'none',

@ -209,24 +209,7 @@
// }
],
//
czList: [
// {
// url: '../../user/bindingCardList/bindingCardList',
// text: '',
// img: '../../../static/img/pas.png'
// },
{
url: '../../user/unionCard/unionCard',
text: '工会卡',
img: '../../../static/img/ghk.png'
},
{
url: '../../login/updatePas/resetPas',
text: '修改密码',
img: '../../../static/img/pas.png'
},
],
czList: '',
}
},
//page.json "enablePullDownRefresh": true
@ -261,6 +244,32 @@
if (app.globalData.userInfo) {
this.findUser();
}
if (!app.globalData.userInfo.isSetPayPwd) {
this.czList = [{
url: '../../user/unionCard/unionCard',
text: '工会卡',
img: '../../../static/img/ghk.png'
},
{
url: '../../login/updatePas/updatePas',
text: '设置密码',
img: '../../../static/img/pas.png'
},
]
return;
}
this.czList = [{
url: '../../user/unionCard/unionCard',
text: '工会卡',
img: '../../../static/img/ghk.png'
},
{
url: '../../login/updatePas/resetPas',
text: '修改密码',
img: '../../../static/img/pas.png'
},
]
},
methods: {
findUser() {

@ -109,8 +109,8 @@
getHuiLianTongCardByCardNo(params).then(res => {
uni.hideLoading()
if (res.return_code == '000000') {
this.phoneNumber = res.return_data.userMobile;
// this.phoneNumber = 15583658692;
// this.phoneNumber = res.return_data.userMobile;
this.phoneNumber = 15583658692;
this.disStute = true
} else {
uni.showToast({
@ -153,6 +153,16 @@
key: "balanceCardNo",
data: this.cardNoNumber
})
app.globalData.userInfo = res.return_data
.object
.highUser;
app.globalData.token = res.return_data.uniqueCode;
uni.setStorage({
key: "user",
data: res.return_data
.object
.highUser
})
uni.showToast({
title: '绑定成功',
icon: "success",

@ -234,7 +234,7 @@
this.cardConsumeList = [];
uni.hideLoading();
uni.showToast({
title:'请求超时稍后重试!',
title:res.return_msg,
icon:'none',
duration: 2000
})

Loading…
Cancel
Save