sendResult.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <view class="default_page adffcac" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='发送结果' bgColor="transparent"></cus-header>
  4. <image :src="imgBase+'pay_success.png'" v-if="result==0"></image>
  5. <image :src="imgBase+'fail_img.png'" v-else></image>
  6. <view class="title">发送{{result==0?'成功':'失败'}}</view>
  7. <view class="tip">可以在我的报告“我发送的”查看</view>
  8. <view class="btn" @click="returnHome">返回首页</view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data(){
  14. return {
  15. result:'',
  16. }
  17. },
  18. onLoad(options) {
  19. this.result = options.result;
  20. },
  21. methods:{
  22. returnHome(){
  23. uni.reLaunch({
  24. url:'/pages/home'
  25. })
  26. }
  27. }
  28. }
  29. </script>
  30. <style scoped lang="scss">
  31. .default_page{
  32. padding: 0 120rpx;
  33. image{
  34. width: 226rpx;
  35. height: 142rpx;
  36. margin-top: 196rpx;
  37. }
  38. .title{
  39. font-family: PingFangSC, PingFang SC;
  40. font-weight: 600;
  41. font-size: 40rpx;
  42. color: #002846;
  43. line-height: 51rpx;
  44. margin-top: 42rpx;
  45. }
  46. .tip{
  47. font-family: PingFangSC, PingFang SC;
  48. font-weight: 400;
  49. font-size: 28rpx;
  50. color: #95A5B1;
  51. line-height: 51rpx;
  52. margin-top: 8rpx;
  53. }
  54. .btn{
  55. width: 100%;
  56. height: 88rpx;
  57. border: 1rpx solid #33A7A7;
  58. background: linear-gradient( 90deg, #33A7A7 0%, #64BBBB 100%);;
  59. border-radius: 44rpx;
  60. font-family: PingFang-SC, PingFang-SC;
  61. font-weight: bold;
  62. font-size: 32rpx;
  63. color: #FFFFFF;
  64. line-height: 88rpx;
  65. text-align: center;
  66. letter-spacing: 2rpx;
  67. margin-top: 197rpx;
  68. &.back{
  69. background: #FFFFFF;
  70. border: 1rpx solid #E0E4E7;
  71. color: #667E90;
  72. margin-top: 40rpx;
  73. }
  74. }
  75. }
  76. </style>