Skip to content

Commit

Permalink
logo something
Browse files Browse the repository at this point in the history
  • Loading branch information
honwhy committed Apr 13, 2024
1 parent 3468edb commit 0551788
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion entrypoints/options/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/icon/16.png" />
<link rel="icon" type="image/png" href="/icon/256.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="manifest.open_in_tab" content="true" />
<title>baicizhan-helper</title>
Expand Down
6 changes: 5 additions & 1 deletion entrypoints/options/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const activeName = ref('wordbookTabContent')
function handleClick() {}
const nickname = ref('游客用户')
const githubMark = ref(browser.runtime.getURL('/github-mark.png'))
const logo = ref(browser.runtime.getURL('/b-logo.png'))
async function setup() {
const accessToken = await storageModule.get('accessToken')
if (isEmpty(accessToken))
Expand All @@ -35,6 +36,9 @@ onMounted(() => {

<template>
<div class="my-tabs">
<el-button text class="custom-tabs-label" style="height: 80px;">
<img style="height: 40px;" :src="logo">
</el-button>
<el-tabs v-model="activeName" type="card" class="menu-tabs" @tab-click="handleClick">
<el-tab-pane label="单词本" name="wordbookTabContent">
<template #label>
Expand Down Expand Up @@ -71,7 +75,7 @@ onMounted(() => {
</template>
</el-dropdown>
<el-button text class="custom-tabs-label">
<a href="https://github.com/honwhy/words-100-helper" target="_blank" title="项目首页">
<a href="https://github.com/honwhy/words-100-helper" target="_blank" title="">
<img style="width: 40px;" :src="githubMark">
</a>
</el-button>
Expand Down
2 changes: 1 addition & 1 deletion entrypoints/popup/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ provide('refreshWordDetail', refreshWordDetail)
<td>
<span class="searchWord">{{ data.word }}</span> &nbsp;&nbsp;
<span class="searchAccent">{{ data.accent }}</span>
<span class="searchMeans" :title="data.mean_cn">{{ data.mean_cn }}</span>
<span class="searchMeans">{{ data.mean_cn }}</span>
</td>
</tr>
<tr v-if="dataList.length === 0">
Expand Down
Binary file added public/b-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/icon/128.png
Binary file not shown.
Binary file removed public/icon/16.png
Binary file not shown.
Binary file added public/icon/256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/icon/32.png
Binary file not shown.
Binary file removed public/icon/48.png
Binary file not shown.
Binary file removed public/icon/96.png
Binary file not shown.

0 comments on commit 0551788

Please sign in to comment.