🐞 fix:

This commit is contained in:
john 2024-07-10 18:16:12 +08:00
parent 9c8766a1a4
commit 71ae03af59
6 changed files with 13778 additions and 170 deletions

BIN
.yarn/install-state.gz Normal file

Binary file not shown.

1
.yarnrc.yml Normal file
View File

@ -0,0 +1 @@
nodeLinker: node-modules

View File

@ -1,128 +1,142 @@
export const tabs = [
{
name:'index',
title:'Home',
icon:'home'
name: "index",
title: "Home",
icon: "home",
},
{
name:'startups',
icon:'startups',
title:'Startups'
}, {
name:'innovation',
icon:'innovationInsights',
title:'Innovation Insights'
}, {
name:'LPLogin',
icon:'LPLogin',
title:'LP Login'
name: "startups",
icon: "startups",
title: "Startups",
},
{
name:'joinUs',
icon:'joinLightLimX',
title:'Join LightLimX'
name: "innovation",
icon: "innovationInsights",
title: "Innovation Insights",
},
{
name:'contact',
icon:'contactUs',
title:'Contact Us'
name: "LPLogin",
icon: "LPLogin",
title: "LP Login",
},
]
{
// name: "joinUs",
// icon: "joinLightLimX",
// title: "Join LightLimX",
},
{
name: "contact",
icon: "contactUs",
title: "Contact Us",
},
];
export const footerLink = [
{
name:'startups',
title:'Startups',
type:'link'
name: "startups",
title: "Startups",
type: "link",
},
{
name:'LPLogin',
title:'LP Login',
type:'link'
name: "LPLogin",
title: "LP Login",
type: "link",
},
{
name:'partners',
title:'Partners',
type:'href',
link:'/'
name: "partners",
title: "Partners",
type: "href",
link: "/",
},
{
name:'portfolio',
title:'Portfolio',
type:'href',
link:'/'
name: "portfolio",
title: "Portfolio",
type: "href",
link: "/",
},
{
name:'focusAreas',
title:'Focus Areas',
type:'href',
link:'/'
name: "focusAreas",
title: "Focus Areas",
type: "href",
link: "/",
},
{
name:'aboutUs',
title:'About Us',
type:'href',
link:'/'
}, {
name:'innovation',
title:'Innovation Insights',
type:'link'
name: "aboutUs",
title: "About Us",
type: "href",
link: "/",
},
{
name:'joinUs',
title:'Join LightLimX',
type:'link'
name: "innovation",
title: "Innovation Insights",
type: "link",
},
{
name:'contact',
title:'Contact Us',
type:'link'
name: "joinUs",
title: "Join LightLimX",
type: "link",
},
]
{
name: "contact",
title: "Contact Us",
type: "link",
},
];
export const portfolios = [
{
time:'.3s',
img:'Accelerator',
title:'Accelerator',
content:'We leverage proprietary processes to build market-leading companies from scratch. Our extensive operational support team accelerates the growth of ventures we partner with.',
link:'/startups'
},{
time:'.6s',
img:'Investment',
title:'Investment',
content:'We bring our wealth of venture experience and leverage our global resources to help projects and maximize their potential.',
link:'/startups'
},{
time:'.9s',
img:'Growth',
title:'Growth',
content:'We drive strategic growth, shorten the time to reach global scale, facilitate introductions, but we dont stop there. ',
link:'/startups'
time: ".3s",
img: "Accelerator",
title: "Accelerator",
content:
"We leverage proprietary processes to build market-leading companies from scratch. Our extensive operational support team accelerates the growth of ventures we partner with.",
link: "/startups",
},
]
{
time: ".6s",
img: "Investment",
title: "Investment",
content:
"We bring our wealth of venture experience and leverage our global resources to help projects and maximize their potential.",
link: "/startups",
},
{
time: ".9s",
img: "Growth",
title: "Growth",
content:
"We drive strategic growth, shorten the time to reach global scale, facilitate introductions, but we dont stop there. ",
link: "/startups",
},
];
export const partners = [
{
img:'images/1.png',
link:''
}, {
img:'images/2.png',
link:''
}, {
img:'images/3.png',
link:''
}, {
img:'images/4.png',
link:''
}, {
img:'images/5.png',
link:''
}
]
img: "images/1.png",
link: "",
},
{
img: "images/2.png",
link: "",
},
{
img: "images/3.png",
link: "",
},
{
img: "images/4.png",
link: "",
},
{
img: "images/5.png",
link: "",
},
];
export const banners = [
{
img:'images/b.png',
},{
img:'images/1.png',
},{
img:'images/2.png',
img: "images/b.png",
},
]
{
img: "images/1.png",
},
{
img: "images/2.png",
},
];

View File

@ -3,13 +3,13 @@
<h1 class="situation-h1">info@lightlimx.com</h1>
<span class="situation-tips">Email us to connect</span>
<ul class="situation-ul">
<li class="situation-li wow fadeInUp" data-wow-delay=".5s" @click="handleLink('https://t.me/lightlimx')">
<li class="situation-li wow fadeInUp" data-wow-delay=".5s" @click="handleLink('https://x.com/Light_LimX')">
<div class="situation-li-d">
<img class="situation-li-img" v-lazy="assetsUri('images/tw.png')" alt="">
<span class="situation-li-s">Twitter</span>
</div>
<p class="situation-li-p">Follow our latest news on Twitter</p>
</li> <li class="situation-li wow fadeInUp" data-wow-delay=".5s" @click="handleLink('https://twitter.com/LimXCapital')">
</li> <li class="situation-li wow fadeInUp" data-wow-delay=".5s" @click="handleLink('https://t.me/lightlimx')">
<div class="situation-li-d">
<img class="situation-li-img" v-lazy="assetsUri('images/te.png')" alt="">
<span class="situation-li-s">Telegram</span>

