Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-main
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 733d23ce
authored
Aug 24, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
8月底需求
1 parent
a8248294
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
251 additions
and
128 deletions
src/api/datahubApi.js
src/api/entmicroApi.js
src/api/index.js
src/assets/css/sprite.scss
src/assets/images/sprite.png
src/assets/spritesmith/nothing.png
src/components/SearchBox.vue
src/components/TagsPopup.vue
src/main.js
src/store/modules/app.js
src/views/customer/index.vue
src/api/datahubApi.js
0 → 100644
View file @
733d23c
const
url
=
'/rop-scrm-datahub/router'
export
default
{
/**标签列表 */
getTagsList
(
labelTreeReq
)
{
const
data
=
{
method
:
'scrm.api.datahub.labelgroup.queryLabelTree'
,
labelTreeReq
:
{
labelGroupName
:
''
,
pageNum
:
1
,
pageSize
:
10000
,
...
labelTreeReq
}
}
return
window
.
$HTTP
({
url
,
data
})
},
}
\ No newline at end of file
\ No newline at end of file
src/api/entmicroApi.js
View file @
733d23c
const
url
=
'/rop-scrm-entmicro/router'
const
url
=
'/rop-scrm-entmicro/router'
// const url = 'http://192.168.1.163:8080/rop-scrm-entmicro/router'
export
default
{
export
default
{
/**客户列表 */
/**客户列表 */
getCustomerList
(
data
=
{})
{
getCustomerList
(
data
=
{})
{
...
...
src/api/index.js
View file @
733d23c
...
@@ -11,11 +11,12 @@ import wwbenchApi from './wwbenchApi'
...
@@ -11,11 +11,12 @@ import wwbenchApi from './wwbenchApi'
import
wxConfig
from
'./wxConfig'
import
wxConfig
from
'./wxConfig'
import
marketingApi
from
'./marketingApi'
import
marketingApi
from
'./marketingApi'
import
entmicroApi
from
'./entmicroApi'
import
entmicroApi
from
'./entmicroApi'
import
datahubApi
from
'./datahubApi'
export
{
export
{
ssoApi
,
ssoApi
,
wwbenchApi
,
wwbenchApi
,
wxConfig
,
wxConfig
,
marketingApi
,
marketingApi
,
entmicroApi
entmicroApi
,
datahubApi
}
}
\ No newline at end of file
\ No newline at end of file
src/assets/css/sprite.scss
View file @
733d23c
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
311px
137px
;}
.icon-arrow
{
width
:
7px
;
height
:
11px
;
background-position
:
0px
-126px
;}
.icon-default-avatar
{
width
:
44px
;
height
:
44px
;
background-position
:
0px
-52px
;}
.icon-down
{
width
:
12px
;
height
:
12px
;
background-position
:
-264px
-52px
;}
.icon-eye
{
width
:
13px
;
height
:
8px
;
background-position
:
-286px
-52px
;}
.icon-file
{
width
:
26px
;
height
:
26px
;
background-position
:
-138px
-52px
;}
.icon-filter
{
width
:
16px
;
height
:
16px
;
background-position
:
-238px
-52px
;}
.icon-index-tips
{
width
:
23px
;
height
:
23px
;
background-position
:
-174px
-52px
;}
.icon-link
{
width
:
32px
;
height
:
32px
;
background-position
:
-96px
-52px
;}
.icon-pdf
{
width
:
32px
;
height
:
34px
;
background-position
:
-54px
-52px
;}
.icon-PYQ
{
width
:
21px
;
height
:
20px
;
background-position
:
-207px
-52px
;}
.icon-send
{
width
:
10px
;
height
:
10px
;
background-position
:
0px
-106px
;}
.icon-steps
{
width
:
311px
;
height
:
42px
;
background-position
:
0px
0px
;}
\ No newline at end of file
\ No newline at end of file
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
550px
140px
;}
.icon-arrow
{
width
:
7px
;
height
:
11px
;
background-position
:
-239px
-126px
;}
.icon-default-avatar
{
width
:
44px
;
height
:
44px
;
background-position
:
-239px
-52px
;}
.icon-down
{
width
:
12px
;
height
:
12px
;
background-position
:
-503px
-52px
;}
.icon-eye
{
width
:
13px
;
height
:
8px
;
background-position
:
-525px
-52px
;}
.icon-file
{
width
:
26px
;
height
:
26px
;
background-position
:
-377px
-52px
;}
.icon-filter
{
width
:
16px
;
height
:
16px
;
background-position
:
-477px
-52px
;}
.icon-index-tips
{
width
:
23px
;
height
:
23px
;
background-position
:
-413px
-52px
;}
.icon-link
{
width
:
32px
;
height
:
32px
;
background-position
:
-335px
-52px
;}
.icon-pdf
{
width
:
32px
;
height
:
34px
;
background-position
:
-293px
-52px
;}
.icon-PYQ
{
width
:
21px
;
height
:
20px
;
background-position
:
-446px
-52px
;}
.icon-send
{
width
:
10px
;
height
:
10px
;
background-position
:
-239px
-106px
;}
.icon-steps
{
width
:
311px
;
height
:
42px
;
background-position
:
-239px
0px
;}
.icon-nothing
{
width
:
229px
;
height
:
140px
;
background-position
:
0px
0px
;}
\ No newline at end of file
\ No newline at end of file
src/assets/images/sprite.png
View file @
733d23c
12.3 KB
|
W:
|
H:
77.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/spritesmith/nothing.png
0 → 100644
View file @
733d23c
54.1 KB
src/components/SearchBox.vue
View file @
733d23c
...
@@ -66,7 +66,6 @@ export default {
...
@@ -66,7 +66,6 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
'searchValue'
,
this
.
searchValue
)
},
},
watch
:
{
watch
:
{
'updata'
(
n
)
{
'updata'
(
n
)
{
...
...
src/components/TagsPopup.vue
View file @
733d23c
...
@@ -7,39 +7,49 @@
...
@@ -7,39 +7,49 @@
@
close=
"close"
@
close=
"close"
>
>
<div
class=
"tab-box"
>
<div
class=
"tab-box"
>
<template
v-for=
"(i,index) in tagGroup"
>
<template
v-for=
"(i,index) in tab"
>
<div
<template>
:key=
"index"
<div
:class=
"['tab-item',
{'active':status == i.value}]"
:key=
"index"
@click="changeType(i.value)"
:class=
"['tab-item',
{'active':tabIndex == index}]"
>
@click="changeType(index)"
{{
i
.
text
}}
>
</div>
{{
i
}}
</div>
</
template
>
</template>
</template>
</div>
</div>
<van-search
<van-search
v-model=
"keyword"
v-model=
"keyword"
shape=
"round"
shape=
"round"
placeholder=
"输入关键词搜索"
placeholder=
"输入关键词搜索"
@
search=
"onEmit($event)"
@
clear=
"onEmit('')"
@
blur=
"onEmit(keyword)"
/>
/>
<div
class=
"tags-view"
>
<div
class=
"tags-view"
>
<
template
v-for=
"(i,index) in 10"
>
<
template
v-for=
"(i,index) in tagList[tabIndex]"
>
<div
<template
v-if=
"i.show"
>
:key=
"index"
<div
class=
"tags-box"
:key=
"index"
>
class=
"tags-box"
<div
class=
"tags-title"
>
嘿嘿
</div>
>
<div
class=
"tags-list"
>
<div
class=
"tags-title"
>
{{
i
.
groupName
}}
</div>
<template
v-for=
"(k,ind) in 10"
>
<div
class=
"tags-list"
>
<div
<template
v-for=
"(k,ind) in i.labelList"
>
:class=
"['tags-item text-center',
{'active':ind == 0}]"
<template
v-if=
"k.show"
>
:key="ind"
<div
>
:class=
"['tags-item text-center',
{'active':labelIds.includes(k.id)}]"
哈哈
{{
k
}}
:key="ind"
</div>
@click="chooseTag(k.id)"
</
template
>
>
{{
k
.
name
}}
</div>
</
template
>
</template>
</div>
</div>
</div>
</
div
>
</
template
>
</template>
</template>
</div>
</div>
<div
class=
"tags-buttons flex"
>
<div
class=
"tags-buttons flex"
>
...
@@ -47,20 +57,23 @@
...
@@ -47,20 +57,23 @@
block
block
round
round
class=
"tags-btn cancel"
class=
"tags-btn cancel"
@
click=
"
confirmDate
"
@
click=
"
reset
"
>
取消
</van-button>
>
重置
</van-button>
<van-button
<van-button
block
block
round
round
color=
"#3975C6"
color=
"#3975C6"
class=
"tags-btn"
class=
"tags-btn"
@
click=
"confirm
Date
"
@
click=
"confirm"
>
查询
</van-button>
>
查询
</van-button>
</div>
</div>
</van-popup>
</van-popup>
</template>
</template>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
'text/ecmascript-6'
>
import
{
datahubApi
}
from
'@/api'
export
default
{
export
default
{
name
:
'TagsPopup'
,
name
:
'TagsPopup'
,
props
:
{
props
:
{
...
@@ -69,22 +82,11 @@ export default {
...
@@ -69,22 +82,11 @@ export default {
data
()
{
data
()
{
return
{
return
{
show
:
false
,
show
:
false
,
status
:
'1'
,
keyword
:
''
,
keyword
:
''
,
labelIds
:
[],
tagGroup
:
[
tab
:
[],
{
tagList
:
[],
value
:
'1'
,
tabIndex
:
0
,
text
:
'群组标签'
},
{
value
:
'2'
,
text
:
'自店标签'
},
{
value
:
'3'
,
text
:
'系统标签'
}
]
}
}
},
},
watch
:
{
watch
:
{
...
@@ -93,19 +95,79 @@ export default {
...
@@ -93,19 +95,79 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
/**
* merchantModel 1集团 2自店
*/
const
{
merchantModel
,
merchantId
}
=
this
.
getLocalStorage
(
'dj_scrm_userInfo'
)
datahubApi
.
getTagsList
({
shopId
:
merchantId
,
edition
:
merchantModel
}).
then
(({
labelTreeRets
})
=>
{
const
tab
=
[],
// 1 企业标签 2 自店标签 3 系统标签
arr
=
[[],
[],
[]],
tagList
=
[]
labelTreeRets
.
map
(
e
=>
{
e
.
labelList
.
map
(
k
=>
k
.
show
=
true
)
arr
[{
'企业标签'
:
'0'
,
'自店标签'
:
'1'
,
'系统标签'
:
'2'
,
}[
e
.
labelType
]].
push
({
groupName
:
e
.
labelGroup
.
name
,
labelList
:
e
.
labelList
,
show
:
true
})
})
arr
.
map
((
e
,
index
)
=>
{
if
(
e
.
length
)
{
if
(
index
==
0
)
tab
.
push
(
merchantModel
==
1
?
'集团标签'
:
'企业标签'
)
if
(
index
==
1
)
tab
.
push
(
'自店标签'
)
if
(
index
==
2
)
tab
.
push
(
'系统标签'
)
tagList
.
push
(
e
)
}
})
this
.
tagList
=
tagList
this
.
tab
=
tab
})
},
},
methods
:
{
methods
:
{
changeType
(
e
){
changeType
(
tabIndex
)
{
const
{
keyword
}
=
this
const
{
labelIds
,
keyword
}
=
this
if
(
keyword
)
return
this
.
showToast
(
'切换标签类型将重置查询条件'
)
if
(
labelIds
.
length
)
return
this
.
showToast
(
'切换标签类型将重置查询条件'
)
this
.
status
=
e
this
.
tabIndex
=
tabIndex
this
.
reset
()
this
.
onEmit
(
keyword
)
},
onEmit
(
val
)
{
const
{
tagList
,
tabIndex
}
=
this
tagList
[
tabIndex
].
map
(
e
=>
{
e
.
show
=
!
val
let
name
=
[
e
.
groupName
]
e
.
labelList
.
map
(
i
=>
{
i
.
show
=
!
val
name
.
push
(
i
.
name
)
if
(
i
.
name
.
indexOf
(
val
)
!=
-
1
)
i
.
show
=
true
})
if
(
name
.
join
(
''
).
indexOf
(
val
)
!=
-
1
)
e
.
show
=
true
})
},
chooseTag
(
id
)
{
const
{
labelIds
}
=
this
,
tagIndex
=
labelIds
.
findIndex
(
e
=>
e
==
id
)
if
(
tagIndex
==
-
1
)
labelIds
.
push
(
id
)
else
labelIds
.
splice
(
tagIndex
,
1
)
},
},
close
()
{
close
()
{
this
.
$emit
(
'update:value'
,
false
)
this
.
$emit
(
'update:value'
,
false
)
},
},
confirmDate
()
{
reset
()
{
let
{
dateValue
}
=
this
this
.
labelIds
=
[]
this
.
$emit
(
'confirm'
,
dateValue
)
},
confirm
()
{
let
{
labelIds
}
=
this
this
.
$emit
(
'confirm'
,
labelIds
)
this
.
close
()
this
.
close
()
}
}
}
}
...
@@ -114,7 +176,7 @@ export default {
...
@@ -114,7 +176,7 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.tags-popup
{
.tags-popup
{
max-height
:
95
%
;
height
:
80
%
;
.van-search
{
.van-search
{
padding
:
8px
16px
;
padding
:
8px
16px
;
.van-cell
{
.van-cell
{
...
@@ -155,7 +217,9 @@ export default {
...
@@ -155,7 +217,9 @@ export default {
}
}
}
}
.tags-view
{
.tags-view
{
height
:
240px
;
//
height
:
240px
;
height
:
calc
(
100%
-
170px
-
var
(
--constantSafeAreaInsetBottom
));
height
:
calc
(
100%
-
170px
-
var
(
--envSafeAreaInsetBottom
));
overflow-y
:
scroll
;
overflow-y
:
scroll
;
padding
:
8px
20px
25px
;
padding
:
8px
20px
25px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -190,7 +254,7 @@ export default {
...
@@ -190,7 +254,7 @@ export default {
padding
:
10px
44px
calc
(
var
(
--envSafeAreaInsetBottom
)
+
10px
);
padding
:
10px
44px
calc
(
var
(
--envSafeAreaInsetBottom
)
+
10px
);
justify-content
:
space-between
;
justify-content
:
space-between
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
box-shadow
:
0
-0.5px
0
0
#
E9E9E
9
;
box-shadow
:
0
-0.5px
0
0
#
e9e9e
9
;
.tags-btn
{
.tags-btn
{
width
:
140px
;
width
:
140px
;
height
:
36px
;
height
:
36px
;
...
@@ -198,9 +262,9 @@ export default {
...
@@ -198,9 +262,9 @@ export default {
border-radius
:
21px
;
border-radius
:
21px
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.cancel
{
.cancel
{
color
:
#323233
;
color
:
#323233
;
background
:
#
FFFFFF
;
background
:
#
ffffff
;
}
}
}
}
}
}
...
...
src/main.js
View file @
733d23c
...
@@ -48,7 +48,6 @@ fetchConfig(!isMock).then(res => {
...
@@ -48,7 +48,6 @@ fetchConfig(!isMock).then(res => {
if
(
res
.
vconsole
)
new
VConsole
()
if
(
res
.
vconsole
)
new
VConsole
()
/**登录过期 重新登录 */
/**登录过期 重新登录 */
window
.
reLogin
=
()
=>
{
window
.
reLogin
=
()
=>
{
console
.
log
(
'relogin'
)
util
.
removeLocalStorage
(
'dj_scrm_userInfo'
)
util
.
removeLocalStorage
(
'dj_scrm_userInfo'
)
util
.
clearSessionId
()
util
.
clearSessionId
()
store
.
dispatch
(
'navigation'
)
store
.
dispatch
(
'navigation'
)
...
...
src/store/modules/app.js
View file @
733d23c
...
@@ -71,8 +71,6 @@ const actions = {
...
@@ -71,8 +71,6 @@ const actions = {
let
[
redirectUrl
]
=
window
.
location
.
href
.
split
(
'?'
)
let
[
redirectUrl
]
=
window
.
location
.
href
.
split
(
'?'
)
const
code
=
getParams
(
'code'
)
const
code
=
getParams
(
'code'
)
if
(
code
)
{
if
(
code
)
{
console
.
log
(
code
)
return
const
{
corpId
,
agentId
}
=
util
.
getLocalStorage
(
'dj_scrm_corpId'
)
const
{
corpId
,
agentId
}
=
util
.
getLocalStorage
(
'dj_scrm_corpId'
)
ssoApi
ssoApi
.
login
({
.
login
({
...
@@ -81,7 +79,6 @@ const actions = {
...
@@ -81,7 +79,6 @@ const actions = {
getUserInfoFlag
:
agentId
?
true
:
false
getUserInfoFlag
:
agentId
?
true
:
false
})
})
.
then
(({
code
,
data
})
=>
{
.
then
(({
code
,
data
})
=>
{
return
let
url
=
`
${
redirectUrl
.
split
(
'#'
)[
0
]}
#/`
let
url
=
`
${
redirectUrl
.
split
(
'#'
)[
0
]}
#/`
let
route
=
state
.
lastPath
==
'home'
?
''
:
state
.
lastPath
let
route
=
state
.
lastPath
==
'home'
?
''
:
state
.
lastPath
if
(
code
==
'0'
)
{
if
(
code
==
'0'
)
{
...
@@ -208,7 +205,7 @@ const login = ({ dispatch, to }) => {
...
@@ -208,7 +205,7 @@ const login = ({ dispatch, to }) => {
state
.
showWindow
=
false
state
.
showWindow
=
false
util
.
showLoading
()
util
.
showLoading
()
dispatch
(
'login'
)
dispatch
(
'login'
)
return
return
}
}
}
}
state
.
showWindow
=
true
state
.
showWindow
=
true
...
@@ -226,10 +223,10 @@ const getParams = name => {
...
@@ -226,10 +223,10 @@ const getParams = name => {
return
name
?
obj
[
name
]
:
obj
return
name
?
obj
[
name
]
:
obj
}
}
const
removeStoreage
=
()
=>
{
const
removeStoreage
=
()
=>
{
//
util.removeLocalStorage('dj_scrm_userInfo')
util
.
removeLocalStorage
(
'dj_scrm_userInfo'
)
//
util.removeLocalStorage('dj_scrm_accountList')
util
.
removeLocalStorage
(
'dj_scrm_accountList'
)
//
util.removeLocalStorage('dj_scrm_loginToken')
util
.
removeLocalStorage
(
'dj_scrm_loginToken'
)
//
util.clearSessionId()
util
.
clearSessionId
()
}
}
export
default
{
export
default
{
state
,
state
,
...
...
src/views/customer/index.vue
View file @
733d23c
...
@@ -2,11 +2,9 @@
...
@@ -2,11 +2,9 @@
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"search"
>
<div
class=
"search"
>
<search-box
<search-box
@
search=
"search"
@
search=
"search($event,'keyWord')"
:keyword=
"keyword"
:showDropdown=
"false"
:showDropdown=
"false"
placeholder=
"输入关键字搜索"
placeholder=
"输入关键字搜索"
@
focus=
"focus"
custom
custom
>
>
<div
<div
...
@@ -17,41 +15,58 @@
...
@@ -17,41 +15,58 @@
</div>
</div>
</search-box>
</search-box>
</div>
</div>
<div
class=
"customer-box"
>
<template
v-if=
"flag"
>
<div
class=
"customer-box"
>
<template
v-for=
"(i,index) in 10"
>
<template
v-if=
"customerList.length"
>
<div
<template
v-for=
"(i,index) in customerList"
>
:key=
"index"
<template>
class=
"item"
<div
@
click=
"jump"
:key=
"index"
>
class=
"item"
<div
class=
"sprite-icon icon-arrow"
></div>
@
click=
"jump(i.userid)"
<div
class=
"info"
>
>
<div
class=
"head"
>
<div
class=
"sprite-icon icon-arrow"
></div>
<img
src=
""
>
<div
class=
"info"
>
</div>
<div
class=
"head"
>
<div
class=
"text"
>
<img
:src=
"i.avatar"
>
<div
class=
"name"
>
奥迪-张女士
</div>
</div>
18888888888
<div
class=
"text"
>
</div>
<div
class=
"name text-hide"
>
{{
i
.
customerName
||
'--'
}}
</div>
</div>
{{
i
.
customerPhone
||
'--'
}}
<div
class=
"tags flex"
>
</div>
<template
v-for=
"(c,ind) in 10"
>
<template
v-if=
"ind
< 3
"
>
<div
:key=
"ind"
class=
"tag text-center"
>
嘻嘻
</div>
</div>
</
template
>
<template
v-if=
"i.labels && i.labels.length"
>
</template>
<div
class=
"tags flex"
>
<template
v-for=
"(c,ind) in i.labels"
>
<template
v-if=
"ind
< 3
"
>
<div
:key=
"ind"
class=
"tag text-center"
>
{{
c
.
labelValue
}}
</div>
</
template
>
</template>
</div>
</template>
</div>
</template>
</template>
</template>
<
template
v-else
>
<div
class=
"nothing"
>
<div
class=
"sprite-icon icon-nothing"
></div>
暂无数据
</div>
</div>
</div>
</
template
>
</template>
</div>
</div>
</template>
<tags-popup
:value
.
sync=
"showTagsPopup"
></tags-popup>
<tags-popup
:value
.
sync=
"showTagsPopup"
@
confirm=
"search($event,'labelIds')"
></tags-popup>
</div>
</div>
</template>
</template>
...
@@ -63,25 +78,34 @@ export default {
...
@@ -63,25 +78,34 @@ export default {
data
()
{
data
()
{
return
{
return
{
showTagsPopup
:
false
,
showTagsPopup
:
false
,
keyword
:
''
customerList
:
[],
labelIds
:
[],
keyWord
:
''
,
flag
:
false
}
}
},
},
mounted
()
{
mounted
()
{
this
.
getCustomerList
()
this
.
getCustomerList
()
},
},
methods
:
{
methods
:
{
search
()
{
search
(
val
,
name
)
{
this
[
name
]
=
val
},
this
.
flag
=
false
focus
()
{
this
.
getCustomerList
()
},
},
async
getCustomerList
()
{
async
getCustomerList
()
{
const
res
=
await
entmicroApi
.
getCustomerList
({
keyWord
:
''
,
isMiniPro
:
true
})
try
{
console
.
log
(
res
)
this
.
showLoading
()
const
{
labelIds
,
keyWord
}
=
this
,
res
=
await
entmicroApi
.
getCustomerList
({
keyWord
,
labelIds
,
isMiniPro
:
true
})
this
.
customerList
=
res
this
.
flag
=
true
this
.
hideLoading
()
}
catch
(
error
)
{
this
.
showToast
(
error
)
}
},
},
jump
()
{
jump
(
id
)
{
let
id
=
'wm_pmOEQAAN8pOfzzqZBO5ADHxOo9-cQ'
window
.
location
.
href
=
`/dj-scrm-wx-work-main-lwk/#/customer/detail?id=
${
id
}
`
window
.
location
.
href
=
`/dj-scrm-wx-work-main-lwk/#/customer/detail?id=
${
id
}
`
}
}
}
}
...
@@ -107,7 +131,7 @@ export default {
...
@@ -107,7 +131,7 @@ export default {
padding-bottom
:
21px
;
padding-bottom
:
21px
;
.item
{
.item
{
width
:
343px
;
width
:
343px
;
height
:
102px
;
max-
height
:
102px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
4px
;
border-radius
:
4px
;
margin
:
10px
auto
0
;
margin
:
10px
auto
0
;
...
@@ -125,22 +149,27 @@ export default {
...
@@ -125,22 +149,27 @@ export default {
.head
{
.head
{
width
:
48px
;
width
:
48px
;
height
:
48px
;
height
:
48px
;
border-radius
:
22
px
;
border-radius
:
4
px
;
overflow
:
hidden
;
overflow
:
hidden
;
margin-right
:
8px
;
margin-right
:
8px
;
}
}
.text
{
.text
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#333333
;
color
:
#333333
;
flex
:
1
;
.name
{
.name
{
font-weight
:
600
;
font-weight
:
600
;
margin
:
2px
0
4px
;
margin
:
2px
0
4px
;
max-width
:
90%
;
}
}
}
}
}
}
.tags
{
.tags
{
margin-top
:
10px
;
margin-top
:
10px
;
overflow
:
hidden
;
overflow-y
:
scroll
;
&::-webkit-scrollbar
{
display
:
none
;
}
.tag
{
.tag
{
height
:
24px
;
height
:
24px
;
background
:
#eeeeee
;
background
:
#eeeeee
;
...
@@ -149,8 +178,21 @@ export default {
...
@@ -149,8 +178,21 @@ export default {
font-size
:
12px
;
font-size
:
12px
;
color
:
#858585
;
color
:
#858585
;
margin-right
:
4px
;
margin-right
:
4px
;
white-space
:
nowrap
;
}
}
}
}
}
}
.nothing
{
height
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
font-size
:
14px
;
color
:
#999999
;
.sprite-icon
{
margin-bottom
:
12px
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
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