Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
8d0a685f
Commit
8d0a685f
authored
May 22, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推广
parent
96588514
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
41 deletions
+42
-41
apps/home/Lib/Action/UserAction.class.php
+1
-1
apps/home/Tpl/default/User/account/income_w3g.html
+41
-40
No files found.
apps/home/Lib/Action/UserAction.class.php
View file @
8d0a685f
...
...
@@ -399,7 +399,7 @@ class UserAction extends CommonAction
$results
=
M
(
'zy_split_balance_flow'
)
->
where
([
'uid'
=>
$this
->
mid
,
'type'
=>
5
,
])
->
findAll
();
])
->
order
(
'ctime desc'
)
->
findAll
();
$sum
=
M
(
'zy_split_balance_flow'
)
->
where
([
'uid'
=>
$this
->
mid
,
'type'
=>
5
,
...
...
apps/home/Tpl/default/User/account/income_w3g.html
View file @
8d0a685f
<include
file=
"__THEME__/public_header_w3g"
/>
<include
file=
"__THEME__/public_header_w3g"
/>
<style
type=
"text/css"
>
</style>
<div
id=
"app"
>
<div
class=
"layout_v"
>
<div
class=
"widthraw_list_top layout_h"
>
<span
class=
"text_12_400 color_999999"
>
收益总金额:
</span>
<span
class=
"text_12_400 color_primary"
>
¥{$num}
</span>
</div>
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
@
load=
"onLoad"
>
<!-- v-for="(item, index)" :key="index" -->
<div
class=
"layout_h_b income_item"
>
<div
class=
"weight_full layout_v_b"
>
<span
class=
"text_14_400 color_333333"
>
用户8989购买了你推荐的【智慧校园教材】
</span>
<span
class=
"text_12_400 color_999999"
style=
"margin-top: 0.75rem;"
>
2020-01-02 15:35
</span>
</div>
<span
class=
"self_center text_14_600 color_FF3B3B"
style=
"margin-left: 1rem;"
>
+¥220.00
</span>
</div>
</van-list>
</div>
<div
class=
"layout_v"
>
<div
class=
"widthraw_list_top layout_h"
>
<span
class=
"text_12_400 color_999999"
>
收益总金额:
</span>
<span
class=
"text_12_400 color_primary"
>
¥{$num}
</span>
</div>
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
@
load=
"onLoad"
>
<!-- v-for="(item, index)" :key="index" -->
<?php foreach($data as $i=>$rs):?>
<div
class=
"layout_h_b income_item"
>
<div
class=
"weight_full layout_v_b"
>
<span
class=
"text_14_400 color_333333"
>
<?= $rs['note'] ?>
</span>
<span
class=
"text_12_400 color_999999"
style=
"margin-top: 0.75rem;"
>
2020-01-02 15:35
</span>
</div>
<span
class=
"self_center text_14_600 color_FF3B3B"
style=
"margin-left: 1rem;"
>
+¥220.00
</span>
</div>
<?php endforeach;?>
</van-list>
</div>
</div>
<script
type=
"text/javascript"
>
new
Vue
({
el
:
"#app"
,
data
:
function
()
{
return
{
loading
:
false
,
//加载时置为true
finished
:
fals
e
,
//加载完毕时置为true,为false时自动到底加载更多,
items
:
[]
}
},
created
:
function
()
{
$
(
"#preloader"
).
hide
();
},
methods
:
{
onLoad
:
function
()
{
new
Vue
({
el
:
"#app"
,
data
:
function
()
{
return
{
loading
:
false
,
//加载时置为true
finished
:
tru
e
,
//加载完毕时置为true,为false时自动到底加载更多,
items
:
[]
}
},
created
:
function
()
{
$
(
"#preloader"
).
hide
();
},
methods
:
{
onLoad
:
function
()
{
}
}
})
}
}
})
</script>
<include
file=
"__THEME__/public_footer_w3g"
/>
<include
file=
"__THEME__/public_footer_w3g"
/>
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