Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeChen committed Oct 5, 2024
1 parent 9f008e5 commit 5f2dd0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CSS/index/lens.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,15 @@
font-size: 1.05em;
}

#lens_details #details_coordinate{
#lens_details #details_coordinate {
font-size: 0.85em;
}

#lens_details #details_coordinate a {
text-decoration: none;
text-shadow: -1px -1px 1px #CCC;
}

#details_logo {
text-align: right;
height: 100%;
Expand Down
5 changes: 4 additions & 1 deletion JS/INDEX/lens.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,11 @@ function lensClick(obj, str_img_data, currentIndex) {
`
);
$('#details_coordinate').html(
`  
`
<a href='https://uri.amap.com/marker?position=${img_data['latitude']},${img_data['longitude']}' target='_blank'>
&nbsp;&nbsp;
${img_data['longitude'].toFixed(4)},&nbsp;&nbsp;&nbsp;&nbsp;${img_data['latitude'].toFixed(4)}
</a>
`
);
$('#details_logo').html(
Expand Down

0 comments on commit 5f2dd0a

Please sign in to comment.