聚星移动端

noData.vue 493B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <view class="con">
  3. <view><img src="../static/nodata.png" alt=""></view>
  4. <view class="txt" :style="fcolor?'color:'+fcolor:''">暂无数据</view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. name: "noData",
  10. props:['fcolor']
  11. }
  12. </script>
  13. <style lang="scss" scoped>
  14. .con{
  15. text-align: center;
  16. padding: 60rpx;
  17. img{
  18. width: 222rpx;
  19. height: 190rpx;
  20. }
  21. .txt{
  22. font-size: 26rpx;
  23. margin-top: 20rpx;
  24. color: rgba(153, 153, 153, .5);
  25. }
  26. }
  27. </style>