tm-callback-listpage.vue 596 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <view class="tm-callback-listpage" @click="callback">
  3. <image src="../../static/top-icon.png"></image>
  4. </view>
  5. </template>
  6. <script>
  7. /**
  8. * tm-callback-listpage
  9. * 返回列表页的悬浮按钮
  10. */
  11. export default {
  12. data() {
  13. return {
  14. };
  15. },
  16. methods: {
  17. callback: function() {
  18. uni.navigateTo({url: `/pages/situationsCenter/situationsCenter`});
  19. }
  20. }
  21. }
  22. </script>
  23. <style lang="less">
  24. .tm-callback-listpage {
  25. position: fixed;
  26. left: 25rpx;
  27. bottom: 100rpx;
  28. width: 75rpx;
  29. height: 75rpx;
  30. image {
  31. width: 100%;
  32. height: 100%;
  33. }
  34. }
  35. </style>