Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
weixin-vue
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
weixin-vue
Commits
8982f300
Commit
8982f300
authored
Jul 31, 2017
by
Paul0523
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加功能
parent
4934a650
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
config/index.js
config/index.js
+1
-1
src/components/Ele.vue
src/components/Ele.vue
+15
-4
No files found.
config/index.js
View file @
8982f300
...
...
@@ -7,7 +7,7 @@ module.exports = {
index
:
path
.
resolve
(
__dirname
,
'
../dist/index.html
'
),
assetsRoot
:
path
.
resolve
(
__dirname
,
'
../dist
'
),
assetsSubDirectory
:
'
static
'
,
assetsPublicPath
:
'
/
'
,
assetsPublicPath
:
'
.
/
'
,
productionSourceMap
:
true
,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
...
...
src/components/Ele.vue
View file @
8982f300
<
template
>
<el-row
class=
"tac"
style=
"height: 100%; width: 1000px; margin: 0 auto;"
>
<el-col
:span=
"5"
style=
" background: #
13CE66; height: 100%; position:relativ
e;"
>
<el-col
:span=
"5"
style=
" background: #
2E3238; height: 100%; position:relative; color: whit
e;"
>
<div
style=
"height: 100px;"
>
我的信息
</div>
<el-menu
style=
"position: absolute; top: 100px; bottom: 0px; overflow-y: scroll; width: 100%
;"
default-active=
"-1"
class=
"el-menu-vertical-demo"
@
select=
"select"
>
<el-menu
id=
"contacts"
style=
"position: absolute; top: 100px; bottom: 0px; overflow-y: hidden; width: 100%; background: #2E3238
;"
default-active=
"-1"
class=
"el-menu-vertical-demo"
@
select=
"select"
>
<el-menu-item
v-bind:index=
"index.toString()"
v-for=
"(item, index) in items"
v-bind:key=
"index"
>
<el-badge
v-bind:value=
"item.msgs.length"
class=
"item"
:max=
"99"
>
<i
class=
"el-icon-menu"
/>
{{
item
.
remarkName
?
item
.
remarkName
:
item
.
nickName
}}
...
...
@@ -10,8 +10,8 @@
</el-menu-item>
</el-menu>
</el-col>
<el-col
:span=
"19"
style=
"height: 100%; position: relative;"
>
<div
style=
"height: 30px; background: #
F7BA2A
; margin: 0 19px; padding: 10px 0; border-bottom: 1px solid #d6d6d6;"
>
{{
title
}}
</div>
<el-col
:span=
"19"
style=
"height: 100%; position: relative;
background: #eeeeee;
"
>
<div
style=
"height: 30px; background: #
EEEEEE
; margin: 0 19px; padding: 10px 0; border-bottom: 1px solid #d6d6d6;"
>
{{
title
}}
</div>
<div
id=
"chatWin"
style=
"position: absolute; bottom: 200px; top: 50px; background: #324057; width: 100%; overflow-y: scroll;"
>
<chat-item-r
v-bind:message=
"item"
v-for=
"(item, index) in chatMsgs"
v-bind:key=
"index"
></chat-item-r>
</div>
...
...
@@ -34,6 +34,17 @@
top
:
28px
!important
;
right
:
-4px
!important
;
}
.el-menu-item
:last-child
{
margin-right
:
0
;
border-bottom
:
#000
1px
solid
;
}
.el-menu
li
{
list-style
:
none
;
border-top
:
#000
1px
solid
;
}
#contacts
:hover
{
overflow-y
:
scroll
!important
;
}
</
style
>
<
script
>
...
...
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