Skip to content

Commit

Permalink
Merge pull request #103 from SonicCloudOrg/dev
Browse files Browse the repository at this point in the history
添加logo适配
  • Loading branch information
ZhouYixun authored Jan 13, 2022
2 parents fb4833c + 3766da7 commit a6828a5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
Binary file added src/assets/img/blackshark.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 17 additions & 8 deletions src/views/Devices.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,18 @@ const manufacturer = ref([
"Google",
"OnePlus",
"360",
"blackshark",
"Yulong",
"BBK",
"nubia",
"realme",
"GIONEE",
"HTC",
"LGE",
"Sony",
"motorola",
"asus",
"GIONEE",
"Lenovo",
"HTC",
"BBK",
"nubia",
"realme"
]);
const statusList = ref([
{
Expand Down Expand Up @@ -540,6 +541,11 @@ onUnmounted(() => {
style="width: 30px"
:src="getImg(man)"
/>
<img
v-else-if="man==='blackshark'"
style="width: 22px"
:src="getImg(man)"
/>
<img
v-else
style="width: 70px"
Expand Down Expand Up @@ -679,9 +685,7 @@ onUnmounted(() => {
</el-form-item>
<el-form-item label="制造商">
<img
v-if="
device.manufacturer === 'HUAWEI' || device.manufacturer === 'samsung' || device.manufacturer === 'OnePlus'||device.manufacturer === 'GIONEE'|| device.manufacturer === 'motorola'
"
v-if="device.manufacturer === 'HUAWEI' || device.manufacturer === 'samsung' || device.manufacturer === 'OnePlus'||device.manufacturer === 'GIONEE'|| device.manufacturer === 'motorola'"
style="width: 80px"
:src="getImg(device.manufacturer)"
/>
Expand All @@ -690,6 +694,11 @@ onUnmounted(() => {
style="width: 30px"
:src="getImg(device.manufacturer)"
/>
<img
v-else-if="device.manufacturer === 'blackshark'"
style="width: 22px"
:src="getImg(device.manufacturer)"
/>
<img
v-else
style="width: 70px"
Expand Down

0 comments on commit a6828a5

Please sign in to comment.