Commit 4bd448f7 by LJM

css

parent 57201723
<template>
<div id="app">
<keep-alive exclude="InquireDetail,ListDetail,orderTrackGoodsDetail">
<router-view class="router-view"></router-view>
</keep-alive>
</div>
<div id="app">
<keep-alive exclude="InquireDetail,ListDetail,orderTrackGoodsDetail">
<router-view class="router-view"></router-view>
</keep-alive>
</div>
</template>
<script>
export default {
name: 'app'
}
export default {
name: 'app'
}
</script>
\ No newline at end of file
......@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8"/>
<title>iconfont Demo</title>
<link rel="shortcut icon" href="//img.alicdn.com/imgextra/i2/O1CN01ZyAlrn1MwaMhqz36G_!!6000000001499-73-tps-64-64.ico" type="image/x-icon"/>
<link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01EYTRnJ297D6vehehJ_!!6000000008020-55-tps-64-64.svg"/>
<link rel="shortcut icon" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg" type="image/x-icon"/>
<link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg"/>
<link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
<link rel="stylesheet" href="demo.css">
<link rel="stylesheet" href="iconfont.css">
......@@ -55,6 +55,12 @@
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe625;</span>
<div class="name">指标追踪</div>
<div class="code-name">&amp;#xe625;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe73a;</span>
<div class="name">文档管理</div>
<div class="code-name">&amp;#xe73a;</div>
......@@ -198,9 +204,9 @@
<pre><code class="language-css"
>@font-face {
font-family: 'iconfont';
src: url('iconfont.woff2?t=1623223469753') format('woff2'),
url('iconfont.woff?t=1623223469753') format('woff'),
url('iconfont.ttf?t=1623223469753') format('truetype');
src: url('iconfont.woff2?t=1664261089386') format('woff2'),
url('iconfont.woff?t=1664261089386') format('woff'),
url('iconfont.ttf?t=1664261089386') format('truetype');
}
</code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
......@@ -227,6 +233,15 @@
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont iconzhibiaozhuizong"></span>
<div class="name">
指标追踪
</div>
<div class="code-name">.iconzhibiaozhuizong
</div>
</li>
<li class="dib">
<span class="icon iconfont iconwendangguanli"></span>
<div class="name">
文档管理
......@@ -444,6 +459,14 @@
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconzhibiaozhuizong"></use>
</svg>
<div class="name">指标追踪</div>
<div class="code-name">#iconzhibiaozhuizong</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconwendangguanli"></use>
</svg>
<div class="name">文档管理</div>
......
@font-face {
font-family: "iconfont"; /* Project id 2537242 */
src: url('iconfont.woff2?t=1623223469753') format('woff2'),
url('iconfont.woff?t=1623223469753') format('woff'),
url('iconfont.ttf?t=1623223469753') format('truetype');
src: url('iconfont.woff2?t=1664261089386') format('woff2'),
url('iconfont.woff?t=1664261089386') format('woff'),
url('iconfont.ttf?t=1664261089386') format('truetype');
}
.iconfont {
......@@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.iconzhibiaozhuizong:before {
content: "\e625";
}
.iconwendangguanli:before {
content: "\e73a";
}
......
......@@ -6,6 +6,13 @@
"description": "猎芯云芯系统前端",
"glyphs": [
{
"icon_id": "7884841",
"name": "指标追踪",
"font_class": "zhibiaozhuizong",
"unicode": "e625",
"unicode_decimal": 58917
},
{
"icon_id": "22154515",
"name": "文档管理",
"font_class": "wendangguanli",
......
......@@ -50,7 +50,7 @@
</el-menu-item>
<el-submenu index="2">
<template slot="title">
<span class="icon iconfont"></span>
<span class="icon iconfont iconbj"></span>
<span slot="title">询报价管理</span>
</template>
<el-menu-item-group>
......@@ -61,7 +61,7 @@
</el-submenu>
<el-submenu index="3">
<template slot="title">
<span class="icon iconfont"></span>
<span class="icon iconfont iconzhibiaozhuizong"></span>
<span slot="title">订单追踪</span>
</template>
<el-menu-item-group>
......@@ -71,7 +71,7 @@
</el-submenu>
<el-submenu index="4">
<template slot="title">
<span class="icon iconfont"></span>
<span class="icon iconfont iconstore"></span>
<span slot="title">库存管理</span>
</template>
<el-menu-item-group>
......@@ -83,7 +83,7 @@
</el-submenu>
<el-submenu index="5">
<template slot="title">
<span class="icon iconfont"></span>
<span class="icon iconfont icongoods"></span>
<span slot="title">商品管理</span>
</template>
<el-menu-item-group>
......@@ -93,7 +93,7 @@
</el-submenu>
<el-submenu index="6">
<template slot="title">
<span class="icon iconfont"></span>
<span class="icon iconfont iconuser"></span>
<span slot="title">用户中心</span>
</template>
<el-menu-item-group>
......@@ -108,7 +108,7 @@
<div class="zankai">
<span class="icon iconfont fr" @click="zk"></span>
</div>
<div class="item " :class="{'act':tabSure==1}">
<div class="item" :class="{'act':tabSure==1}">
<span class="icon iconfont"></span>
</div>
<div class="item" :class="{'act':tabSure==2}">
......@@ -771,21 +771,23 @@ export default {
}
.el-submenu {
transition: all 0.4s ease;
position: relative;
}
.el-submenu:hover {
&::after {
content: "";
position: absolute;
left: 0px;
top: 7px;
width: 5px;
height: 30px;
background: #1969F9;
&:hover {
&::after {
content: "";
position: absolute;
left: 0px;
top: 7px;
width: 5px;
height: 30px;
background: #1969F9;
}
}
}
.el-menu-item:focus,
.el-menu-item:hover,
.el-submenu__title:hover {
......@@ -838,7 +840,8 @@ export default {
.el-submenu__title {
height: 46px;
line-height: 42px;
padding-left: 37px !important;
padding-left: 37px;
transition: all 0.4s ease;
.iconfont {
font-size: 20px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment