<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 ">
|
<div v-for="(item,index) in images" :key="index" :class="index==1?'pt-5 pb-16':'coreshop-bg-white pt-5 pb-16'">
|
<p class="font-['Source_Han_Sans_CN_VF'] font-bold text-[40px] leading-[50px] tracking-[10%] text-center align-middle capitalize pt-10 cursor-pointer" style="color:#000;" @click="goLink">{{item.name}}</p>
|
<p class="font-['Source_Han_Sans_SC'] font-normal text-[20px] leading-[38px] tracking-[20%] text-center capitalize text-[#696969] p-5" >{{ 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: 431.79px" class=" content mt-6 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 workbook1 from '@/static/img/workbook1.png'
|
import workbook2 from '@/static/img/workbook2.png'
|
import workbook3 from '@/static/img/workbook3.png'
|
import workbook4 from '@/static/img/workbook4.png'
|
import workbook5 from '@/static/img/workbook5.png'
|
import workbook6 from '@/static/img/workbook6.png'
|
import workbook7 from '@/static/img/workbook7.png'
|
import workbook8 from '@/static/img/workbook8.png'
|
import workbook9 from '@/static/img/workbook9.png'
|
import workbook10 from '@/static/img/workbook10.png'
|
import workbook11 from '@/static/img/workbook11.png'
|
import workbook12 from '@/static/img/workbook12.png'
|
import workbook13 from '@/static/img/workbook13.png'
|
import workbook14 from '@/static/img/workbook14.png'
|
import workbook15 from '@/static/img/workbook15.png'
|
const data = reactive({
|
activeName: "1",
|
gettab4: {}
|
})
|
const goLink = () => {
|
window.open('http://scyin.com/list','_blank')
|
}
|
const images = ref([{
|
urls: [workbook1,workbook2,workbook3],
|
name: "百分兵法防近视作业本",
|
text:'优选护眼纸张,专为持久书写打造'
|
}, {
|
urls: [workbook4,workbook5,workbook6,workbook7,workbook8,workbook9],
|
name: "四川省义务教育免费作业本",
|
text:'义务教育阶段适用,符合国家标准,优选纸张的品质之选'
|
},
|
{
|
urls: [workbook10,workbook11,workbook12,workbook13,workbook14,workbook15],
|
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>
|