Skip to content

Commit

Permalink
style: 修复样式问题,优化文案和部分问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hsingyin committed Nov 17, 2024
1 parent 84bf738 commit 82eaba8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.295",
"version": "2.14.296",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
14 changes: 9 additions & 5 deletions src/components/SubListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<div class="sub-item-title-wrapper">
<h3 v-if="!appearanceSetting.isSimpleMode" class="sub-item-title">
{{ displayName || name }}
<span v-if="appOpenBtnVisible" class="app-url" @click="openAppUrl" :title="typeof flow === 'object' ? flow.appUrl : ''">
<span v-if="appOpenBtnVisible" class="app-url" @click.stop="openAppUrl" :title="typeof flow === 'object' ? flow.appUrl : ''">
<font-awesome-icon icon="fa-solid fa-square-arrow-up-right" />
</span>
<span v-for="i in tag" :key="i" class="tag">
Expand Down Expand Up @@ -144,10 +144,10 @@
</span>
</template>
<template v-else-if="typeof flow === 'object'">
<span :title="flow.planName" @click.stop="openAppUrl">
<span :title="flow.planName">
{{ flow.firstLine }}
</span>
<span :title="flow.planName" @click.stop="openAppUrl">{{ flow.secondLine }}</span>
<span :title="flow.planName">{{ flow.secondLine }}</span>
</template>
</p>
<p v-else-if="type === 'collection'" class="sub-item-detail">
Expand All @@ -166,10 +166,10 @@
</span>
</template>
<template v-else-if="typeof flow === 'object'">
<span v-if="flow.secondLine" style="font-weight: normal" :title="flow.planName" @click.stop="openAppUrl">
<span v-if="flow.secondLine" style="font-weight: normal" :title="flow.planName">
{{ `${flow.firstLine} | ${flow.secondLine}` }}
</span>
<span v-else style="font-weight: normal" :title="flow.planName" @click.stop="openAppUrl">
<span v-else style="font-weight: normal" :title="flow.planName">
{{ flow.firstLine }}
</span>
</template>
Expand Down Expand Up @@ -879,6 +879,10 @@ const onClickRefresh = async () => {
// margin-top: 3.5px;
max-width: 80%;
color: var(--comment-text-color);
span {
display: block;
line-height: 1.5;
}
}
}
.progress {
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ export default {
storage: {
gist: {
label: 'Gist 同步',
info: '可在同步配置中将文件/订阅同步到 Gist'
info: '在同步配置中同步文件/订阅至 Gist'
},
manual: {
label: '手动管理',
Expand Down
3 changes: 2 additions & 1 deletion src/views/My.vue
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ const setTag = (current) => {
cursor: pointer;
-webkit-user-select: none;
user-select: none;
flex-shrink: 0;
}
.current {
border-bottom: 1px solid var(--primary-color);
Expand Down Expand Up @@ -721,7 +722,7 @@ const setTag = (current) => {
.upload-btn,
.download-btn {
padding: 0 12px;
padding: 0 10px;
width: 116px;
}
Expand Down

0 comments on commit 82eaba8

Please sign in to comment.