no message

This commit is contained in:
kuaifan 2025-04-21 22:48:26 +08:00
parent b7c2ddd59d
commit 35fd8e62ac
6 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none"><path d="M15.75 2A2.25 2.25 0 0 1 18 4.25v15.5A2.25 2.25 0 0 1 15.75 22h-7.5A2.25 2.25 0 0 1 6 19.75V4.25A2.25 2.25 0 0 1 8.25 2h7.5zm-2.5 16h-2.5a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z" fill="currentColor"></path></g></svg>

After

Width:  |  Height:  |  Size: 346 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none"><path d="M19.749 4a2.25 2.25 0 0 1 2.25 2.25v11.502a2.25 2.25 0 0 1-2.25 2.25H4.25A2.25 2.25 0 0 1 2 17.752V6.25A2.25 2.25 0 0 1 4.25 4h15.499zM13.75 15.5h-3.5a.75.75 0 0 0 0 1.5h3.5a.75.75 0 1 0 0-1.5z" fill="currentColor"></path></g></svg>

After

Width:  |  Height:  |  Size: 359 B

View File

@ -67,11 +67,20 @@ export default {
})
},
getIcon({app_type}) {
getIcon({app_type, app_name}) {
if (/ios/i.test(app_type)) {
if (/ipad/i.test(app_name)) {
return 'tablet';
}
if (/iphone/i.test(app_name)) {
return 'phone';
}
return 'apple';
}
else if (/android/i.test(app_type)) {
if (/(tablet|phablet)/i.test(app_name)) {
return 'tablet';
}
return 'android';
}
else if (/mac/i.test(app_type)) {

View File

@ -386,6 +386,14 @@
width: 20px;
height: 20px;
&.phone {
background-image: url("../images/device/phone.svg");
}
&.tablet {
background-image: url("../images/device/tablet.svg");
}
&.android {
background-image: url("../images/device/android.svg");
}

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none"><path d="M15.75 2A2.25 2.25 0 0 1 18 4.25v15.5A2.25 2.25 0 0 1 15.75 22h-7.5A2.25 2.25 0 0 1 6 19.75V4.25A2.25 2.25 0 0 1 8.25 2h7.5zm-2.5 16h-2.5a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z" fill="currentColor"></path></g></svg>

After

Width:  |  Height:  |  Size: 346 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none"><path d="M19.749 4a2.25 2.25 0 0 1 2.25 2.25v11.502a2.25 2.25 0 0 1-2.25 2.25H4.25A2.25 2.25 0 0 1 2 17.752V6.25A2.25 2.25 0 0 1 4.25 4h15.499zM13.75 15.5h-3.5a.75.75 0 0 0 0 1.5h3.5a.75.75 0 1 0 0-1.5z" fill="currentColor"></path></g></svg>

After

Width:  |  Height:  |  Size: 359 B