myGroup.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <template>
  2. <view class="page">
  3. <uni-nav-bar :fixed="true" background-color="#FFE05C" :border="false" :statusBar="true" left-icon="left" title="我的分组" @clickLeft="back" />
  4. <view>
  5. <scroll-view scroll-y :style="{height:height}">
  6. <view class="flex-col item" v-for="(item,index) in 100" :key="index">
  7. <view class="flex-row justify-between">
  8. <text class="storeName">好又多母婴店</text>
  9. <text class="time">消费额:1000.55</text>
  10. </view>
  11. <view class="flex-row icon-num">
  12. <u-icon size="24" name="/static/group/fuzeren.png"></u-icon>
  13. <text class="key">负责人:</text>
  14. <text class="number">张珊</text>
  15. </view>
  16. <view class="flex-row icon-num">
  17. <u-icon size="24" name="/static/group/chengyuan.png"></u-icon>
  18. <text class="key">成员:</text>
  19. <text class="number">300人</text>
  20. </view>
  21. </view>
  22. </scroll-view>
  23. </view>
  24. <view class="addGroup">
  25. <text>新增分组</text>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. export default {
  31. components: {
  32. },
  33. data() {
  34. return {
  35. height:''
  36. }
  37. },
  38. onLoad(e) {
  39. let sysInfo = uni.getSystemInfoSync()
  40. this.height = sysInfo.windowHeight - 120 + 'px' //除标题栏栏外的屏幕可用高度
  41. },
  42. methods: {
  43. back() {
  44. uni.navigateBack({
  45. delta: 1
  46. })
  47. },
  48. }
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. @import './index.rpx.css';
  53. </style>