Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
leiqingsong
XiTianSenMall
Commits
8dcfc004
Commit
8dcfc004
authored
4 years ago
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
4622842d
master
dev_lqs
dev_wm
dev_xll
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
91 additions
and
19 deletions
+91
-19
BaseNavBar.vue
H5/src/components/BaseNavBar.vue
+6
-0
index.js
H5/src/router/index.js
+6
-0
cash-out-record.vue
H5/src/views/cashOut/cash-out-record.vue
+1
-1
recordItem.vue
H5/src/views/cashOut/components/recordItem.vue
+1
-1
income-detail.vue
H5/src/views/income/income-detail.vue
+21
-17
router.vue
H5/src/views/router.vue
+56
-0
No files found.
H5/src/components/BaseNavBar.vue
View file @
8dcfc004
...
@@ -28,3 +28,9 @@ export default {
...
@@ -28,3 +28,9 @@ export default {
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
::v-deep
.van-nav-bar
.van-icon
{
color
:
#000000
;
}
</
style
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
H5/src/router/index.js
View file @
8dcfc004
...
@@ -99,6 +99,12 @@ const routes = [
...
@@ -99,6 +99,12 @@ const routes = [
name
:
"LeagueNums"
,
name
:
"LeagueNums"
,
component
:
()
=>
import
(
"@/views/leagueNums"
),
component
:
()
=>
import
(
"@/views/leagueNums"
),
meta
:
{
title
:
"团员总人数"
,
noNav
:
true
}
meta
:
{
title
:
"团员总人数"
,
noNav
:
true
}
},
{
path
:
"/router"
,
name
:
"Router"
,
component
:
()
=>
import
(
"@/views/router"
),
meta
:
{
title
:
"路径导航"
,
noNav
:
true
}
}
}
];
];
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/cashOut/cash-out-record.vue
View file @
8dcfc004
<
template
>
<
template
>
<div
class=
"cash-out-record"
>
<div
class=
"cash-out-record"
>
<div
id=
"top-month"
>
<div
id=
"top-month"
>
<span
style=
"width:
8
0px; margin-right: 5px"
>
{{
selected
}}
</span>
<span
style=
"width:
9
0px; margin-right: 5px"
>
{{
selected
}}
</span>
<van-icon
name=
"arrow-down"
@
click=
"show = true"
/>
<van-icon
name=
"arrow-down"
@
click=
"show = true"
/>
</div>
</div>
<div
class=
"record-list"
>
<div
class=
"record-list"
>
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/cashOut/components/recordItem.vue
View file @
8dcfc004
<
template
>
<
template
>
<div
class=
"record-item"
>
<div
class=
"record-item"
>
<img
src=
"@/assets/images/
收益
.png"
/>
<img
src=
"@/assets/images/
消费
.png"
/>
<div
class=
"item"
style=
"flex:2;margin-left:10px"
>
<div
class=
"item"
style=
"flex:2;margin-left:10px"
>
<span
style=
"font-size:14px;color:#333333"
>
提现
</span>
<span
style=
"font-size:14px;color:#333333"
>
提现
</span>
<span
style=
"font-size:12px;color:#999999"
>
2021.1.14 10:02
</span>
<span
style=
"font-size:12px;color:#999999"
>
2021.1.14 10:02
</span>
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/income/income-detail.vue
View file @
8dcfc004
...
@@ -34,66 +34,68 @@ export default {
...
@@ -34,66 +34,68 @@ export default {
pieOption
:
{
pieOption
:
{
legend
:
[
legend
:
[
{
{
selected
:
"false"
,
selectedMode
:
false
,
align
:
"left"
,
x
:
"1%"
,
x
:
"1%"
,
y
:
"65%"
,
y
:
"65%"
,
itemWidth
:
12
,
data
:
[
"工资收益"
]
data
:
[
"工资收益"
]
},
},
{
{
selected
:
"false"
,
selectedMode
:
false
,
align
:
"left"
,
x
:
"28%"
,
x
:
"28%"
,
y
:
"65%"
,
y
:
"65%"
,
itemWidth
:
12
,
data
:
[
"曾极差奖金"
]
data
:
[
"曾极差奖金"
]
},
},
{
{
selected
:
"false"
,
selectedMode
:
false
,
align
:
"left"
,
x
:
"65%"
,
x
:
"65%"
,
y
:
"65%"
,
y
:
"65%"
,
itemWidth
:
12
,
data
:
[
"自身消费返佣"
]
data
:
[
"自身消费返佣"
]
},
},
{
{
selected
:
"false"
,
selectedMode
:
false
,
align
:
"left"
,
x
:
"1%"
,
x
:
"1%"
,
y
:
"75%"
,
y
:
"75%"
,
itemWidth
:
12
,
data
:
[
"培育奖"
]
data
:
[
"培育奖"
]
},
},
{
{
selected
:
"false"
,
selectedMode
:
false
,
align
:
"left"
,
x
:
"28%"
,
x
:
"28%"
,
y
:
"75%"
,
y
:
"75%"
,
itemWidth
:
12
,
data
:
[
"月度肥料池分红"
]
data
:
[
"月度肥料池分红"
]
},
},
{
{
selected
:
"false"
,
selectedMode
:
false
,
align
:
"left"
,
x
:
"65%"
,
x
:
"65%"
,
y
:
"75%"
,
y
:
"75%"
,
itemWidth
:
12
,
data
:
[
"进步奖"
]
data
:
[
"进步奖"
]
},
},
{
{
selected
:
"false"
,
selectedMode
:
false
,
align
:
"left"
,
x
:
"1%"
,
x
:
"1%"
,
y
:
"85%"
,
y
:
"85%"
,
itemWidth
:
12
,
data
:
[
"红包"
]
data
:
[
"红包"
]
},
},
{
{
selected
:
"false"
,
selected
Mode
:
false
,
align
:
"left"
,
align
:
"left"
,
x
:
"28%"
,
x
:
"28%"
,
y
:
"85%"
,
y
:
"85%"
,
itemWidth
:
12
,
data
:
[
"运营中心补贴"
]
data
:
[
"运营中心补贴"
]
},
},
{
{
selected
:
"false"
,
selected
Mode
:
false
,
align
:
"left"
,
align
:
"left"
,
x
:
"65%"
,
x
:
"65%"
,
y
:
"85%"
,
y
:
"85%"
,
itemWidth
:
12
,
data
:
[
"其他收益"
]
data
:
[
"其他收益"
]
}
}
],
],
...
@@ -107,6 +109,7 @@ export default {
...
@@ -107,6 +109,7 @@ export default {
radius
:
[
"50%"
,
"70%"
],
// pie 内外环
radius
:
[
"50%"
,
"70%"
],
// pie 内外环
width
:
"180"
,
width
:
"180"
,
height
:
"180"
,
height
:
"180"
,
top
:
-
10
,
left
:
"center"
,
left
:
"center"
,
avoidLabelOverlap
:
true
,
avoidLabelOverlap
:
true
,
label
:
{
label
:
{
...
@@ -139,7 +142,7 @@ export default {
...
@@ -139,7 +142,7 @@ export default {
],
],
graphic
:
{
graphic
:
{
type
:
"group"
,
type
:
"group"
,
top
:
"
8
0"
,
top
:
"
7
0"
,
left
:
"center"
,
left
:
"center"
,
height
:
80
,
height
:
80
,
children
:
[
children
:
[
...
@@ -197,6 +200,7 @@ export default {
...
@@ -197,6 +200,7 @@ export default {
width
:
345px
;
width
:
345px
;
height
:
268px
;
height
:
268px
;
margin
:
15px
auto
12px
;
margin
:
15px
auto
12px
;
padding
:
0
5px
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
}
}
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/router.vue
0 → 100644
View file @
8dcfc004
<
template
>
<div
class=
"routes"
>
<p>
路径跳转导航:
</p>
<ul>
<li
v-for=
"item in routes"
:key=
"item.Name"
>
<span
style=
"margin:10px"
@
click=
"to(item.path)"
>
{{
item
.
meta
.
title
}}
</span>
</li>
</ul>
</div>
</
template
>
<
script
>
export
default
{
name
:
"Router"
,
data
()
{
return
{
routes
:
[]
};
},
mounted
()
{
const
allRoutes
=
this
.
$router
.
options
.
routes
;
allRoutes
.
forEach
(
el
=>
{
if
(
el
.
children
)
{
const
parentPath
=
el
.
path
;
const
temp
=
JSON
.
parse
(
JSON
.
stringify
(
el
.
children
));
const
arr
=
temp
.
map
(
item
=>
{
item
.
path
=
parentPath
+
"/"
+
item
.
path
;
return
{
...
item
};
});
this
.
routes
.
push
(...
arr
);
}
else
{
if
(
el
.
meta
.
title
!==
"路径导航"
)
{
this
.
routes
.
push
(
el
);
}
}
});
},
methods
:
{
to
(
path
)
{
this
.
$router
.
push
(
path
);
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
.routes
{
margin
:
0
;
padding
:
0
;
font-size
:
16px
;
}
</
style
>
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment