index.vue 801 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!-- 货源 -->
  2. <template>
  3. <view class="content">
  4. <!-- <u--image :showLoading="true" :src="src" width="80px" height="80px" @click="click"></u--image> -->
  5. 货源
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. src: 'https://cdn.uviewui.com/uview/album/1.jpg'
  13. }
  14. },
  15. onLoad() {
  16. let _isHave = this.$utils.getRoles('aaa')
  17. console.log(_isHave)
  18. },
  19. methods: {
  20. }
  21. }
  22. </script>
  23. <style>
  24. .content {
  25. display: flex;
  26. flex-direction: column;
  27. align-items: center;
  28. justify-content: center;
  29. }
  30. .logo {
  31. height: 200rpx;
  32. width: 200rpx;
  33. margin-top: 200rpx;
  34. margin-left: auto;
  35. margin-right: auto;
  36. margin-bottom: 50rpx;
  37. }
  38. .text-area {
  39. display: flex;
  40. justify-content: center;
  41. }
  42. .title {
  43. font-size: 36rpx;
  44. color: #8f8f94;
  45. }
  46. </style>