Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1b771be9
authored
Oct 08, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
消息管理
parent
023dafcc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
74 additions
and
17 deletions
src/assets/css/font/demo_index.html
src/assets/css/font/iconfont.css
src/assets/css/font/iconfont.js
src/assets/css/font/iconfont.json
src/assets/css/font/iconfont.ttf
src/assets/css/font/iconfont.woff
src/assets/css/font/iconfont.woff2
src/assets/css/index/index.less
src/assets/css/index/index.min.css.map
src/components/menu.vue
src/router/index.js
src/views/Store/goodslist.vue
src/assets/css/font/demo_index.html
View file @
1b771be9
...
...
@@ -55,6 +55,12 @@
<ul
class=
"icon_lists dib-box"
>
<li
class=
"dib"
>
<span
class=
"icon iconfont"
>

</span>
<div
class=
"name"
>
消息管理
</div>
<div
class=
"code-name"
>
&
#xe60a;
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon iconfont"
>

</span>
<div
class=
"name"
>
指标追踪
</div>
<div
class=
"code-name"
>
&
#xe625;
</div>
...
...
@@ -204,9 +210,9 @@
<pre><code
class=
"language-css"
>
@font-face {
font-family: 'iconfont';
src: url('iconfont.woff2?t=166
4261089386
') format('woff2'),
url('iconfont.woff?t=166
4261089386
') format('woff'),
url('iconfont.ttf?t=166
4261089386
') format('truetype');
src: url('iconfont.woff2?t=166
5219700763
') format('woff2'),
url('iconfont.woff?t=166
5219700763
') format('woff'),
url('iconfont.ttf?t=166
5219700763
') format('truetype');
}
</code></pre>
<h3
id=
"-iconfont-"
>
第二步:定义使用 iconfont 的样式
</h3>
...
...
@@ -233,6 +239,15 @@
<ul
class=
"icon_lists dib-box"
>
<li
class=
"dib"
>
<span
class=
"icon iconfont iconxiaoxiguanli1"
></span>
<div
class=
"name"
>
消息管理
</div>
<div
class=
"code-name"
>
.iconxiaoxiguanli1
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon iconfont iconzhibiaozhuizong"
></span>
<div
class=
"name"
>
指标追踪
...
...
@@ -459,6 +474,14 @@
<li
class=
"dib"
>
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconxiaoxiguanli1"
></use>
</svg>
<div
class=
"name"
>
消息管理
</div>
<div
class=
"code-name"
>
#iconxiaoxiguanli1
</div>
</li>
<li
class=
"dib"
>
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconzhibiaozhuizong"
></use>
</svg>
<div
class=
"name"
>
指标追踪
</div>
...
...
src/assets/css/font/iconfont.css
View file @
1b771be9
@font-face
{
font-family
:
"iconfont"
;
/* Project id 2537242 */
src
:
url('iconfont.woff2?t=166
4261089386
')
format
(
'woff2'
),
url('iconfont.woff?t=166
4261089386
')
format
(
'woff'
),
url('iconfont.ttf?t=166
4261089386
')
format
(
'truetype'
);
src
:
url('iconfont.woff2?t=166
5219700763
')
format
(
'woff2'
),
url('iconfont.woff?t=166
5219700763
')
format
(
'woff'
),
url('iconfont.ttf?t=166
5219700763
')
format
(
'truetype'
);
}
.iconfont
{
...
...
@@ -13,6 +13,10 @@
-moz-osx-font-smoothing
:
grayscale
;
}
.iconxiaoxiguanli1
:before
{
content
:
"\e60a"
;
}
.iconzhibiaozhuizong
:before
{
content
:
"\e625"
;
}
...
...
src/assets/css/font/iconfont.js
View file @
1b771be9
This diff is collapsed.
Click to expand it.
src/assets/css/font/iconfont.json
View file @
1b771be9
...
...
@@ -6,6 +6,13 @@
"description"
:
"猎芯云芯系统前端"
,
"glyphs"
:
[
{
"icon_id"
:
"1111857"
,
"name"
:
"消息管理"
,
"font_class"
:
"xiaoxiguanli1"
,
"unicode"
:
"e60a"
,
"unicode_decimal"
:
58890
},
{
"icon_id"
:
"7884841"
,
"name"
:
"指标追踪"
,
"font_class"
:
"zhibiaozhuizong"
,
...
...
src/assets/css/font/iconfont.ttf
View file @
1b771be9
No preview for this file type
src/assets/css/font/iconfont.woff
View file @
1b771be9
No preview for this file type
src/assets/css/font/iconfont.woff2
View file @
1b771be9
No preview for this file type
src/assets/css/index/index.less
View file @
1b771be9
...
...
@@ -270,7 +270,8 @@
font-size: 12px;
color: #fff;
}
.num{
.num {
width: 20px;
height: 20px;
border-radius: 50%;
...
...
src/assets/css/index/index.min.css.map
View file @
1b771be9
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA;EACI,UAAA;EACA,kBAAA;EACA,oBAAA;;AAHJ,WAKI;EACI,iBAAA;;AANR,WAKI,YAGI;EACI,yBAAA;EACA,UAAA;EACA,aAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;;AAdZ,WAKI,YAGI,GAQI,KACI;EACI,eAAA;EACA,cAAA;EACA,gBAAA;;AApBpB,WAKI,YAGI,GAQI,KAOI;EACI,WAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,eAAA;EACA,cAAA;EACA,eAAA;EACA,yBAAA;;AAEA,WA7BhB,YAGI,GAQI,KAOI,IAWK;EACG,yBAAA;EACA,cAAA;;AApCxB,WAKI,YAGI,GAiCI;EACI,gBAAA;EACA,mBAAA;EACA,qBAAA;;AA5ChB,WAKI,YAGI,GAiCI,KAKI;EACI,kBAAA;;AA/CpB,WAKI,YAGI,GAiCI,KASI;EACI,eAAA;EACA,cAAA;EACA,iBAAA;EACA,gBAAA;;AAtDpB,WAKI,YAGI,GAiCI,KAgBI;EACI,eAAA;EACA,cAAA;EACA,iBAAA;EACA,iBAAA;EACA,gBAAA;;AA9DpB,WAKI,YAGI,GA0DI,QACI;EACI,eAAA;EACA,cAAA;EACA,gBAAA;;AAtEpB,WAKI,YAGI,GA0DI,QAOI;EACI,eAAA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,yBAAA;EACA,cAAA;;AAGJ,WAlHR,aASI,GAyGK,MACG;EACI,WAAW,gBAAX;;AAFR,WAlHR,aASI,GAyGK,MAKG;EACI,WAAW,aAAX;;AANR,WAlHR,aASI,GAyGK,MASG;EACI,cAAA;;AA7MpB,WAmNI;EACI,gBAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,aAAA;EACA,kBAAA;;AAzNR,WAmNI,UAQI;EACI,WAAA;EACA,gBAAA;;AA7NZ,WAiOI;EACI,kBAAA;EACA,gBAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,aAAA;;AAvOR,WAiOI,OAQI;EACI,gBAAA;EACA,aAAA;;AA3OZ,WAiOI,OAQI,eAII;EACI,aAAA;EACA,YAAA;;AA/OhB,WAiOI,OAQI,eASI;EACI,aAAA;EACA,YAAA;;AApPhB,WAiOI,OAQI,eASI,UAII;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,eAAA;EACA,WAAA;;AA5PpB,WAiOI,OAQI,eASI,UAaI;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,eAAA;EACA,WAAA;;AArQpB,WAiOI,OAQI,eASI,UAsBI;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,eAAA;EACA,WAAA;;AA9QpB,WAiOI,OAQI,eASI,UA8BI;EACI,WAAA;EACA,YAAA;EACA,kBAAA","file":"index.min.css"}
\ No newline at end of file
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA;EACI,UAAA;EACA,kBAAA;EACA,oBAAA;;AAHJ,WAKI;EACI,iBAAA;;AANR,WAKI,YAGI;EACI,yBAAA;EACA,UAAA;EACA,aAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;;AAdZ,WAKI,YAGI,GAQI,KACI;EACI,eAAA;EACA,cAAA;EACA,gBAAA;;AApBpB,WAKI,YAGI,GAQI,KAOI;EACI,WAAA;EACA,YAAA;EACA,mB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;EACA,eAAA;EACA,WAAA;;AArQpB,WAiOI,OAQI,eASI,UAsBI;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,eAAA;EACA,WAAA;;AA9QpB,WAiOI,OAQI,eASI,UA+BI;EACI,WAAA;EACA,YAAA;EACA,kBAAA","file":"index.min.css"}
\ No newline at end of file
src/components/menu.vue
View file @
1b771be9
...
...
@@ -93,6 +93,15 @@
</el-submenu>
<el-submenu
index=
"6"
>
<
template
slot=
"title"
>
<span
class=
"icon iconfont iconxiaoxiguanli1"
></span>
<span
slot=
"title"
>
消息管理
</span>
</
template
>
<el-menu-item-group>
<el-menu-item
:index=
"'/news'"
>
消息列表
</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu
index=
"7"
>
<
template
slot=
"title"
>
<span
class=
"icon iconfont iconuser"
></span>
<span
slot=
"title"
>
用户中心
</span>
</
template
>
...
...
@@ -109,22 +118,25 @@
<span
class=
"icon iconfont fr"
@
click=
"zk"
>
</span>
</div>
<div
class=
"item"
:class=
"{'act':tabSure==1}"
>
<span
class=
"icon iconfont
"
>
</span>
<span
class=
"icon iconfont
iconsy"
>
</span>
</div>
<div
class=
"item"
:class=
"{'act':tabSure==2}"
>
<span
class=
"icon iconfont
"
>
</span>
<span
class=
"icon iconfont
iconbj"
>
</span>
</div>
<div
class=
"item"
:class=
"{'act':tabSure==3}"
>
<span
class=
"icon iconfont
"
>
</span>
<span
class=
"icon iconfont
iconzhibiaozhuizong"
>
</span>
</div>
<div
class=
"item"
:class=
"{'act':tabSure==4}"
>
<span
class=
"icon iconfont
"
>
</span>
<span
class=
"icon iconfont
iconstore"
>
</span>
</div>
<div
class=
"item"
:class=
"{'act':tabSure==5}"
>
<span
class=
"icon iconfont
"
>
</span>
<span
class=
"icon iconfont
icongoods"
>
</span>
</div>
<div
class=
"item"
:class=
"{'act':tabSure==6}"
>
<span
class=
"icon iconfont"
>
</span>
<span
class=
"icon iconfont iconxiaoxiguanli1"
></span>
</div>
<div
class=
"item"
:class=
"{'act':tabSure==7}"
>
<span
class=
"icon iconfont iconuser"
></span>
</div>
</div>
<div
class=
"kf-box"
>
...
...
@@ -177,7 +189,7 @@
<
script
>
import
Vue
from
'vue'
;
import
Util
from
"../tool"
;
import
{
Button
,
Dialog
,
Form
,
FormItem
,
Input
,
Menu
,
MenuItem
,
MenuItemGroup
,
Message
,
Submenu
,
Tooltip
,
MessageBox
}
from
'element-ui'
import
{
Button
,
Dialog
,
Form
,
FormItem
,
Input
,
Menu
,
MenuItem
,
MenuItemGroup
,
Message
,
MessageBox
,
Submenu
,
Tooltip
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Menu
).
use
(
MenuItem
).
use
(
MenuItemGroup
).
use
(
Submenu
).
use
(
Form
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Button
).
use
(
Tooltip
).
use
(
Input
);
...
...
src/router/index.js
View file @
1b771be9
...
...
@@ -22,6 +22,7 @@ const OrderTrackGoods = resolve => require(['@/views/OrderTrack/goods.vue'], res
const
orderTrackGoodsDetail
=
resolve
=>
require
([
'@/views/OrderTrack/goodsDetail.vue'
],
resolve
);
const
OrderTrackInvoice
=
resolve
=>
require
([
'@/views/OrderTrack/invoice.vue'
],
resolve
);
const
OrderTrackPurAdd
=
resolve
=>
require
([
'@/views/OrderTrack/purAdd.vue'
],
resolve
);
const
News
=
resolve
=>
require
([
'@/views/News/index.vue'
],
resolve
);
const
routes
=
[
...
...
@@ -175,6 +176,15 @@ const routes = [
},
component
:
BindError
},
{
path
:
'/news'
,
name
:
'news'
,
meta
:
{
title
:
'消息列表'
,
},
component
:
News
},
/**错误页面重定向到首页**/
{
path
:
'*'
,
...
...
src/views/Store/goodslist.vue
View file @
1b771be9
...
...
@@ -821,7 +821,7 @@ export default {
handleCurrentChange
(
val
)
{
this
.
page
=
val
;
this
.
getData
();
}
,
}
},
components
:
{
Menu
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment