z-paging-cell.vue 690 B

12345678910111213141516171819202122232425262728293031323334
  1. <!-- z-paging -->
  2. <!-- github地址:https://github.com/SmileZXLee/uni-z-paging -->
  3. <!-- dcloud地址:https://ext.dcloud.net.cn/plugin?id=3935 -->
  4. <!-- 反馈QQ群:790460711 -->
  5. <!-- z-paging-cell,用于在nvue中使用cell包裹,vue中使用view包裹 -->
  6. <template>
  7. <!-- #ifdef APP-NVUE -->
  8. <cell :style="[cellStyle]">
  9. <slot />
  10. </cell>
  11. <!-- #endif -->
  12. <!-- #ifndef APP-NVUE -->
  13. <view :style="[cellStyle]">
  14. <slot />
  15. </view>
  16. <!-- #endif -->
  17. </template>
  18. <script>
  19. export default {
  20. name: "z-paging-cell",
  21. props: {
  22. //cellStyle
  23. cellStyle: {
  24. type: Object,
  25. default: function() {
  26. return {}
  27. }
  28. }
  29. }
  30. }
  31. </script>