From eb1b1d3e096b95140d3760650c195f0dcd87af81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=9F=E5=B7=9D=E4=B8=9C?= Date: Mon, 28 Apr 2025 15:06:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BE=E7=89=87=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/config.js | 2 +- components/me-icon/me-icon.css | 56 +++++++++++++++++-------------- components/me-icon/me-icon.ttf | Bin 3796 -> 4120 bytes pages/order/arrived-on-site.vue | 10 ++++-- pages/order/complete-service.vue | 20 ++++++++--- pages/order/order-info.vue | 25 +++----------- static/css/form.scss | 19 ++++++++--- utils/helpers.js | 14 ++++++++ 8 files changed, 89 insertions(+), 57 deletions(-) diff --git a/api/config.js b/api/config.js index b43ebf5..7a4c28e 100644 --- a/api/config.js +++ b/api/config.js @@ -3,7 +3,7 @@ let accountInfo = wx.getAccountInfoSync(); let envVersion = accountInfo.miniProgram.envVersion //手动指定版本 -envVersion = 'trial' +// envVersion = 'trial' let hosts = { "develop": 'http://wanyu.test', diff --git a/components/me-icon/me-icon.css b/components/me-icon/me-icon.css index 56fed6a..c128214 100644 --- a/components/me-icon/me-icon.css +++ b/components/me-icon/me-icon.css @@ -1,45 +1,51 @@ -.icon-arrow-up-line:before { - content: "\e90d"; -} -.icon-progress-2-line:before { - content: "\e90e"; -} -.icon-reset-left-line:before { - content: "\e90c"; -} -.icon-upload-cloud-fill:before { - content: "\e90b"; -} -.icon-arrow-right:before { - content: "\e90a"; -} -.icon-info:before { +.icon-arrow-right-circle:before { content: "\e900"; } -.icon-call:before { +.icon-arrow-right:before { content: "\e901"; } -.icon-user:before { +.icon-arrow-up-line:before { content: "\e902"; } -.icon-logout:before { +.icon-call:before { content: "\e903"; } -.icon-navigation:before { +.icon-checkbox-blank-circle:before { content: "\e904"; } -.icon-flashlight:before { +.icon-checkbox-circle:before { content: "\e905"; } -.icon-time:before { +.icon-close-circle-fill:before { content: "\e906"; } -.icon-arrow-right-circle:before { +.icon-flashlight:before { content: "\e907"; } -.icon-checkbox-circle:before { +.icon-info:before { content: "\e908"; } -.icon-checkbox-blank-circle:before { +.icon-logout:before { content: "\e909"; } +.icon-navigation:before { + content: "\e90a"; +} +.icon-progress-2-line:before { + content: "\e90b"; +} +.icon-reset-left-fill:before { + content: "\e90c"; +} +.icon-reset-left-line:before { + content: "\e90d"; +} +.icon-time:before { + content: "\e90e"; +} +.icon-upload-cloud-fill:before { + content: "\e90f"; +} +.icon-user:before { + content: "\e910"; +} diff --git a/components/me-icon/me-icon.ttf b/components/me-icon/me-icon.ttf index 43b8f8aa95177c90b7243fc990460236dce84618..c5be73f4c0fecb70be449d661edc1ba8f0ca93f1 100644 GIT binary patch delta 516 zcmca2J42zKfsuiMft#U$ftkU;KUm+0Ux-Z(D6$8L6OwZi3&g`NO=nl&3#zk=vx}RHo2#3vvriV}km9Mdsf44+j!cq#jL+eGAY<}x zR;S5Z8Ba{sWxX)Dko!FM{{zgcnGY~n0-ZE@0k`PnC0yccYU=EQitLk*bLsLpSwu53 zWGKo=t8sBp;t`pAhfSE@ze67=m?^8G5~QnVz%aRi>mbloo|D_y$|ry1oG^JIOTPlh zU+Wsb@y7Gpd}ZKf0dX0g82em@(UTK+%o#-|&*1Tye1M0;1}x9TAi^LAjJ*d8KbW|f x5||D#voWhNcQGGf{=^c&vVm2AwSaX8>pyTTi!z*GfSAfO`5>S0W_{kJi~yQbg7E+V delta 378 zcmbQCa7DJBfsuiMft#U$ftkU;KUm+0Ux-ZtD6$8L6OwZi3&g`NO=VzUlmYTX(i4jd zfV2RR5288Jb1KukBt&)t`4tQdTt_le6H~OM{Vf?7cx-_3W*I;M_UX)5fcz35UnL{A zq{0cv0P<%537?$&WXD9YO_DW0fhRx#joieF0tN|&Qw$8eJV3reUSe+QOfSygK)w#p zlD2~U;u4@kfq-udNS=Y2`N6~k_KbX!7`++!Ci^gEPCm+hVsj?57SrVSJe`v#aGago z%I+|ECij8KTN#f`wq!duc{=N&$(2k8CP(s2n0%A#z+_8igUPX+=M_Mv3NK_bj_0@e z%D~M6;xarDVU2^)lV|XnGYU_>!0TfHmg8a&VUS~JVw}Qwi%EpZi7AQc5VHz%8}l6& g8请上传上门的打卡照片(最多 10 张) - - + + + + + + + + diff --git a/pages/order/complete-service.vue b/pages/order/complete-service.vue index a1f0c39..1ab1c17 100644 --- a/pages/order/complete-service.vue +++ b/pages/order/complete-service.vue @@ -11,9 +11,15 @@ 请上传完成图片(最多 10 张) - - + + + + + + + + @@ -59,9 +65,15 @@ 点击上传 - - + + + + + + + + diff --git a/pages/order/order-info.vue b/pages/order/order-info.vue index 889c882..7caa8d0 100644 --- a/pages/order/order-info.vue +++ b/pages/order/order-info.vue @@ -88,7 +88,7 @@ 上门图片 - + @@ -100,7 +100,7 @@ 完成图片 - + @@ -126,7 +126,7 @@ 收款凭证 - + @@ -295,21 +295,6 @@ const getPriceDescText = () => { const getOrderStatusText = (status) => { return enums.WORKBENCH_STATUS_TEXT[status] } - -//预览图片 -const previewImage = (url) => { - uni.previewImage({ - urls: [url], - longPressActions: { - itemList: ['发送给朋友', '保存图片', '收藏'], - success: function(data) { - }, - fail: function(err) { - console.log(err.errMsg); - } - } - }); -}