Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Feature(tcyun): add slim section #1165

Merged
merged 6 commits into from
Aug 23, 2023
Merged

Conversation

yc910920
Copy link
Contributor

feat(slim): add slim section

@@ -61,6 +61,23 @@
:value="choice.value || choice"
/>
</el-select>
<div v-else-if="item.type === 'switch'">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不要直接用 type === 'switch',因为 inquirer 没有 type === switch 这种类型

参考 picgo-core 的评论,可以换成 guiType PicGo/PicGo-Core#156

active-text="开启"
inactive-text="关闭"
/>
<div class="tcyun-tips">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不能这么写,这样写一旦有别的图床插件用了这种类型,难道都展示腾讯云的tips么

/>
<div v-if="item.tips" class="tcyun-tips" @mouseenter="() => isHoverTips = true" @mouseleave="() => isHoverTips = false">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 class 类名就不要用 tcyun-tips 了。 PicGo 已经接入 tailwind ,可以用 tailwind 写 css

@Molunerfinn Molunerfinn changed the title 腾讯云增加图片极智压缩 ✨ Feature(tcyun): add slim section Aug 23, 2023
@Molunerfinn Molunerfinn merged commit a2320c3 into Molunerfinn:dev Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants