pay_success.vue 914 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <view class="success">
  3. <image class="success-image" src="../../static/image/succes.png" mode="widthFix"></image>
  4. <view class="text">支付成功</view>
  5. <view class="buttom" @click="backHome">返回首页</view>
  6. </view>
  7. </template>
  8. <script>
  9. export default{
  10. methods:{
  11. backHome:function(){
  12. uni.reLaunch({
  13. url:'../index/index'
  14. })
  15. }
  16. }
  17. }
  18. </script>
  19. <style lang="scss">
  20. /* pages/pay_success/pay_success.wxss */
  21. .success {
  22. text-align: center;
  23. }
  24. .success-image {
  25. height: 230rpx;
  26. width: 230rpx;
  27. margin-top: 25%;
  28. }
  29. .text {
  30. font-size: 32rpx;
  31. margin-top: 30rpx;
  32. color:$mine-background-color;
  33. margin-bottom: 50rpx;
  34. }
  35. .buttom {
  36. height: 80rpx;
  37. width: 65%;
  38. line-height: 80rpx;
  39. margin: 0 auto;
  40. color: #ffffff;
  41. font-weight: 500;
  42. border-radius: 12rpx;
  43. background-color: $mine-background-color;
  44. }
  45. </style>