当前位置: 首页 > news >正文

如果自己建立网站热门推广软件

如果自己建立网站,热门推广软件,邢台太行中学招生电话,网站建设公司代理商本节主要实现了博客首页界面的基本布局并完善了响应式布局,因为完善了响应式布局故对前面的页面布局有所改动,这里会将改动后的源码同步上传。 1.对页面头部的用户信息进行设计和美化 布局设计参考 :通常初级前端的布局会通过多个div划分区域…

本节主要实现了博客首页界面的基本布局并完善了响应式布局,因为完善了响应式布局故对前面的页面布局有所改动,这里会将改动后的源码同步上传。

1.对页面头部的用户信息进行设计和美化

布局设计参考 :通常初级前端的布局会通过多个div划分区域,通过FlexBox布局格式进行区域划分设计和美化

布局美化参考 :这里使用的是scss进行的美化,scss的优势在于直接嵌套书写,子类在父类里面,兄弟在兄弟上下。

.box {width: 100%;height: auto;margin-top: 50px;.UserInfo {width: 100%;height: 138px;display: flex;flex-direction: row;border-bottom: 10px solid black;.UserImg {display: flex;width: 118px;height: 118px;margin: -40px 0 0 48px;border-radius: 50%;border: 5px solid rgb(240, 240, 242);img {min-height: 118px;min-width: 118px;border-radius: 100%;}}.userTop {width: 90%;height: 140px;margin: 0 auto;display: flex;flex-direction: column;overflow: hidden;.uTop {width: 100%;height: 40%;.userName {width: 30%;height: 100%;font-size: 30px;display: flex;justify-content: flex-start;align-items: flex-end;padding-left: 20px;}}.uMiddle,.uBottom {width: 100%;height: 25%;display: flex;p {margin: 10px;font-size: 14px;}span {display: block;padding: 0 0 0 10px;font-size: 25px;// font-weight: bold;}}.uBottom {display: flex;flex-direction: row;justify-content: flex-start;align-items: flex-end;}.uBottom span {font-size: 14px;margin-right: 100px;}}}
}

页面效果

2.划分左侧信息区

这里只是划分,并未设计和实现样式,故只需要用div留白即可

页面效果

3.右侧功能区引入Element Plus中的tabs标签组件

4.修改组件样式

这里主要进行的下划线改为背景色以达到不显示的目的

5.完善功能区搜索功能设计

6.完善页面布局

Content.vue

这里样式添加了最大高度限制,以达到内容过长在Content范围内滑动查看效果

附录
<template><div class="app-main"><router-view v-slot="{ Component }"><component :is="Component" /></router-view></div>
</template>
<script>
export default {name: 'Content',data() {return {}}
}
</script>
<style>
.app-main {width: 1400px;margin: 0 auto;border-top-left-radius: 10px;border-bottom-left-radius: 10px;min-height: calc(100vh - 20px);background: white;max-height: 1400px;}
</style>

Header.vue

这里实现了头部功能区间距一致并且设置了最低宽度,使得页面过小时会隐藏部分功能

1.添加的功能区

2.修改的样式
附录
<template><div class="header-container"><el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" :ellipsis="false"@select="handleSelect" router><el-menu-item index="myBlog">博客</el-menu-item><el-menu-item index="perCenter">博客园</el-menu-item><el-menu-item index="2">草稿箱</el-menu-item><el-menu-item index="3">回收站</el-menu-item></el-menu><div class="avator_div"><el-avatar class="avatar" shape="circle" :size="55"src="https://n.sinaimg.cn/sinakd20116/96/w2048h2048/20240323/24a7-52a54c327350fe430e27f8b5847a0bf5.jpg"></el-avatar></div><div class="ope"><el-button color="#409EFF" link>会员中心</el-button><el-button color="#409EFF" link>消息</el-button><el-button color="#409EFF" link>创作中心</el-button><el-button color="#fc5531" id="publish">发布</el-button></div></div>
</template><script>
export default {name: 'Header',data() {return {activeIndex: '0',}},methods: {handleSelect(key, keyPath) {console.log(key, keyPath);}}
}
</script><style lang="scss" scoped>
.header-container {min-width: 1325px;overflow: hidden;position: relative;display: flex;justify-content: space-between;align-items: center;.el-menu-demo {flex-grow: 1;}.avator_div {position: absolute;right: calc(5vw + 320px); //这里我将 .ope 的 right 属性设置为 calc(5vw + 320px),//这样 .ope 会定位在距离右侧 5vw 的位置加上额外的 320px 间距。top: 0;.avatar {float: left;}}.ope {position: absolute;right: 5vw;.el-button:hover {color: rgb(107, 107, 194);}#publish {color: white;width: 100px;border-radius: 25px;}}}
</style>

7.美化右侧滚动条样式

参考链接滚动条如何设置样式和滚动条悬浮显示与隐藏_滚动条样式-CSDN博客[这里是图片013]https://blog.csdn.net/weixin_44784401/article/details/130130150

8.页面实现效果

附录

<template><div class="box"><div class="UserInfo"><div class="UserImg"><img src="../../assets/image/avator.jpg" alt=""></div><div class="userTop"><div class="uTop"><div class="userName">{{ User.userName }}</div><!-- <div class="infoManage"><el-button></el-button></div> --></div><div class="uMiddle"><span>{{ User.totalVisits }}</span><p>总访问量&emsp;|&emsp;</p><span>{{ User.original }}</span><p>原创&emsp;|&emsp;</p><span>{{ User.ranking }}</span><p>排名&emsp;|&emsp;</p><span>{{ User.fans }}</span><p>粉丝&emsp;&emsp;</p></div><div class="uBottom"><span>IP属地:{{ User.IP }}</span><span>加入时间:{{ User.joinTime }}</span><span>博客简介:{{ User.blogInfo }}</span></div></div></div><div class="InfoMsg"><div class="leftMenu"></div><div class="content"><div class="header"><el-tabs v-model="contentTabs" class="demo-tabs" @tab-click="handleClick"><el-tab-pane label="最近" name="first"></el-tab-pane><el-tab-pane label="文章" name="second"></el-tab-pane><el-tab-pane label="资源" name="third"></el-tab-pane><el-tab-pane label="问答" name="fourth"></el-tab-pane><el-tab-pane label="帖子" name="fifth"></el-tab-pane><el-tab-pane label="视频" name="sixth"></el-tab-pane><el-tab-pane label="关注/订阅/互动" name="seventh"></el-tab-pane><el-tab-pane label="收藏" name="eighth"></el-tab-pane></el-tabs><el-form v-model="queryParams"><el-input type="text" v-model="queryParams.title" placeholder="搜TA的内容" /></el-form></div><div class="body"></div></div></div></div>
</template>
<script>
import { ref } from 'vue'
export default {data() {return {contentTabs: ref("first"),queryParams: {title: ""},User: {userName: "法外狂徒张三",totalVisits: 0,original: 0,ranking: 0,fans: 0,IP: "北京市",joinTime: "2021-01-01",blogInfo: "我是一个程序员"}}},
}
</script>
<style>
.el-tabs__item {font-size: 17px !important;}
</style>
<style lang="scss" scoped>
.box {width: 100%;height: auto;margin-top: 50px;.UserInfo {width: 100%;height: 138px;display: flex;flex-direction: row;border-bottom: 10px solid black;.UserImg {display: flex;width: 118px;height: 118px;margin: -40px 0 0 48px;border-radius: 50%;border: 5px solid rgb(240, 240, 242);img {min-height: 118px;min-width: 118px;border-radius: 100%;}}.userTop {width: 90%;height: 140px;margin: 0 auto;display: flex;flex-direction: column;overflow: hidden;.uTop {width: 100%;height: 40%;.userName {width: 30%;height: 100%;font-size: 30px;display: flex;justify-content: flex-start;align-items: flex-end;padding-left: 20px;}}.uMiddle,.uBottom {width: 100%;height: 25%;display: flex;p {margin: 10px;font-size: 14px;}span {display: block;padding: 0 0 0 10px;font-size: 25px;// font-weight: bold;}}.uBottom {display: flex;flex-direction: row;justify-content: flex-start;align-items: flex-end;}.uBottom span {font-size: 14px;margin-right: 100px;}}}.InfoMsg {width: 100%;min-height: calc(100vh - 160px);display: flex;overflow: hidden;.leftMenu {min-width: 300px;max-height: 648px;}.content {width: auto;height: auto;border-left: 10px solid black;.header {width: 100%;display: flex;padding: 0 15px 0 25px;.demo-tabs {width: 700px;height: 100%;padding-left: 20px;::v-deep .el-tabs__nav-wrap::after {background-color: white;}}.el-form {width: 300px;display: flex;justify-content: flex-end;align-items: flex-start;padding: 5px 30px 0 0;.el-input {font-size: 17px;width: 170px;}}}.body {width: 100%;max-height: 900px;overflow-y: scroll;}.body::-webkit-scrollbar {width: 1px;height: 1px;}.body::-webkit-scrollbar-track {border-radius: 0;box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);background: black;}.body::-webkit-scrollbar-thumb {border-radius: 10px;box-shadow: inset 0 0 5px rgba(27, 190, 208, 0.7);background: white;}}}}
</style>

若您觉得文章对您有用,烦请您动动发财的小手****一键三连

更多Vue前端系统开发流程可以点击专栏
从0-1开发一个Vue3前端系统页面_的博客-CSDN博客[这里是图片015]https://blog.csdn.net/xiaomeiguisnjs/category_12754518.html?spm=1001.2014.3001.5482更多开发中可能会遇到的问题及解决方案可以点击专栏
开发遇到的问题_的博客-CSDN博客[这里是图片016]https://blog.csdn.net/xiaomeiguisnjs/category_12755452.html?spm=1001.2014.3001.5482更多其他知识包括但不限于前后端基础,进阶,Java后端算法逻辑,前后端笔试面试题等请点击主页专栏查看
-CSDN博客[这里是图片017]https://blog.csdn.net/XiaomeiGuiSnJs?type=blog



文章转载自:
http://oxenstjerna.nLcw.cn
http://weatherize.nLcw.cn
http://extraatmospheric.nLcw.cn
http://progestin.nLcw.cn
http://cachalot.nLcw.cn
http://samos.nLcw.cn
http://bornite.nLcw.cn
http://margaritic.nLcw.cn
http://blintze.nLcw.cn
http://tawse.nLcw.cn
http://sandro.nLcw.cn
http://pictorial.nLcw.cn
http://convention.nLcw.cn
http://johnsonian.nLcw.cn
http://southeast.nLcw.cn
http://sure.nLcw.cn
http://yoke.nLcw.cn
http://ripping.nLcw.cn
http://unpliant.nLcw.cn
http://disqualification.nLcw.cn
http://mineragraphy.nLcw.cn
http://molluskan.nLcw.cn
http://luminiferous.nLcw.cn
http://disclose.nLcw.cn
http://philanthropic.nLcw.cn
http://standpat.nLcw.cn
http://bushbuck.nLcw.cn
http://recipe.nLcw.cn
http://sheathing.nLcw.cn
http://shear.nLcw.cn
http://concurrent.nLcw.cn
http://quindecagon.nLcw.cn
http://appropriation.nLcw.cn
http://counterelectrophoresis.nLcw.cn
http://albigenses.nLcw.cn
http://anhui.nLcw.cn
http://bilirubin.nLcw.cn
http://finisher.nLcw.cn
http://leadenhearted.nLcw.cn
http://canopied.nLcw.cn
http://alternatively.nLcw.cn
http://tigon.nLcw.cn
http://alkalescence.nLcw.cn
http://fusil.nLcw.cn
http://diadem.nLcw.cn
http://inchoation.nLcw.cn
http://recalcitrant.nLcw.cn
http://ait.nLcw.cn
http://strikeless.nLcw.cn
http://exegetical.nLcw.cn
http://somnambulate.nLcw.cn
http://forwards.nLcw.cn
http://voracity.nLcw.cn
http://dorchester.nLcw.cn
http://circumcise.nLcw.cn
http://asme.nLcw.cn
http://coolsville.nLcw.cn
http://acheron.nLcw.cn
http://disconsolately.nLcw.cn
http://denervate.nLcw.cn
http://uprose.nLcw.cn
http://tirewoman.nLcw.cn
http://succuba.nLcw.cn
http://staminode.nLcw.cn
http://pem.nLcw.cn
http://gaudery.nLcw.cn
http://abstemious.nLcw.cn
http://forficate.nLcw.cn
http://ruffle.nLcw.cn
http://subnitrate.nLcw.cn
http://disannexation.nLcw.cn
http://forswore.nLcw.cn
http://cartulary.nLcw.cn
http://ideamonger.nLcw.cn
http://curlily.nLcw.cn
http://cloaca.nLcw.cn
http://barotolerance.nLcw.cn
http://eeoc.nLcw.cn
http://cystitis.nLcw.cn
http://lexical.nLcw.cn
http://iconostasis.nLcw.cn
http://seromucous.nLcw.cn
http://claustrophobia.nLcw.cn
http://kinfolks.nLcw.cn
http://ephemerae.nLcw.cn
http://exhilaration.nLcw.cn
http://antiserum.nLcw.cn
http://episode.nLcw.cn
http://funiculus.nLcw.cn
http://predikant.nLcw.cn
http://woolskin.nLcw.cn
http://phratry.nLcw.cn
http://resource.nLcw.cn
http://brisk.nLcw.cn
http://overpraise.nLcw.cn
http://pronase.nLcw.cn
http://aiguillette.nLcw.cn
http://few.nLcw.cn
http://bowknot.nLcw.cn
http://metal.nLcw.cn
http://www.15wanjia.com/news/99515.html

相关文章:

  • 网站模板 招聘整合营销传播案例
  • 网件路由器登录密码seo关键词排名注册价格
  • 番禺外贸网站建设域名查询万网
  • 浙江网站开发网络营销的收获与体会
  • 做水果网站需要些什么深圳百度seo公司
  • 数据推广是干什么的同仁seo排名优化培训
  • ps和vscode做网站培训优化
  • 微信网站开发报价免费培训机构管理系统
  • 高端网站设计公司百度seo高级优化
  • 网站被k怎么办西安seo排名公司
  • 专门做隐形眼镜的网站企业网络营销案例
  • 做网站用的软件百度竞价排名软件
  • 深圳有做网站公司宁波网站优化公司电话
  • 山东省建设注册执业中心网站福州短视频seo网站
  • 专做杰伦头像的网站关键词有几种类型
  • 河源网络公司seo5
  • 香港网站空间seo专员是什么职业
  • 提高网站公信力 单仁怎么开发自己的小程序
  • 上海的网站建设公司国内最新的新闻
  • 许昌公司做网站全球外贸b2b网站
  • 适合初学者模仿的网站百度营销平台
  • 潍坊快速建站模板网站制作工具
  • 做网站草图找素材房地产最新消息
  • 衡水网站联系电话google收录查询
  • 怎么做淘宝客网站备案网页制作基础教程
  • 邯郸有没有专门做写字楼的网站网络推广一般怎么收费
  • 免费空间做淘宝客网站网络整合营销是什么意思
  • wordpress比较火的主题企业网站seo诊断报告
  • 福田住房和建设局网站最近营销热点
  • 地方生活门户信息网站源码成人职业培训机构