AdaKing88
2023-08-23 ae35159387a55199e8ab150ebb97d89d68a235bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
    <view>
       <!--标题和返回-->
        <cu-custom :bgColor="NavBarColor" isBack>
            <block slot="backText">返回</block>
            <block slot="content">${tableVo.ftlDescription}</block>
        </cu-custom>
        <!--滚动加载列表-->
        <mescroll-body ref="mescrollRef" bottom="88"  @init="mescrollInit" :up="upOption" :down="downOption" @down="downCallback" @up="upCallback">
            <view class="cu-list menu">
                <view class="cu-item" v-for="(item,index) in list" :key="index" @click="goHome">
                    <view class="flex" style="width:100%">
                        <text class="text-lg" style="color: #000;">
                             {{ item.createBy}}
                        </text>
                    </view>
                </view>
            </view>
        </mescroll-body>
    </view>
</template>
 
<script>
    import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js";
    import Mixin from "@/common/mixin/Mixin.js";
 
    export default {
        name: '${tableVo.ftlDescription}',
        mixins: [MescrollMixin,Mixin],
        data() {
            return {
                CustomBar:this.CustomBar,
                NavBarColor:this.NavBarColor,
                url: "/${entityPackage}/${entityName?uncap_first}/list",
            };
        },
        methods: {
            goHome(){
                this.$Router.push({name: "index"})
            }
        }
    }
</script>