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 d4103d44
authored
Sep 22, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
门店活码详情统计也调整
1 parent
e8de0a34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
41 deletions
vue3-lw-pc/src/views/drainageCode/store/detail.vue
vue3-lw-pc/src/views/drainageCode/store/detail.vue
View file @
d4103d4
<
template
>
<
template
>
<div>
<div
style=
"margin-top: -13px"
>
<div
class=
"card-tab"
>
<el-tabs>
<div
class=
"item"
:class=
"activeIndex === 0 ? 'active' : ''"
@
click=
"activeIndex = 0"
>
门店信息
</div>
<el-tab-pane
label=
"门店信息"
>
<div
class=
"item"
:class=
"activeIndex === 1 ? 'active' : ''"
@
click=
"activeIndex = 1"
>
数据统计
</div>
</div>
<div
style=
"margin-top: 10px"
>
<template
v-if=
"activeIndex === 0"
>
<edit-store
:isDetail=
"true"
></edit-store>
<edit-store
:isDetail=
"true"
></edit-store>
</
templat
e
>
</
el-tab-pan
e>
<
template
v-if=
"activeIndex === 1
"
>
<
el-tab-pane
label=
"数据统计
"
>
<store-analyse></store-analyse>
<store-analyse></store-analyse>
</
templat
e
>
</
el-tab-pan
e>
</
div
>
</
el-tabs
>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -20,9 +16,7 @@ import StoreAnalyse from './store_analyse'
...
@@ -20,9 +16,7 @@ import StoreAnalyse from './store_analyse'
export
default
{
export
default
{
name
:
'store-detail'
,
name
:
'store-detail'
,
data
()
{
data
()
{
return
{
return
{}
activeIndex
:
0
,
}
},
},
components
:
{
components
:
{
EditStore
,
EditStore
,
...
@@ -30,30 +24,4 @@ export default {
...
@@ -30,30 +24,4 @@ export default {
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
></
style
>
.active
{
font-weight
:
600
;
color
:
var
(
--color
)
!important
;
background
:
var
(
--bg-white
)
!important
;
box-shadow
:
0px
6px
30px
5px
rgba
(
59
,
59
,
59
,
0.05
);
}
.card-tab
{
//
margin-top
:
10px
;
display
:
flex
;
div
{
width
:
88px
;
height
:
30px
;
background
:
var
(
--bg-black-11
);
border-radius
:
32px
32px
32px
32px
;
font-size
:
14px
;
line-height
:
30px
;
text-align
:
center
;
margin-right
:
12px
;
margin-bottom
:
6px
;
}
.item
:hover
{
cursor
:
pointer
;
opacity
:
0.8
;
}
}
</
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