|
@@ -6,7 +6,6 @@ import ListClassify from './components/ListClassify.vue'
|
|
import ReportPublishPop from './components/ReportPublishPop.vue'
|
|
import ReportPublishPop from './components/ReportPublishPop.vue'
|
|
import { showToast,showDialog,Dialog } from 'vant';
|
|
import { showToast,showDialog,Dialog } from 'vant';
|
|
import { useRouter } from 'vue-router';
|
|
import { useRouter } from 'vue-router';
|
|
-import { OnLongPress } from '@vueuse/components'
|
|
|
|
import { useWindowSize } from '@vueuse/core'
|
|
import { useWindowSize } from '@vueuse/core'
|
|
import {useCachedViewsStore} from '@/store/modules/cachedViews'
|
|
import {useCachedViewsStore} from '@/store/modules/cachedViews'
|
|
const cachedViewsStore=useCachedViewsStore()
|
|
const cachedViewsStore=useCachedViewsStore()
|
|
@@ -348,16 +347,12 @@ async function goSearch(){
|
|
>
|
|
>
|
|
<img v-if="listState.list.length==0&&listState.finished" class="list-empty-img" src="https://hzstatic.hzinsights.com/static/ETA_mobile/empty_img.png" alt="">
|
|
<img v-if="listState.list.length==0&&listState.finished" class="list-empty-img" src="https://hzstatic.hzinsights.com/static/ETA_mobile/empty_img.png" alt="">
|
|
<ul class="list-wrap">
|
|
<ul class="list-wrap">
|
|
- <OnLongPress
|
|
|
|
|
|
+ <li
|
|
v-for="item in listState.list"
|
|
v-for="item in listState.list"
|
|
:key="item.Id"
|
|
:key="item.Id"
|
|
- :options="{delay:1500}"
|
|
|
|
- @trigger="onLongPressItem(item)"
|
|
|
|
- >
|
|
|
|
- <li
|
|
|
|
- class="item"
|
|
|
|
-
|
|
|
|
|
|
+ class="item"
|
|
@click="goDetail(item)"
|
|
@click="goDetail(item)"
|
|
|
|
+ v-longpress="{ handler: onLongPressItem, args: item, duration: 1000 }"
|
|
>
|
|
>
|
|
<h2 :class="['van-ellipsis title',item.Title.startsWith('【')?'inline-title':'']">{{item.Title}}</h2>
|
|
<h2 :class="['van-ellipsis title',item.Title.startsWith('【')?'inline-title':'']">{{item.Title}}</h2>
|
|
<p class="van-multi-ellipsis--l2 des">{{item.Abstract}}</p>
|
|
<p class="van-multi-ellipsis--l2 des">{{item.Abstract}}</p>
|
|
@@ -372,7 +367,6 @@ async function goSearch(){
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
- </OnLongPress>
|
|
|
|
</ul>
|
|
</ul>
|
|
</van-list>
|
|
</van-list>
|
|
</div>
|
|
</div>
|