publish-info.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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" @click='goBack'></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. import tools from "@/service/tools";
  32. export default {
  33. components: {},
  34. data() {
  35. return {};
  36. },
  37. onLoad(data) {},
  38. mounted() {},
  39. methods: {
  40. goBack() {
  41. tools.leftClick()
  42. },
  43. scrolltolower() {
  44. console.log('触底');
  45. },
  46. },
  47. }
  48. </script>
  49. <style lang="scss" scoped>
  50. .nav-img {
  51. width: 64rpx;
  52. height: 64rpx;
  53. }
  54. .nav-name {
  55. max-width: 348rpx;
  56. }
  57. .swiper-box {
  58. width: 100%;
  59. height: 920rpx;
  60. }
  61. </style>