This commit is contained in:
gaoyuanwei 2022-06-15 15:31:56 +08:00
parent 34c38d80db
commit cdf9298f58
1 changed files with 8 additions and 1 deletions

View File

@ -56,7 +56,7 @@
发布时间 发布时间
<span>{{ item.time }}</span> <span>{{ item.time }}</span>
</p> </p>
<div class="look">查看详情</div> <div class="look" @click="lookContent(item.name)">查看详情</div>
</div> </div>
<div class="contenBox contenBoxImg" v-if="contenBox.length < 3"> <div class="contenBox contenBoxImg" v-if="contenBox.length < 3">
<img :src="hopeing" alt="" class="hopeingImg" /> <img :src="hopeing" alt="" class="hopeingImg" />
@ -85,6 +85,8 @@
// import { pinyin } from 'pinyin-pro' // import { pinyin } from 'pinyin-pro'
// import { Empty } from 'ant-design-vue' // import { Empty } from 'ant-design-vue'
const router = useRouter()
const contenBox = ref([ const contenBox = ref([
{ {
photo: require('@/assets/assignCase/road.png'), photo: require('@/assets/assignCase/road.png'),
@ -180,6 +182,11 @@
const moretext = ref('查看更多') const moretext = ref('查看更多')
const nomore = ref('true') const nomore = ref('true')
const hidetext = ref('false') const hidetext = ref('false')
//
const lookContent = (val) => {
router.push({ path: 'AssignCaseDetailPage', query: { val } })
}
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.box { .box {