From 679e61a241149236386787e3adc98e4a739651f3 Mon Sep 17 00:00:00 2001 From: Justin Georgi Date: Tue, 30 Jan 2024 08:48:10 -0700 Subject: [PATCH] Update some icons (#84) Each region now has an appropriate placeholder image instead of a generic image and the get image button is a more obvious icon. Reviewed-on: https://gitea.azgeorgis.net/Georgi_Lab/ALVINN_f7/pulls/84 --- src/components/svg-icon.vue | 12 +++++++++++- src/pages/detect.vue | 26 +++++++++++++------------- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/src/components/svg-icon.vue b/src/components/svg-icon.vue index 5cba434..9a077ee 100644 --- a/src/components/svg-icon.vue +++ b/src/components/svg-icon.vue @@ -6,10 +6,15 @@ + + + + + @@ -27,10 +32,15 @@ 'photo_library', 'no_photography', 'photo_camera', + 'camera_add', 'cloud_upload', 'cloud_done', 'check_list', - 'refresh_search' + 'refresh_search', + 'thorax', + 'abdomen', + 'limbs', + 'head' ] return iconList.includes(value) } diff --git a/src/pages/detect.vue b/src/pages/detect.vue index 2defbd6..4bf95b4 100644 --- a/src/pages/detect.vue +++ b/src/pages/detect.vue @@ -7,7 +7,7 @@
- +
- + @@ -80,15 +80,15 @@ - - - + + + @@ -319,19 +319,19 @@ created () { switch (this.f7route.params.region) { case 'thorax': - this.activeRegion = 0 - this.detectorName = 'thorax' + this.activeRegion = 0 + this.detectorName = 'thorax' break; case 'abdomen': - this.activeRegion = 1 - this.detectorName = 'combined' - break; + this.activeRegion = 1 + this.detectorName = 'combined' + break; case 'limbs': - this.activeRegion = 2 - this.detectorName = 'defaultNew' + this.activeRegion = 2 + this.detectorName = 'defaultNew' break; case 'head': - this.activeRegion = 3 + this.activeRegion = 3 break; } var loadServerSettings = localStorage.getItem('serverSettings')