t-p-ningdongyunying.vue 653 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view>
  3. <swiper duration="500">
  4. <swiper-item>
  5. <scroll-view scroll-y>
  6. <view class="scroll__box">
  7. <t-p-n-section-1></t-p-n-section-1>
  8. </view>
  9. </scroll-view>
  10. </swiper-item>
  11. <swiper-item>
  12. <scroll-view scroll-y>
  13. <view class="scroll__box">
  14. <t-p-n-section-2></t-p-n-section-2>
  15. </view>
  16. </scroll-view>
  17. </swiper-item>
  18. </swiper>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. name: "t-p-ningdongyunying",
  24. data() {
  25. return {
  26. };
  27. }
  28. }
  29. </script>
  30. <style lang="scss">
  31. /deep/uni-swiper .uni-swiper-wrapper {
  32. height: calc(100vh);
  33. }
  34. .scroll__box {
  35. height: 100vh;
  36. }
  37. </style>