Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 724ae533
authored
Mar 02, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
css 与 UI调整
1 parent
e5167d02
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
185 additions
and
204 deletions
linkwe-pc/src/assets/login.png
linkwe-pc/src/layout/components/Logo.vue
linkwe-pc/src/layout/components/Navbar.vue
linkwe-pc/src/layout/components/TopNav/index.vue
linkwe-pc/src/styles/element-ui.scss
linkwe-pc/src/styles/index.scss
linkwe-pc/src/styles/var.css
linkwe-pc/src/views/customerManage/customer.vue
linkwe-pc/src/views/customerManage/customer/infoTab.vue
linkwe-pc/src/views/customerManage/group.vue
linkwe-pc/src/views/enterpriseManage/contacts/organization.vue
linkwe-pc/src/views/groupMessage/add.vue
linkwe-pc/src/views/groupMessage/record.vue
linkwe-pc/src/views/index/index.vue
linkwe-pc/src/views/login.vue
linkwe-pc/src/assets/login.png
View file @
724ae53
227 KB
|
W:
|
H:
194 KB
|
W:
|
H:
2-up
Swipe
Onion skin
linkwe-pc/src/layout/components/Logo.vue
View file @
724ae53
...
@@ -41,10 +41,10 @@ export default {
...
@@ -41,10 +41,10 @@ export default {
.logo-container
{
.logo-container
{
position
:
relative
;
position
:
relative
;
width
:
330px
;
flex
:
0
1
300px
;
overflow
:
hidden
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding-right
:
10px
;
&
.sidebar-logo-link
{
&
.sidebar-logo-link
{
&
.sidebar-logo
{
&
.sidebar-logo
{
max-height
:
44px
;
max-height
:
44px
;
...
...
linkwe-pc/src/layout/components/Navbar.vue
View file @
724ae53
...
@@ -14,10 +14,8 @@
...
@@ -14,10 +14,8 @@
</div>
</div>
</
template
>
</
template
>
</el-scrollbar>
-->
</el-scrollbar>
-->
<!-- <el-scrollbar class="nav-scrollar"> -->
<top-nav
/>
<top-nav
id=
"topmenu-container"
/>
<div
class=
"right-menu mr10"
>
<!-- </el-scrollbar> -->
<div
class=
"right-menu mr20"
>
<
template
v-if=
"device !== 'mobile'"
>
<
template
v-if=
"device !== 'mobile'"
>
<!--
<search
id=
"header-search"
class=
"right-menu-item"
/>
-->
<!--
<search
id=
"header-search"
class=
"right-menu-item"
/>
-->
<!--
<el-popover
placement=
"right"
width=
"300"
trigger=
"hover"
>
<!--
<el-popover
placement=
"right"
width=
"300"
trigger=
"hover"
>
...
@@ -171,14 +169,6 @@ export default {
...
@@ -171,14 +169,6 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
//
.topmenu-container
{
//
margin-left
:
auto
;
//
display
:
inline-block
;
//
position
:
absolute
;
//
right
:
100px
;
//
top
:
50%
;
//
transform
:
translateY
(
-50%
);
//
}
.hover-class
{
.hover-class
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -206,6 +196,7 @@ export default {
...
@@ -206,6 +196,7 @@ export default {
.navbar
{
.navbar
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -218,8 +209,9 @@ export default {
...
@@ -218,8 +209,9 @@ export default {
}
}
.right-menu
{
.right-menu
{
position
:
absolute
;
//
position
:
absolute
;
right
:
0
;
//
right
:
0
;
flex
:
none
;
background
:
#fff
;
background
:
#fff
;
&:focus
{
&:focus
{
...
@@ -228,7 +220,7 @@ export default {
...
@@ -228,7 +220,7 @@ export default {
.right-menu-item
{
.right-menu-item
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
0
0
0
15px
;
padding
:
0
0
0
min
(
2vw
-
20px
,
15px
)
;
//
color
:
#5a5e66
;
//
color
:
#5a5e66
;
vertical-align
:
middle
;
vertical-align
:
middle
;
...
@@ -276,30 +268,30 @@ export default {
...
@@ -276,30 +268,30 @@ export default {
}
}
}
}
.nav-scrollbar
{
//
.nav-scrollbar
{
width
:
calc
(
100%
-
450px
);
//
width
:
calc
(
100%
-
450px
);
::v-deep.el-scrollbar__view
{
//
::v-deep.el-scrollbar__view
{
white-space
:
nowrap
;
//
white-space
:
nowrap
;
line-height
:
58px
;
//
line-height
:
58px
;
}
//
}
.nav
{
//
.nav
{
display
:
inline-block
;
//
display
:
inline-block
;
margin
:
0
20px
;
//
margin
:
0
20px
;
flex
:
none
;
//
flex
:
none
;
position
:
relative
;
//
position
:
relative
;
cursor
:
pointer
;
//
cursor
:
pointer
;
&.
active
::
after
{
//
&.
active
::
after
{
content
:
''
;
//
content
:
''
;
display
:
inline-block
;
//
display
:
inline-block
;
position
:
absolute
;
//
position
:
absolute
;
bottom
:
2px
;
//
bottom
:
2px
;
width
:
42px
;
//
width
:
42px
;
height
:
2px
;
//
height
:
2px
;
left
:
50%
;
//
left
:
50%
;
transform
:
translateX
(
-50%
);
//
transform
:
translateX
(
-50%
);
border-radius
:
6px
;
//
border-radius
:
6px
;
background
:
#fff
;
//
background
:
#fff
;
}
//
}
}
//
}
}
//
}
</
style
>
</
style
>
linkwe-pc/src/layout/components/TopNav/index.vue
View file @
724ae53
<
template
>
<
template
>
<!--
<el-scrollbar
class=
"nav-scrollbar"
>
-->
<el-menu
:default-active=
"activeMenu"
mode=
"horizontal"
@
select=
"handleSelect"
>
<el-menu
:default-active=
"activeMenu"
mode=
"horizontal"
@
select=
"handleSelect"
>
<el-menu-item
v-for=
"(item, index) in topMenus"
:index=
"item.path"
:key=
"index"
>
{{
item
.
meta
.
title
}}
</el-menu-item>
<el-menu-item
v-for=
"(item, index) in topMenus"
:index=
"item.path"
:key=
"index"
>
{{
item
.
meta
.
title
}}
</el-menu-item>
</el-menu>
</el-menu>
<!--
</el-scrollbar>
-->
</
template
>
</
template
>
<
script
>
<
script
>
import
{
constantRoutes
}
from
'@/router'
import
{
isExternal
}
from
'@/utils/validate'
import
{
isExternal
}
from
'@/utils/validate'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
// name: '',
// name: '',
// 顶部栏初始数
visibleNumber
:
5
,
// 是否为首次加载
isFrist
:
false
,
// 当前激活菜单的
// 当前激活菜单的
currentIndex
:
''
,
currentIndex
:
''
,
}
}
},
},
computed
:
{
computed
:
{
theme
()
{
return
this
.
$store
.
state
.
settings
.
theme
},
// 顶部显示菜单
// 顶部显示菜单
topMenus
()
{
topMenus
()
{
let
topMenus
=
[]
let
topMenus
=
[]
...
@@ -50,16 +46,8 @@ export default {
...
@@ -50,16 +46,8 @@ export default {
return
activePath
return
activePath
},
},
},
},
beforeMount
()
{
window
.
addEventListener
(
'resize'
,
this
.
setVisibleNumber
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
setVisibleNumber
)
},
mounted
()
{
mounted
()
{
this
.
setVisibleNumber
()
// this.setName()
// this.setName()
// this.handleSelect(this.topMenus[0].path)
},
},
methods
:
{
methods
:
{
// setName() {
// setName() {
...
@@ -69,19 +57,12 @@ export default {
...
@@ -69,19 +57,12 @@ export default {
// }
// }
// })
// })
// },
// },
// 根据宽度计算设置显示栏数
setVisibleNumber
()
{
const
width
=
document
.
body
.
getBoundingClientRect
().
width
/
3
this
.
visibleNumber
=
parseInt
(
width
/
85
)
},
// 菜单选择事件
// 菜单选择事件
handleSelect
(
path
,
keyPath
)
{
handleSelect
(
path
,
keyPath
)
{
this
.
currentIndex
=
path
let
index
=
''
this
.
topMenus
.
map
((
dd
,
cc
)
=>
{
this
.
topMenus
.
map
((
dd
,
cc
)
=>
{
if
(
path
==
dd
.
path
)
{
if
(
path
==
dd
.
path
)
{
// this.name = dd.meta.title
// this.name = dd.meta.title
index
=
cc
}
}
})
})
if
(
this
.
ishttp
(
path
))
{
if
(
this
.
ishttp
(
path
))
{
...
@@ -114,66 +95,74 @@ export default {
...
@@ -114,66 +95,74 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.
bg
lg
{
.
g-bg-
lg
{
background
:
linear-gradient
(
to
left
,
var
(
--color
)
0%
,
var
(
--color-lighter
)
100%
);
background
:
linear-gradient
(
to
left
,
var
(
--color
)
0%
,
var
(
--color-lighter
)
100%
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0.2
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0.2
);
}
}
.el-menu
{
//
.nav-scrollbar
{
//
width
:
calc
(
100%
-
580px
);
//
::v-deep.el-scrollbar__view
{
//
white-space
:
nowrap
;
//
}
//
}
::v-deep
.el-menu--horizontal
{
background-color
:
transparent
!important
;
background-color
:
transparent
!important
;
}
.el-menu.el-menu--horizontal
{
border
:
none
!important
;
border
:
none
!important
;
}
white-space
:
nowrap
;
.el-menu--horizontal
>
.el-menu-item
{
flex
:
1
1
1200px
;
float
:
left
;
&
>
.el-menu-item
{
height
:
38px
!important
;
height
:
38px
!important
;
line-height
:
38px
!important
;
line-height
:
38px
!important
;
color
:
#1d2129
;
color
:
#1d2129
;
border-radius
:
8px
;
font-weight
:
bold
;
margin
:
0
4px
!important
;
border
:
0
;
&::after
{
content
:
''
;
display
:
block
;
opacity
:
0
;
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
-1
;
width
:
100%
;
height
:
100%
;
border-radius
:
8px
;
border-radius
:
8px
;
transition
:
opacity
0.3s
;
font-weight
:
bold
;
@extend
.bglg;
margin
:
0
4px
!important
;
}
border
:
0
;
&
:not
(
.is-disabled
)
{
padding
:
0px
min
(
1.1vw
,
20px
);
&:hover,
float
:
none
;
&:focus
{
display
:
inline-block
;
&::after
{
&::after
{
opacity
:
1
;
content
:
''
;
display
:
block
;
opacity
:
0
;
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
-1
;
width
:
100%
;
height
:
100%
;
border-radius
:
8px
;
transition
:
opacity
0.3s
;
@extend
.g-bg-lg;
}
&
:not
(
.is-disabled
)
{
&:hover,
&:focus
{
&::after
{
opacity
:
1
;
}
background-color
:
transparent
;
color
:
#fff
;
}
}
background-color
:
transparent
;
color
:
#fff
;
}
}
}
}
}
.el-menu--horizontal
>
.el-menu-item.is-active
,
&
>
.el-menu-item.is-active
,
.el-menu--horizontal
>
.el-submenu.is-active
.el-submenu__title
{
&
>
.el-submenu.is-active
.el-submenu__title
{
@extend
.bg
lg;
@extend
.g-bg-
lg;
color
:
#fff
;
color
:
#fff
;
border
:
0
;
border
:
0
;
}
}
/* submenu item */
//
/* submenu item */
.el-menu--horizontal
>
.el-submenu
.el-submenu__title
{
//
&
>
.el-submenu
.el-submenu__title
{
float
:
left
;
//
float
:
left
;
height
:
50px
!important
;
//
height
:
50px
!important
;
line-height
:
50px
!important
;
//
line-height
:
50px
!important
;
color
:
#999093
!important
;
//
color
:
#999093
!important
;
padding
:
0
5px
!important
;
//
padding
:
0
5px
!important
;
margin
:
0
10px
!important
;
//
margin
:
0
10px
!important
;
//
}
}
}
</
style
>
</
style
>
linkwe-pc/src/styles/element-ui.scss
View file @
724ae53
...
@@ -11,14 +11,15 @@
...
@@ -11,14 +11,15 @@
line-height
:
30px
;
line-height
:
30px
;
}
}
// 页面公用搜索
.--card
{
.--card
{
padding
:
20px
20px
;
padding
:
20px
20px
;
border-radius
:
var
(
--
border-radius-big
);
border-radius
:
var
(
--
border-radius-big
);
background
:
#fff
;
background
:
#fff
;
}
}
// 页面公用搜索
.top-search
{
.top-search
{
@extend
.--card
;
@extend
.--card
;
padding
:
10px
20px
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
.el-form-item
{
.el-form-item
{
margin
:
0
!
important
;
margin
:
0
!
important
;
...
@@ -252,13 +253,12 @@
...
@@ -252,13 +253,12 @@
.el-form
:not
(
.el-form--inline
)
{
.el-form
:not
(
.el-form--inline
)
{
.el-form-item
{
.el-form-item
{
margin
:
0
!
important
;
//
margin: 0 !important;
padding
:
10px
;
// padding: 10px 0
;
transition
:
all
0
.2s
;
transition
:
all
0
.2s
;
// &:hover {
&
:last-child
{
// background: #e5f1fc;
margin-bottom
:
0
;
// border-radius: 10px;
}
// }
}
}
// 统一页面表单输入框宽度 el-form-item__content
// 统一页面表单输入框宽度 el-form-item__content
...
...
linkwe-pc/src/styles/index.scss
View file @
724ae53
...
@@ -243,23 +243,6 @@ div:focus {
...
@@ -243,23 +243,6 @@ div:focus {
}
}
}
}
.br8
{
border-radius
:
8px
;
}
.br16
{
border-radius
:
16px
;
}
.fc
{
color
:
var
(
--
color
);
}
.card-group-index
+
.g-card
{
.card-group-index
+
.g-card
{
margin-top
:
0
;
margin-top
:
0
;
}
}
// 绿色渐变背景
.bglg
{
background
:
linear-gradient
(
to
left
,
var
(
--
color
)
0%
,
var
(
--
color-lighter
)
100%
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0
.2
);
}
linkwe-pc/src/styles/var.css
View file @
724ae53
html
{
html
{
--color
:
#07c160
;
/* 主题色 */
--rgb
:
7
,
193
,
96
;
/* 主题色rgb #07c160*/
--color
:
rgb
(
var
(
--rgb
));
/* 主题色 #07c160*/
--color-lighter
:
#90de45
;
/* 浅主题色 */
--color-lighter
:
#90de45
;
/* 浅主题色 */
--color-success
:
#07c160
;
--color-success
:
#07c160
;
--color-warning
:
#faad14
;
--color-warning
:
#faad14
;
--color-danger
:
#eb5e12
;
--color-danger
:
#eb5e12
;
--border-radius
:
8px
;
/* 圆角 */
--border-radius
:
8px
;
/*
常规
圆角 */
--border-radius-small
:
4px
;
/* 小圆角 */
--border-radius-small
:
4px
;
/* 小圆角 */
--border-radius-big
:
16px
;
/* 大圆角 */
--border-radius-big
:
16px
;
/* 大圆角 */
--card-margin
:
16px
;
/* 卡片间距 */
--card-margin
:
16px
;
/* 卡片间距 */
--top-nav-heght
:
64px
;
/* 顶部导航条高度 */
--top-nav-heght
:
64px
;
/* 顶部导航条高度 */
--font-black
:
#1d2129
;
/* 通用字体黑色 */
--font-black
:
#1d2129
;
/* 通用字体黑色 */
}
}
/* 项目定制原子类 */
.g-radius
{
border-radius
:
8px
;
}
.g-radius-small
{
border-radius
:
16px
;
}
.g-radius-big
{
border-radius
:
16px
;
}
.g-margin
{
margin
:
var
(
--card-margin
);
}
.g-margin-t
{
margin-top
:
var
(
--card-margin
);
}
.g-margin-r
{
margin-right
:
var
(
--card-margin
);
}
.g-margin-b
{
margin-bottom
:
var
(
--card-margin
);
}
.g-margin-l
{
margin-left
:
var
(
--card-margin
);
}
.g-color
{
color
:
var
(
--color
);
}
/* 渐变背景 */
.g-bg-lg
{
background
:
linear-gradient
(
to
left
,
var
(
--color
)
0%
,
var
(
--color-lighter
)
100%
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0.2
);
}
linkwe-pc/src/views/customerManage/customer.vue
View file @
724ae53
This diff is collapsed.
Click to expand it.
linkwe-pc/src/views/customerManage/customer/infoTab.vue
View file @
724ae53
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
>
>
<!-- 汇总的场景显示名字 -->
<!-- 汇总的场景显示名字 -->
<template
v-if=
"!userId"
>
<template
v-if=
"!userId"
>
<div
class=
"name oe
bg
lg"
>
{{
item
.
userName
}}
</div>
<div
class=
"name oe
.g-bg-
lg"
>
{{
item
.
userName
}}
</div>
</
template
>
</
template
>
<
template
v-if=
"item.tagNames"
>
<
template
v-if=
"item.tagNames"
>
<el-tag
v-for=
"(unit, unique) in item.tagNames.split(',')"
:key=
"unique"
>
{{
unit
}}
</el-tag>
<el-tag
v-for=
"(unit, unique) in item.tagNames.split(',')"
:key=
"unique"
>
{{
unit
}}
</el-tag>
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
<div
v-for=
"(item, index) of portrayalSum.personTags"
:key=
"index"
:class=
"['flex aic', index && 'mt20']"
>
<div
v-for=
"(item, index) of portrayalSum.personTags"
:key=
"index"
:class=
"['flex aic', index && 'mt20']"
>
<!-- 汇总的场景显示名字 -->
<!-- 汇总的场景显示名字 -->
<template
v-if=
"!userId"
>
<template
v-if=
"!userId"
>
<div
class=
"name oe
bg
lg"
>
{{
item
.
userName
}}
</div>
<div
class=
"name oe
.g-bg-
lg"
>
{{
item
.
userName
}}
</div>
</
template
>
</
template
>
<
template
v-if=
"item.tagNames"
>
<
template
v-if=
"item.tagNames"
>
<el-tag
v-for=
"(unit, unique) in item.tagNames.split(',')"
:key=
"unique"
>
{{
unit
}}
</el-tag>
<el-tag
v-for=
"(unit, unique) in item.tagNames.split(',')"
:key=
"unique"
>
{{
unit
}}
</el-tag>
...
@@ -347,7 +347,7 @@
...
@@ -347,7 +347,7 @@
<div
v-for=
"(item, index) of trackUsers"
:key=
"index"
:class=
"['flex aic', index && 'mt20']"
>
<div
v-for=
"(item, index) of trackUsers"
:key=
"index"
:class=
"['flex aic', index && 'mt20']"
>
<!-- 汇总的场景显示名字 -->
<!-- 汇总的场景显示名字 -->
<template
v-if=
"!userId"
>
<template
v-if=
"!userId"
>
<div
class=
"name oe
bg
lg"
>
{{
item
.
userName
}}
</div>
<div
class=
"name oe
.g-bg-
lg"
>
{{
item
.
userName
}}
</div>
</
template
>
</
template
>
<
template
v-if=
"item.trackState === 1"
>
<
template
v-if=
"item.trackState === 1"
>
<el-steps
style=
"flex: auto;"
:active=
"1"
>
<el-steps
style=
"flex: auto;"
:active=
"1"
>
...
...
linkwe-pc/src/views/customerManage/group.vue
View file @
724ae53
...
@@ -218,7 +218,7 @@ export default {
...
@@ -218,7 +218,7 @@ export default {
<div
class=
"g-card-title mid-action"
>
<div
class=
"g-card-title mid-action"
>
<div
class=
""
>
<div
class=
""
>
共
共
<span
class=
"
fc
"
style=
"color: var(--color)"
>
{{ total }}
</span>
<span
class=
"
g-color
"
style=
"color: var(--color)"
>
{{ total }}
</span>
个客户群
个客户群
</div>
</div>
<div>
<div>
...
...
linkwe-pc/src/views/enterpriseManage/contacts/organization.vue
View file @
724ae53
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<!-- default-expand-all -->
<!-- default-expand-all -->
<div
class=
"title mb20"
>
<div
class=
"title mb20"
>
<div
class=
"title-name"
>
组织列表
</div>
<div
class=
"title-name"
>
组织列表
</div>
<span
@
click=
"syncOrganization"
class=
"
fc
cp"
>
<span
@
click=
"syncOrganization"
class=
"
g-color
cp"
>
同步
同步
<i
class=
"el-icon-refresh"
></i>
<i
class=
"el-icon-refresh"
></i>
</span>
</span>
...
...
linkwe-pc/src/views/groupMessage/add.vue
View file @
724ae53
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
v-if=
"currentActive === 2"
>
<div
class=
"g-margin-t"
v-if=
"currentActive === 2"
>
<!-- <welcome-detail
<!-- <welcome-detail
v-loading="loading"
v-loading="loading"
showBack
showBack
...
...
linkwe-pc/src/views/groupMessage/record.vue
View file @
724ae53
...
@@ -2,25 +2,20 @@
...
@@ -2,25 +2,20 @@
<div>
<div>
<el-form
:model=
"query"
ref=
"queryForm"
:inline=
"true"
label-position=
"left"
class=
"top-search"
label-width=
"70px"
>
<el-form
:model=
"query"
ref=
"queryForm"
:inline=
"true"
label-position=
"left"
class=
"top-search"
label-width=
"70px"
>
<el-form-item
label=
"群发内容"
prop=
"content"
>
<el-form-item
label=
"群发内容"
prop=
"content"
>
<el-input
<el-input
v-model=
"query.content"
placeholder=
"请输入群发内容"
clearable
@
keyup
.
enter
.
native=
"getList(1)"
/>
size=
"mini"
v-model=
"query.content"
placeholder=
"请输入群发内容"
clearable
@
keyup
.
enter
.
native=
"getList(1)"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"群发类型"
prop=
"chatType"
>
<el-form-item
label=
"群发类型"
prop=
"chatType"
>
<el-select
v-model=
"query.chatType"
placeholder=
"请选择群发类型"
size=
"mini"
>
<el-select
v-model=
"query.chatType"
placeholder=
"请选择群发类型"
>
<el-option
v-for=
"(value, key, index) in pushType"
:label=
"value"
:value=
"key"
:key=
"index"
></el-option>
<el-option
v-for=
"(value, key, index) in pushType"
:label=
"value"
:value=
"key"
:key=
"index"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发送类型"
prop=
"isTask"
>
<el-form-item
label=
"发送类型"
prop=
"isTask"
>
<el-select
v-model=
"query.isTask"
placeholder=
"请选择发送类型"
size=
"mini"
>
<el-select
v-model=
"query.isTask"
placeholder=
"请选择发送类型"
>
<el-option
v-for=
"(value, key, index) in timedTask"
:label=
"value"
:value=
"key"
:key=
"index"
></el-option>
<el-option
v-for=
"(value, key, index) in timedTask"
:label=
"value"
:value=
"key"
:key=
"index"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label-width=
"0"
>
<el-form-item
label-width=
"0"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -46,22 +41,18 @@
...
@@ -46,22 +41,18 @@
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
>
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!-- v-hasPermi="['enterpriseWechat:view']" -->
<!-- v-hasPermi="['enterpriseWechat:view']" -->
<el-button
<el-button
type=
"text"
@
click=
"goRoute(scope.row.id, scope.row.isTask, scope.row.status, 'detail')"
>
size=
"mini"
type=
"text"
@
click=
"goRoute(scope.row.id, scope.row.isTask, scope.row.status, 'detail')"
>
详情
详情
</el-button>
</el-button>
<el-button
<el-button
size=
"mini"
v-if=
"scope.row.isTask === 1 && scope.row.status === 0"
v-if=
"scope.row.isTask === 1 && scope.row.status === 0"
type=
"text"
type=
"text"
@
click=
"cancelSend(scope.row)"
>
@
click=
"cancelSend(scope.row)"
>
取消发送
取消发送
</el-button>
</el-button>
<!--
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
disabled=
""
<!--
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
type=
"text"
disabled=
""
@
click=
"goRoute(scope.row, 1)"
>
编辑
</el-button>
@
click=
"goRoute(scope.row, 1)"
>
编辑
</el-button>
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
type=
"text"
@
click=
"syncMsg(scope.row)"
>
同步
</el-button>
-->
@
click=
"syncMsg(scope.row)"
>
同步
</el-button>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
linkwe-pc/src/views/index/index.vue
View file @
724ae53
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<span>
{{
greetings
}}
,
</span>
<span>
{{
greetings
}}
,
</span>
<span>
{{
$store
.
state
.
user
.
name
}}
</span>
<span>
{{
$store
.
state
.
user
.
name
}}
</span>
</div>
</div>
<div
class=
"role toe
bglg"
>
{{
roleGroup
}}
管理员
</div>
<div
class=
"role toe
.g-bg-lg"
>
{{
roleGroup
||
'管理员'
}}
</div>
</div>
</div>
<div
class=
"g-card data-view"
>
<div
class=
"g-card data-view"
>
...
...
linkwe-pc/src/views/login.vue
View file @
724ae53
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"code"
>
<el-form-item
prop=
"code"
>
<div
style=
"display: flex
"
>
<div
class=
"fxbw
"
>
<el-input
<el-input
v-model=
"loginForm.code"
v-model=
"loginForm.code"
auto-complete=
"off"
auto-complete=
"off"
...
@@ -29,20 +29,14 @@
...
@@ -29,20 +29,14 @@
@
keyup
.
enter
.
native=
"handleLogin"
>
@
keyup
.
enter
.
native=
"handleLogin"
>
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
style=
"height: 33px"
class=
"el-input__icon input-icon"
/>
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
style=
"height: 33px"
class=
"el-input__icon input-icon"
/>
</el-input>
</el-input>
<div
class=
"login-code"
style=
"margin-left: 10px"
>
<img
class=
"login-code-img ml10"
:src=
"codeUrl"
@
click=
"getCode"
/>
<img
:src=
"codeUrl"
@
click=
"getCode"
class=
"login-code-img"
/>
</div>
</div>
</div>
</el-form-item>
</el-form-item>
<el-checkbox
class=
"fr"
v-model=
"loginForm.rememberMe"
>
记住密码
</el-checkbox>
<el-checkbox
class=
"g-margin-b"
v-model=
"isDemonstrationLogin"
@
change=
"changeDemonAccount"
>
<el-checkbox
class=
"fl"
v-model=
"isDemonstrationLogin"
@
change=
"changeDemonAccount"
style=
"margin: 0px 0px 25px 10px"
>
演示账号登录
演示账号登录
</el-checkbox>
</el-checkbox>
<el-form-item
style=
"width: 100%"
>
<el-checkbox
class=
"fr"
v-model=
"loginForm.rememberMe"
>
记住密码
</el-checkbox>
<el-form-item>
<el-button
<el-button
:loading=
"loading"
:loading=
"loading"
size=
"medium"
size=
"medium"
...
@@ -52,8 +46,8 @@
...
@@ -52,8 +46,8 @@
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-else
>
登 录 中...
</span>
<span
v-else
>
登 录 中...
</span>
</el-button>
</el-button>
<div
class=
"link"
@
click=
"changeLoginType('url')"
>
企微登录
</div>
</el-form-item>
</el-form-item>
<div
class=
"link"
@
click=
"changeLoginType('url')"
>
企微登录
</div>
</
template
>
</
template
>
<div
v-else
class=
"ac"
>
<div
v-else
class=
"ac"
>
<img
class=
"wechat-code"
:src=
"wechatCodeUrl"
alt=
""
/>
<img
class=
"wechat-code"
:src=
"wechatCodeUrl"
alt=
""
/>
...
@@ -62,15 +56,12 @@
...
@@ -62,15 +56,12 @@
<a
:href=
"authLink"
>
<a
:href=
"authLink"
>
<el-button
:loading=
"loading"
size=
"medium"
type=
"primary"
style=
"width: 100%"
>
企业微信登录
</el-button>
<el-button
:loading=
"loading"
size=
"medium"
type=
"primary"
style=
"width: 100%"
>
企业微信登录
</el-button>
<!-- <img
<!-- <img
src="//wwcdn.weixin.qq.com/node/wwopen/wwopenmng/style/images/independent/brand/300x40_white$4dab5411.png"
src="//wwcdn.weixin.qq.com/node/wwopen/wwopenmng/style/images/independent/brand/300x40_white$4dab5411.png" /> -->
/> -->
</a>
</a>
<div
class=
"link"
@
click=
"changeLoginType('account')"
>
账号密码登录
</div>
<div
class=
"link"
@
click=
"changeLoginType('account')"
>
账号密码登录
</div>
</div>
</div>
</el-form>
</el-form>
<div>
<img
src=
"@/assets/login.png"
class=
"login-img"
alt=
""
/>
<img
src=
"@/assets/login.png"
class=
"login-img"
alt=
""
/>
</div>
</div>
</div>
</template>
</template>
...
@@ -198,11 +189,11 @@ export default {
...
@@ -198,11 +189,11 @@ export default {
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.login
{
.login
{
position
:
relative
;
width
:
min
(
80%
,
1234px
)
;
max-width
:
1234px
;
height
:
min
(
80%
,
878px
)
;
m
ax-height
:
878
px
;
m
in-height
:
700
px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
56px
56px
56px
56px
;
border-radius
:
56px
;
.logo
{
.logo
{
position
:
absolute
;
position
:
absolute
;
height
:
58px
;
height
:
58px
;
...
@@ -224,13 +215,13 @@ export default {
...
@@ -224,13 +215,13 @@ export default {
.login-form
{
.login-form
{
width
:
50%
;
width
:
50%
;
padding
:
0
calc
((
50%
-
360px
)
/
2
);
padding
:
0
calc
((
50%
-
360px
)
/
2
);
.el-input
{
//
.el-input
{
height
:
38px
;
//
height
:
38px
;
line-height
:
38px
;
//
line-height
:
38px
;
input
{
//
input
{
height
:
38px
;
//
height
:
38px
;
}
//
}
}
//
}
.desc
{
.desc
{
text-align
:
center
;
text-align
:
center
;
color
:
#aaa
;
color
:
#aaa
;
...
@@ -243,19 +234,16 @@ export default {
...
@@ -243,19 +234,16 @@ export default {
margin-left
:
2px
;
margin-left
:
2px
;
}
}
}
}
.login-code
{
.login-code-img
{
.login-code-img
{
height
:
32px
;
height
:
32px
;
cursor
:
pointer
;
cursor
:
pointer
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
}
.link
{
.link
{
color
:
var
(
--color
);
color
:
var
(
--color
);
font-size
:
14px
;
font-size
:
14px
;
//
padding-left
:
25px
;
margin-top
:
var
(
--card-margin
);
margin-top
:
20px
;
text-align
:
left
;
text-align
:
left
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
...
@@ -270,6 +258,6 @@ export default {
...
@@ -270,6 +258,6 @@ export default {
}
}
.login-img
{
.login-img
{
padding
:
20px
;
padding
:
20px
;
width
:
100%
;
height
:
100%
;
}
}
</
style
>
</
style
>
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