<!-- run -->
<style>
#mainContent, body{
background: #f1f1f1;
}
.forFlow{
max-9999px!important;
}
.app-title{
margin: 0 auto;
text-align: center;
font-family: 'PingFang SC','Helvetica Neue','Helvetica','Arial',sans-serif;
}
</style>
<h2 class="app-title">前端开发</h2>
<section id="app1">
</section>
<h2 class="app-title">后端开发</h2>
<section id="app2">
</section>
<h2 class="app-title">数据分析</h2>
<section id="app3">
</section>
// run
fn.clearForHelloPage()
new IntroductionCardComponent({
el: '#app1',
list: [
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
},
{
img: 'https://cn.vuejs.org/images/logo.png',
name: 'Vue',
desc: '渐进式JavaScript框架',
href: 'https://cn.vuejs.org/',
}
],
})
// run
let list = [
{
name: 'Moment.js',
desc: '解析、校验、操作、显示日期和时间的 JavaScript 工具库。',
href: 'https://momentjs.bootcss.com/',
},
{
name: 'W3School英文版',
href: 'https://www.quanzhanketang.com/default.html',
},
]
// run
new IntroductionCardComponent({
el: '#app2',
list: [
{
img: 'https://gitee.com/oceans-pro/cnblog_image_bed/raw/master/icon/spring.png',
name: 'Spring全家桶',
desc: '一个开源的 Java/Java EE 全功能栈(full-stack)的应用程序框架',
href: 'https://spring.io/projects/spring-boot/',
}
],
})
// run
new IntroductionCardComponent({
el: '#app3',
list: [
{
img: 'https://static.numpy.org.cn/site/logo.png',
name: 'Numpy',
desc: 'Python 语言的一个扩展程序库,支持大量的维度数组与矩阵运算,提供大量的数学函数库。',
href: 'https://www.numpy.org.cn/',
}
],
})
// run
$('.btn-theme, .btn-theme-code, .btn-fullscreen').hide()
// 隐藏下面的
$('#comment_form_container, #blog_post_info_block').hide()
// 隐藏上面的
$('.postTitle, .postDesc').hide()
标签:测试,主页,vuejs,name,href,https,org,cn
From: https://www.cnblogs.com/cjcn/p/17616625.html