publish-info.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <view class="flex-common-css">
  3. <Nav title="" :leftShow='false' :customNav='true' bgckgroundBox='#fff'>
  4. <template>
  5. <view slot="custom" class="align-items-center">
  6. <uni-icons class="mr-30" type="left" :color="leftColor" size="18"></uni-icons>
  7. <view class="align-items-center">
  8. <image class="nav-img mr-20" src="../static/img/my/user-img.png" mode=""></image>
  9. <view class="">
  10. <view class="nav-name fs-28 fc-3 text-overflow-ellipsis-one fw-600">
  11. 最佳损友最佳损友最佳...
  12. </view>
  13. <view class="fs-20 fc-9">
  14. 2021-04-18 15:53
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. </Nav>
  21. <scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
  22. <swiper class="swiper-box" @change="change" :current="swiperDotIndex">
  23. <swiper-item v-for="(item, index) in 3" :key="index">
  24. <image src="../static/img/my/zp.png" mode=""></image>
  25. </swiper-item>
  26. </swiper>
  27. </scroll-view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. components: {},
  33. data() {
  34. return {};
  35. },
  36. onLoad(data) {},
  37. mounted() {},
  38. methods: {
  39. scrolltolower() {
  40. console.log('触底');
  41. },
  42. },
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. .nav-img {
  47. width: 64rpx;
  48. height: 64rpx;
  49. }
  50. .nav-name {
  51. max-width: 348rpx;
  52. }
  53. .swiper-box{
  54. width: 100%;
  55. height: 920rpx;
  56. }
  57. </style>