Skip to content

Commit

Permalink
Merge pull request #48 from ZhouYixun/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ZhouYixun authored Nov 17, 2021
2 parents 2fde528 + 51694c7 commit f36e362
Show file tree
Hide file tree
Showing 87 changed files with 307 additions and 322 deletions.
Binary file removed src/assets/img/1707-A01.jpg
Binary file not shown.
Binary file removed src/assets/img/1713-A01.jpg
Binary file not shown.
249 changes: 0 additions & 249 deletions src/assets/img/404.svg

This file was deleted.

Binary file removed src/assets/img/500.png
Binary file not shown.
Binary file removed src/assets/img/ALP-AL00.jpg
Binary file not shown.
Binary file removed src/assets/img/ANA-AN00.jpg
Binary file not shown.
Binary file removed src/assets/img/BAH3-W09.jpg
Binary file not shown.
Binary file removed src/assets/img/BTV-W09.jpg
Binary file not shown.
Binary file removed src/assets/img/Consistency.jpg
Binary file not shown.
Binary file removed src/assets/img/Controllability.jpg
Binary file not shown.
Binary file removed src/assets/img/Coolpad 5267.jpg
Binary file not shown.
Binary file removed src/assets/img/ELE-AL00.jpg
Binary file not shown.
Binary file removed src/assets/img/ELS-AN00.jpg
Binary file not shown.
Binary file removed src/assets/img/EML-AL00.jpg
Binary file not shown.
Binary file removed src/assets/img/EVR-AL00.jpg
Binary file not shown.
Binary file removed src/assets/img/Efficiency.jpg
Binary file not shown.
Binary file removed src/assets/img/Feedback.jpg
Binary file not shown.
Binary file removed src/assets/img/HD1910.jpg
Binary file not shown.
Binary file removed src/assets/img/HWI-AL00.jpg
Binary file not shown.
Binary file removed src/assets/img/INE-TL00.jpg
Binary file not shown.
Binary file removed src/assets/img/JDN2-W09HN.jpg
Binary file not shown.
Binary file removed src/assets/img/LLD-AL20.jpg
Binary file not shown.
Binary file removed src/assets/img/M2004J19C.jpg
Binary file not shown.
Binary file removed src/assets/img/M2012K11AC.jpg
Binary file not shown.
Binary file removed src/assets/img/M5 Note.jpg
Binary file not shown.
Binary file removed src/assets/img/MI 5X.jpg
Diff not rendered.
Binary file removed src/assets/img/MI 8 SE.jpg
Diff not rendered.
Binary file removed src/assets/img/MI 8.jpg
Diff not rendered.
Binary file removed src/assets/img/MI 9 SE.jpg
Diff not rendered.
Binary file removed src/assets/img/MI 9.jpg
Diff not rendered.
Binary file removed src/assets/img/MI MAX.jpg
Diff not rendered.
Binary file removed src/assets/img/MI NOTE LTE.jpg
Diff not rendered.
Binary file removed src/assets/img/MI PAD 4.jpg
Diff not rendered.
Binary file removed src/assets/img/MX6.jpg
Diff not rendered.
Binary file removed src/assets/img/OPPO A59s.jpg
Diff not rendered.
Binary file removed src/assets/img/OPPO R9sk.jpg
Diff not rendered.
Binary file removed src/assets/img/PBEM00.jpg
Diff not rendered.
Binary file removed src/assets/img/PCRT00.jpg
Diff not rendered.
Binary file removed src/assets/img/PEGM00.jpg
Diff not rendered.
Binary file removed src/assets/img/PERM00.jpg
Diff not rendered.
Binary file removed src/assets/img/Redmi 6.jpg
Diff not rendered.
Binary file removed src/assets/img/Redmi Note 4X.jpg
Diff not rendered.
Binary file removed src/assets/img/Redmi Note 5.jpg
Diff not rendered.
Binary file removed src/assets/img/Redmi Note 8.jpg
Diff not rendered.
Binary file removed src/assets/img/Redmi Y3.jpg
Diff not rendered.
Binary file removed src/assets/img/SCM-W09.jpg
Diff not rendered.
Binary file removed src/assets/img/SEA-AL10.jpg
Diff not rendered.
Binary file removed src/assets/img/SM-A5260.jpg
Diff not rendered.
Binary file removed src/assets/img/SM-G9650.jpg
Diff not rendered.
Binary file removed src/assets/img/SM-N9760.jpg
Diff not rendered.
Binary file removed src/assets/img/TAS-AL00.jpg
Diff not rendered.
Binary file removed src/assets/img/V1932A.jpg
Diff not rendered.
Binary file removed src/assets/img/V1981A.jpg
Diff not rendered.
Binary file removed src/assets/img/VOG-AL00.jpg
Diff not rendered.
Binary file removed src/assets/img/VRD-W09.jpg
Diff not rendered.
Binary file removed src/assets/img/YAL-AL00.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad11,1.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad2,5.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad3,4.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad4,4.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad5,1.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad5,3.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad5,4.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad7,11.jpg
Diff not rendered.
Binary file removed src/assets/img/iPad7,5.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone10,1.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone10,2.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone10,3.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone11,8.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone12,1.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone13,2.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone6,2.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone7,2.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone8,1.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone8,2.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone8,4.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone9,1.jpg
Diff not rendered.
Binary file removed src/assets/img/iPhone9,3.jpg
Diff not rendered.
Binary file removed src/assets/img/m1 note.jpg
Diff not rendered.
Binary file removed src/assets/img/sdk_gphone_x86_arm.jpg
Diff not rendered.
Binary file removed src/assets/img/vivo X21A.jpg
Diff not rendered.
Binary file removed src/assets/img/vivo X7.jpg
Diff not rendered.
Binary file removed src/assets/img/vivo X9.jpg
Diff not rendered.
19 changes: 13 additions & 6 deletions src/components/TestSuiteUpdate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ const getImg = (name) => {
}
return result;
}
const getPhoneImg = (name) => {
const getPhoneImg = (name, url) => {
let result;
try {
result = img['./../assets/img/' + name + '.jpg'].default
} catch {
result = img['./../assets/img/sdk_gphone_x86_arm.jpg'].default
if (url === null || (url && url.length === 0)) {
result = "https://gitee.com/ZhouYixun/sonic-agent-images/raw/master/devices/" + name + ".jpg";
} else {
result = url;
}
return result;
}
Expand Down Expand Up @@ -189,8 +189,15 @@ onMounted(() => {
<el-image
style="height: 80%;float: left"
fit="contain"
:src="getPhoneImg(item.model)"
:src="getPhoneImg(item.model,item['imgUrl'])"
>
<template #error>
<el-image
style="height: 100%;float: left"
fit="contain"
src="https://gitee.com/ZhouYixun/sonic-agent-images/raw/master/devices/sdk_gphone_x86_arm.jpg"
></el-image>
</template>
</el-image>
<span style="float: left;margin-left: 10px">{{ item.model }}</span>
<span style="
Expand Down
Loading

0 comments on commit f36e362

Please sign in to comment.