feat: 添加天猫店铺
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
VITE_API_BASE_URL= 'http://127.0.0.1:8000/api'
|
||||
# VITE_API_BASE_URL='http://121.37.253.228:12401/api'
|
||||
# VITE_API_BASE_URL= 'http://127.0.0.1:8000/api'
|
||||
VITE_API_BASE_URL='http://121.37.253.228:12401/api'
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:20 as builder
|
||||
FROM node:20 AS builder
|
||||
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
@@ -10,7 +10,7 @@ RUN if [ "$USE_PROXY" = "1" ]; then \
|
||||
npm config set registry https://mirrors.huaweicloud.com/repository/npm/ && \
|
||||
npm i -g nrm && nrm use taobao; \
|
||||
fi \
|
||||
&& npm install -g npm@latest pnpm@9.5.0 && pnpm i && pnpm build
|
||||
&& npm install -g npm@latest pnpm@9.9.0 && pnpm i && pnpm build
|
||||
|
||||
FROM nginx:latest
|
||||
|
||||
|
||||
19
deploy/docker-compose-local.yml
Normal file
19
deploy/docker-compose-local.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
kami_frontend:
|
||||
build:
|
||||
context: ../.
|
||||
dockerfile: ./deploy/Dockerfile
|
||||
args:
|
||||
- USE_PROXY=1
|
||||
container_name: kami_frontend
|
||||
image: kami_frontend:latest
|
||||
ports:
|
||||
- 12400:12400
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: Developer
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -57,6 +57,26 @@ const IFRAME: AppRouteRecordRaw = {
|
||||
locale: '用户管理',
|
||||
requiresAuth: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'tMallGameAccount',
|
||||
name: 'iframeRechargeTMallGameAccountList',
|
||||
component: () => import('@/views/t-mall-game/account-info/index.vue'),
|
||||
meta: {
|
||||
locale: '账号管理',
|
||||
requiresAuth: true,
|
||||
roles: ['*']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'tMallGameOrder',
|
||||
name: 'iframeRechargeTMallGameOrderList',
|
||||
component: () => import('@/views/t-mall-game/order-info/index.vue'),
|
||||
meta: {
|
||||
locale: '订单管理',
|
||||
requiresAuth: true,
|
||||
roles: ['*']
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@@ -65,8 +65,9 @@
|
||||
status="success"
|
||||
@click="
|
||||
openLink(
|
||||
data.singleRoadPlatformRate[rateIndex].platformLabel,
|
||||
data.singleRoadPlatformRate[rateIndex].isLinkSingle,
|
||||
rate.label,
|
||||
data.singleRoadPlatformRate[Math.floor(rateIndex / 8)]
|
||||
.isLinkSingle,
|
||||
rate.value
|
||||
)
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user