🐞 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=[ export const tabs = [
{ {
name:'index', name: "index",
title:'Home', title: "Home",
icon:'home' icon: "home",
}, },
{ {
name:'startups', name: "startups",
icon:'startups', icon: "startups",
title:'Startups' title: "Startups",
}, {
name:'innovation',
icon:'innovationInsights',
title:'Innovation Insights'
}, {
name:'LPLogin',
icon:'LPLogin',
title:'LP Login'
}, },
{ {
name:'joinUs', name: "innovation",
icon:'joinLightLimX', icon: "innovationInsights",
title:'Join LightLimX' title: "Innovation Insights",
}, },
{ {
name:'contact', name: "LPLogin",
icon:'contactUs', icon: "LPLogin",
title:'Contact Us' title: "LP Login",
},
]
export const footerLink=[
{
name:'startups',
title:'Startups',
type:'link'
}, },
{ {
name:'LPLogin', // name: "joinUs",
title:'LP Login', // icon: "joinLightLimX",
type:'link' // title: "Join LightLimX",
}, },
{ {
name:'partners', name: "contact",
title:'Partners', icon: "contactUs",
type:'href', title: "Contact Us",
link:'/' },
];
export const footerLink = [
{
name: "startups",
title: "Startups",
type: "link",
}, },
{ {
name:'portfolio', name: "LPLogin",
title:'Portfolio', title: "LP Login",
type:'href', type: "link",
link:'/'
}, },
{ {
name:'focusAreas', name: "partners",
title:'Focus Areas', title: "Partners",
type:'href', type: "href",
link:'/' link: "/",
}, },
{ {
name:'aboutUs', name: "portfolio",
title:'About Us', title: "Portfolio",
type:'href', type: "href",
link:'/' link: "/",
}, {
name:'innovation',
title:'Innovation Insights',
type:'link'
}, },
{ {
name:'joinUs', name: "focusAreas",
title:'Join LightLimX', title: "Focus Areas",
type:'link' type: "href",
link: "/",
}, },
{ {
name:'contact', name: "aboutUs",
title:'Contact Us', title: "About Us",
type:'link' type: "href",
link: "/",
}, },
]
export const portfolios=[
{ {
time:'.3s', name: "innovation",
img:'Accelerator', title: "Innovation Insights",
title:'Accelerator', type: "link",
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', name: "joinUs",
link:'' title: "Join LightLimX",
}, { type: "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',
}, },
] {
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",
},
];
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: "",
},
];
export const banners = [
{
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> <h1 class="situation-h1">info@lightlimx.com</h1>
<span class="situation-tips">Email us to connect</span> <span class="situation-tips">Email us to connect</span>
<ul class="situation-ul"> <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"> <div class="situation-li-d">
<img class="situation-li-img" v-lazy="assetsUri('images/tw.png')" alt=""> <img class="situation-li-img" v-lazy="assetsUri('images/tw.png')" alt="">
<span class="situation-li-s">Twitter</span> <span class="situation-li-s">Twitter</span>
</div> </div>
<p class="situation-li-p">Follow our latest news on Twitter</p> <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"> <div class="situation-li-d">
<img class="situation-li-img" v-lazy="assetsUri('images/te.png')" alt=""> <img class="situation-li-img" v-lazy="assetsUri('images/te.png')" alt="">
<span class="situation-li-s">Telegram</span> <span class="situation-li-s">Telegram</span>

View File

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

13586
yarn.lock Normal file

File diff suppressed because it is too large Load Diff