jiedian.vue 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. <template>
  2. <view class="content">
  3. <view class="container">
  4. <view class="jiedianbackground">
  5. <image src="../../static/image/jiedian.png" mode=""></image>
  6. </view>
  7. <view class="number-box">
  8. <view class="number">
  9. <text>{{people}}</text>人
  10. </view>
  11. <view class="renshu">
  12. 我的接点人数
  13. </view>
  14. </view>
  15. </view>
  16. <view class="message">
  17. <view class="yeji">
  18. <view class="yeji-a">
  19. <view class="yeji-top">
  20. A区业绩
  21. </view>
  22. <view class="yeji-buttom">¥{{a}}</view>
  23. </view>
  24. <view class="border"></view>
  25. <view class="yeji-a">
  26. <view class="yeji-top">
  27. B区业绩
  28. </view>
  29. <view class="yeji-buttom">¥{{b}}</view>
  30. </view>
  31. <view class="border"></view>
  32. <view class="yeji-a">
  33. <view class="yeji-top">
  34. C区业绩
  35. </view>
  36. <view class="yeji-buttom">¥{{c}}</view>
  37. </view>
  38. </view>
  39. <view class="relation-box">
  40. <view class="relation">
  41. <view class="headbox">
  42. <view class="head">
  43. <view class="photo">
  44. <image src="../../static/image/photo.jpg" mode=""></image>
  45. </view>
  46. </view>
  47. <view class="head-title">
  48. <image src="../../static/image/jiedian1.png" mode=""></image>
  49. </view>
  50. </view>
  51. <view class="information">
  52. <view class="name">
  53. 徐浩岚
  54. </view>
  55. <view class="cell">
  56. 18252757278
  57. </view>
  58. </view>
  59. </view>
  60. <view class="sanchaji">
  61. <image src="../../static/image/sanchaji.png" mode=""></image>
  62. </view>
  63. <view class="subordinate">
  64. <view class="headbox" >
  65. <view class="head">
  66. <view class="photo">
  67. <image src="../../static/image/photo.jpg" mode=""></image>
  68. </view>
  69. </view>
  70. <view class="head-title">
  71. <image src="../../static/image/jiedian1.png" mode=""></image>
  72. </view>
  73. </view>
  74. <view class="headbox" >
  75. <view class="head">
  76. <view class="photo">
  77. <image src="../../static/image/photo.jpg" mode=""></image>
  78. </view>
  79. </view>
  80. <view class="head-title">
  81. <image src="../../static/image/jiedian1.png" mode=""></image>
  82. </view>
  83. </view>
  84. <view class="headbox" >
  85. <view class="head">
  86. <view class="photo">
  87. <image src="../../static/image/photo.jpg" mode=""></image>
  88. </view>
  89. </view>
  90. <view class="head-title">
  91. <image src="../../static/image/jiedian1.png" mode=""></image>
  92. </view>
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. </view>
  98. </template>
  99. <script>
  100. export default {
  101. data() {
  102. return {
  103. a: 1,
  104. b: 2,
  105. c: 3,
  106. people: 255,
  107. //'12345678901'.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
  108. }
  109. },
  110. methods: {}
  111. }
  112. </script>
  113. <style lang="scss">
  114. page {
  115. padding: 0;
  116. margin: 0;
  117. height: 100%;
  118. background-color: #FFFFFF;
  119. }
  120. .content {}
  121. .container {
  122. width: 750rpx;
  123. height: 400rpx;
  124. position: relative;
  125. .jiedianbackground {
  126. position: absolute;
  127. width: 750rpx;
  128. height: 400rpx;
  129. image {
  130. width: 100%;
  131. height: 100%;
  132. }
  133. }
  134. .number-box {
  135. width: 750rpx;
  136. height: 400rpx;
  137. position: absolute;
  138. display: flex;
  139. justify-content: center;
  140. flex-direction: column;
  141. align-items: center;
  142. .number {
  143. font-size: 30rpx;
  144. font-family: PingFang SC;
  145. font-weight: 500;
  146. color: #3F7C1F;
  147. text {
  148. font-size: 72rpx;
  149. font-family: PingFang SC;
  150. font-weight: bold;
  151. color: #3F7C1F;
  152. line-height: 86rpx;
  153. }
  154. }
  155. .renshu {
  156. font-size: 30rpx;
  157. font-family: PingFang SC;
  158. font-weight: 500;
  159. color: #3F7C1F;
  160. }
  161. }
  162. }
  163. .message {
  164. padding: 0 30rpx;
  165. .relation-box {
  166. margin-top: 100rpx;
  167. display: flex;
  168. flex-direction: column;
  169. align-items: center;
  170. .relation {
  171. position: relative;
  172. display: flex;
  173. align-items: center;
  174. .headbox {
  175. position: absolute;
  176. width: 154rpx;
  177. height: 154rpx;
  178. .head {
  179. width: 154rpx;
  180. height: 154rpx;
  181. background: #EF9E20;
  182. box-shadow: 5rpx 0rpx 5rpx 0rpx rgba(110, 171, 78, 0.26);
  183. border-radius: 50%;
  184. overflow: hidden;
  185. .photo {
  186. width: 154rpx;
  187. height: 154rpx;
  188. image {
  189. width: 100%;
  190. height: 100%;
  191. }
  192. }
  193. }
  194. .head-title {
  195. margin: -30rpx 30rpx 0 30rpx;
  196. width: 94rpx;
  197. height: 32rpx;
  198. image {
  199. width: 100%;
  200. height: 100%;
  201. }
  202. }
  203. }
  204. .information {
  205. margin-left: 77rpx;
  206. display: flex;
  207. justify-content: center;
  208. flex-direction: column;
  209. width: 297rpx;
  210. height: 137rpx;
  211. align-items: center;
  212. background: #FFFFFF;
  213. border: 4rpx solid #6EAB4E;
  214. border-radius: 10rpx;
  215. .name {
  216. font-size: 32rpx;
  217. font-family: PingFang SC;
  218. font-weight: bold;
  219. color: #3F7C1F;
  220. line-height: 48rpx;
  221. }
  222. .cell {
  223. margin-left: 70rpx;
  224. font-size: 26rpx;
  225. font-family: PingFang SC;
  226. font-weight: 500;
  227. color: #ABD56F;
  228. line-height: 48rpx;
  229. }
  230. }
  231. }
  232. .sanchaji {
  233. margin: 30rpx 0;
  234. width: 530rpx;
  235. height: 91rpx;
  236. image {
  237. width: 100%;
  238. height: 100%;
  239. }
  240. }
  241. .subordinate {
  242. width: 750rpx;
  243. display: flex;
  244. justify-content: space-around;
  245. .headbox {
  246. width: 154rpx;
  247. height: 154rpx;
  248. .head {
  249. width: 154rpx;
  250. height: 154rpx;
  251. background: #EF9E20;
  252. box-shadow: 5rpx 0rpx 5rpx 0rpx rgba(110, 171, 78, 0.26);
  253. border-radius: 50%;
  254. overflow: hidden;
  255. .photo {
  256. width: 154rpx;
  257. height: 154rpx;
  258. image {
  259. width: 100%;
  260. height: 100%;
  261. }
  262. }
  263. }
  264. .head-title {
  265. margin: -30rpx 30rpx 0 30rpx;
  266. width: 94rpx;
  267. height: 32rpx;
  268. image {
  269. width: 100%;
  270. height: 100%;
  271. }
  272. }
  273. }
  274. }
  275. }
  276. .yeji {
  277. position: relative;
  278. margin-top: -72rpx;
  279. width: 690rpx;
  280. height: 143rpx;
  281. background: #FFFFFF;
  282. box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
  283. border-radius: 10rpx;
  284. display: flex;
  285. justify-content: space-around;
  286. align-items: center;
  287. .yeji-a {
  288. display: flex;
  289. flex-direction: column;
  290. justify-content: space-around;
  291. align-items: center;
  292. .yeji-top {
  293. font-size: 24rpx;
  294. font-family: PingFang SC;
  295. font-weight: bold;
  296. color: #333333;
  297. line-height: 35px;
  298. }
  299. .yeji-buttom {
  300. font-size: 34rpx;
  301. font-family: PingFang SC;
  302. font-weight: bold;
  303. color: #333333;
  304. line-height: 35px;
  305. }
  306. }
  307. .border {
  308. width: 1rpx;
  309. height: 51rpx;
  310. background: #DDDDDD;
  311. }
  312. }
  313. }
  314. </style>