uni-events-helper-wx
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
758 B

  1. <template>
  2. <view class="item flex_col">
  3. <image src="../../static/images/no_data.png" mode=""></image>
  4. <text>{{txt}}</text>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. props: {
  10. txt: {
  11. value: String,
  12. default: "暂无数据"
  13. }
  14. },
  15. data() {
  16. return {
  17. };
  18. },
  19. methods: {
  20. },
  21. watch: {
  22. // value(val) {
  23. // }
  24. }
  25. };
  26. </script>
  27. <style lang="scss" scoped>
  28. .item{
  29. image{
  30. width: 368rpx;
  31. height: 316rpx;
  32. margin-top: 80rpx;
  33. }
  34. text{
  35. font-size: 28rpx;
  36. color: #9A9A9D;
  37. font-weight: border;
  38. margin: 38rpx 0;
  39. }
  40. }
  41. </style>