소스 검색

[支付成功图标修改][修改]:支付成功图标的修改

tags/2.2.4
meo 6 년 전
부모
커밋
8c5868a863
2개의 변경된 파일11개의 추가작업 그리고 5개의 파일을 삭제
  1. +5
    -2
      pages/coupon/detail/index.js
  2. +6
    -3
      pages/order/detail/index.js

+ 5
- 2
pages/coupon/detail/index.js 파일 보기

@@ -196,8 +196,11 @@ Page({
if (res.errMsg == "requestPayment:ok") {
wx.showToast({
title: "购买成功",
duration: 2500,
image: "./../../../assets/img/success.png",
duration: 2000,
mask: false
});
/**
* 用户支付成功以后跳转到券包列表
*/
@@ -217,7 +220,7 @@ Page({
wx.showToast({
title: "支付失败",
image: "./../../../assets/img/fail.png",
duration: 1500,
duration: 2000,
mask: false
});
}


+ 6
- 3
pages/order/detail/index.js 파일 보기

@@ -103,7 +103,9 @@ Page({
if (res.errMsg == "requestPayment:ok") {
wx.showToast({
title: "购买成功",
duration: 2500
duration: 2000,
image: "./../../../assets/img/success.png",
mask:false
});
}
},
@@ -119,7 +121,7 @@ Page({
wx.showToast({
title: "支付失败",
image: "./../../../assets/img/fail.png",
duration: 1500,
duration: 2000,
mask: false
});
}
@@ -134,7 +136,8 @@ Page({
.then(res => {
wx.showToast({
title: "支付成功",
duration: 3000
duration: 2000,
image: "./../../../assets/img/success.png",
});
});
}


불러오는 중...
취소
저장