应用资源详情页跳转
This commit is contained in:
parent
3b7f8b745a
commit
4958384c9a
|
@ -18,11 +18,15 @@
|
||||||
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">
|
<span class="label" v-if="props.dataList.type">
|
||||||
{{ componentType || props.dataList.type }}
|
{{ props.dataList.type }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
|
{{ props.dataList.shareType }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
|
{{ props.dataList.shareCondition }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label">{{ props.dataList.shareType }}</span>
|
|
||||||
<span class="label">{{ props.dataList.shareCondition }}</span>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
|
|
@ -2,17 +2,34 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="application-deployment-and-security">
|
<div class="application-deployment-and-security">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<DetalsTitle :title="dataFrom.title" :type="dataFrom.englishTitle"></DetalsTitle>
|
<DetalsTitle
|
||||||
|
:title="dataFrom.title"
|
||||||
|
:type="dataFrom.englishTitle"
|
||||||
|
></DetalsTitle>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div v-for="(item, index) in dataFrom.content" :key="index" class="content-card">
|
<div
|
||||||
|
v-for="(item, index) in dataFrom.content"
|
||||||
|
:key="index"
|
||||||
|
class="content-card"
|
||||||
|
>
|
||||||
<div class="card-title">{{ item.childrenTitle }}</div>
|
<div class="card-title">{{ item.childrenTitle }}</div>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div v-for="carditem in item.childrenContent" :key="carditem">
|
<div
|
||||||
|
v-for="carditem in item.childrenContent"
|
||||||
|
:key="carditem"
|
||||||
|
:class="
|
||||||
|
carditem.attrType == '访问地址' ? 'access-to-the-address' : ''
|
||||||
|
"
|
||||||
|
>
|
||||||
<span>{{ carditem.attrType }}:</span>
|
<span>{{ carditem.attrType }}:</span>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>{{ carditem.attrValue }}</template>
|
<template #title>{{ carditem.attrValue }}</template>
|
||||||
<span>{{ carditem.attrValue }}</span>
|
<span
|
||||||
|
@click="addressFunction(carditem.attrType, carditem.attrValue)"
|
||||||
|
>
|
||||||
|
{{ carditem.attrValue }}
|
||||||
|
</span>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,6 +97,12 @@ if (props.dataList.infoList) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//访问地址跳转方法
|
||||||
|
const addressFunction = (name, itemValue) => {
|
||||||
|
if (name == '访问地址') {
|
||||||
|
window.open(itemValue)
|
||||||
|
}
|
||||||
|
}
|
||||||
watch(
|
watch(
|
||||||
() => props.dataList,
|
() => props.dataList,
|
||||||
(val) => {
|
(val) => {
|
||||||
|
@ -151,9 +174,11 @@ watch(
|
||||||
height: 1.5rem;
|
height: 1.5rem;
|
||||||
width: 6.2rem;
|
width: 6.2rem;
|
||||||
border-radius: 0.2rem;
|
border-radius: 0.2rem;
|
||||||
background: linear-gradient(to right,
|
background: linear-gradient(
|
||||||
|
to right,
|
||||||
rgba(113, 132, 252, 0.4),
|
rgba(113, 132, 252, 0.4),
|
||||||
rgba(148, 163, 252, 0.4));
|
rgba(148, 163, 252, 0.4)
|
||||||
|
);
|
||||||
padding: 0 0.3rem;
|
padding: 0 0.3rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -190,6 +215,9 @@ watch(
|
||||||
/*超出的设置为省略号*/
|
/*超出的设置为省略号*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.access-to-the-address {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,9 +18,15 @@
|
||||||
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">{{ props.dataList.type }}</span>
|
<span class="label" v-if="props.dataList.type">
|
||||||
<span class="label">{{ props.dataList.shareType }}</span>
|
{{ props.dataList.type }}
|
||||||
<span class="label">{{ props.dataList.shareCondition }}</span>
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
|
{{ props.dataList.shareType }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
|
{{ props.dataList.shareCondition }}
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
|
|
@ -18,11 +18,15 @@
|
||||||
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">
|
<span class="label" v-if="props.dataList.type">
|
||||||
{{ componentType || props.dataList.type }}
|
{{ props.dataList.type }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
|
{{ props.dataList.shareType }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
|
{{ props.dataList.shareCondition }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label">{{ props.dataList.shareType }}</span>
|
|
||||||
<span class="label">{{ props.dataList.shareCondition }}</span>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
@ -265,7 +269,8 @@ watch(
|
||||||
.right {
|
.right {
|
||||||
width: 5.8rem;
|
width: 5.8rem;
|
||||||
height: 4rem;
|
height: 4rem;
|
||||||
background: url('~@/assets/detailsAll/business/business_right_bg.png') no-repeat;
|
background: url('~@/assets/detailsAll/business/business_right_bg.png')
|
||||||
|
no-repeat;
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
margin-top: -0.4rem;
|
margin-top: -0.4rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,11 +18,15 @@
|
||||||
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">
|
<span class="label" v-if="props.dataList.type">
|
||||||
{{ componentType || props.dataList.type }}
|
{{ props.dataList.type }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
|
{{ props.dataList.shareType }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
|
{{ props.dataList.shareCondition }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label">{{ props.dataList.shareType }}</span>
|
|
||||||
<span class="label">{{ props.dataList.shareCondition }}</span>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
|
|
@ -18,11 +18,15 @@
|
||||||
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">
|
<span class="label" v-if="props.dataList.type">
|
||||||
{{ componentType || props.dataList.type }}
|
{{ props.dataList.type }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareType">
|
||||||
|
{{ props.dataList.shareType }}
|
||||||
|
</span>
|
||||||
|
<span class="label" v-if="props.dataList.shareCondition">
|
||||||
|
{{ props.dataList.shareCondition }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label">{{ props.dataList.shareType }}</span>
|
|
||||||
<span class="label">{{ props.dataList.shareCondition }}</span>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="label">免费</span> -->
|
<!-- <span class="label">免费</span> -->
|
||||||
|
|
Loading…
Reference in New Issue