repair_success.js 702 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. var app = getApp()
  2. Page({
  3. data: {
  4. img:app.globalData.imgUrl
  5. },
  6. onLoad: function (options) {
  7. },
  8. home:function(){
  9. if(app.globalData.compatible){
  10. wx.reLaunch({
  11. url: '/pages/compatible/index/index',
  12. })
  13. }else{
  14. wx.reLaunch({
  15. url: '/pages/index/index',
  16. })
  17. }
  18. },
  19. phone: function (e) {
  20. wx.makePhoneCall({
  21. phoneNumber: wx.getStorageSync('home').customer_service_phone,
  22. })
  23. },
  24. onReady: function () {
  25. },
  26. onShow: function () {
  27. },
  28. onHide: function () {
  29. },
  30. onUnload: function () {
  31. },
  32. onPullDownRefresh: function () {
  33. },
  34. onReachBottom: function () {
  35. },
  36. onShareAppMessage: function () {
  37. }
  38. })