forked from 77media/video-flow
更新配置
This commit is contained in:
parent
03f822dba3
commit
0032ff1aa9
@ -1,2 +1,2 @@
|
|||||||
NEXT_PUBLIC_SMART_API = https://77.smartvideo.py.qikongjian.com
|
NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com
|
||||||
NEXT_PUBLIC_API_BASE_URL = https://77.api.qikongjian.com
|
NEXT_PUBLIC_API_BASE_URL = https://77.api.qikongjian.com
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# NEXT_PUBLIC_SMART_API = https://77.smartvideo.py.qikongjian.com
|
# NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com
|
||||||
NEXT_PUBLIC_SMART_API = https://pre.movieflow.api.huiying.video
|
NEXT_PUBLIC_BASE_URL = https://pre.movieflow.api.huiying.video
|
||||||
NEXT_PUBLIC_API_BASE_URL = https://77.api.qikongjian.com
|
NEXT_PUBLIC_API_BASE_URL = https://77.api.qikongjian.com
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
export const BASE_URL = process.env.NEXT_PUBLIC_SMART_API
|
export const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL
|
||||||
// export const BASE_URL ='http://192.168.120.36:8000'
|
// export const BASE_URL ='http://192.168.120.36:8000'
|
||||||
//
|
//
|
||||||
|
|||||||
@ -885,6 +885,13 @@ const ConfigOptions = ({
|
|||||||
{ value: "chinese", label: "Chinese", isVip: true },
|
{ value: "chinese", label: "Chinese", isVip: true },
|
||||||
{ value: "japanese", label: "Japanese", isVip: true },
|
{ value: "japanese", label: "Japanese", isVip: true },
|
||||||
{ value: "korean", label: "Korean", isVip: true },
|
{ value: "korean", label: "Korean", isVip: true },
|
||||||
|
{ value: "spanish", label: "Spanish", isVip: true },
|
||||||
|
{ value: "portuguese", label: "Portuguese", isVip: true },
|
||||||
|
{ value: "hindi", label: "Hindi", isVip: true },
|
||||||
|
{ value: "japanese", label: "Japanese", isVip: true },
|
||||||
|
{ value: "korean", label: "Korean", isVip: true },
|
||||||
|
{ value: "arabic", label: "Arabic", isVip: true },
|
||||||
|
{ value: "russian", label: "Russian", isVip: true },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -87,11 +87,11 @@ function HomeModule2() {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
data-alt="core-value-section"
|
data-alt="core-value-section"
|
||||||
className="home-module2 relative flex flex-col items-center justify-center w-full h-[1600px] bg-black snap-start"
|
className="home-module2 relative flex flex-col items-center justify-center w-full h-[1300px] bg-black snap-start"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
data-alt="core-value-content"
|
data-alt="core-value-content"
|
||||||
className="center z-10 flex flex-col items-center mb-[14rem]"
|
className="center z-10 flex flex-col items-center mb-[8rem]"
|
||||||
>
|
>
|
||||||
<h2 className="text-white text-[3.375rem] leading-[100%] font-normal mb-[3rem]">
|
<h2 className="text-white text-[3.375rem] leading-[100%] font-normal mb-[3rem]">
|
||||||
Just Give Us Your Ideas
|
Just Give Us Your Ideas
|
||||||
@ -154,8 +154,8 @@ function HomeModule3() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="home-module3 h-[1666px] relative flex flex-col items-center justify-center w-full bg-black snap-start">
|
<div className="home-module3 h-[1360px] relative flex flex-col items-center justify-center w-full bg-black snap-start">
|
||||||
<div className="center z-10 flex flex-col items-center mb-[14rem]">
|
<div className="center z-10 flex flex-col items-center mb-[4rem]">
|
||||||
<h2 className="text-white text-[3.375rem] leading-[100%] font-normal mb-[3rem]">
|
<h2 className="text-white text-[3.375rem] leading-[100%] font-normal mb-[3rem]">
|
||||||
Create Anything
|
Create Anything
|
||||||
</h2>
|
</h2>
|
||||||
@ -168,12 +168,29 @@ function HomeModule3() {
|
|||||||
data-alt="vertical-grid-shadow"
|
data-alt="vertical-grid-shadow"
|
||||||
className="grid grid-cols-3 gap-[1rem] w-full h-[64rem] px-[5rem] relative"
|
className="grid grid-cols-3 gap-[1rem] w-full h-[64rem] px-[5rem] relative"
|
||||||
>
|
>
|
||||||
{/* 上方阴影遮罩 - 覆盖整个宽度包括padding */}
|
{/* 上方阴影遮罩 - 使用 mask 实现真正的渐变模糊,加重黑色 */}
|
||||||
<div className="absolute -top-[0.0625rem] -left-0 w-full h-[6rem] bg-gradient-to-b from-black via-black/30 to-transparent z-20 pointer-events-none"></div>
|
<div
|
||||||
|
className="absolute -top-[1rem] -left-0 w-full h-[20rem] z-20 pointer-events-none"
|
||||||
{/* 下方阴影遮罩 - 覆盖整个宽度包括padding */}
|
style={{
|
||||||
<div className="absolute -bottom-[0.0625rem] -left-0 w-full h-[6rem] bg-gradient-to-t from-black via-black/30 to-transparent z-20 pointer-events-none"></div>
|
backdropFilter: 'blur(12px)',
|
||||||
|
WebkitBackdropFilter: 'blur(12px)',
|
||||||
|
backgroundColor: 'rgba(0,0,0,0.9)',
|
||||||
|
mask: 'linear-gradient(to bottom, black 0%, black 30%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.6) 75%, transparent 100%)',
|
||||||
|
WebkitMask: 'linear-gradient(to bottom, black 0%, black 30%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.6) 75%, transparent 100%)'
|
||||||
|
}}
|
||||||
|
></div>
|
||||||
|
|
||||||
|
{/* 下方阴影遮罩 - 使用 mask 实现真正的渐变模糊,加重黑色 */}
|
||||||
|
<div
|
||||||
|
className="absolute -bottom-[1rem] -left-0 w-full h-[20rem] z-20 pointer-events-none"
|
||||||
|
style={{
|
||||||
|
backdropFilter: 'blur(12px)',
|
||||||
|
WebkitBackdropFilter: 'blur(12px)',
|
||||||
|
backgroundColor: 'rgba(0,0,0,0.9)',
|
||||||
|
mask: 'linear-gradient(to top, black 0%, black 30%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.6) 75%, transparent 100%)',
|
||||||
|
WebkitMask: 'linear-gradient(to top, black 0%, black 20%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.6) 75%, transparent 100%)'
|
||||||
|
}}
|
||||||
|
></div>
|
||||||
{videoList.map((column, columnIndex) => (
|
{videoList.map((column, columnIndex) => (
|
||||||
<div
|
<div
|
||||||
key={columnIndex}
|
key={columnIndex}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
const BASE_URL = 'https://77.smartvideo.py.qikongjian.com'
|
// const BASE_URL = 'https://77.smartvideo.py.qikongjian.com'
|
||||||
// const BASE_URL = 'http://192.168.120.36:8000'
|
// const BASE_URL = 'http://192.168.120.36:8000'
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
@ -34,6 +34,8 @@ const nextConfig = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async rewrites() {
|
async rewrites() {
|
||||||
|
const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL || 'https://77.smartvideo.py.qikongjian.com'
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
source: '/api/proxy/:path*',
|
source: '/api/proxy/:path*',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user