vue-cli init

This commit is contained in:
2025-08-15 16:25:44 +08:00
parent e81805b4c0
commit 8e22afd798
590 changed files with 103286 additions and 213 deletions
+49
View File
@@ -0,0 +1,49 @@
<template>
<view class="tishi">
<image v-if="isMore" class="loadingIcon" src="../../static/icon/loading.gif" mode="aspectFill"></image>
<text v-if="isMore">正在加载更多哦...</text>
<text v-else>{{nullMsg}}</text>
</view>
</template>
<script>
export default {
name: "getMore",
props: {
isMore:{
type: Boolean,
default: true
},
nullMsg:{
type: String,
default: '我是有底线的人~'
}
}
}
</script>
<style>
/*上拉刷新提示文字*/
.tishi {
flex-direction: row;
width: 750rpx;
justify-content: center;
text-align: center;
flex-direction: column;
align-items: center;
margin: 28rpx 0;
font-size: 26rpx;
}
.tishiT {
font-size: 26rpx;
color: #333;
}
.loadingIcon {
width: 40rpx;
height: 40rpx;
margin-right: 16rpx;
margin-bottom: -10rpx;
}
</style>