Commit 8d0a685f by 冷斌

推广

parent 96588514
...@@ -399,7 +399,7 @@ class UserAction extends CommonAction ...@@ -399,7 +399,7 @@ class UserAction extends CommonAction
$results = M('zy_split_balance_flow')->where([ $results = M('zy_split_balance_flow')->where([
'uid' => $this->mid, 'uid' => $this->mid,
'type' => 5, 'type' => 5,
])->findAll(); ])->order('ctime desc')->findAll();
$sum = M('zy_split_balance_flow')->where([ $sum = M('zy_split_balance_flow')->where([
'uid' => $this->mid, 'uid' => $this->mid,
'type' => 5, 'type' => 5,
......
<include file="__THEME__/public_header_w3g" /> <include file="__THEME__/public_header_w3g"/>
<style type="text/css"> <style type="text/css">
...@@ -16,14 +16,15 @@ ...@@ -16,14 +16,15 @@
finished-text="没有更多了" finished-text="没有更多了"
@load="onLoad"> @load="onLoad">
<!-- v-for="(item, index)" :key="index" --> <!-- v-for="(item, index)" :key="index" -->
<?php foreach($data as $i=>$rs):?>
<div class="layout_h_b income_item"> <div class="layout_h_b income_item">
<div class="weight_full layout_v_b"> <div class="weight_full layout_v_b">
<span class="text_14_400 color_333333">用户8989购买了你推荐的【智慧校园教材】</span> <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> <span class="text_12_400 color_999999" style="margin-top: 0.75rem;">2020-01-02 15:35</span>
</div> </div>
<span class="self_center text_14_600 color_FF3B3B" style="margin-left: 1rem;">+¥220.00</span> <span class="self_center text_14_600 color_FF3B3B" style="margin-left: 1rem;">+¥220.00</span>
</div> </div>
<?php endforeach;?>
</van-list> </van-list>
</div> </div>
</div> </div>
...@@ -31,22 +32,22 @@ ...@@ -31,22 +32,22 @@
<script type="text/javascript"> <script type="text/javascript">
new Vue({ new Vue({
el: "#app", el: "#app",
data: function() { data: function () {
return { return {
loading: false,//加载时置为true loading: false,//加载时置为true
finished: false,//加载完毕时置为true,为false时自动到底加载更多, finished: true,//加载完毕时置为true,为false时自动到底加载更多,
items: [] items: []
} }
}, },
created:function(){ created: function () {
$("#preloader").hide(); $("#preloader").hide();
}, },
methods: { methods: {
onLoad: function() { onLoad: function () {
} }
} }
}) })
</script> </script>
<include file="__THEME__/public_footer_w3g" /> <include file="__THEME__/public_footer_w3g"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment