Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
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 036186c6
authored
Jul 13, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式走查
1 parent
162b0d2a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
71 additions
and
34 deletions
src/components/preview/index.vue
src/views/category/add.vue
src/views/channel/add.vue
src/views/channel/index.vue
src/views/goods/add.vue
src/views/store/components/selectStore.vue
src/views/store/edit.vue
src/views/store/index.vue
src/components/preview/index.vue
View file @
036186c
...
@@ -164,10 +164,13 @@ export default {
...
@@ -164,10 +164,13 @@ export default {
height
:
104px
;
height
:
104px
;
z-index
:
999
;
z-index
:
999
;
.pic-pane-close
{
.pic-pane-close
{
width
:
1
4
px
;
width
:
1
6
px
;
height
:
1
4
px
;
height
:
1
6
px
;
cursor
:
pointer
;
cursor
:
pointer
;
margin-right
:
8px
;
margin-left
:
24px
;
&:first-child{
margin-left
:
0
;
}
img
{
img
{
width
:
100%
;
width
:
100%
;
display
:
block
;
display
:
block
;
...
...
src/views/category/add.vue
View file @
036186c
...
@@ -135,33 +135,40 @@ export default {
...
@@ -135,33 +135,40 @@ export default {
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.category-ctnr
{
.category-ctnr
{
.glsx-combi-form{
min-height
:
500px
;
padding
:
20px
;
height
:
calc
(
100vh
-
140px
);
.main-wrap{
height
:
100%
;
background-color
:
#fff
;
background-color
:
#fff
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
.category-slot{
.glsx-combi-form{
.category-item{
padding
:
20px
;
margin-top
:
10px
;
background-color
:
#fff
;
&:first-child{
margin-bottom
:
16px
;
margin-top
:
0
;
.category-slot{
}
.category-item{
.el-input
{
margin-top
:
10px
;
width
:
432px
;
&:first-child{
}
margin-top
:
0
;
.del-icon
{
}
font-size
:
16px
;
.el-input
{
color
:
#999999
;
width
:
432px
;
margin-left
:
8px
;
}
vertical-align
:
middle
;
.del-icon
{
font-size
:
16px
;
color
:
#999999
;
margin-left
:
8px
;
vertical-align
:
middle
;
}
}
}
}
.add-btn
{
.add-btn
{
display
:
inline-block
;
display
:
inline-block
;
color
:
#5850FF
;
color
:
#5850FF
;
cursor
:
pointer
;
cursor
:
pointer
;
i{
i{
font-size
:
20px
;
font-size
:
20px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
}
}
}
}
}
...
...
src/views/channel/add.vue
View file @
036186c
...
@@ -255,8 +255,8 @@ export default {
...
@@ -255,8 +255,8 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
color
:
#999999
;
color
:
#999999
;
margin-left
:
154px
;
margin-left
:
154px
;
margin-bottom
:
3
5
px
;
margin-bottom
:
3
2
px
;
margin-top
:
15
px
;
margin-top
:
-10
px
;
}
}
}
}
</
style
>
</
style
>
src/views/channel/index.vue
View file @
036186c
...
@@ -75,6 +75,7 @@ export default {
...
@@ -75,6 +75,7 @@ export default {
},
},
{
{
label
:
'频道子名称'
,
label
:
'频道子名称'
,
width
:
180
,
prop
:
'channelChildName'
prop
:
'channelChildName'
},
},
{
{
...
@@ -93,6 +94,7 @@ export default {
...
@@ -93,6 +94,7 @@ export default {
},
},
{
{
label
:
'关联门店'
,
label
:
'关联门店'
,
width
:
100
,
prop
:
'linkMerchantCnt'
,
prop
:
'linkMerchantCnt'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
linkMerchantCnt
||
'--'
return
cellValue
.
linkMerchantCnt
||
'--'
...
@@ -100,6 +102,7 @@ export default {
...
@@ -100,6 +102,7 @@ export default {
},
},
{
{
label
:
'创建日期'
,
label
:
'创建日期'
,
width
:
220
,
prop
:
'createdDate'
,
prop
:
'createdDate'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
dayjs
(
cellValue
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
return
dayjs
(
cellValue
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
...
@@ -109,7 +112,7 @@ export default {
...
@@ -109,7 +112,7 @@ export default {
label
:
'操作'
,
label
:
'操作'
,
addHtml
:
'auth-button'
,
addHtml
:
'auth-button'
,
fixed
:
'right'
,
fixed
:
'right'
,
width
:
3
00
width
:
1
00
}
}
]
]
},
},
...
...
src/views/goods/add.vue
View file @
036186c
...
@@ -303,6 +303,7 @@ export default {
...
@@ -303,6 +303,7 @@ export default {
const
{
id
,
type
}
=
this
.
routeInfo
const
{
id
,
type
}
=
this
.
routeInfo
if
(
type
==
1
)
{
if
(
type
==
1
)
{
this
.
disabled
=
true
this
.
disabled
=
true
this
.
posterOptions
.
isClose
=
false
const
_target
=
this
.
goodsFormData
.
find
(
item
=>
item
.
name
==
'goodsName'
)
const
_target
=
this
.
goodsFormData
.
find
(
item
=>
item
.
name
==
'goodsName'
)
_target
.
isDisabled
=
true
_target
.
isDisabled
=
true
this
.
selectedtableParams
.
tableOption
=
null
this
.
selectedtableParams
.
tableOption
=
null
...
...
src/views/store/components/selectStore.vue
View file @
036186c
...
@@ -9,11 +9,12 @@
...
@@ -9,11 +9,12 @@
@
onOk=
"handleConfirm"
@
onOk=
"handleConfirm"
@
onCancel=
"handleClose"
>
@
onCancel=
"handleClose"
>
<glsx-combi-form
ref=
"showSearch"
<glsx-combi-form
ref=
"showSearch"
class=
"single-merchant"
labelWidth=
"105px"
labelWidth=
"105px"
:formObj=
"searchForm"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
:formData=
"searchFormData"
>
<span
slot=
"footer"
>
<span
slot=
"footer"
>
<el-button
:size=
"size"
<el-button
class=
"btn"
:size=
"size"
type=
"primary"
type=
"primary"
@
click=
"resetTable"
>
查询
</el-button>
@
click=
"resetTable"
>
查询
</el-button>
</span>
</span>
...
@@ -241,6 +242,16 @@ export default {
...
@@ -241,6 +242,16 @@ export default {
.storeDailog
{
.storeDailog
{
width
:
500px
;
width
:
500px
;
}
}
.single-merchant
{
.el-form
{
.
el-form-item
:
nth-child
(
2
)
{
margin-right
:
12px
!important
;
}
.btn
{
margin-top
:
1px
;
}
}
}
.title
{
.title
{
margin-bottom
:
12px
;
margin-bottom
:
12px
;
}
}
...
...
src/views/store/edit.vue
View file @
036186c
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<
template
slot=
"switch"
slot-scope=
"scope"
>
<
template
slot=
"switch"
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.scope.isOpen"
@
change=
"updateState(scope.scope)"
></el-switch>
<el-switch
v-model=
"scope.scope.isOpen"
@
change=
"updateState(scope.scope)"
></el-switch>
</
template
>
</
template
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns
btn-wrap
"
slot=
"auth-button"
slot-scope=
"scope"
>
<
template
v-if=
"activeName==5"
>
<el-button
type=
"text"
@
click=
"viewGoods(scope.scope, 1)"
>
查看
</el-button></
template
>
<
template
v-if=
"activeName==5"
>
<el-button
type=
"text"
@
click=
"viewGoods(scope.scope, 1)"
>
查看
</el-button></
template
>
<
template
v-else
>
<
template
v-else
>
<template
v-if=
"scope.scope.confType != 1"
>
<template
v-if=
"scope.scope.confType != 1"
>
...
@@ -530,6 +530,9 @@ export default {
...
@@ -530,6 +530,9 @@ export default {
font-size
:
16px
;
font-size
:
16px
;
color
:
#333333
;
color
:
#333333
;
}
}
.el-button
{
margin-left
:
10px
;
}
}
}
.status
{
.status
{
width
:
6px
;
width
:
6px
;
...
@@ -550,5 +553,14 @@ export default {
...
@@ -550,5 +553,14 @@ export default {
color
:
#5850FF
;
color
:
#5850FF
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.btn-wrap
{
.el-button
{
margin-left
:
10px
;
&:first-child{
margin-left
:
0
;
}
}
}
}
}
</
style
>
</
style
>
src/views/store/index.vue
View file @
036186c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"tableSearchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"tableSearchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"store-head"
>
<div
class=
"store-head"
>
<div
class=
"info"
>
门店管理列表
</div>
<div
class=
"info"
>
门店管理列表
</div>
<el-button
type=
"primary"
plain
size=
"small"
@
click=
"handleAdd"
>
新建
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
新建
</el-button>
</div>
</div>
<GLTable
ref=
"storeRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"storeRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"activityImg"
class=
"table-image"
slot-scope=
"scope"
>
<div
slot=
"activityImg"
class=
"table-image"
slot-scope=
"scope"
>
...
@@ -189,7 +189,7 @@ export default {
...
@@ -189,7 +189,7 @@ export default {
label
:
'操作'
,
label
:
'操作'
,
addHtml
:
'auth-button'
,
addHtml
:
'auth-button'
,
fixed
:
'right'
,
fixed
:
'right'
,
width
:
30
0
width
:
15
0
}
}
]
]
},
},
...
...
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