diff --git a/.env.development b/.env.development index 61676a9..2fc6189 100644 --- a/.env.development +++ b/.env.development @@ -6,3 +6,4 @@ VITE_BUILD_VCONSOLE = false # 是否开启调试工具 vconsole VITE_PARAMETER_ENCRYPTION = 0 # 是否开启参数加密 0关闭 1开启 # VITE_BASE_URL= ["http://172.104.39.32:25508"] # api选线域名,这里必须为数组 VITE_BASE_URL= ["https://d3gc46ktrfda7z.cloudfront.net","https://d2bvxgoqsmyuy4.cloudfront.net"] # api选线域名,这里必须为数组 +VITE_DNS_DOMAIN = 91fans.mfcg.it.com # DNS 兜底域名:上面线路全挂时解析它的 TXT 记录拿线路 diff --git a/.env.production b/.env.production index eeb315e..35e7f3b 100644 --- a/.env.production +++ b/.env.production @@ -5,3 +5,4 @@ VITE_BUILD_DROP_CONSOLE = true # 是否在打包时删除 console 代码 VITE_BUILD_VCONSOLE = false # 是否开启调试工具 vconsole VITE_PARAMETER_ENCRYPTION = 1 # 是否开启参数加密 0关闭 1开启 VITE_BASE_URL= ["https://d3gc46ktrfda7z.cloudfront.net","https://d2bvxgoqsmyuy4.cloudfront.net"] # api选线域名,这里必须为数组 +VITE_DNS_DOMAIN = 91fans.mfcg.it.com # DNS 兜底域名:上面线路全挂时解析它的 TXT 记录拿线路 diff --git a/.env.test b/.env.test index c0f6f07..c65f391 100644 --- a/.env.test +++ b/.env.test @@ -5,3 +5,4 @@ VITE_BUILD_DROP_CONSOLE = true # 是否在打包时删除 console 代码 VITE_BUILD_VCONSOLE = false # 是否开启调试工具 vconsole VITE_PARAMETER_ENCRYPTION = 0 # 是否开启参数加密 0关闭 1开启 VITE_BASE_URL= ["https://d3gc46ktrfda7z.cloudfront.net","https://d2bvxgoqsmyuy4.cloudfront.net"] # api选线域名,这里必须为数组 +VITE_DNS_DOMAIN = 91fans.mfcg.it.com # DNS 兜底域名:上面线路全挂时解析它的 TXT 记录拿线路 diff --git a/package-lock.json b/package-lock.json index c662709..a0571c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "redapricot", + "name": "91fans", "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "redapricot", + "name": "91fans", "version": "1.0.0", "dependencies": { "autoprefixer": "^10.4.13", diff --git a/src/assets/images/webp/splash.webp b/src/assets/images/webp/splash.webp index 4b39285..7d503b3 100644 Binary files a/src/assets/images/webp/splash.webp and b/src/assets/images/webp/splash.webp differ diff --git a/src/components/HeaderSearch/index.vue b/src/components/HeaderSearch/index.vue index aa51b6d..0a3979c 100644 --- a/src/components/HeaderSearch/index.vue +++ b/src/components/HeaderSearch/index.vue @@ -76,6 +76,9 @@ const toSearchPage = () => { flex: 1; margin: 0 12px; height: 32px; + // 无热词时是纯文本,父级定高不给行高会贴着顶部排,这里压回垂直居中; + // 有热词走 van-notice-bar,它自带 flex 居中和自己的 line-height,不受这里影响 + line-height: 32px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.35); diff --git a/src/components/HorizontalVideoBox/index.vue b/src/components/HorizontalVideoBox/index.vue index d3e2d62..86201a3 100644 --- a/src/components/HorizontalVideoBox/index.vue +++ b/src/components/HorizontalVideoBox/index.vue @@ -20,30 +20,8 @@ :src="videoInfo?.cover || (acgHorizontal ? videoInfo?.horizontalCover : videoInfo?.verticalCover)" /> +
@@ -45,9 +29,6 @@ import { Swiper, SwiperSlide } from 'swiper/vue';
import 'swiper/swiper.min.css';
import { jumpAdv, isLongFormVideo } from '@/utils';
import { useVideoStore } from '@/stores/video';
-import { useConfigStore } from '@/stores/config';
-const configStore = useConfigStore();
-
const videoStore = useVideoStore();
const props = defineProps<{
section: any;
@@ -159,31 +140,6 @@ const jumpPage = (videoInfo: any) => {
overflow: hidden;
flex-shrink: 0;
position: relative;
- .vip_icon {
- position: absolute;
- top: 4px;
- right: 4px;
- width: 27px;
- height: 16px;
- line-height: 16px;
- text-align: center;
- font-size: 10px;
- border-radius: 3px;
- font-family: 'PingFang SC';
- color: #292929;
- background: linear-gradient(135deg, #f8f3ae 0%, #ddac44 100%);
- // 免费
- &.free_icon {
- width: 32px;
- color: #fff;
- background: linear-gradient(135deg, #35debc 0%, #22bb9c 100%);
- }
- // 金币
- &.coins_icon {
- color: #8b3e00;
- background: linear-gradient(135deg, #ffe580 0%, #facc15 100%);
- }
- }
}
.infoBox {
padding-left: 12px;
diff --git a/src/components/TabBar/index.vue b/src/components/TabBar/index.vue
index bdea3d3..1d1c933 100644
--- a/src/components/TabBar/index.vue
+++ b/src/components/TabBar/index.vue
@@ -23,7 +23,7 @@