能力集市 新增点击任意地方跳转详情
This commit is contained in:
parent
bc55f39d38
commit
f78f2f1292
|
@ -118,6 +118,7 @@
|
|||
? 'ywzj'
|
||||
: ''
|
||||
"
|
||||
@click="toView('details', item)"
|
||||
v-else-if="
|
||||
selectCardsname !== '基础设施' &&
|
||||
selectCardsname !== '融合服务' &&
|
||||
|
@ -131,7 +132,7 @@
|
|||
selectCardsname === '融合服务' || selectCardsname === '赋能场景'
|
||||
"
|
||||
></div>
|
||||
<div class="right">
|
||||
<div class="right" @click="toView('details', item)">
|
||||
<div class="header">
|
||||
<span style="display: flex; align-items: center; width: 680px">
|
||||
{{ item.name }}
|
||||
|
@ -237,24 +238,10 @@
|
|||
<span>{{ item.createDate.substring(11, 19) }}</span>
|
||||
</template>
|
||||
<template v-else>--</template>
|
||||
<!-- <span>{{ item.createDate || '--' }}</span> -->
|
||||
</div>
|
||||
<!-- <div>
|
||||
更新时间:
|
||||
<span>{{ item.updateDate || '--' }}</span> -->
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="dec">
|
||||
<!-- <div
|
||||
v-if="
|
||||
selectCardsname !== '基础设施' &&
|
||||
selectCardsname !== '数据资源' &&
|
||||
selectCardsname !== '融合服务'
|
||||
"
|
||||
>
|
||||
<span>{{ item.shareType || '--' }}</span>
|
||||
</div> -->
|
||||
<div
|
||||
v-if="
|
||||
selectCardsname !== '融合服务' &&
|
||||
|
@ -310,18 +297,8 @@
|
|||
收藏量:{{ item.collectCount || 0 }}次
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="pingfen">
|
||||
<a-tooltip placement="top" mouseEnterDelay="1">
|
||||
<a-rate
|
||||
:value="item.score || 0"
|
||||
disabled
|
||||
v-if="item.score != 0"
|
||||
/>
|
||||
</a-tooltip>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="right" v-if="selectCardsname !== '基础设施'">
|
||||
<!-- 申购车 -->
|
||||
<div class="shopping" :key="shoppingKey">
|
||||
<template
|
||||
v-if="
|
||||
|
@ -339,7 +316,7 @@
|
|||
<span
|
||||
class="shopping-on"
|
||||
v-else
|
||||
@click="addShoppingCart(item, index)"
|
||||
@click.stop="addShoppingCart(item, index)"
|
||||
></span>
|
||||
</template>
|
||||
</div>
|
||||
|
@ -347,12 +324,12 @@
|
|||
<span
|
||||
class="sc-down"
|
||||
v-if="item.isCollect == 'false'"
|
||||
@click="addCollect(item)"
|
||||
@click.stop="addCollect(item)"
|
||||
></span>
|
||||
<span
|
||||
class="sc-on"
|
||||
v-if="item.isCollect == 'true'"
|
||||
@click="addCollect(item)"
|
||||
@click.stop="addCollect(item)"
|
||||
></span>
|
||||
</div>
|
||||
<div
|
||||
|
@ -362,11 +339,14 @@
|
|||
cardType == '组件服务' && findComponentName(item, '智能算法')
|
||||
"
|
||||
>
|
||||
<span class="pk-on" @click="goComparePk(item, index)"></span>
|
||||
<span
|
||||
class="pk-on"
|
||||
@click.stop="goComparePk(item, index)"
|
||||
></span>
|
||||
</div>
|
||||
<a-button
|
||||
type="primary"
|
||||
@click="toView('details', item)"
|
||||
@click.stop="toView('details', item)"
|
||||
v-if="!whoShow1.itShowBaoTou"
|
||||
>
|
||||
查看详情
|
||||
|
@ -377,21 +357,13 @@
|
|||
selectCardsname === '融合服务' ||
|
||||
selectCardsname === '赋能场景'
|
||||
"
|
||||
@click="handleAKeyApplication(item)"
|
||||
@click.stop="handleAKeyApplication(item)"
|
||||
>
|
||||
一键申请
|
||||
</a-button>
|
||||
<!-- <a-button
|
||||
style="margin-left: 10px"
|
||||
v-show="
|
||||
cardType == '组件服务' && findComponentName(item, '智能算法')
|
||||
"
|
||||
>
|
||||
免费试用
|
||||
</a-button> -->
|
||||
<a-button
|
||||
type="primary"
|
||||
@click="toView('apply', item)"
|
||||
@click.stop="toView('apply', item)"
|
||||
v-show="
|
||||
cardType == '组件服务' ||
|
||||
(cardType == '应用资源' && whoShow1.itShowQingDao)
|
||||
|
@ -660,6 +632,15 @@
|
|||
if (webUrl) {
|
||||
window.open(webUrl)
|
||||
} else {
|
||||
if (
|
||||
!(
|
||||
props.selectCardsname === '应用资源' ||
|
||||
props.selectCardsname === '组件服务'
|
||||
) ||
|
||||
whoShow1.itShowBaoTou
|
||||
) {
|
||||
return
|
||||
}
|
||||
// 内部跳转申请页面
|
||||
console.log('一键申请===================>', item)
|
||||
localStorage.setItem(
|
||||
|
|
Loading…
Reference in New Issue