success.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <view class="regbox flexdc">
  3. <view class="sucbox flexdc flex1">
  4. <view class="flex1">
  5. <image :src="sucimg" class="titimg"></image>
  6. <view class="tit mb15">支付成功</view>
  7. <view class="txt">您的物业缴费已成功</view>
  8. <view class="txt">祝您生活愉快</view>
  9. </view>
  10. <!-- 地址 放学 课堂知识(动态) 成绩分析 聊天 -->
  11. <!-- 图片拖动 成功直接跳列表页-->
  12. <view class="txc home" @click="getLogin">返回登录</view>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. // import { getToken } from '@/utils/auth'
  18. export default {
  19. data(){
  20. return{
  21. sucimg:require("@/work/static/manage/success.png"),
  22. tokenflag:true,
  23. }
  24. },
  25. methods:{
  26. getLogin(){
  27. this.$tab.reLaunch(`/pages/login`)
  28. }
  29. },
  30. onLoad: function() {
  31. }
  32. }
  33. </script>
  34. <style>
  35. page{background: #F3F3F0;}
  36. </style>
  37. <style lang="scss" scoped>
  38. .regbox{padding: 20rpx 24rpx 28rpx;min-height: 100vh;box-sizing: border-box;
  39. view{text-align: center;}
  40. .sucbox{border-radius: 20rpx;padding-top: 208rpx;padding-bottom: 264rpx;
  41. background: #FFFFFF;
  42. }
  43. .titimg{width: 252rpx;height: 236rpx;margin: 0 auto 40rpx;}
  44. .tit{font-size: 26rpx;color: #272727;font-weight: bold;}
  45. .txt{font-weight: 500;font-size: 24rpx;color: #666666;line-height: 36rpx;}
  46. .home{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 20rpx;}
  47. }
  48. </style>