Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
陈婉清
/
template-introduction
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 53eb3c1d
authored
Sep 08, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
文档-组件更新
1 parent
5e61e688
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
30 deletions
config/index.js
src/App.vue
src/components/glsxComponents/src/tableIntroduce.vue
src/components/independentSys/src/configAuthority.vue
src/css/common.css
config/index.js
View file @
53eb3c1
...
@@ -13,7 +13,7 @@ module.exports = {
...
@@ -13,7 +13,7 @@ module.exports = {
proxyTable
:
{},
proxyTable
:
{},
// Various Dev Server settings
// Various Dev Server settings
host
:
'192.168.
3.32
'
,
// can be overwritten by process.env.HOST
host
:
'192.168.
2.39
'
,
// can be overwritten by process.env.HOST
port
:
8899
,
// can be overwritten by process.env.PORT, if port is in use, a free one will be determined
port
:
8899
,
// can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser
:
true
,
autoOpenBrowser
:
true
,
errorOverlay
:
true
,
errorOverlay
:
true
,
...
...
src/App.vue
View file @
53eb3c1
...
@@ -98,34 +98,27 @@ export default {
...
@@ -98,34 +98,27 @@ export default {
{
{
title
:
'组件封装'
,
title
:
'组件封装'
,
list
:
[
list
:
[
{
text
:
'表格组件'
,
link
:
'tableIntroduce'
{
text
:
'表格组件'
,
link
:
'tableIntroduce'
}
// pageLinkList: [{ text: '接口返回规则', jumpTag: 'rule' }]
}
]
]
}
}
]
]
}
}
},
},
mounted
()
{
mounted
()
{
// console.log(this.$route)
var
pageLink
=
window
.
location
.
href
.
split
(
'/'
)[
window
.
location
.
href
.
split
(
'/'
).
length
-
1
]
for
(
var
item
of
this
.
data
)
{
var
subItem
=
item
.
list
.
find
(
i
=>
i
.
link
===
pageLink
)
if
(
subItem
)
{
this
.
header
=
subItem
.
text
break
}
}
},
},
methods
:
{
methods
:
{
scrollTop
(
val
)
{
scrollTop
(
val
)
{
document
.
documentElement
.
scrollTop
=
0
document
.
documentElement
.
scrollTop
=
0
this
.
header
=
val
.
text
this
.
header
=
val
.
text
}
}
// 调到页面指定位置
// jumpTo (parentItem, targetIdx) {
// this.$router.push({
// name: parentItem.link,
// query: {
// random: Math.random()
// },
// params: {
// jumpTag: parentItem.pageLinkList[targetIdx].jumpTag
// }
// })
// }
}
}
}
}
</
script
>
</
script
>
...
@@ -192,7 +185,6 @@ export default {
...
@@ -192,7 +185,6 @@ export default {
.app-main
{
.app-main
{
margin
:
100px
0
40px
;
margin
:
100px
0
40px
;
width
:
100%
;
width
:
100%
;
color
:
#333
;
}
}
.nav-group__title
{
.nav-group__title
{
font-size
:
14px
;
font-size
:
14px
;
...
...
src/components/glsxComponents/src/tableIntroduce.vue
View file @
53eb3c1
This diff is collapsed.
Click to expand it.
src/components/independentSys/src/configAuthority.vue
View file @
53eb3c1
...
@@ -70,16 +70,16 @@
...
@@ -70,16 +70,16 @@
<p
class=
"explain"
>
登陆系统后,默认进入的页面,无需权限控制。
</p>
<p
class=
"explain"
>
登陆系统后,默认进入的页面,无需权限控制。
</p>
<pre><code>
<pre><code>
<span
class=
"hljs-attribute"
>
export
</span>
<span
class=
"hljs-keyword"
>
const
</span>
home = {
<span
class=
"hljs-attribute"
>
export
</span>
<span
class=
"hljs-keyword"
>
const
</span>
home = {
path:
<s
apn
class=
"hljs-string"
>
'/index'
</sap
n>
,
path:
<s
pan
class=
"hljs-string"
>
'/index'
</spa
n>
,
name:
<s
apn
class=
"hljs-string"
>
'index'
</sap
n>
,
name:
<s
pan
class=
"hljs-string"
>
'index'
</spa
n>
,
icon:
<s
apn
class=
"hljs-string"
>
's-home'
</sap
n>
,
icon:
<s
pan
class=
"hljs-string"
>
's-home'
</spa
n>
,
meta: {
meta: {
title:
<s
apn
class=
"hljs-string"
>
'echats'
</sap
n>
,
title:
<s
pan
class=
"hljs-string"
>
'echats'
</spa
n>
,
authId:
<s
apn
class=
"hljs-string"
>
'101'
</sap
n>
,
authId:
<s
pan
class=
"hljs-string"
>
'101'
</spa
n>
,
parentId:
<s
apn
class=
"hljs-string"
>
'0'
</sap
n>
,
parentId:
<s
pan
class=
"hljs-string"
>
'0'
</spa
n>
,
cache: true
cache: true
},
},
component:
<span
id=
"configItem"
class=
"hljs-attribute"
>
_import
</span>
(
<s
apn
class=
"hljs-string"
>
'index'
</sap
n>
)
component:
<span
id=
"configItem"
class=
"hljs-attribute"
>
_import
</span>
(
<s
pan
class=
"hljs-string"
>
'index'
</spa
n>
)
}
}
</code></pre>
</code></pre>
<table
cellspacing=
'0'
>
<table
cellspacing=
'0'
>
...
...
src/css/common.css
View file @
53eb3c1
...
@@ -7,7 +7,8 @@ body,
...
@@ -7,7 +7,8 @@ body,
html
{
html
{
font-family
:
'Helvetica Neue'
,
Helvetica
,
'PingFang SC'
,
'Hiragino Sans GB'
,
'Microsoft YaHei'
,
'SimSun'
,
sans-serif
;
font-family
:
'Helvetica Neue'
,
Helvetica
,
'PingFang SC'
,
'Hiragino Sans GB'
,
'Microsoft YaHei'
,
'SimSun'
,
sans-serif
;
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
color
:
#1f2f3d
;
color
:
#333
;
/* color: #5e6d82; */
}
}
a
{
a
{
...
@@ -40,7 +41,6 @@ a {
...
@@ -40,7 +41,6 @@ a {
.box
p
{
.box
p
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#5e6d82
;
line-height
:
1.5em
;
line-height
:
1.5em
;
/* margin: 1em 0; */
/* margin: 1em 0; */
}
}
...
@@ -111,11 +111,12 @@ table {
...
@@ -111,11 +111,12 @@ table {
}
}
table
td
{
table
td
{
height
:
40px
;
/* height: 40px; */
padding
:
0px
16px
;
line-height
:
20px
;
padding
:
8px
16px
;
border-bottom
:
1px
solid
#cfd3d5
;
border-bottom
:
1px
solid
#cfd3d5
;
border-width
:
0px
1px
1px
0px
;
border-width
:
0px
1px
1px
0px
;
white-space
:
nowrap
;
/* white-space: nowrap; */
}
}
code
{
code
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment