多租户商城-商户小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
820 B

2 years ago
  1. <!--
  2. * @FileDescription: index.vue
  3. * @Author: kahu
  4. * @Date: 2022/11/21
  5. * @LastEditors: kahu
  6. * @LastEditTime: 2022/11/21
  7. -->
  8. <template>
  9. <view class="no-more-content" v-if="show">
  10. <view class="line" />
  11. <view class="text">
  12. <slot>没有更多了</slot>
  13. </view>
  14. <view class="line" />
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. name: "NoMore",
  20. data() {
  21. return {}
  22. },
  23. props:{
  24. show:{
  25. type:Boolean,
  26. default:false
  27. }
  28. },
  29. methods: {}
  30. }
  31. </script>
  32. <style
  33. lang="scss"
  34. scoped
  35. >
  36. .no-more-content{
  37. margin-top: 35rpx;
  38. width: 100%;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. .line{
  43. width: 20vw;
  44. height: 2rpx;
  45. background-color: #808080;
  46. }
  47. .text{
  48. color: #808080;
  49. margin: 0 50rpx;
  50. }
  51. }
  52. </style>