继续第二篇,第二篇已经完整下载了,另外本源码我分享至csdn,大家可以下载,用这个源码可以避免购买仿站工具,但是我在这里提醒一下,仿站全抄进行商用是违法的,请注意,本工具仅可让你学习技术,看看别人是怎么写的!!!本落地页是卓伊凡赠送给客户的,不收费。
本工具已经开放在c站有下载,你们可以去搜卓伊凡的博客里面绑定了资源可下载,这里不能发链接我就不发了。
关于仿站是否合法:
仿站的合法性不能一概而论,需要根据具体情况来判断,以下是具体分析:
看到没有不能用别人的东西,我们改下,先来看看代码
首先我们看到的代码html代码不是vue源代码,(这个单独拿一篇来做,把html变成vue源代码,用vue进行run dev 和run build),但是作为展示我们这样就足够了,不过这个代码太乱了我们先整理下,
整理后的 HTML 页面代码,主要进行了以下优化:
<head>
和 <body>
部分分开,并添加注释标记关键部分。<style>
标签中的样式提取到外部 CSS 文件中(假设为 styles.css
),减少 HTML 文件体积。<script>
标签中的脚本提取到外部 JS 文件中(假设为 scripts.js
),减少 HTML 文件体积。10c18a39246d2b007caa.css这是我们具体的文件,将javacript 脚本放入 js.js,这个文件没有我们直接新建js目录里
文件目录为:
/project
├── index.html
├── /css
│ └── 10c18a39246d2b007caa.css
├── /js
│ └── js.js
整理之前我看到图像路劲是base64加密我们先解密,
不过转念一看 原来这里是一个苹果logo罢了,加上这里的他们说模块感觉很没必要,所以直接删掉好了,
整个user标签模块
接下来我们需要做整理html,整理js和css,然后把客户产品信息一一整理进去,
整理后的html页面:
</div>
<div class="jsx-923201283 topTab">
<p class="jsx-923201283">主页<b class="jsx-923201283"></b></p>
<a href="/tutorialCN.html" class="jsx-923201283">
<p class="jsx-923201283 opc">使用教程</p>
</a>
<a href="/FAQCN.html" class="jsx-923201283">
<p class="jsx-923201283 opc">常见问题</p>
</a>
<a href="/privacy-agreements.html" class="jsx-923201283">
<p class="jsx-923201283 opc">隐私政策</p>
</a>
</div>
<div class="jsx-923201283">
<span class="jsx-1901459735"></span>
截图部分,
整理后的css代码:
justify-content: center;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
}
.home .videoBox video {
border-radius: 20px 20px 0px 0px;
width: 100%;
}
.home .main {
min-width: 762px;
width: 63.5%;
margin: 0 auto;
position: relative;
text-align: center;
}
.home .main .content {
width: 100%;
}
.home .main .content .box {
position: relative;
width: 100%;
min-height: 300px;
}
.home .main .content .leftBox {
width: 26.7%;
position: absolute;
left: 0;
top: 0;
z-index: 10;
}
.home .main .content .rightBox {
width: 26.7%;
position: absolute;
right: 0;
top: 0;
z-index: 10;
}
.home .main .content .action {
box-shadow: 0px 8px 20px 0px rgba(226, 233, 240, 0.62);
background: white;
border-radius: 12px;
}
.home .main .content .fContent {
box-sizing: border-box;
width: 100%;
cursor: pointer;
margin-left: 10%;
padding-right: 10%;
padding-bottom: 6%;
padding-top: 5%;
position: relative;
margin-bottom: 8%;
}
.home .main .content .fContent .leftContent {
display: inline-block;
width: 10%;
height: 100%;
}
.home .main .content .fContent .leftContent img {
width: 9%;
min-width: 18px;
position: absolute;
top: 12%;
left: 5%;
}
.home .main .content .fContent .rightContent {
width: 86%;
display: inline-block;
}
.home .main .content .fContent .rightContent .title {
font-size: 20px;
font-family: PTSans-Bold, PTSans;
font-weight: bold;
color: black;
}
@media screen and (max-width: 1350px) {
.home .main .content .fContent .rightContent .title {
font-size: 16px;
}
}
.home .main .content .fContent .rightContent .margTop {
margin-top: 5%;
line-height: 1.5;
height: 70px;
}
.home .main .content .fContent .rightContent p {
width: 100%;
margin: 0;
margin-top: 3%;
font-size: 13px;
截图部分,完美可用
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。