<template>
|
<div class="bannerbg chuany-width100 h-[450px] flex items-center">
|
<div class="content text-white font-['Source_Han_Sans_SC'] font-bold text-[50px] leading-[80px] tracking-[11%] capitalize ">
|
<p class="pb-3">川印集团——</p>
|
<p>专注品质,成就卓越</p>
|
</div>
|
</div>
|
<div class="w-100 chuany-font14 chuany-text-black coreshop-bg-white pt-10 pb-20">
|
<div v-for="(item,index) in images" :key="index">
|
<p class="font-['Source_Han_Sans_CN_VF'] font-bold text-[40px] leading-[50px] tracking-[10%] text-center align-middle capitalize pt-10" style="color:#000;">{{item.name}}</p>
|
<p class="font-['Source_Han_Sans_SC'] font-normal text-[20px] leading-[38px] tracking-[20%] text-center capitalize text-[#696969] p-10" >{{ item.text }}</p>
|
<div class="content flex flex-between flex-wrap" >
|
<el-image :src="url" v-for="(url,index) in item.urls" :key="index" style="width: 385.51px; height: 309.03px" class=" content mt-2 mr-auto mx-6"></el-image>
|
</div>
|
</div>
|
</div>
|
</template>
|
|
<script setup>
|
import usbanner from '@/static/img/usbanner.png'
|
import contentimg from '@/static/img/content-img.png'
|
const { $meth } = getCurrentInstance().appContext.config.globalProperties
|
import { articleInfo } from '@/api/text.js'
|
const { $route } = getCurrentInstance().appContext.config.globalProperties
|
import $store from "@/store/index.js";
|
import yiyuan1 from '@/static/img/yiyuan1.png'
|
import yiyuan2 from '@/static/img/yiyuan2.png'
|
import yiyuan3 from '@/static/img/yiyuan3.png'
|
import yiyuan4 from '@/static/img/yiyuan4.png'
|
import yiyuan5 from '@/static/img/yiyuan5.png'
|
import yiyuan6 from '@/static/img/yiyuan6.png'
|
import yiyuan7 from '@/static/img/yiyuan7.png'
|
import yiyuan8 from '@/static/img/yiyuan8.png'
|
import yiyuan9 from '@/static/img/yiyuan9.png'
|
import yiyuan10 from '@/static/img/yiyuan10.png'
|
import yiyuan11 from '@/static/img/yiyuan11.png'
|
import yiyuan12 from '@/static/img/yiyuan12.png'
|
const data = reactive({
|
activeName: "1",
|
gettab4: {}
|
})
|
const images = ref([{
|
urls: [yiyuan1,yiyuan2,yiyuan3,yiyuan4,yiyuan5,yiyuan6,yiyuan7,yiyuan8,yiyuan9,yiyuan10,yiyuan11,yiyuan12],
|
name: "医院印制品",
|
text:'信息清晰呈现,流程精准指引,为医患沟通提供专业载体'
|
}
|
])
|
onMounted(() => {
|
|
articleInfos(1)
|
});
|
const handleClick = (el) => {//tab切换
|
console.log("el:", el.props.name)
|
data.gettab4 = {}
|
if (el.props.name == 1 || el.props.name == 4) {
|
articleInfos(el.props.name)
|
}
|
|
}
|
const articleInfos = (el) => {
|
articleInfo({ id: el }).then(res => {
|
if (res.status == true) {
|
data.gettab4 = res.data.contentBody
|
|
//
|
} else {
|
$message({
|
message: res.msg,
|
grouping: true,
|
type: 'error',
|
})
|
}
|
})
|
|
}
|
</script>
|
<style scoped>
|
.demo-tabs>.el-tabs__content {
|
padding: 32px;
|
color: #6b778c;
|
font-size: 32px;
|
font-weight: 600;
|
}
|
|
.jianjietab p {
|
margin-top: 15px;
|
margin-bottom: 15px;
|
line-height: 2.5em;
|
}
|
|
.phonetab {
|
padding: 100px;
|
}
|
|
.bannerbg {
|
background:
|
linear-gradient(90deg, #0e61ce 10%, rgba(108, 160, 255, 0.5) 100%),
|
url('@/static/img/usbanner.png') center/cover no-repeat;
|
}
|
</style>
|