Skip to content

Commit

Permalink
Functional testing
Browse files Browse the repository at this point in the history
  • Loading branch information
BNDong committed Jul 4, 2024
1 parent 2782dec commit face421
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 24 deletions.
1 change: 0 additions & 1 deletion dist/script/page-links.245b976d.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/script/page-links.cf5e40b5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/simpleMemory.js

Large diffs are not rendered by default.

Binary file modified dist/simpleMemory.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/pages/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function main(_) {
// 生成友链的html
const generateLinkHtml = (link, index) => {
const { avatar = '', name = '', introduction = '', url = '' } = link;
const icons = ['icon-zhifeiji', 'icon-like_fill', 'icon-flashlight_fill'];
const icons = ['icon-collection_fill', 'icon-like_fill', 'icon-flashlight_fill'];
const icon = icons[index % icons.length];
return _.__tools.batchTempReplacement(linksTemp, [
['avatar', avatar],
Expand Down
27 changes: 8 additions & 19 deletions src/style/links.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@
width: 22px;
height: 22px;
position: absolute;
top: 0;
right: 0;
margin-right: -8px;
margin-top: -7px;
top: -8px;
right: -8px;
flex-direction: column;
justify-content: center;
align-items: center;
display: flex;
border-radius: 6px;
border-radius: 50%;
--transform-rotate: 45deg;
transform: rotate(45deg);
animation: rotation 3s linear infinite;
--tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
--tw-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
box-shadow: 0 0 transparent, 0 0 transparent, var(--tw-shadow);
}

#links-box .links-item:nth-child(3n + 0) .links-icon {
Expand All @@ -111,18 +111,7 @@
transform: rotate(-45deg);
}

#links-box .links-item .links-icon a i.icon-zhifeiji {
position: relative;
top: 3px;
left: 2px;
font-size: 14px;
}

#links-box .links-item .links-icon a i.icon-like_fill,
#links-box .links-item .links-icon a i.icon-flashlight_fill {
position: relative;
top: 4px;
left: 3px;
#links-box .links-item .links-icon a i {
font-size: 14px;
}

Expand Down

0 comments on commit face421

Please sign in to comment.