empty.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <view style="background-color: #fff;min-height: 100vh;">
  3. <view class="default" >
  4. <image src="/static/empty.png" mode="heightFix"></image>
  5. <view style="font-size: 26rpx;">
  6. <text style="color: #909090;">{{msg}}</text>
  7. </view>
  8. <navigator :url="url" class="cu-btn round bg-btn margin-top-50" style="padding: 35rpx 65rpx;margin-left: 8rpx;">
  9. {{btnName}}
  10. </navigator>
  11. </view>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. data() {
  17. return {
  18. msg:"您还未完成注册认证",
  19. btnName:"去注册认证",
  20. url:"../register/register"
  21. }
  22. },
  23. onLoad(options) {
  24. if(options.type=='2'){
  25. //导航栏标题
  26. uni.setNavigationBarTitle({
  27. title:"房屋认证"
  28. })
  29. //去认证
  30. this.msg="您还未完成房屋认证"
  31. this.btnName="去认证"
  32. this.url="../auth/auth"
  33. }
  34. },
  35. methods: {
  36. }
  37. }
  38. </script>
  39. <style lang="scss">
  40. .default { text-align: center; position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); } .default text{ color: #AAAAAA; } .default image { height: 280rpx; display: inline-block; }
  41. </style>