From af97e38581fed5dcc843fbf329b36f7f1fa3f886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E5=BC=BA?= Date: Mon, 9 May 2022 03:03:13 +0000 Subject: [PATCH 1/3] Add new file --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1a27724 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM node:12.13.1 +WORKDIR /workload + +COPY nuxt.config.js /workload/nuxt.config.js +COPY package.json /workload/package.json +COPY .nuxt /workload/.nuxt + +RUN npm config set registry https://registry.npm.taobao.org \ + && npm install + +EXPOSE 3000 +CMD npm run start From 2941a103c2dc0c31c387352ba0820034fba83724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E5=BC=BA?= Date: Mon, 9 May 2022 03:48:26 +0000 Subject: [PATCH 2/3] Add new file --- deploy.yaml | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 deploy.yaml diff --git a/deploy.yaml b/deploy.yaml new file mode 100644 index 0000000..81bd20c --- /dev/null +++ b/deploy.yaml @@ -0,0 +1,54 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + app: $IMAGES + name: $IMAGES + namespace: yanxuan +spec: + progressDeadlineSeconds: 600 + replicas: 1 + selector: + matchLabels: + app: $IMAGES + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + template: + metadata: + labels: + app: $IMAGES + spec: + imagePullSecrets: + - name: aliyun-docker-hub + containers: + - image: '$REGISTRY/$DOCKERHUB_NAMESPACE/$IMAGES:$BUILD_NUMBER' + name: app + ports: + - containerPort: $JAR_PORD + protocol: TCP + resources: + limits: + cpu: '0.5' + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + dnsPolicy: ClusterFirst + restartPolicy: Always + terminationGracePeriodSeconds: 30 +--- +kind: Service +apiVersion: v1 +metadata: + name: $IMAGES + namespace: yanxuan +spec: + ports: + - port: 80 + protocol: TCP + targetPort: 80 + selector: + app: $IMAGES + type: ClusterIP From e9c6d82843139b893e650e6627b4b8421446ff84 Mon Sep 17 00:00:00 2001 From: xiaoguang Date: Mon, 9 May 2022 11:51:25 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=A8=A1=E5=9D=97=E4=BB=A5=E5=8F=8A=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/BsLogin.vue | 228 ++++++++++++++++++++++++++++ layouts/default.vue | 17 ++- layouts/module/header/index.vue | 10 +- static/images/login/icon-accept.png | Bin 0 -> 706 bytes static/images/login/icon-close.png | Bin 0 -> 1586 bytes static/images/login/icon-logo.png | Bin 0 -> 7886 bytes 6 files changed, 243 insertions(+), 12 deletions(-) create mode 100644 components/BsLogin.vue create mode 100644 static/images/login/icon-accept.png create mode 100644 static/images/login/icon-close.png create mode 100644 static/images/login/icon-logo.png diff --git a/components/BsLogin.vue b/components/BsLogin.vue new file mode 100644 index 0000000..aed8652 --- /dev/null +++ b/components/BsLogin.vue @@ -0,0 +1,228 @@ + + + diff --git a/layouts/default.vue b/layouts/default.vue index a1e1066..4a78514 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -7,26 +7,29 @@ -->