猫妈狗爸伴宠师小程序前端代码
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.

57 lines
1010 B

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. <template>
  2. <view class="page">
  3. <view class="flex-rowl">
  4. <view class="size-28 color-ffb fw700 tab">
  5. 全部记录
  6. </view>
  7. </view>
  8. <view v-if="list.length">
  9. </view>
  10. <view v-else class="flex-rowc">
  11. <image src="@/static/images/ydd/empy.png" mode="widthFix"></image>
  12. </view>
  13. <view class="footer-btn">
  14. <view class="btn" @click="toUp">
  15. 立即上传
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script setup>
  21. import { onShow } from '@dcloudio/uni-app'
  22. import { usePageList } from "@/utils/pageList";
  23. // todo
  24. const { list, total, getData } = usePageList()
  25. onShow(() => {
  26. // todo: delte test data
  27. })
  28. const toUp = () => {
  29. uni.navigateTo({
  30. url: "/otherPages/authentication/serve/upload"
  31. })
  32. }
  33. </script>
  34. <style lang="scss" scoped>
  35. .page {
  36. min-height: 100vh;
  37. padding: 24rpx 24rpx 144rpx 24rpx;
  38. background-color: #fff;
  39. .tab {
  40. border-bottom: 4rpx solid #FFBF60;
  41. }
  42. }
  43. image {
  44. width: 250rpx;
  45. background-color: #fff;
  46. margin-top: 20vh;
  47. }
  48. </style>