|
@@ -51,29 +51,38 @@ function cellClick(gw_id) {
|
|
|
|
|
|
<template>
|
|
|
<div>
|
|
|
- <van-search
|
|
|
- v-model="param.keyword"
|
|
|
- :clearable="false"
|
|
|
- show-action
|
|
|
- placeholder="请输入搜索关键词"
|
|
|
- @search="onClickSearch"
|
|
|
- >
|
|
|
+ <van-search v-model="param.keyword" :clearable="false" show-action placeholder="请输入搜索关键词" @search="onClickSearch">
|
|
|
<template #action>
|
|
|
<div @click="onClickSearch">搜索</div>
|
|
|
</template>
|
|
|
</van-search>
|
|
|
- <van-list
|
|
|
- v-model:loading="loading"
|
|
|
- :finished="finished"
|
|
|
- finished-text="没有更多了"
|
|
|
- @load="onLoad"
|
|
|
- >
|
|
|
- <van-cell
|
|
|
- v-for="(item, index) in list"
|
|
|
- :key="item"
|
|
|
- :title="`${index + 1}. ${item.gw_title}`"
|
|
|
- @click="cellClick(item.gw_id)"
|
|
|
- />
|
|
|
+ <van-list v-model:loading="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
|
|
|
+ <van-cell v-for="(item, index) in list" :key="item" :title="`${index + 1}. ${item.gw_title}`"
|
|
|
+ @click="cellClick(item.gw_id)">
|
|
|
+ <template #value>
|
|
|
+ <img :src="item.is_check == 1
|
|
|
+ ? getAssetsImages('todoOffcialDoucument/haveAudit.png')
|
|
|
+ : getAssetsImages('todoOffcialDoucument/waitForAudit.png')
|
|
|
+ " />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
</van-list>
|
|
|
</div>
|
|
|
</template>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+:deep(.van-cell__title) {
|
|
|
+ width: 90% !important;
|
|
|
+ flex: auto;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.van-cell__value) {
|
|
|
+ width: 10% !important;
|
|
|
+ flex: auto;
|
|
|
+}
|
|
|
+
|
|
|
+img {
|
|
|
+ width: 33px;
|
|
|
+ height: 33px;
|
|
|
+}
|
|
|
+</style>
|