Skip to content

Commit

Permalink
3.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiram committed Sep 14, 2023
1 parent 048522e commit a34b76a
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 23 deletions.
2 changes: 2 additions & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ declare module 'vue' {
TBackTop: typeof import('tdesign-vue-next')['BackTop']
TBadge: typeof import('tdesign-vue-next')['Badge']
TButton: typeof import('tdesign-vue-next')['Button']
TCheckbox: typeof import('tdesign-vue-next')['Checkbox']
TCheckboxGroup: typeof import('tdesign-vue-next')['CheckboxGroup']
TCollapse: typeof import('tdesign-vue-next')['Collapse']
TCollapsePanel: typeof import('tdesign-vue-next')['CollapsePanel']
TContent: typeof import('tdesign-vue-next')['Content']
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"email": "[email protected]"
},
"private": true,
"version": "3.2.8",
"version": "3.2.9",
"license": "MIT",
"main": "dist-electron/main/index.js",
"scripts": {
Expand Down Expand Up @@ -60,7 +60,7 @@
"shelljs": "^0.8.5",
"tcplayer.js": "^4.8.0",
"tdesign-icons-vue-next": "^0.2.2",
"tdesign-vue-next": "^1.5.3",
"tdesign-vue-next": "^1.5.5",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.1",
"url": "^0.11.0",
Expand Down
49 changes: 39 additions & 10 deletions src/pages/Analyze.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@
</div>
</div>
</div>
<div
v-if="isSupport && quickSearchType !== 'platform'"
class="analysis-header-item analysis-header-popup"
@click="isShow.searchVisible = true"
>
<search-icon size="1.3rem" />
</div>

<div v-if="iframeUrl" class="analysis-header-item analysis-header-popup" @click="shareEvent">
<share-popup v-model:visible="isShow.shareVisible" :data="shareData" />
</div>
Expand All @@ -56,10 +50,19 @@
<t-input
v-model="analysisUrl"
class="input-url"
placeholder="请输入链接"
placeholder="输个链接,让世界充满爱~"
size="large"
@change="formatUrlEvent"
/>
<div class="analysis-bottom-group">
<div
v-if="isSupport && quickSearchType !== 'platform'"
class="popover"
@click="isShow.searchVisible = true"
>
<app-icon size="1.3rem" class="popover-icon"/>
</div>
</div>
<t-button class="analysis-play" size="large" @click="analysisEvent">
<p class="analysis-tip">解析</p>
</t-button>
Expand Down Expand Up @@ -87,7 +90,7 @@
import { useEventBus } from '@vueuse/core';
import _ from 'lodash';
import moment from 'moment';
import { CloseIcon, HistoryIcon, SearchIcon } from 'tdesign-icons-vue-next';
import { CloseIcon, HistoryIcon, AppIcon } from 'tdesign-icons-vue-next';
import { MessagePlugin } from 'tdesign-vue-next';
import { onMounted, ref, reactive } from 'vue';
Expand Down Expand Up @@ -461,8 +464,26 @@ const changeDefaultEvent = async (item: any) => {
color: var(--td-text-color-primary);
display: inline-block;
}
.analysis-bottom-group {
display: flex;
align-items: center;
height: 40px;
.popover {
cursor: pointer;
&:hover {
.popover-icon {
opacity: 1;
color: var(--td-text-color-primary);
}
}
&-icon {
opacity: .6;
margin-right: 20px;
}
}
}
.analysis-play {
border-radius: 20px;
border-radius: 0 20px 20px;
width: 5em;
.analysis-tip {
color: hsl(0deg 0% 0% / 60%);
Expand Down Expand Up @@ -520,4 +541,12 @@ const changeDefaultEvent = async (item: any) => {
:deep(.t-dialog__body--fullscreen--without-footer) {
padding: 0;
}
:deep(.t-dialog--default) {
padding: 0 !important;
}
:deep(.t-dialog__body) {
padding: 0 !important;
}
</style>
2 changes: 1 addition & 1 deletion src/pages/Film.vue
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ const getFilmList = async () => {
// 加载
const load = async ($state) => {
console.log('loading...');
if (!sitesListSelect.value || !FilmSiteSetting.value.basic.key) {
if (!sitesListSelect.value || !_.has(FilmSiteSetting.value.basic, 'key')) {
const isNoData = infiniteCompleteTip.value.indexOf('暂无数据');
if (isNoData > -1) {
$state.complete();
Expand Down
15 changes: 9 additions & 6 deletions src/pages/analysis/DialogSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<span class="close-icon icon"> <close-icon size="18px" /></span>
</div>
<div>
<div class="search-modal-header"></div>
<div class="search-input-container">
<div class="search-input-wrapper">
<t-tag v-if="isFilter" class="search-filter-tag">
Expand Down Expand Up @@ -182,10 +183,8 @@ const closeDialog = () => {
</script>

<style lang="less" scoped>
.close-btn {
.close-icon {
font-size: 18px;
}
&:hover {
background-color: var(--td-bg-color-component-hover);
}
Expand All @@ -200,11 +199,15 @@ const closeDialog = () => {
position: absolute;
top: 24px;
right: 16px;
transition: all 0.3s ease;
transition: all .3s ease;
cursor: pointer;
z-index: 10;
}
.search-modal-header {
height: 64px;
}
.search-modal-header {
height: 64px;
border-radius: 10px 10px 0 0;
Expand Down Expand Up @@ -273,8 +276,8 @@ const closeDialog = () => {
}
.search-modal-body {
margin-top: 25px;
max-height: max(520px - 64px, calc(100vh - 330px));
position: relative;
max-height: max(456px,100vh - 330px);
overflow-y: auto;
.search-filter-list {
padding: 0 12px 8px;
Expand Down
4 changes: 4 additions & 0 deletions src/pages/chase/binge/Binge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,10 @@ defineExpose({
bottom: 0px;
display: flex;
justify-content: center;
span {
font-size: 12px;
font-weight: bolder;
}
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/pages/chase/history/History.vue
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ defineExpose({
bottom: 0px;
display: flex;
justify-content: center;
span {
font-size: 12px;
font-weight: bolder;
}
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7883,10 +7883,10 @@ tdesign-icons-vue-next@^0.2.0, tdesign-icons-vue-next@^0.2.2:
dependencies:
"@babel/runtime" "^7.16.3"

tdesign-vue-next@^1.5.3:
version "1.5.3"
resolved "https://registry.npmmirror.com/tdesign-vue-next/-/tdesign-vue-next-1.5.3.tgz#50b896e607471e37d133cedf19a5e94d0d3a64cf"
integrity sha512-waq+dnWTjN1JSKzI3bFHokI0stVt4DW5AFeC4+/I/sR/FbDkNIk1Cd2GTeTRA7NJGtqaNL8OMy34onLGac7cHw==
tdesign-vue-next@^1.5.6:
version "1.5.5"
resolved "https://registry.npmmirror.com/tdesign-vue-next/-/tdesign-vue-next-1.5.5.tgz#fab5e6271da08c5fc8f9599323e2fe9c95523684"
integrity sha512-+5tzGw994Nio2mwoUm1MBTSvdiQ2dMv6t4jmDoSpQudTwN3kb9tfPIG+tSY5HyIPsNPBpO2ISzmKnTqbgOLASg==
dependencies:
"@babel/runtime" "^7.22.6"
"@popperjs/core" "^2.11.8"
Expand Down

0 comments on commit a34b76a

Please sign in to comment.