diff --git a/.gitignore b/.gitignore index e8f682b..e51f36f 100644 --- a/.gitignore +++ b/.gitignore @@ -88,3 +88,6 @@ sw.* # Vim swap files *.swp +# deps +package-lock.json +yarn.lock diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index 8a3293d..01a2f3e 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -18,7 +18,7 @@ jobs: image: node:16.17.0-alpine interpreter: !DefaultInterpreter commands: - - yarn --registry=https://registry.npm.taobao.org + - yarn --registry=https://registry.npmmirror.com - npx nuxt build useTTY: false condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL diff --git a/Dockerfile b/Dockerfile index 955e97d..9fc484a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,8 @@ RUN cd /opt/app RUN chmod -R 777 * # 添加执行shell文件权限 RUN chmod u+x pm2.sh -RUN yarn --registry=https://registry.npm.taobao.org -RUN npm i pm2 -g --registry=https://registry.npm.taobao.org +RUN yarn --registry=https://registry.npmmirror.com +RUN npm i pm2 -g --registry=https://registry.npmmirror.com RUN npm run build RUN ls -l -a diff --git a/components/ImgCropper.vue b/components/ImgCropper.vue new file mode 100644 index 0000000..8b0e8b9 --- /dev/null +++ b/components/ImgCropper.vue @@ -0,0 +1,258 @@ + + + + + diff --git a/components/common/product/list.vue b/components/common/product/list.vue index b955abb..4174bcb 100644 --- a/components/common/product/list.vue +++ b/components/common/product/list.vue @@ -1,12 +1,13 @@