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

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

View File

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

View File

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