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
| <template>
| <view class="text-center footer-msg" @click.stop="clickFooter">
| ———— {{more&&'下拉获取更多哦'||!more&&(msg||'已经到底啦')||'加载中'}} ————
| </view>
| </template>
|
| <script>
| export default {
| name: "footer-msg",
| data() {
| return {
|
| };
| },
| methods:{
| clickFooter(){
| this.$emit('click-footer',{})
| }
| },
| props: {
| more: false,
| msg:''
| }
| }
| </script>
|
| <style lang="scss">
| .footer-msg {
| color: #666666;
| font-size: 24rpx;
| line-height: 34rpx;
| }
| </style>
|
|