cloudroam
20 小时以前 500078714411487af00161e01bd7e0b5efdc3414
sub-pages/community/index.vue
@@ -1,30 +1,30 @@
<template>
  <view :class="['app', theme]">
    <up-sticky bgColor="#ffffff">
      <view class="header">
        <up-icon name="list" size="40rpx" color="#333333" @click="onSettingClick" />
        <view>
          <!-- <up-tabs :list="list1"> -->
          <up-tabs v-model:current="parentTabIndex" :list="userTabList" @click="onChangeTab">
            <!-- <template #left>
            <up-icon name="list" size="40rpx" color="#333333" />
          </template> -->
            <!-- <template #right>
            <up-icon name="search" size="48rpx" color="#333333" />
          </template> -->
          </up-tabs>
        </view>
        <up-icon name="search" size="48rpx" color="#333333" @click="toSearchPage()" />
      </view>
    </up-sticky>
<!--    <up-sticky bgColor="#ffffff">-->
<!--      <view class="header">-->
<!--&lt;!&ndash;        <up-icon name="list" size="40rpx" color="#333333" @click="onSettingClick" />&ndash;&gt;-->
<!--        <view>-->
<!--          &lt;!&ndash; <up-tabs :list="list1"> &ndash;&gt;-->
<!--          <up-tabs v-model:current="parentTabIndex" :list="userTabList" @click="onChangeTab">-->
<!--            &lt;!&ndash; <template #left>-->
<!--            <up-icon name="list" size="40rpx" color="#333333" />-->
<!--          </template> &ndash;&gt;-->
<!--            &lt;!&ndash; <template #right>-->
<!--            <up-icon name="search" size="48rpx" color="#333333" />-->
<!--          </template> &ndash;&gt;-->
<!--          </up-tabs>-->
<!--        </view>-->
<!--&lt;!&ndash;        <up-icon name="search" size="48rpx" color="#333333" @click="toSearchPage()" />&ndash;&gt;-->
<!--      </view>-->
<!--    </up-sticky>-->
    <view style="margin: 10px 10px 10px 10px; ">
      <up-tabs :list="tabList" :itemStyle="{ padding: '0 16rpx', textAlign: 'center', flex: '1' }">
        <template #right>
          <up-icon name="arrow-down" size="15" color="#333333" />
        </template>
      </up-tabs>
    </view>
<!--    <view style="margin: 10px 10px 10px 10px; ">-->
<!--      <up-tabs :list="tabList" :itemStyle="{ padding: '0 16rpx', textAlign: 'center', flex: '1' }">-->
<!--        <template #right>-->
<!--          <up-icon name="arrow-down" size="15" color="#333333" />-->
<!--        </template>-->
<!--      </up-tabs>-->
<!--    </view>-->
    <view class="content-area">
      <up-waterfall v-model="films">
        <template #left="{ leftList }">
@@ -129,10 +129,10 @@
  filmStatus.value = 'loading'
  // TODO 暂时使用光影社区的类别
  // TODO 暂时使用光影的类别
  const query: FilmWorksQueryDTO = {
    classify: '',
    type: '',
    classify: FilmWorksCategory.COMMUNITY,
    status: 'published',
    current: filmPage.value,
    size: filmSize,
  };