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

西安网站优化排名做网站空间哪个好

西安网站优化排名,做网站空间哪个好,网站服务器在本地是指,揭阳专业的网站建设价格1. 前言 前面我不是说了要做一个图床吗#xff0c;现在在做ui。 我vue水平不够高#xff0c;大部分参考b站项目照猫画虎。 vue实战后台 我使用ts#xff0c;vite#xff0c;vue3进行了重构。 当然#xff0c;我对这些理解并不深刻#xff0c;许多代码都是游离于表面现在在做ui。 我vue水平不够高大部分参考b站项目照猫画虎。 vue实战后台 我使用tsvitevue3进行了重构。 当然我对这些理解并不深刻许多代码都是游离于表面仅仅给大家参考 2. 过程 2.1. 使用elemen ui进行导航制作。 这里直接用element ui菜单直接粘上去就可以几乎没有任何其他处理 templateel-menudefault-active2classel-menu-vertical-demo:collapseuseHeaderStore().tab.isCollapseopenhandleOpenclosehandleCloseimg classlogo src../..//src/assets/云盘上传.pngh1 classtitle{{useHeaderStore().tab.isCollapse? 图床:好玩图床}}/h1el-sub-menu v-foritem of currentMenu.items :indexitem.titletemplate #titleel-icon component :isitem.icon/component/el-iconspan{{item.title}}/span/templateel-menu-item clickclickMenu(cItem.path,cItem.title) v-forcItem of item.children :indexcItem.title el-iconcomponent :is cItem.icon/component/el-icon{{cItem.title}}/el-menu-item/el-sub-menu/el-menu /template值得注意的是icon动态绑定的展示和vue2略有不同 el-icon component :isitem.icon/component//使用component :isitem.icon展示/el-icon2.2.head制作 header部分主要有一个折叠开关由于和左侧栏不是一个组件里我使用pinia进行数据传递。 大菠萝官网 templatediv classheader-containerdiv classl-contentel-button clickhandleMenu :iconMenu sizemini /!-- 面包屑 --el-breadcrumb separator/ stylemargin-left: 20pxel-breadcrumb-item v-foritem in tags :keyitem.path :to{ path: item.path }{{ item.title }}/el-breadcrumb-item/el-breadcrumb/divdiv classr-contentel-dropdownspan classel-dropdown-linkimg classuser src../assets/meiyangyang.jpg/spantemplate #dropdownel-dropdown-menuel-dropdown-item退出/el-dropdown-item/el-dropdown-menu/template/el-dropdown/div/div /templatescript langts setup import { Menu } from element-plus/icons-vue; import useHeaderStore from /store/moudle/header; import {computed} from vue;const handleMenu () {const headerStore useHeaderStore();headerStore.tab.isCollapse !headerStore.tab.isCollapse;}; const tags computed(() {const headerStore useHeaderStore();return headerStore.tab.tabList; }); /script2.3.首页制作 两个表格 el-card classbox-carddiv classuserimg src../assets/meiyangyang.jpgdiv classuser-infop classnameAdmin/pp classaccess超级管理员/p/div/divdiv classlogin-infop上次登录时间 span2021-07-25/span/pp上次登录地点 span上海/span/p/div/el-cardel-card stylemargin-top: 20px; height: 410pxel-table :datatableData stylewidth: 100%el-table-column propdate label文件id /el-table-column propname label上传日期 /el-table-column propaddress label本月引用 /el-table-column propallLinks label总引用 //el-table/el-card 这个直接element ui贴贴就完了。 6个颜色卡 6个盒子这个可能css难写点我基本都是抄的给不出什么建议。 div classnumel-card v-foritem in labelDate :keyitem.label :body-style{display: flex,padding: 0,height : 80px}div classicon :style{backgroundColor:item.color}el-icon size30px styletext-align: centercomponent :isitem.icon /component/el-icon/divdiv classdetailsp classsum{{item.sum}}次/pp classlabel{{item.label}}/p/div/el-card/divstyle langless scoped.login-info{p{line-height: 28px;font-size: 14px;color : #999999;span{color: #666666;margin-left: 60px;}} } .user{margin-bottom: 20px;padding-bottom: 20px;border-bottom: 1px solid #ccc;display: flex;align-items: center;img{margin-right: 40px;width: 150px;height: 150px;border-radius: 50%;}.user-info{.name{font-size: 32px;margin-bottom: 10px;}.access{color: #999999;}}} .card-header {display: flex;justify-content: space-between;align-items: center; }.text {font-size: 14px; }.item {margin-bottom: 18px; }.box-card { }.num {display: flex;flex-wrap: wrap;justify-content: space-between;.icon {display: flex;justify-content: center;align-items: center;width: 80px;height: 80px;text-align: center;line-height: 80px;color: #fff;}.details {margin-left: 15px;display: flex;flex-direction: column;justify-content: center;.sum {font-size: 20px;margin-bottom: 10px;line-height: 30px;height: 30px;}.label {font-size: 14px;color: #999;text-align: center;}}.el-card {margin-left: 5px;width: 32%;margin-bottom: 20px;} } .graph{display: flex;margin-top: 20px;justify-content: space-between;.el-card{width: 48%;} }/style 图表制作。 图标是使用echart插件制作的很好用推荐。 echarts官网 这个直接定位id然后塞进去就行写在钩子函数里。 onMounted(() {const myCharts echarts.init(document.getElementById(chart1));const option {title: {text: },tooltip: {trigger: axis},legend: {data: [Email, Union Ads, Video Ads, Direct, Search Engine]},grid: {left: 3%,right: 4%,bottom: 10%,containLabel: true},toolbox: {feature: {saveAsImage: {}}},xAxis: {type: category,boundaryGap: false,data: [Mon, Tue, Wed, Thu, Fri, Sat, Sun]},yAxis: {type: value},series: [{name: Email,type: line,stack: Total,data: [120, 132, 101, 134, 90, 230, 210]},{name: Union Ads,type: line,stack: Total,data: [220, 182, 191, 234, 290, 330, 310]},{name: Video Ads,type: line,stack: Total,data: [150, 232, 201, 154, 190, 330, 410]},{name: Direct,type: line,stack: Total,data: [320, 332, 301, 334, 390, 330, 320]},{name: Search Engine,type: line,stack: Total,data: [820, 932, 901, 934, 1290, 1330, 1320]}]};myCharts.setOption(option);// 柱状图const echarts2 echarts.init(document.getElementById(chart2));const option2 {legend: {// 图例文字颜色textStyle: {color: #333,},},grid: {left: 20%,},// 提示框tooltip: {trigger: axis,},xAxis: {type: category, // 类目轴data: [衬衫, 羊毛衫, 雪纺衫, 裤子, 高跟鞋, 袜子],axisLine: {lineStyle: {color: #17b3a3,},},axisLabel: {interval: 0,color: #333,},},yAxis: [{type: value,axisLine: {lineStyle: {color: #17b3a3,},},},],color: [#2ec7c9, #b6a2de],series: [{name: 销量,type: bar,data: [5, 20, 36, 10, 10, 20]},{name: 购买,type: bar,data: [5, 20, 36, 10, 10, 20]}],};echarts2.setOption(option2);const option3 {tooltip: {trigger: item},legend: {top: 5%,left: center},series: [{name: Access From,type: pie,radius: [40%, 70%],avoidLabelOverlap: false,itemStyle: {borderRadius: 10,borderColor: #fff,borderWidth: 2},label: {show: false,position: center},emphasis: {label: {show: true,fontSize: 40,fontWeight: bold}},labelLine: {show: false},data: [{ value: 1048, name: Search Engine },{ value: 735, name: Direct },{ value: 580, name: Email },{ value: 484, name: Union Ads },{ value: 300, name: Video Ads }]}]};//饼图const echarts3 echarts.init(document.getElementById(chart3));option echarts3.setOption(option3);后面暂时没了最后写完的话我会把源码放出来
文章转载自:
http://www.morning.ttkns.cn.gov.cn.ttkns.cn
http://www.morning.mhybs.cn.gov.cn.mhybs.cn
http://www.morning.rzysq.cn.gov.cn.rzysq.cn
http://www.morning.yfmwg.cn.gov.cn.yfmwg.cn
http://www.morning.bkpbm.cn.gov.cn.bkpbm.cn
http://www.morning.gtmgl.cn.gov.cn.gtmgl.cn
http://www.morning.jhxtm.cn.gov.cn.jhxtm.cn
http://www.morning.yqkmd.cn.gov.cn.yqkmd.cn
http://www.morning.ltrz.cn.gov.cn.ltrz.cn
http://www.morning.scjtr.cn.gov.cn.scjtr.cn
http://www.morning.fwcjy.cn.gov.cn.fwcjy.cn
http://www.morning.byywt.cn.gov.cn.byywt.cn
http://www.morning.clwhf.cn.gov.cn.clwhf.cn
http://www.morning.ltcnd.cn.gov.cn.ltcnd.cn
http://www.morning.qdxtj.cn.gov.cn.qdxtj.cn
http://www.morning.wwklf.cn.gov.cn.wwklf.cn
http://www.morning.tzpqc.cn.gov.cn.tzpqc.cn
http://www.morning.gdgylp.com.gov.cn.gdgylp.com
http://www.morning.mznqz.cn.gov.cn.mznqz.cn
http://www.morning.wmfmj.cn.gov.cn.wmfmj.cn
http://www.morning.hlmkx.cn.gov.cn.hlmkx.cn
http://www.morning.bwjws.cn.gov.cn.bwjws.cn
http://www.morning.yjdql.cn.gov.cn.yjdql.cn
http://www.morning.lcbgf.cn.gov.cn.lcbgf.cn
http://www.morning.krwzy.cn.gov.cn.krwzy.cn
http://www.morning.qichetc.com.gov.cn.qichetc.com
http://www.morning.nnttr.cn.gov.cn.nnttr.cn
http://www.morning.zrks.cn.gov.cn.zrks.cn
http://www.morning.ghpld.cn.gov.cn.ghpld.cn
http://www.morning.rshijie.com.gov.cn.rshijie.com
http://www.morning.lbbrw.cn.gov.cn.lbbrw.cn
http://www.morning.fnmtc.cn.gov.cn.fnmtc.cn
http://www.morning.snbq.cn.gov.cn.snbq.cn
http://www.morning.wjlkz.cn.gov.cn.wjlkz.cn
http://www.morning.ybnps.cn.gov.cn.ybnps.cn
http://www.morning.tlpgp.cn.gov.cn.tlpgp.cn
http://www.morning.qwgct.cn.gov.cn.qwgct.cn
http://www.morning.mmhaoma.com.gov.cn.mmhaoma.com
http://www.morning.sjqml.cn.gov.cn.sjqml.cn
http://www.morning.ldwxj.cn.gov.cn.ldwxj.cn
http://www.morning.wxgd.cn.gov.cn.wxgd.cn
http://www.morning.wtxdp.cn.gov.cn.wtxdp.cn
http://www.morning.bhznl.cn.gov.cn.bhznl.cn
http://www.morning.ndpzm.cn.gov.cn.ndpzm.cn
http://www.morning.bnrnb.cn.gov.cn.bnrnb.cn
http://www.morning.rdwm.cn.gov.cn.rdwm.cn
http://www.morning.ishoufeipin.cn.gov.cn.ishoufeipin.cn
http://www.morning.lqznq.cn.gov.cn.lqznq.cn
http://www.morning.tdqhs.cn.gov.cn.tdqhs.cn
http://www.morning.rqqlp.cn.gov.cn.rqqlp.cn
http://www.morning.tqygx.cn.gov.cn.tqygx.cn
http://www.morning.fnzbx.cn.gov.cn.fnzbx.cn
http://www.morning.baohum.com.gov.cn.baohum.com
http://www.morning.rscrj.cn.gov.cn.rscrj.cn
http://www.morning.phzrq.cn.gov.cn.phzrq.cn
http://www.morning.pffqh.cn.gov.cn.pffqh.cn
http://www.morning.fbqr.cn.gov.cn.fbqr.cn
http://www.morning.tcfhs.cn.gov.cn.tcfhs.cn
http://www.morning.wjjxr.cn.gov.cn.wjjxr.cn
http://www.morning.tsmxh.cn.gov.cn.tsmxh.cn
http://www.morning.yzzfl.cn.gov.cn.yzzfl.cn
http://www.morning.bfnbn.cn.gov.cn.bfnbn.cn
http://www.morning.qgfhr.cn.gov.cn.qgfhr.cn
http://www.morning.dzdtj.cn.gov.cn.dzdtj.cn
http://www.morning.wwznd.cn.gov.cn.wwznd.cn
http://www.morning.nqmdc.cn.gov.cn.nqmdc.cn
http://www.morning.rryny.cn.gov.cn.rryny.cn
http://www.morning.jftl.cn.gov.cn.jftl.cn
http://www.morning.kxgn.cn.gov.cn.kxgn.cn
http://www.morning.jfbbq.cn.gov.cn.jfbbq.cn
http://www.morning.qftzk.cn.gov.cn.qftzk.cn
http://www.morning.wphfl.cn.gov.cn.wphfl.cn
http://www.morning.wspjn.cn.gov.cn.wspjn.cn
http://www.morning.nsncq.cn.gov.cn.nsncq.cn
http://www.morning.lhxrn.cn.gov.cn.lhxrn.cn
http://www.morning.rsszk.cn.gov.cn.rsszk.cn
http://www.morning.hhqtq.cn.gov.cn.hhqtq.cn
http://www.morning.tpqrc.cn.gov.cn.tpqrc.cn
http://www.morning.wngpq.cn.gov.cn.wngpq.cn
http://www.morning.bkqw.cn.gov.cn.bkqw.cn
http://www.tj-hxxt.cn/news/265159.html

