economic.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <div class="economic">
  3. <div class="noMsgBox">
  4. <img src="https://www.idea-co-sf.com/gardenProduct/image/youxiang.png">
  5. <span class="msgInfo">暂无消息</span>
  6. </div>
  7. <button class="backToHome" @click="backToHome">返回首页</button>
  8. </div>
  9. </template>
  10. <script>
  11. export default {
  12. name: "",
  13. data(){
  14. return{
  15. }
  16. },
  17. methods:{
  18. backToHome(){
  19. uni.switchTab({
  20. url: "/pages/index/index",
  21. });
  22. }
  23. }
  24. }
  25. </script>
  26. <style lang="scss">
  27. .economic{
  28. .noMsgBox{
  29. display: flex;
  30. flex-direction: column;
  31. align-items: center;
  32. width: 90vw;
  33. margin-left: 5vw;
  34. position: relative;
  35. .msgInfo{
  36. color: rgba(3, 101, 249, 1);
  37. font-size: 48rpx;
  38. }
  39. img{
  40. width: 600rpx;
  41. height: 600rpx;
  42. margin-top: 150rpx;
  43. }
  44. }
  45. .backToHome{
  46. width: 90vw;
  47. margin-left: 5vw;
  48. margin-top: 168rpx;
  49. border-radius: 8rpx !important;
  50. padding: 24rpx;
  51. background: rgba(3, 101, 249, 1);
  52. color: white;
  53. font-size: 36rpx;
  54. }
  55. }
  56. </style>