View File

@ -1,130 +1,137 @@
import redirectSSL from 'redirect-ssl'
import serveStatic from 'serve-static'
import redirectSSL from "redirect-ssl";
import serveStatic from "serve-static";
import { resolve } from "path";
const baseUrl = process.env.BASE_URL || 'https://api.lightlimx.live/api'
const baseUrl = process.env.BASE_URL || "https://api.lightlimx.live/api";
export default {
loading: '~/components/Loading/index.vue',
ssr: false,
loading: "~/components/Loading/index.vue",
serverMiddleware: [
// redirectSSL.create({
// enabled: process.env.NODE_ENV === 'production'
// }),
{ path: '/static', handler: serveStatic(__dirname + '/static') }
{ path: "/static", handler: serveStatic(__dirname + "/static") },
],
telemetry: false,
publicRuntimeConfig: {
baseURL: baseUrl,
axios: {
baseURL: baseUrl
}
baseURL: baseUrl,
},
},
env: {
baseUrl: process.env.BASE_URL || 'http://localhost:3000',
apiUrl: '/api'
baseUrl: process.env.BASE_URL || "http://localhost:3000",
apiUrl: "/api",
},
alias: {
'@': resolve(__dirname),
'~': resolve(__dirname),
style: resolve(__dirname, './assets/style'),
images: resolve(__dirname, './assets/images'),
data: resolve(__dirname, './assets/data')
"@": resolve(__dirname),
"~": resolve(__dirname),
style: resolve(__dirname, "./assets/style"),
images: resolve(__dirname, "./assets/images"),
data: resolve(__dirname, "./assets/data"),
},
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
title: 'LightLimX',
title: "LightLimX",
htmlAttrs: {
lang: 'en',
lang: "en",
},
bodyAttrs: {
class: 'h5-scroll-bar'
class: "h5-scroll-bar",
},
meta: [
{ charset: 'utf-8' },
{ charset: "utf-8" },
//width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no
{ name: 'viewport', content: 'width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui,viewport-fit=cover' },
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
{
name: "viewport",
content:
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui,viewport-fit=cover",
},
{ hid: "description", name: "description", content: "" },
{ name: "format-detection", content: "telephone=no" },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.png' }
]
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.png" }],
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: [
'~/assets/style/reset.less',
'~/assets/style/animate.css',
'vant/lib/index.css'
"~/assets/style/reset.less",
"~/assets/style/animate.css",
"vant/lib/index.css",
],
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
{ src: '~/plugins/remJs.js', mode: 'client' },
'@/plugins/vant',
'~/plugins/axios.js',
'~/plugins/vueTooltip.js',
{ src: "~/plugins/remJs.js", mode: "client" },
"@/plugins/vant",
"~/plugins/axios.js",
"~/plugins/vueTooltip.js",
// { src: '~/plugins/vueAnimate.js', mode: 'client' },
{ src: '~/plugins/vueClipboard.js', mode: 'client' },
{ src: '~/plugins/lottieWeb.js', mode: 'client' },
{ src: '~/plugins/svgIcon.js', mode: 'client' },
{ src: '~/plugins/wow.js', mode: 'client' },
{ src: '~/plugins/element.js', mode: 'client' },
{ src: "~/plugins/vueClipboard.js", mode: "client" },
{ src: "~/plugins/lottieWeb.js", mode: "client" },
{ src: "~/plugins/svgIcon.js", mode: "client" },
{ src: "~/plugins/wow.js", mode: "client" },
{ src: "~/plugins/element.js", mode: "client" },
],
router: {
// base: '/assets/',
middleware: ['authenticated']
middleware: ["authenticated"],
},
// Auto import components: https://go.nuxtjs.dev/config-components
components: true,
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
],
buildModules: [],
// Modules: https://go.nuxtjs.dev/config-modules
modules: [
['nuxt-svg-sprite-loader', {
symbolId: 'icon-[name]'
}],
'@nuxtjs/axios'
[
"nuxt-svg-sprite-loader",
{
symbolId: "icon-[name]",
},
],
"@nuxtjs/axios",
],
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {
transpile: ['vue-tooltip'],
transpile: ["vue-tooltip"],
extractCSS: {
// allChunks: true,
filename: '[name].css',
chunkFilename: '[id].css',
ignoreOrder: true
filename: "[name].css",
chunkFilename: "[id].css",
ignoreOrder: true,
},
babel: {
plugins: [
[
'component',
"component",
{
'libraryName': 'element-ui',
libraryName: "element-ui",
// 'style': false // 不引入对应的css文件
'styleLibraryName': 'theme-chalk'
}
]
]
styleLibraryName: "theme-chalk",
},
],
],
},
extend(config, { isDev, isClient }) {
if (isClient) {
// 排除 nuxt 原配置的影响,Nuxt 默认有vue-loader,会处理svg,img等
// 找到匹配.svg的规则,然后将存放svg文件的目录排除
const svgRule = config.module.rules.find(rule => rule.test.test('.svg'))
svgRule.exclude = [resolve('assets/svg')]
const svgRule = config.module.rules.find((rule) =>
rule.test.test(".svg")
);
svgRule.exclude = [resolve("assets/svg")];
// 添加loader规则
}
config.module.rules.push({
test: /\.(mpg|ts|pm4)$/i,
loader: 'url-loader',
loader: "url-loader",
options: {
outputPath: '/static/video/',
publicPath: '/static/video/'
}
})
}
}
}
outputPath: "/static/video/",
publicPath: "/static/video/",
},
});
},
},
};

13586
yarn.lock Normal file

File diff suppressed because it is too large Load Diff