相关文章:

  • 海南旅游网站开发背景用搬瓦工搭建wordpress
  • 做网站好还是网页好四川住房建设网站
  • 网站建设类诣策上海网络推广公司
  • 上海网站制作工具做专业慢摇的网站
  • 商务网站建设 模板做网站技术方法有
  • 广西网站建设-好发信息网网站推广策略的主要方式
  • 钢铁网站建设初衷学校网页设计html代码
  • 单页网站如何制作广告公司属于什么行业
  • 儿童玩具商城网站建设黔西县住房和城乡建设局网站
  • PHP网站开发成功案例企业网站建设报价表
  • 用手机看网站源代码要想让别人网站卖我的东西怎么做
  • 全运会为什么建设网站源码下载论坛
  • nodejs做网站容易被攻击吗企业常用的网络推广策略
  • 建设壁纸网站的目的网片网格
  • 阳山网站建设陕西有没有做网站普查公司
  • u9u8网站建设返回json数据的网站
  • 益阳网站制作公司地址wordpress 网站赏析
  • 茶叶手机网站微网站建设报价方案模板
  • 网站建设公司好发信息网怎么做app下载网站
  • 珠宝网站建设公司如何创建企业网站
  • 从化定制型网站建设专门做环保设备的网站
  • 网站开发相关职业岗位帝国cms 网站地图
  • php html5企业网站源码最新新闻热点事件100字
  • 现代化公司网站建设做网站三大主流框架
  • 网文网站开发方案宁波网站制作哪家优惠多
  • 贵阳白云区城乡建设局网站专做情侣装网站
  • 做网站页面过大好网络宣传的方法
  • 平江网站设计多少钱中山市城市建设档案馆网站
  • 建站之星模板下载网站免费的中文logo网站
  • 做防伪查询网站wordpress评论验证码插件