赋能场景-典型赋能场景;图片

This commit is contained in:
gaoyuanwei 2022-08-26 10:49:29 +08:00
parent 64ef4c95a1
commit cd067cfcc1
3 changed files with 12 additions and 10 deletions

View File

@ -5,7 +5,7 @@
class="caseBox"
v-for="(item, index) in caseList"
:key="index"
@click="toView('details', item)"
@click="toView(item)"
>
<a-image
:preview="false"
@ -31,10 +31,6 @@
type: Object,
default: () => {},
},
resourceTotal: {
type: String,
default: '0',
},
selectCardsname: {
type: String,
default: '组件服务',
@ -47,7 +43,7 @@
console.log(caseList.value, 'caseList.value')
})
onBeforeUnmount(() => {})
function toView(type, item) {
function toView(item) {
router.push({
path: '/integrationServicesDetails',
query: {

View File

@ -12,7 +12,9 @@
@click="changeCards(index)"
:class="{ sel: index == number }"
>
<span>{{ item.name }}</span>
<span>
{{ item.name === '赋能场景' ? '典型赋能场景' : '打包模式' }}
</span>
</div>
</div>
<div class="resultListSearchInput-father" v-if="number === 0">

View File

@ -30,7 +30,8 @@
<DetalsTitle title="场景痛点" type="PAIN POINT"></DetalsTitle>
</div>
<div class="flex-row-center">
<div class="bg cjtd"></div>
<div class="bg cjtd"><a-image :preview="false" :src="bgImg" /></div>
<div class="content" style="margin-left: 0.5rem">
<div
class="content-item"
@ -165,6 +166,7 @@
const painPoint = ref([])
const solution = ref([])
const step = ref([])
const bgImg = ref('')
const id = router.currentRoute.value.query.id
document.documentElement.style.transition = 'all 0.3s ease'
document.documentElement.scrollTop = 0
@ -293,6 +295,8 @@
JSON.parse(
fuseAttrList.find((v) => v.attrType === '使用步骤').attrValue
) || []
bgImg.value =
fuseAttrList.find((v) => v.attrType === '服务图片').attrValue || ''
let areaObj = {
attrType: '应用领域',
attrValue: '',
@ -537,8 +541,8 @@
.bg {
height: 3rem;
width: 3rem;
background: url('~@/assets/home/rhfw_square.png') no-repeat;
background-size: 100%;
// background: url('~@/assets/home/rhfw_square.png') no-repeat;
// background-size: 100%;
margin-top: 0.3rem;
}
.cjtd {