my.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <template>
  2. <view class="page">
  3. <uni-nav-bar :fixed="true" background-color="#F7F7F7" :border="false" :statusBar="true" title="个人中心" />
  4. <view class="flex-row use">
  5. <view class="avatar" @click="goUserInfo">
  6. <image :src="'/static/ud4.png'"></image>
  7. </view>
  8. <view class="flex-col justify-around useMsg">
  9. <view class="flex-row">
  10. <text class="name">张辉</text>
  11. <view class="tag">拓客经理</view>
  12. </view>
  13. <view>
  14. <text class="phone">电话:17365000111</text>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="statistics flex-col">
  19. <view class="statisticsTitle">
  20. <text >拓客统计</text>
  21. </view>
  22. <view class="flex-row justify-center ">
  23. <view class="statisticsItem flex-col ">
  24. <view class="flex-row justify-center">
  25. <u-icon name="/static/my/fuwuNmber.png" size="28"></u-icon>
  26. </view>
  27. <view class="flex-row justify-center statisticsKey">
  28. <text>我的专员(人)</text>
  29. </view>
  30. <view class="flex-row justify-center statisticsValue">
  31. <text>0</text>
  32. </view>
  33. </view>
  34. <view class="statisticsItem statisticsItemBorder flex-col " >
  35. <view class="flex-row justify-center">
  36. <u-icon name="/static/my/jinriyeji.png" size="28"></u-icon>
  37. </view>
  38. <view class="flex-row justify-center statisticsKey">
  39. <text>我的直推(人)</text>
  40. </view>
  41. <view class="flex-row justify-center statisticsValue">
  42. <text>0</text>
  43. </view>
  44. </view>
  45. <view class="statisticsItem statisticsItemBorder flex-col ">
  46. <view class="flex-row justify-center">
  47. <u-icon name="/static/my/benyueyeji.png" size="28"></u-icon>
  48. </view>
  49. <view class="flex-row justify-center statisticsKey">
  50. <text>我的间推(人)</text>
  51. </view>
  52. <view class="flex-row justify-center statisticsValue">
  53. <text>0</text>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="tuoke ">
  59. <view class="statisticsTitle ">
  60. <text >任务统计</text>
  61. </view>
  62. <view class="flex-row justify-center ">
  63. <view class="statisticsItem flex-col" :style="{'width':'50%'}">
  64. <view class="flex-row justify-center">
  65. <u-icon name="/static/my/jinrirenwu.png" size="28"></u-icon>
  66. </view>
  67. <view class="flex-row justify-center statisticsKey">
  68. <text>今日任务</text>
  69. </view>
  70. <view class="flex-row justify-center statisticsValue">
  71. <text>{{staticsData.todayTask || 0}}</text>
  72. </view>
  73. </view>
  74. <view class="statisticsItem statisticsItemBorder flex-col" :style="{'width':'50%'}">
  75. <view class="flex-row justify-center">
  76. <u-icon name="/static/my/benyuerenwu.png" size="28"></u-icon>
  77. </view>
  78. <view class="flex-row justify-center statisticsKey">
  79. <text>完成任务</text>
  80. </view>
  81. <view class="flex-row justify-center statisticsValue">
  82. <text>{{staticsData.finishTask || 0}}</text>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. </template>
  89. <script>
  90. export default {
  91. data() {
  92. return {
  93. staticsData:{}
  94. }
  95. },
  96. methods: {
  97. goUserInfo(){
  98. uni.navigateTo({
  99. url: '/pages/userInfo/userInfo'
  100. })
  101. },
  102. }
  103. }
  104. </script>
  105. <style lang="scss" scoped>
  106. @import './index.rpx.css';
  107. </style>