From 2d578ec159684c5280a02c4458da5b773dfc690d Mon Sep 17 00:00:00 2001 From: buffeyu Date: Thu, 6 Jan 2022 17:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90up=E3=80=91=E5=AE=A2=E6=88=B7=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/clientDetailApi.js | 12 + common/css/reset.scss | 9 + pages.json | 45 -- pages/client-detail/basic-information.vue | 658 +++++++++++++----- pages/client-detail/custom-header.vue | 61 +- pages/client-detail/index.vue | 128 ++-- static/imgs/client-detail/address-icon.png | Bin 0 -> 1537 bytes static/imgs/client-detail/arrow-down-icon.png | Bin 0 -> 446 bytes static/imgs/client-detail/arrow-up-icon.png | Bin 0 -> 421 bytes 9 files changed, 595 insertions(+), 318 deletions(-) create mode 100644 apis/clientDetailApi.js create mode 100644 static/imgs/client-detail/address-icon.png create mode 100644 static/imgs/client-detail/arrow-down-icon.png create mode 100644 static/imgs/client-detail/arrow-up-icon.png diff --git a/apis/clientDetailApi.js b/apis/clientDetailApi.js new file mode 100644 index 0000000..7969932 --- /dev/null +++ b/apis/clientDetailApi.js @@ -0,0 +1,12 @@ +import http from '../utils/http/index.js' + +// 纸掌柜--客户详情--基础信息 +export function getBaseInfo(data) { + return http.get( + { + url: '/yyt-uec/get/customer/detail/base-info', + data + } + ) +} + diff --git a/common/css/reset.scss b/common/css/reset.scss index 67d551f..5a8a843 100644 --- a/common/css/reset.scss +++ b/common/css/reset.scss @@ -44,4 +44,13 @@ button::after { height: 0; clear: both; visibility: hidden; +} +// 两行省略号 +.u-line-2 { + -webkit-line-clamp: 2; + overflow: hidden; + word-break: break-all; + text-overflow: ellipsis; + display: -webkit-box; // 弹性伸缩盒 + -webkit-box-orient: vertical; // 设置伸缩盒子元素排列方式 } \ No newline at end of file diff --git a/pages.json b/pages.json index d89f894..70c1559 100644 --- a/pages.json +++ b/pages.json @@ -69,51 +69,6 @@ "navigationStyle": "custom" } } - ,{ - "path" : "pages/client-detail/basic-information", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/client-detail/equipment-information", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/client-detail/base-paper-deals", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/client-detail/waste-paper-trading", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "components/u-gap/u-gap", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/client-detail/basic-information.vue b/pages/client-detail/basic-information.vue index f066cba..db9e96e 100644 --- a/pages/client-detail/basic-information.vue +++ b/pages/client-detail/basic-information.vue @@ -1,238 +1,540 @@ diff --git a/pages/client-detail/custom-header.vue b/pages/client-detail/custom-header.vue index e91175a..687c3c9 100644 --- a/pages/client-detail/custom-header.vue +++ b/pages/client-detail/custom-header.vue @@ -1,45 +1,42 @@ diff --git a/pages/client-detail/index.vue b/pages/client-detail/index.vue index 7484083..ecb4a44 100644 --- a/pages/client-detail/index.vue +++ b/pages/client-detail/index.vue @@ -1,80 +1,82 @@ diff --git a/static/imgs/client-detail/address-icon.png b/static/imgs/client-detail/address-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..5184a40173c679a06ed94c5eaac86cb9f9579884 GIT binary patch literal 1537 zcmV+c2LAbpP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91AfN*P1ONa40RR91AOHXW0IY^$^8f$^Ye_^wR9FecS8Hq(RTMtwZXdf- zc~lfkeWb)_#2;cbqLGkbNJJ14XuCWl5Hyij2nMAOG5Q0mOFkjzd4JjUc&`Td#B)Ah$4V0u()aT3g?z0Kn!uuMGU`m${v2f=?Gu^b zQHjLt^eX-(Dp1&#OxY7$k(Xf`)8|XCW*RG|hdBl-0}5sKjPrn*9BFv`CiFT3Jq$@RkFXQr!_^}^`5Yvf}=0hPhEU*dp$ITfd6F}jD zlglNU5CrH4t^F{E7;joeFBaN84pmD@5ZCY`6Hp|t83K00k^tub@1U1R(R`?%q02k) zw;w%l3vZ?G!`x&uzLet4HMSCp9WvO+0b558EPh-@p6+%|VsgKHG3F!=mv-Y+tgKDh z&GJdb^fw(<*k;JC(8fESluDx)BlU5NZF!&Jsu-^~I4mO*(1i0x zS`VWazU?DRb=PTU?~?6O+NTfwJHJ)NxI`K3%@WPTk-W3LK5-<S;ALzA`sp-W zu_bR*N-Zr+Y(Nvb4Kv@6qOEew;-7SDaOdwg$i?+2(v zDSE`URH6#ai~pvG{FBNA#yW*A88RAY`EzFMzer4u-X(pTu0j&AtT~YBlz=g zHE_5UeE{{`KB(*&ixbC8)Vv-TRhig|674aA=UQUD@n4jx(`Sc?o!0}#=-*y@)YV2m nCsM?ztc)MUH^%?An3#V9^TXeh{9a+}00000NkvXXu0mjf%aXiO literal 0 HcmV?d00001 diff --git a/static/imgs/client-detail/arrow-down-icon.png b/static/imgs/client-detail/arrow-down-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..dc82fe419ea1ead32043a55013d5db1582b0a3cc GIT binary patch literal 446 zcmV;v0YUzWP)Px#1ZP1_K>z@;j|==^1poj6Xh}ptR9Hu27zLwX6pR950V4}XAg_|wN+6RJB7z$* zvGFBvN!!c?F(D!p0!C(bU(LJ^zqCvK|L0Q+Tn7}w=?IYJ+C@MAg49ACffo?v!vBAN zUH|s<*eeiQ)^A-P&=FWe0%W;n&g;2A1{1@-U;lo*zH}HWMGe5HA|Jf%3CL&ILIT<6 zAR5GnN>LMFcLXJtGeT(+0LT$r5AY~@N`rW>k2RbYwWub|V1S$;*@V

Px#1ZP1_K>z@;j|==^1poj6Pf0{UR9Hu27zLwX6i^7bpfvpfyO3J4QuOhMj7+R5 zP$BvOc44h_?UKL$v`hZ~SB^dNgc3(EL204^hp2A0O5)||K&^~mzPPb8FeDC;>j;t@ zz#(RkuN;4A3fS`hfBt>Ey6`kuoI*zs1vn*4OF%&m#>Kz?vI(jr0EJma%*)ro#3_vq zoPbNpq5_NMFhE;JaLd@%;;|eC$aVz5G{DHp!wqHtJuyMgk79OcUD4#X}WH~50s1fJj zyi5uJS+1INeJ%qd3q1OMygd8#-cn14|Nnm9feH}~NGb