From 2c2ab9eeaa6c2db5d02292237760722b621432cd Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Mon, 21 Mar 2022 18:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=88=91=E7=9A=84=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E9=A1=B5=E9=9D=A2=E3=80=81=E6=9C=AA=E7=BB=93=E7=AE=97?= =?UTF-8?q?=E5=B7=A5=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- commons/flying-monkey.css | 47 ++++++++++++++++ manifest.json | 16 +++++- pages/login/login.vue | 4 +- pagesB/my-account/my-account.vue | 74 ++++++++++++++++++++++--- static/public/icon-account-address.png | Bin 0 -> 1641 bytes static/public/icon-account-time.png | Bin 0 -> 1185 bytes 7 files changed, 130 insertions(+), 13 deletions(-) create mode 100644 static/public/icon-account-address.png create mode 100644 static/public/icon-account-time.png diff --git a/App.vue b/App.vue index 3ce8634..92ac298 100644 --- a/App.vue +++ b/App.vue @@ -8,7 +8,7 @@ // 优先于show方法 onLaunch: function() { // 配置全局域名 - uni.setStorageSync('hostapi','http://maintain.7and5.cn'); + uni.setStorageSync('hostapi','/web'); // 设置主色调 uni.setStorageSync('publicColor','#000000'); }, diff --git a/commons/flying-monkey.css b/commons/flying-monkey.css index 11a96b3..1ed5c5c 100644 --- a/commons/flying-monkey.css +++ b/commons/flying-monkey.css @@ -310,4 +310,51 @@ uni-radio .uni-radio-input {border: 1rpx solid #444444;} width: 60%; height: 4rpx; background-color: #03affb; +} +.account-btn { + border: 1rpx solid #00a2e9; + color: #00a2e9; + border-radius: 16rpx; + padding: 8rpx 10rpx; +} +.account-detailed { + position: relative; + display: flex; + align-items: center; + font-size: 29rpx; + font-weight: bold; + padding-left: 20rpx; +} +.account-detailed::before { + position: absolute; + left: 0; + top: 4rpx; + bottom: 4rpx; + content: ''; + display: block; + width: 4rpx; + background-color: #03affb; +} +.account-detailed-item view:nth-child(1) { + width: 16%; +} +.account-detailed-item view:nth-child(2) { + width: 40%; + text-align: center; +} +.account-detailed-item view:nth-child(3) { + width: 16%; + text-align: center; +} +.account-detailed-item view:nth-child(4) { + width: 22%; + text-align: center; +} +.unsettled-btn { + font-size: 30rpx; + color: #03affb; + border: 1rpx solid #03affb; + border-radius: 6rpx; + padding: 6rpx 20rpx; + margin-top: 10rpx; } \ No newline at end of file diff --git a/manifest.json b/manifest.json index e2a3eff..8e3e06c 100644 --- a/manifest.json +++ b/manifest.json @@ -84,7 +84,21 @@ "h5" : { "sdkConfigs" : { "maps" : {} - } + }, + "devServer" : { + "https" : false, + "proxy": { + "/web": { + "target": "http://maintain.7and5.cn", + "changeOrigin": true, + "secure": false, + "pathRewrite": { + "^/web": "" + } + } + } + } + }, "mp-baidu" : { "appid" : "24346353" diff --git a/pages/login/login.vue b/pages/login/login.vue index d280a64..a9df0a5 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -92,7 +92,7 @@ affiliation: this.login_unitName // 单位名称 } this.$requst.post('/universal/api.login/login',params).then(res=>{ - console.log(res,95); + this.login_unitName = 95 if(res.code==1) { this.$toolAll.tools.showToast('登录成功'); // 缓存token和角色类型 @@ -103,7 +103,7 @@ url:'/pages/tabbar/pagehome/pagehome' }) },2000) - } else { + } else { this.$toolAll.tools.showToast(res.msg); } }) diff --git a/pagesB/my-account/my-account.vue b/pagesB/my-account/my-account.vue index 7712596..b5dc69f 100644 --- a/pagesB/my-account/my-account.vue +++ b/pagesB/my-account/my-account.vue @@ -7,15 +7,70 @@ 我的账户 未结算工单 - - - - 账户总额(元) - ¥266.00 + + + + + + 账户总额(元) + ¥266.00 + + + 联系客服? + + - - 联系客服? - + + + 工单费用(元) + ¥266.00 + + + + 技术佣金(元) + ¥266.00 + + + + + + + + + + + + + + + 株洲市XXX项目名称 + 林小雨 + + + 工单编号:GD20220112-1001 + 故障类型:模组故障 + + + 2022-01-12 13:25:16 + + + 维保已完成 + 260.0 + + + 湖南省长沙市xx区1001栋6-12 + + 去结算 @@ -28,7 +83,8 @@ export default { data() { return { - current:true + current:true, + detailedList:[] } }, methods: { diff --git a/static/public/icon-account-address.png b/static/public/icon-account-address.png new file mode 100644 index 0000000000000000000000000000000000000000..65d3ecac2f637dcf4fe2c9a1ba146a97e54dee97 GIT binary patch literal 1641 zcmX|CeN@s}8V2>~=4cI*VSbF!4;aIhFDX$Fm?jYMgDp+4oh3B|bz3+SP`##Too`3GC z{am)Ur@toz0`ca=FcY2oR_FBli@S4ubZ=WT1Okl{A52lCB*arPq!L_uru2vqr;^B= z_Yg=FLnTYk$Pp?KM}%2okOsWc_W%fSCJo^4NgyQ1_6f7aF>1LmNzFZ&q0Y&O%mf&8 z&nOke2_O+F(h(}jQScZ=MFal8r8wh_V?2QPqePKI1NLqZB2p6eBlbz@kzu<-5n%)(8BZYNi6kt6NFjt%NRfzl1E6~%qU4z(N+L7*9hozu0oe+L zjDp82l}enFgp zOg|#cRnPzczd?e3$KsTSf3MG(ymv?lI&G0V_16Way@Ej8MmfyA2P4V_RjC>Qe_Mai z^D*WxNY z3di*I){LFO0WdFXV z(ErA^H(?6{rn_1+4P{B-Y$+dj(NUS#$z{e*6h1PMkyFQ+mpp<99i_-AdfGs7Cp6W? z3K>97&91FQnLuCVE0>mDLGJ;j6dL0>=|`e&4m_>#DCs^FYvFO&C0o52zvQ23wCPug zoU+Qp+9ixK^{j@Cvj5l|^3Cm^uku=!nQbHbfkE!KjkhZuo1y|>5B`()lc}d7F;--) z)x4?Gw?RLsr2E3A6%=7apfNd_hP9+(nr{2ay7l$Ya8VSL>{`>vE=d}4#WM}4CIxw+ zFHdi8nVuFV#=JkEtamR(31qgO8`Olp>e2e*qUzCtvW7GeJOg%)dpy%< zSm&1fE7;5e{v_r4c9;ips<}aA#iel`#=TgqE-&|fYd=8+Yh!>`F>bJm?o24E3!{+gUD+3f!1j;__OqlWLcU(4#16q@PUZZ+qDsp?w)1nV)C2WJUb4N}5C-t)m zO7qOcxjBhb#33y)=7;@?gGTmc z*yRVG#3y0H_w9^lCI$aw-d3nuYU%deF2+!&pZ5{63 zW$9Z~9T!n*9le7m{ywrCxUkqB%7DQN`d=(w7Fo+0cKxQg!Fsr-w=+O}J@j7ob->aU zcL67GyTUr~A?z&6fHxIBGmT8xgKN2^?V-W2AAE1n0Ild!R&w%Ch`w4l$~~m*TvB)Q zQG%++Z8L9wQBVs1HyADAK?=~_B;X9w@O4+~`uML#BfR{k*)}(BGl89}#rh&|mA@+C zA)#sazpB`VhDK!^W#Z|5e#y^IGCTal)>O73Zr+hjqE0NdhhFveLQ7nVTyIH5e|wT^ ce+e!-Ts_OG4aoeamW>~R!{RbqKTA9LJN}UB^8f$< literal 0 HcmV?d00001 diff --git a/static/public/icon-account-time.png b/static/public/icon-account-time.png new file mode 100644 index 0000000000000000000000000000000000000000..62f35173b3220003df76b9f0fd6b40c1a4248fad GIT binary patch literal 1185 zcmeAS@N?(olHy`uVBq!ia0vp^;vmey1|%P7U0J}u!04SB5>XQ2>tmIipR1RclAn~S zSCLx)lxJYDv9BmdOwLX%QAkQn&&;z`dcS+Wl0s&Rtx~wDuYqrYb81GWM^#a3aFt(3 za#eP+Wr~u$9hXgo70`g()RIJnirk#MVyg;UC9t_xKsHENUr7P1q$Jx`$q{6sLWFOC zf^&XRs)DJWnQpS7iIIZ2rJkXgfu)g&j)IYap}D?+xxS&Xu7RPIfti)Dr2-Tv*>Ne@ z6s4qD1-ZCEEd%mwl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{ z^NN*0MnKGPNi9w;$}A|!%+FH*nVFcBUs__Tq@)kBL?3Dk(0lrD{{cDh5K7Gh21^mp z|MO%L-ZL;T3wpXZhIn+&ow~7GE>z@b{qu9b#l9==j@A?_o2Jca*2FRUNCS%w%ViG1 zBrfj%jY}>bShaG|5s_$52Z4}JuKwqS;vj!0su=;r%-s&&eqC2x9{ zC&tecd}ic+>nUVE={cT27CkJDz`CT`JJns@HZ@>$C)RbRTK&10*R zExPNj_cB2$mUi z=gNev9(+pd~a{R@a zB~E1S7CbD-`%$yt?zf$1RC44enyA0rdrr0Ic=EBwA4`7A{_K0P`%PEegfAQgD;SP9 zzMk~&O>=sB`bOWirRuH0mvVRgbiTyzpvq~r{>f7L0+1RFJ`Q& z(%*cKQ_%5zsx@;)^`e6x|M|;p_^9y7ZhiIcl(dwz#LrH%R>>z^65Ox#lHv9p_XBnh zm~Y3IrfD3=VGO#YR8YOTiH~zl$}=tN-+vdL`I9