12345678910111213141516171819202122232425262728293031 |
- <template>
- <view class="con">
- <view><img src="../static/nodata.png" alt=""></view>
- <view class="txt" :style="fcolor?'color:'+fcolor:''">暂无数据</view>
- </view>
- </template>
- <script>
- export default {
- name: "noData",
- props:['fcolor']
- }
- </script>
- <style lang="scss" scoped>
- .con{
- text-align: center;
- padding: 60rpx;
- img{
- width: 222rpx;
- height: 190rpx;
- }
- .txt{
- font-size: 26rpx;
- margin-top: 20rpx;
- color: rgba(153, 153, 153, .5);
- }
- }
- </style>
|