index.vue 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. <template>
  2. <view>
  3. <uni-nav-bar title="我的" backgroundColor='#CCEEDB' color="#121816" fixed statusBar @clickRight="inSetting">
  4. <block slot="right">
  5. <view>
  6. <image class="nav-right" src="@/static/images/home/setting.png" />
  7. </view>
  8. </block>
  9. </uni-nav-bar>
  10. <view class="header">
  11. <view style="display: flex;align-items: center;">
  12. <view class="">
  13. <image style="width: 100rpx;height: 100rpx;" src="@/static/images/me/me (1).png" />
  14. </view>
  15. <view style="margin-left: 16rpx;">
  16. <view style="font-size: 30rpx;color: #363F3F;">
  17. 暂无名称
  18. </view>
  19. <view style="display: flex;align-items: center;font-size: 28rpx;color: #7B7B7B;">
  20. <image style="width: 29rpx;height: 28rpx;" src="@/static/images/me/me (2).png" />暂无地址
  21. </view>
  22. </view>
  23. </view>
  24. <uni-grid :column="4" :showBorder="false" :highlight="false" :square="false" style="margin-top: 40rpx;">
  25. <uni-grid-item>
  26. <image style="width: 32rpx;height: 33rpx;" src="@/static/images/me/me (3).png" />
  27. <text style="font-size: 26rpx;line-height: 26rpx;color: #131313;margin-top: 18rpx ;">刘明明</text>
  28. <text style="font-size: 24rpx;line-height: 24rpx;color: #8B8F91;margin-top: 10rpx ;">工厂经理</text>
  29. </uni-grid-item>
  30. <uni-grid-item>
  31. <image style="width: 32rpx;height: 33rpx;" src="@/static/images/me/me (4).png" />
  32. <text style="font-size: 26rpx;line-height: 26rpx;color: #131313;margin-top: 18rpx ;">区域查询 </text>
  33. <text style="font-size: 24rpx;line-height: 24rpx;color: #8B8F91;margin-top: 10rpx ;">签约区域</text>
  34. </uni-grid-item>
  35. <uni-grid-item>
  36. <image style="width: 32rpx;height: 33rpx;" src="@/static/images/me/me (5).png" />
  37. <text style="font-size: 26rpx;line-height: 26rpx;color: #131313;margin-top: 18rpx ;">库比森</text>
  38. <text style="font-size: 24rpx;line-height: 24rpx;color: #8B8F91;margin-top: 10rpx ;">签约品牌</text>
  39. </uni-grid-item>
  40. <uni-grid-item>
  41. <image style="width: 32rpx;height: 33rpx;" src="@/static/images/me/me (6).png" />
  42. <text style="font-size: 26rpx;line-height: 26rpx;color: #131313;margin-top: 18rpx ;">10万条/年 </text>
  43. <text style="font-size: 24rpx;line-height: 24rpx;color: #8B8F91;margin-top: 10rpx ;">签约任务</text>
  44. </uni-grid-item>
  45. </uni-grid>
  46. </view>
  47. <view style="background: #fff;padding: 40rpx;32rpx 0 32rpx">
  48. <view style="font-size: 28rpx;color: #131313;margin: 0 0 20rpx 30rpx;">
  49. 我的钱包
  50. </view>
  51. <uni-grid :column="4" :showBorder="false" :highlight="false" :square="false">
  52. <uni-grid-item>
  53. <view class="monny-grid">
  54. <text
  55. style="font-size: 34rpx;line-height: 34rpx;color: #03803B;margin-top: 30rpx ;">0</text>
  56. <text
  57. style="font-size: 24rpx;line-height: 24rpx;color: #8B8F91;margin:10rpx 0 40rpx 0;">可用返利</text>
  58. </view>
  59. </uni-grid-item>
  60. <uni-grid-item>
  61. <view class="monny-grid">
  62. <text
  63. style="font-size: 34rpx;line-height: 34rpx;color: #03803B;margin-top: 30rpx ;">0</text>
  64. <text
  65. style="font-size: 24rpx;line-height: 24rpx;color: #8B8F91;margin:10rpx 0 40rpx 0;">冻结返利</text>
  66. </view>
  67. </uni-grid-item>
  68. <uni-grid-item>
  69. <view class="monny-grid">
  70. <text
  71. style="font-size: 34rpx;line-height: 34rpx;color: #03803B;margin-top: 30rpx ;">0</text>
  72. <text
  73. style="font-size: 24rpx;line-height: 24rpx;color: #8B8F91;margin:10rpx 0 40rpx 0;">代金卷</text>
  74. </view>
  75. </uni-grid-item>
  76. <uni-grid-item>
  77. <view class="monny-grid">
  78. <text
  79. style="font-size: 34rpx;line-height: 34rpx;color: #03803B;margin-top: 30rpx ;">0</text>
  80. <text
  81. style="font-size: 24rpx;line-height: 24rpx;color: #8B8F91;margin:10rpx 0 40rpx 0;">我的积分</text>
  82. </view>
  83. </uni-grid-item>
  84. </uni-grid>
  85. </view>
  86. <view
  87. style="background: #fff;padding:35rpx 100rpx;margin-top: 30rpx;display: flex;justify-content: space-between;align-items: center;">
  88. <view class="purchase-stock">
  89. <view style="position: absolute;">
  90. <view style="font-size: 51rpx;font-weight: 800;color: #2A2A2A;text-align: center;">
  91. 0 <text style="font-size: 28rpx;">%</text>
  92. </view>
  93. <view style="font-size: 24rpx;color: #8D8D8D;font-weight: 400;">
  94. 销售任务
  95. </view>
  96. </view>
  97. </view>
  98. <view style="display: flex;flex-direction: column;justify-content: space-around;height: 235rpx;">
  99. <view class="">
  100. <view style="font-size: 30rpx;color: #8D8D8D;font-weight: 400;">
  101. 年进货数量
  102. </view>
  103. <view style="font-size: 40rpx;color: #2A2A2A;font-weight: bold;">
  104. 0 <text
  105. style="font-size: 28rpx;color: #8D8D8D;font-weight: 400;margin-left: 10rpx;">条</text>
  106. </view>
  107. </view>
  108. <view class="">
  109. <view style="font-size: 30rpx;color: #8D8D8D;font-weight: 400;">
  110. 本月进货数量
  111. </view>
  112. <view style="font-size: 40rpx;color: #2A2A2A;font-weight: bold;">
  113. 0 <text
  114. style="font-size: 28rpx;color: #8D8D8D;font-weight: 400;margin-left: 10rpx;">条</text>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. <view style="background: #fff;padding: 40rpx;32rpx 0 32rpx;margin-top: 30rpx;">
  120. <uni-grid :column="5" :showBorder="false" :highlight="false" :square="false">
  121. <uni-grid-item>
  122. <view @click="allClick('门店订单')">
  123. <view class="monny-grid2">
  124. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (8).png" />
  125. </view>
  126. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">门店订单</text>
  127. </view>
  128. </uni-grid-item>
  129. <uni-grid-item>
  130. <view @click="allClick('出库任务')">
  131. <view class="monny-grid2">
  132. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (9).png" />
  133. </view>
  134. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">出库任务</text>
  135. </view>
  136. </uni-grid-item>
  137. <uni-grid-item>
  138. <view @click="allClick('出库列表')">
  139. <view class="monny-grid2">
  140. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (10).png" />
  141. </view>
  142. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">出库列表</text>
  143. </view>
  144. </uni-grid-item>
  145. <uni-grid-item>
  146. <view @click="allClick('待审客户')">
  147. <view class="monny-grid2">
  148. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (11).png" />
  149. </view>
  150. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">待审客户</text>
  151. </view>
  152. </uni-grid-item>
  153. <uni-grid-item>
  154. <view @click="allClick('订单审批')">
  155. <view class="monny-grid2">
  156. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (12).png" />
  157. </view>
  158. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">订单审批</text>
  159. </view>
  160. </uni-grid-item>
  161. <uni-grid-item>
  162. <view @click="allClick('客户分析')">
  163. <view class="monny-grid2">
  164. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (13).png" />
  165. </view>
  166. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">客户分析</text>
  167. </view>
  168. </uni-grid-item>
  169. <uni-grid-item>
  170. <view @click="allClick('销售开单')">
  171. <view class="monny-grid2">
  172. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (14).png" />
  173. </view>
  174. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">销售开单</text>
  175. </view>
  176. </uni-grid-item>
  177. <uni-grid-item>
  178. <view @click="allClick('库存查询')">
  179. <view class="monny-grid2">
  180. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (15).png" />
  181. </view>
  182. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">库存查询</text>
  183. </view>
  184. </uni-grid-item>
  185. <uni-grid-item>
  186. <view @click="allClick('客户信息')">
  187. <view class="monny-grid2">
  188. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (16).png" />
  189. </view>
  190. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">客户信息</text>
  191. </view>
  192. </uni-grid-item>
  193. <uni-grid-item>
  194. <view @click="allClick('功能名称')">
  195. <view class="monny-grid2">
  196. <image style="width: 41rpx;height: 41rpx;" src="@/static/images/me/me (17).png" />
  197. </view>
  198. <text style="font-size: 26rpx;#color: #2A2A2A;font-weight: 400;">功能名称</text>
  199. </view>
  200. </uni-grid-item>
  201. </uni-grid>
  202. </view>
  203. </view>
  204. </template>
  205. <script>
  206. export default {
  207. data() {
  208. return {
  209. }
  210. },
  211. onLoad() {},
  212. methods: {
  213. allClick(name) {
  214. uni.showToast({
  215. title: "开发中",
  216. icon: "none",
  217. });
  218. },
  219. inSetting() {
  220. uni.navigateTo({
  221. url: '/pages/me/setting'
  222. });
  223. },
  224. }
  225. }
  226. </script>
  227. <style lang="scss" scoped>
  228. ::v-deep .uni-navbar--border {
  229. border-bottom: none !important;
  230. }
  231. ::v-deep .uni-grid-item__box {
  232. align-items: center !important;
  233. }
  234. .nav-right {
  235. width: 32rpx;
  236. height: 30rpx;
  237. }
  238. .header {
  239. background: linear-gradient(180deg, #CCEEDB, #F3F8F6);
  240. padding: 60rpx;
  241. }
  242. .monny-grid {
  243. background: linear-gradient(180deg, #F0FFF7, #FCFFFD);
  244. display: flex;
  245. flex-direction: column;
  246. align-items: center;
  247. width: 149rpx;
  248. }
  249. .monny-grid2 {
  250. background: linear-gradient(180deg, #F0FFF7, #FCFFFD);
  251. display: flex;
  252. flex-direction: column;
  253. align-items: center;
  254. justify-content: center;
  255. width: 100rpx;
  256. height: 85rpx;
  257. }
  258. .purchase-stock {
  259. background: url('@/static/images/me/me (7).png');
  260. background-size: 100% 100%;
  261. width: 245rpx;
  262. height: 235rpx;
  263. display: flex;
  264. justify-content: center;
  265. align-items: center;
  266. }
  267. </style>