index.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <template>
  2. <view class="content">
  3. <view class="" style="margin-bottom: 100rpx;">
  4. <view class="content-header">
  5. <text class="content-header-text">客户管理</text>
  6. </view>
  7. <view class="content-body ">
  8. <view class="content-body-img" @click="toAdd()">
  9. <view>
  10. <img src="../../static/images/ziliao.png" alt="添加客户" style="height: 100rpx;">
  11. </view>
  12. <text class="content-body-text">添加客户</text>
  13. </view>
  14. <view class="content-body-img" @click="tolist()">
  15. <view>
  16. <img src="../../static/images/mine.png" alt="添加客户" style="height: 100rpx;">
  17. </view>
  18. <text class="content-body-text">客户列表</text>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="" style="margin-bottom: 100rpx;">
  23. <view class="content-header">
  24. <text class="content-header-text">客户拜访</text>
  25. </view>
  26. <view class="content-body">
  27. <view class="content-body-img" @click="addvisit()">
  28. <view>
  29. <img src="../../static/images/ziliao.png" alt="添加客户" style="height: 100rpx;">
  30. </view>
  31. <text class="content-body-text">添加拜访</text>
  32. </view>
  33. <view class="content-body-img" @click="toVisit()">
  34. <view>
  35. <img src="../../static/images/visit.png" alt="添加客户" style="height: 100rpx;">
  36. </view>
  37. <text class="content-body-text">拜访历史</text>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="" style="margin-bottom: 100rpx;">
  42. <view class="content-header">
  43. <text class="content-header-text">市场调研</text>
  44. </view>
  45. <view class="content-body">
  46. <view class="content-body-img" @click="addmarket()">
  47. <view>
  48. <img src="../../static/images/ziliao.png" alt="添加客户" style="height: 100rpx;">
  49. </view>
  50. <text class="content-body-text">添加调查</text>
  51. </view>
  52. <view class="content-body-img" @click="toMarket()">
  53. <view >
  54. <img src="../../static/images/marketing.png" alt="添加客户" style="height: 100rpx;">
  55. </view>
  56. <text class="content-body-text">市场列表</text>
  57. </view>
  58. </view>
  59. </view>
  60. <!-- <view class="content-list">
  61. <navigator url="/pages/customor-message/customor-message">客&nbsp;&nbsp;户&nbsp;&nbsp;信&nbsp;&nbsp;息</navigator>
  62. <navigator url="/pages/customer-visit/customer-visit">客&nbsp;&nbsp;户&nbsp;&nbsp;拜&nbsp;&nbsp;访</navigator>
  63. <navigator url="/pages/market-research/market-research">市&nbsp;&nbsp;场&nbsp;&nbsp;调&nbsp;&nbsp;研</navigator>
  64. </view> -->
  65. </view>
  66. </template>
  67. <script>
  68. export default {
  69. data() {
  70. return {
  71. }
  72. },
  73. onLoad() {
  74. },
  75. methods: {
  76. toAdd(){
  77. uni.navigateTo({
  78. url:'/pages/addCustomer/addCustomer'
  79. })
  80. },
  81. addvisit(){
  82. uni.navigateTo({
  83. url:'/pages/addVisit/addVisit'
  84. })
  85. },
  86. addmarket(){
  87. uni.navigateTo({
  88. url:'/pages/addMarket/addMarket'
  89. })
  90. },
  91. tolist(){
  92. uni.navigateTo({
  93. url:'/pages/customor-message/customor-message'
  94. })
  95. },
  96. toVisit(){
  97. uni.navigateTo({
  98. url:'/pages/customer-visit/customer-visit'
  99. })
  100. },
  101. toMarket(){
  102. uni.navigateTo({
  103. url:'/pages/market-research/market-research'
  104. })
  105. }
  106. }
  107. }
  108. </script>
  109. <style lang="scss" scoped>
  110. .content-header{
  111. margin: 40rpx 0;
  112. text-align: center;
  113. .content-header-text{
  114. color:#8e898e;
  115. font-size: 35rpx;
  116. border-bottom:5px solid #8e898e ;
  117. display: block;
  118. // width: 80%;
  119. margin: 0 40rpx;
  120. }
  121. }
  122. .content-body{
  123. display: flex;
  124. margin:0 40rpx ;
  125. .content-body-img{
  126. margin-right: 40rpx;
  127. .content-body-text{
  128. font-size: 30rpx;
  129. }
  130. /* #ifdef MP-WEIXIN */
  131. img{
  132. width: 100%;
  133. }
  134. /*#endif*/
  135. }
  136. }
  137. .content-list{
  138. margin: 110rpx;
  139. text-align: center;
  140. // border: 1px solid #8e898e;
  141. // border-radius: 60rpx;
  142. // navigator{
  143. // margin: 20rpx 0;
  144. // font-size: 35rpx;
  145. // }
  146. }
  147. </style>