Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
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 e31a824a
authored
Aug 04, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
抽离公共组件
1 parent
b2b0fbe5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
12 deletions
src/views/crowdfundingDetail/Calendar.vue → src/components/Calendar.vue
src/views/crowdfundingDetail/DateTab.vue → src/components/DateTab.vue
src/views/boutique/rightCompoments/StaffRanking.vue
src/views/boutiqueDetail/GoodsPayPropertion.vue
src/views/crowdfundingDetail/ActivityDetail.vue
src/
views/crowdfundingDetail
/Calendar.vue
→
src/
components
/Calendar.vue
View file @
e31a824
File moved
src/
views/crowdfundingDetail
/DateTab.vue
→
src/
components
/DateTab.vue
View file @
e31a824
...
@@ -7,10 +7,14 @@
...
@@ -7,10 +7,14 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'DateTab'
,
name
:
'DateTab'
,
props
:
{
dateList
:
{
type
:
Array
,
default
:
()
=>
[]
}
},
data
()
{
data
()
{
return
{
return
{
dateList
:
[
'近3个月'
,
'近6个月'
,
'近1年'
,
'自定义'
],
tabActive
:
1
tabActive
:
1
}
}
},
},
...
...
src/views/boutique/rightCompoments/StaffRanking.vue
View file @
e31a824
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
},
},
{
{
name
:
'merchantname'
,
name
:
'merchantname'
,
width
:
'1
3
vw'
width
:
'1
2
vw'
},
},
{
{
name
:
'num'
,
name
:
'num'
,
...
...
src/views/boutiqueDetail/GoodsPayPropertion.vue
View file @
e31a824
...
@@ -35,7 +35,7 @@ export default {
...
@@ -35,7 +35,7 @@ export default {
id
:
'goodsPay'
,
id
:
'goodsPay'
,
keys
:
[
'payType'
,
'orderNum'
],
keys
:
[
'payType'
,
'orderNum'
],
height
:
'15.34vh'
,
height
:
'15.34vh'
,
colors
:
[
'#34AFFF'
,
'#16E193'
,
'#FFC200'
],
colors
:
[
'#34AFFF'
,
'#16E193'
,
'#FFC200'
,
'#EB6001'
],
formatter
:
'total'
,
formatter
:
'total'
,
formatterName
:
'支付订单'
,
formatterName
:
'支付订单'
,
formtUnit
:
'单'
formtUnit
:
'单'
...
...
src/views/crowdfundingDetail/ActivityDetail.vue
View file @
e31a824
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<box-title
title=
"活动数据明细"
></box-title>
<box-title
title=
"活动数据明细"
></box-title>
<div
class=
"content-box"
>
<div
class=
"content-box"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<DateTab
@
changeDate=
"changeDate"
class=
"date-tab"
></DateTab>
<DateTab
:dateList=
"dateList"
@
changeDate=
"changeDate"
class=
"date-tab"
></DateTab>
<Calendar
v-show=
"showCalendar"
></Calendar>
<Calendar
v-show=
"showCalendar"
></Calendar>
</div>
</div>
<ActivityTable
class=
"activity-table"
:tableData=
"tableData"
:dataTotal=
"dataTotal"
></ActivityTable>
<ActivityTable
class=
"activity-table"
:tableData=
"tableData"
:dataTotal=
"dataTotal"
></ActivityTable>
...
@@ -12,18 +12,15 @@
...
@@ -12,18 +12,15 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
DateTab
from
'./DateTab.vue'
import
ActivityTable
from
'./ActivityTable.vue'
import
ActivityTable
from
'./ActivityTable.vue'
import
Calendar
from
'./Calendar.vue'
export
default
{
export
default
{
name
:
'ActivityDetail'
,
name
:
'ActivityDetail'
,
components
:
{
components
:
{
DateTab
,
ActivityTable
ActivityTable
,
Calendar
},
},
data
()
{
data
()
{
return
{
return
{
dateList
:
[
'近3个月'
,
'近6个月'
,
'近1年'
,
'自定义'
],
tableData
:
[
tableData
:
[
{
{
activityName
:
'续保膨胀金活动'
,
activityName
:
'续保膨胀金活动'
,
...
@@ -59,7 +56,7 @@ export default {
...
@@ -59,7 +56,7 @@ export default {
methods
:
{
methods
:
{
changeDate
(
val
)
{
changeDate
(
val
)
{
console
.
log
(
val
);
console
.
log
(
val
)
if
(
val
===
3
)
{
if
(
val
===
3
)
{
this
.
showCalendar
=
true
this
.
showCalendar
=
true
}
else
{
}
else
{
...
@@ -80,7 +77,7 @@ export default {
...
@@ -80,7 +77,7 @@ export default {
margin-top
:
2.22vh
;
margin-top
:
2.22vh
;
}
}
.date-tab
{
.date-tab
{
margin-right
:
0.69vw
;
margin-right
:
0.69vw
;
}
}
}
}
}
}
...
...
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