@ -0,0 +1 @@ |
|||||||
|
.idea |
@ -0,0 +1,9 @@ |
|||||||
|
# 请求域名 |
||||||
|
NUXT_API_URL=http://127.0.0.1:8081 |
||||||
|
|
||||||
|
NUXT_API_ADMIN_URL=https://apia.huajibao.cn |
||||||
|
# 接口默认前缀 |
||||||
|
NUXT_API_PREFIX=/api/ |
||||||
|
|
||||||
|
# 后台地址 |
||||||
|
NUXT_ADMIN_URL=http://127.0.0.1:9527 |
@ -0,0 +1,10 @@ |
|||||||
|
# 请求域名 |
||||||
|
#NUXT_API_URL=http://api.huajibao.cn |
||||||
|
NUXT_API_URL=https://apif.huajibao.cn |
||||||
|
NUXT_API_ADMIN_URL=https://upload.huajibao.cn |
||||||
|
# 接口默认前缀 |
||||||
|
NUXT_API_PREFIX=/api/ |
||||||
|
|
||||||
|
# 后台地址 |
||||||
|
#NUXT_ADMIN_URL=https://admin.huajibao.cn |
||||||
|
NUXT_ADMIN_URL=https://mshop.huajibao.cn |
@ -0,0 +1,46 @@ |
|||||||
|
/* eslint-env node */ |
||||||
|
module.exports = { |
||||||
|
root: true, |
||||||
|
extends: [ |
||||||
|
'plugin:nuxt/recommended', |
||||||
|
'plugin:vue/vue3-essential', |
||||||
|
'eslint:recommended', |
||||||
|
'@vue/eslint-config-typescript/recommended', |
||||||
|
'@vue/eslint-config-prettier', |
||||||
|
], |
||||||
|
parserOptions: { |
||||||
|
ecmaVersion: 'latest', |
||||||
|
parser: '@typescript-eslint/parser', |
||||||
|
sourceType: 'module', |
||||||
|
}, |
||||||
|
plugins: ['@typescript-eslint'], |
||||||
|
rules: { |
||||||
|
'prettier/prettier': [ |
||||||
|
'warn', |
||||||
|
{ |
||||||
|
semi: false, |
||||||
|
singleQuote: true, |
||||||
|
printWidth: 80, |
||||||
|
proseWrap: 'preserve', |
||||||
|
bracketSameLine: false, |
||||||
|
endOfLine: 'auto', |
||||||
|
tabWidth: 2, |
||||||
|
useTabs: false, |
||||||
|
trailingComma: 'none', |
||||||
|
}, |
||||||
|
], |
||||||
|
'no-useless-escape': 'off', |
||||||
|
'vue/multi-word-component-names': 'off', |
||||||
|
'@typescript-eslint/no-explicit-any': 'off', |
||||||
|
'@typescript-eslint/ban-ts-comment': 'off', |
||||||
|
'no-undef': 'off', |
||||||
|
'vue/prefer-import-from-vue': 'off', |
||||||
|
'no-prototype-builtins': 'off', |
||||||
|
'prefer-spread': 'off', |
||||||
|
'@typescript-eslint/no-non-null-assertion': 'off', |
||||||
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'off', |
||||||
|
}, |
||||||
|
globals: { |
||||||
|
module: 'readonly', |
||||||
|
}, |
||||||
|
} |
@ -0,0 +1,316 @@ |
|||||||
|
### Node template |
||||||
|
# Logs |
||||||
|
logs |
||||||
|
*.log |
||||||
|
yarn.lock |
||||||
|
npm-debug.log* |
||||||
|
yarn-debug.log* |
||||||
|
yarn-error.log* |
||||||
|
lerna-debug.log* |
||||||
|
.pnpm-debug.log* |
||||||
|
|
||||||
|
# Diagnostic reports (https://nodejs.org/api/report.html) |
||||||
|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json |
||||||
|
|
||||||
|
# Runtime data |
||||||
|
pids |
||||||
|
*.pid |
||||||
|
*.seed |
||||||
|
*.pid.lock |
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover |
||||||
|
lib-cov |
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul |
||||||
|
coverage |
||||||
|
*.lcov |
||||||
|
|
||||||
|
# nyc test coverage |
||||||
|
.nyc_output |
||||||
|
|
||||||
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) |
||||||
|
.grunt |
||||||
|
|
||||||
|
# Bower dependency directory (https://bower.io/) |
||||||
|
bower_components |
||||||
|
|
||||||
|
# node-waf configuration |
||||||
|
.lock-wscript |
||||||
|
|
||||||
|
# Compiled binary addons (https://nodejs.org/api/addons.html) |
||||||
|
build/Release |
||||||
|
|
||||||
|
# Dependency directories |
||||||
|
node_modules/ |
||||||
|
jspm_packages/ |
||||||
|
|
||||||
|
# Snowpack dependency directory (https://snowpack.dev/) |
||||||
|
web_modules/ |
||||||
|
|
||||||
|
# TypeScript cache |
||||||
|
*.tsbuildinfo |
||||||
|
|
||||||
|
# Optional npm cache directory |
||||||
|
.npm |
||||||
|
|
||||||
|
# Optional eslint cache |
||||||
|
.eslintcache |
||||||
|
|
||||||
|
# Optional stylelint cache |
||||||
|
.stylelintcache |
||||||
|
|
||||||
|
# Microbundle cache |
||||||
|
.rpt2_cache/ |
||||||
|
.rts2_cache_cjs/ |
||||||
|
.rts2_cache_es/ |
||||||
|
.rts2_cache_umd/ |
||||||
|
|
||||||
|
# Optional REPL history |
||||||
|
.node_repl_history |
||||||
|
|
||||||
|
# Output of 'npm pack' |
||||||
|
*.tgz |
||||||
|
|
||||||
|
# Yarn Integrity file |
||||||
|
.yarn-integrity |
||||||
|
|
||||||
|
# dotenv environment variable files |
||||||
|
.env |
||||||
|
.env.development.local |
||||||
|
.env.test.local |
||||||
|
.env.production.local |
||||||
|
.env.local |
||||||
|
|
||||||
|
# parcel-bundler cache (https://parceljs.org/) |
||||||
|
.cache |
||||||
|
.parcel-cache |
||||||
|
|
||||||
|
# Next.js build output |
||||||
|
.next |
||||||
|
out |
||||||
|
|
||||||
|
# Nuxt.js build / generate output |
||||||
|
.nuxt |
||||||
|
dist |
||||||
|
|
||||||
|
# Gatsby files |
||||||
|
.cache/ |
||||||
|
# Comment in the public line in if your project uses Gatsby and not Next.js |
||||||
|
# https://nextjs.org/blog/next-9-1#public-directory-support |
||||||
|
# public |
||||||
|
|
||||||
|
# vuepress build output |
||||||
|
.vuepress/dist |
||||||
|
|
||||||
|
# vuepress v2.x temp and cache directory |
||||||
|
.temp |
||||||
|
.cache |
||||||
|
|
||||||
|
# Docusaurus cache and generated files |
||||||
|
.docusaurus |
||||||
|
|
||||||
|
# Serverless directories |
||||||
|
.serverless/ |
||||||
|
|
||||||
|
# FuseBox cache |
||||||
|
.fusebox/ |
||||||
|
|
||||||
|
# DynamoDB Local files |
||||||
|
.dynamodb/ |
||||||
|
|
||||||
|
# TernJS port file |
||||||
|
.tern-port |
||||||
|
|
||||||
|
# Stores VSCode versions used for testing VSCode extensions |
||||||
|
.vscode-test |
||||||
|
|
||||||
|
# yarn v2 |
||||||
|
.yarn/cache |
||||||
|
.yarn/unplugged |
||||||
|
.yarn/build-state.yml |
||||||
|
.yarn/install-state.gz |
||||||
|
.pnp.* |
||||||
|
|
||||||
|
### Vue template |
||||||
|
# gitignore template for Vue.js projects |
||||||
|
# |
||||||
|
# Recommended template: Node.gitignore |
||||||
|
|
||||||
|
# TODO: where does this rule come from? |
||||||
|
docs/_book |
||||||
|
|
||||||
|
# TODO: where does this rule come from? |
||||||
|
test/ |
||||||
|
|
||||||
|
!/package-lock.json |
||||||
|
/.idea/inspectionProfiles/profiles_settings.xml |
||||||
|
/.idea/inspectionProfiles/Project_Default.xml |
||||||
|
/.idea/.gitignore |
||||||
|
/.idea/mer-pc.iml |
||||||
|
/.idea/modules.xml |
||||||
|
/.idea/prettier.xml |
||||||
|
/.idea/vcs.xml |
||||||
|
/.output/public/_nuxt/_id_.4f65f3f3.js |
||||||
|
/.output/public/_nuxt/_id_.bb2eedb2.css |
||||||
|
/.output/public/_nuxt/address_list.4e42d913.js |
||||||
|
/.output/public/_nuxt/address_list.9c72fa93.css |
||||||
|
/.output/public/_nuxt/agreement_rules.58031173.js |
||||||
|
/.output/public/_nuxt/application_record.3aef8ea2.css |
||||||
|
/.output/public/_nuxt/application_record.297caf13.js |
||||||
|
/.output/public/_nuxt/asyncData.92e418ba.js |
||||||
|
/.output/public/_nuxt/browsing_history.9e883ee3.js |
||||||
|
/.output/public/_nuxt/checkbox.6cb61408.js |
||||||
|
/.output/public/_nuxt/checkbox.56c0bd3a.css |
||||||
|
/.output/public/_nuxt/collect_merchant.62c9e8e8.css |
||||||
|
/.output/public/_nuxt/collect_merchant.143f8976.js |
||||||
|
/.output/public/_nuxt/collect_products.59e73173.js |
||||||
|
/.output/public/_nuxt/collect_products.962f748c.css |
||||||
|
/.output/public/_nuxt/debounce.1a973c23.js |
||||||
|
/.output/public/_nuxt/default.65c1aefd.css |
||||||
|
/.output/public/_nuxt/default.68238643.js |
||||||
|
/.output/public/_nuxt/defaultData.4ed993c7.js |
||||||
|
/.output/public/_nuxt/defaultOrder.23384ad8.js |
||||||
|
/.output/public/_nuxt/dialog.80e101db.js |
||||||
|
/.output/public/_nuxt/dialog.c614b8ee.css |
||||||
|
/.output/public/_nuxt/divider.07810808.css |
||||||
|
/.output/public/_nuxt/divider.e4702176.js |
||||||
|
/.output/public/_nuxt/dropdown.0b00051c.js |
||||||
|
/.output/public/_nuxt/entry.808fc290.js |
||||||
|
/.output/public/_nuxt/entry.c680c8a7.css |
||||||
|
/.output/public/_nuxt/error-404.2a4421e5.js |
||||||
|
/.output/public/_nuxt/error-404.7fc72018.css |
||||||
|
/.output/public/_nuxt/error-500.c5df6088.css |
||||||
|
/.output/public/_nuxt/error-500.d12ed7e7.js |
||||||
|
/.output/public/_nuxt/error-component.80535782.js |
||||||
|
/.output/public/_nuxt/goodsApi.3255d570.js |
||||||
|
/.output/public/_nuxt/helper.301f26b7.js |
||||||
|
/.output/public/_nuxt/image-viewer.1408de4f.js |
||||||
|
/.output/public/_nuxt/image-viewer.bcc58336.css |
||||||
|
/.output/public/_nuxt/index.35be60ef.css |
||||||
|
/.output/public/_nuxt/index.efa0dc50.js |
||||||
|
/.output/public/_nuxt/index.f92107a4.js |
||||||
|
/.output/public/_nuxt/isEqual.a24691d3.js |
||||||
|
/.output/public/_nuxt/merchant_settled.53fdfcac.css |
||||||
|
/.output/public/_nuxt/merchant_settled.579702ed.js |
||||||
|
/.output/public/_nuxt/merchant_street.9b2895af.js |
||||||
|
/.output/public/_nuxt/merchantApi.da67b3ce.js |
||||||
|
/.output/public/_nuxt/nuxt-link.24dc26bd.js |
||||||
|
/.output/public/_nuxt/order_confirm.1ecbc8e2.css |
||||||
|
/.output/public/_nuxt/order_confirm.d9bec777.js |
||||||
|
/.output/public/_nuxt/order_details.9ba6bff6.css |
||||||
|
/.output/public/_nuxt/order_details.ee22973b.js |
||||||
|
/.output/public/_nuxt/order_payment.0ca0ace3.css |
||||||
|
/.output/public/_nuxt/order_payment.3a6dc8c2.js |
||||||
|
/.output/public/_nuxt/orderApi.40e90da4.js |
||||||
|
/.output/public/_nuxt/orderProduct.vue.50f40c00.js |
||||||
|
/.output/public/_nuxt/pageHeader.vue.dbf6b680.js |
||||||
|
/.output/public/_nuxt/pagination.0af840e7.css |
||||||
|
/.output/public/_nuxt/pagination.75fc347e.js |
||||||
|
/.output/public/_nuxt/popper.6172019c.css |
||||||
|
/.output/public/_nuxt/popper.b231ab57.js |
||||||
|
/.output/public/_nuxt/select.6b7a2b87.css |
||||||
|
/.output/public/_nuxt/select.c7b6ad97.js |
||||||
|
/.output/public/_nuxt/shopping_cart.85b6814b.js |
||||||
|
/.output/public/_nuxt/shopping_cart.c61fa8ef.css |
||||||
|
/.output/public/_nuxt/swiper-vue.5f03663a.js |
||||||
|
/.output/public/_nuxt/swiper-vue.f31e28c4.css |
||||||
|
/.output/public/_nuxt/tips.0d8f84ae.js |
||||||
|
/.output/public/_nuxt/tjchenggong.445bd1d9.png |
||||||
|
/.output/public/_nuxt/useOrder.87a22d3f.js |
||||||
|
/.output/public/_nuxt/user_balance.2f911ad7.js |
||||||
|
/.output/public/_nuxt/user_balance.2406564a.css |
||||||
|
/.output/public/_nuxt/user_coupon.86c5c4f0.css |
||||||
|
/.output/public/_nuxt/user_coupon.f79479c7.js |
||||||
|
/.output/public/_nuxt/user_integral.ad973a6e.js |
||||||
|
/.output/public/_nuxt/user_integral.d45a347c.css |
||||||
|
/.output/public/_nuxt/userApi.5cd08da7.js |
||||||
|
/.output/public/_nuxt/userProductList.1c0ca74a.css |
||||||
|
/.output/public/_nuxt/userProductList.361dd686.js |
||||||
|
/.output/public/_nuxt/users.ddd09eb2.css |
||||||
|
/.output/public/_nuxt/users.f9f7b18e.js |
||||||
|
/.output/public/_nuxt/Verify.35438517.css |
||||||
|
/.output/public/_nuxt/Verify.b7c4aaa1.js |
||||||
|
/.output/public/css/animate.min.css |
||||||
|
/.output/public/css/fullPage.css |
||||||
|
/.output/public/fonts/iconfont.css |
||||||
|
/.output/public/fonts/iconfont.js |
||||||
|
/.output/public/fonts/iconfont.svg |
||||||
|
/.output/public/fonts/iconfont.ttf |
||||||
|
/.output/public/fonts/iconfont.woff |
||||||
|
/.output/public/fonts/iconfont.woff2 |
||||||
|
/.output/public/images/approved.png |
||||||
|
/.output/public/images/audit-failed.png |
||||||
|
/.output/public/images/collection.png |
||||||
|
/.output/public/images/creationCenter.png |
||||||
|
/.output/public/images/crmeb.png |
||||||
|
/.output/public/images/details.png |
||||||
|
/.output/public/images/none-001.png |
||||||
|
/.output/public/images/portrait.png |
||||||
|
/.output/public/images/ranking.png |
||||||
|
/.output/public/images/read.png |
||||||
|
/.output/public/images/thumbsUp.png |
||||||
|
/.output/public/images/under-review.png |
||||||
|
/.output/public/js/web-office-sdk-v1.1.19.es.js |
||||||
|
/.output/public/tinymce/langs/zh-Hans.js |
||||||
|
/.output/public/tinymce/skins/content/dark/content.css |
||||||
|
/.output/public/tinymce/skins/content/dark/content.min.css |
||||||
|
/.output/public/tinymce/skins/content/default/content.css |
||||||
|
/.output/public/tinymce/skins/content/default/content.min.css |
||||||
|
/.output/public/tinymce/skins/content/document/content.css |
||||||
|
/.output/public/tinymce/skins/content/document/content.min.css |
||||||
|
/.output/public/tinymce/skins/content/tinymce-5/content.css |
||||||
|
/.output/public/tinymce/skins/content/tinymce-5/content.min.css |
||||||
|
/.output/public/tinymce/skins/content/tinymce-5-dark/content.css |
||||||
|
/.output/public/tinymce/skins/content/tinymce-5-dark/content.min.css |
||||||
|
/.output/public/tinymce/skins/content/writer/content.css |
||||||
|
/.output/public/tinymce/skins/content/writer/content.min.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide/content.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide/content.inline.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide/content.inline.min.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide/content.min.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide/skin.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide/skin.min.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide/skin.shadowdom.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide-dark/content.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide-dark/content.inline.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide-dark/content.inline.min.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide-dark/content.min.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide-dark/skin.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide-dark/skin.min.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css |
||||||
|
/.output/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5/content.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5/content.inline.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5/content.inline.min.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5/content.min.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5/skin.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5/skin.min.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5/skin.shadowdom.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5-dark/content.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5-dark/content.inline.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5-dark/content.min.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5-dark/skin.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5-dark/skin.min.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css |
||||||
|
/.output/public/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css |
||||||
|
/.output/public/CNAME |
||||||
|
/.output/public/favicon.ico |
||||||
|
/.output/server/chunks/app/client.manifest.mjs |
||||||
|
/.output/server/chunks/app/client.manifest.mjs.map |
||||||
|
/.output/server/chunks/app/styles.mjs |
||||||
|
/.output/server/chunks/app/styles.mjs.map |
||||||
|
/.output/server/chunks/handlers/renderer.mjs |
||||||
|
/.output/server/chunks/handlers/renderer.mjs.map |
||||||
|
/.output/server/chunks/nitro/node-server.mjs |
||||||
|
/.output/server/chunks/nitro/node-server.mjs.map |
||||||
|
/.output/server/chunks/rollup/_virtual_head-static.mjs |
||||||
|
/.output/server/chunks/rollup/_virtual_head-static.mjs.map |
||||||
|
/.output/server/chunks/error-500.mjs |
||||||
|
/.output/server/chunks/error-500.mjs.map |
||||||
|
/.output/server/index.mjs |
||||||
|
/.output/server/index.mjs.map |
||||||
|
/.output/server/package.json |
||||||
|
/.output/nitro.json |
@ -0,0 +1,3 @@ |
|||||||
|
shamefully-hoist=true |
||||||
|
strict-peer-dependencies=false |
||||||
|
shell-emulator=true |
@ -0,0 +1,47 @@ |
|||||||
|
/** .prettierrc.js |
||||||
|
* 在VSCode中安装prettier插件 打开插件配置填写`.prettierrc.js` 将本文件作为其代码格式化规范 |
||||||
|
* 在本文件中修改格式化规则,不会同时触发改变ESLint代码检查,所以每次修改本文件需要重启VSCode,ESLint检查才能同步代码格式化 |
||||||
|
* 需要相应的代码格式化规范请自行查阅配置,下面为默认项目配置 |
||||||
|
*/ |
||||||
|
module.exports = { |
||||||
|
// 一行最多多少个字符
|
||||||
|
printWidth: 150, |
||||||
|
// 指定每个缩进级别的空格数
|
||||||
|
tabWidth: 2, |
||||||
|
// 使用制表符而不是空格缩进行
|
||||||
|
useTabs: true, |
||||||
|
// 在语句末尾是否需要分号
|
||||||
|
semi: true, |
||||||
|
// 是否使用单引号
|
||||||
|
singleQuote: true, |
||||||
|
// 更改引用对象属性的时间 可选值"<as-needed|consistent|preserve>"
|
||||||
|
quoteProps: 'as-needed', |
||||||
|
// 在JSX中使用单引号而不是双引号
|
||||||
|
jsxSingleQuote: false, |
||||||
|
// 多行时尽可能打印尾随逗号。(例如,单行数组永远不会出现逗号结尾。) 可选值"<none|es5|all>",默认none
|
||||||
|
trailingComma: 'es5', |
||||||
|
// 在对象文字中的括号之间打印空格
|
||||||
|
bracketSpacing: true, |
||||||
|
// jsx 标签的反尖括号需要换行
|
||||||
|
jsxBracketSameLine: false, |
||||||
|
// 在单独的箭头函数参数周围包括括号 always:(x) => x \ avoid:x => x
|
||||||
|
arrowParens: 'always', |
||||||
|
// 这两个选项可用于格式化以给定字符偏移量(分别包括和不包括)开始和结束的代码
|
||||||
|
rangeStart: 0, |
||||||
|
rangeEnd: Infinity, |
||||||
|
// 指定要使用的解析器,不需要写文件开头的 @prettier
|
||||||
|
requirePragma: false, |
||||||
|
// 不需要自动在文件开头插入 @prettier
|
||||||
|
insertPragma: false, |
||||||
|
// 使用默认的折行标准 always\never\preserve
|
||||||
|
proseWrap: 'preserve', |
||||||
|
// 指定HTML文件的全局空格敏感度 css\strict\ignore
|
||||||
|
htmlWhitespaceSensitivity: 'css', |
||||||
|
// Vue文件脚本和样式标签缩进
|
||||||
|
vueIndentScriptAndStyle: false, |
||||||
|
//在 windows 操作系统中换行符通常是回车 (CR) 加换行分隔符 (LF),也就是回车换行(CRLF),
|
||||||
|
//然而在 Linux 和 Unix 中只使用简单的换行分隔符 (LF)。
|
||||||
|
//对应的控制字符为 "\n" (LF) 和 "\r\n"(CRLF)。auto意为保持现有的行尾
|
||||||
|
// 换行符使用 lf 结尾是 可选值"<auto|lf|crlf|cr>"
|
||||||
|
endOfLine: 'auto', |
||||||
|
}; |
@ -0,0 +1,19 @@ |
|||||||
|
{ |
||||||
|
"printWidth": 120, |
||||||
|
"tabWidth": 2, |
||||||
|
"useTabs": false, |
||||||
|
"semi": false, |
||||||
|
"singleQuote": true, |
||||||
|
"quoteProps": "as-needed", |
||||||
|
"jsxSingleQuote": false, |
||||||
|
"trailingComma": "all", |
||||||
|
"bracketSpacing": true, |
||||||
|
"arrowParens": "always", |
||||||
|
"rangeStart": 0, |
||||||
|
"requirePragma": false, |
||||||
|
"insertPragma": false, |
||||||
|
"proseWrap": "preserve", |
||||||
|
"htmlWhitespaceSensitivity": "css", |
||||||
|
"endOfLine": "lf" |
||||||
|
|
||||||
|
} |
@ -0,0 +1,21 @@ |
|||||||
|
MIT License |
||||||
|
|
||||||
|
Copyright (c) 2021 Element Plus |
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||||
|
of this software and associated documentation files (the "Software"), to deal |
||||||
|
in the Software without restriction, including without limitation the rights |
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||||
|
copies of the Software, and to permit persons to whom the Software is |
||||||
|
furnished to do so, subject to the following conditions: |
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all |
||||||
|
copies or substantial portions of the Software. |
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
||||||
|
SOFTWARE. |
@ -0,0 +1,38 @@ |
|||||||
|
# mer_pc |
||||||
|
|
||||||
|
#### Description |
||||||
|
多商户PC商城 |
||||||
|
|
||||||
|
``` |
||||||
|
|
||||||
|
## 开发 |
||||||
|
|
||||||
|
```bash |
||||||
|
# node版本 |
||||||
|
node版本建议使用v16.18以上 |
||||||
|
|
||||||
|
# 进入项目目录 |
||||||
|
cd ## |
||||||
|
|
||||||
|
# 安装依赖 |
||||||
|
npm install |
||||||
|
|
||||||
|
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 |
||||||
|
npm install --registry=https://registry.npm.taobao.org |
||||||
|
|
||||||
|
# 启动服务 |
||||||
|
npm run dev |
||||||
|
``` |
||||||
|
|
||||||
|
浏览器访问 http://localhost:9527 |
||||||
|
|
||||||
|
## 发布 |
||||||
|
|
||||||
|
```bash |
||||||
|
# 构建测试环境 |
||||||
|
npm run build |
||||||
|
|
||||||
|
# 代码格式检查并自动修复 |
||||||
|
npm run prettier |
||||||
|
``` |
||||||
|
|
@ -0,0 +1,38 @@ |
|||||||
|
# mer_pc |
||||||
|
|
||||||
|
#### 介绍 |
||||||
|
多商户PC商城 |
||||||
|
|
||||||
|
``` |
||||||
|
|
||||||
|
## 开发 |
||||||
|
|
||||||
|
```bash |
||||||
|
# node版本 |
||||||
|
node版本建议使用v16.18以上 |
||||||
|
|
||||||
|
# 进入项目目录 |
||||||
|
cd ## |
||||||
|
|
||||||
|
# 安装依赖 |
||||||
|
npm install |
||||||
|
|
||||||
|
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 |
||||||
|
npm install --registry=https://registry.npm.taobao.org |
||||||
|
|
||||||
|
# 启动服务 |
||||||
|
npm run dev |
||||||
|
``` |
||||||
|
|
||||||
|
浏览器访问 http://localhost:9527 |
||||||
|
|
||||||
|
## 发布 |
||||||
|
|
||||||
|
```bash |
||||||
|
# 构建测试环境 |
||||||
|
npm run build |
||||||
|
|
||||||
|
# 代码格式检查并自动修复 |
||||||
|
npm run prettier |
||||||
|
``` |
||||||
|
|
@ -0,0 +1,12 @@ |
|||||||
|
<template> |
||||||
|
<!-- 路由出口 --> |
||||||
|
<NuxtLayout> |
||||||
|
<el-config-provider :locale="locale"> |
||||||
|
<NuxtPage></NuxtPage> |
||||||
|
</el-config-provider> |
||||||
|
</NuxtLayout> |
||||||
|
</template> |
||||||
|
<script setup> |
||||||
|
import zhCn from 'element-plus/dist/locale/zh-cn'; |
||||||
|
const locale = ref(zhCn); |
||||||
|
</script> |
@ -0,0 +1,36 @@ |
|||||||
|
@font-face { |
||||||
|
font-family: 'oppoSans-R'; |
||||||
|
src: url('./OPPOSans-R.ttf') format('truetype'); |
||||||
|
} |
||||||
|
@font-face { |
||||||
|
font-family: 'oppoSans-M'; |
||||||
|
src: url('./OPPOSans-M.ttf') format('truetype'); |
||||||
|
} |
||||||
|
@font-face { |
||||||
|
font-family: 'dinProSemiBold'; |
||||||
|
src: url('./D-DIN-PRO-600-SemiBold.ttf'); |
||||||
|
} |
||||||
|
@font-face { |
||||||
|
font-family: 'dinProRegular'; |
||||||
|
src: url('./D-DIN-PRO-400-Regular.ttf'); |
||||||
|
} |
||||||
|
@font-face { |
||||||
|
font-family: 'alimama'; |
||||||
|
src: url('alimamashuheiti.ttf') format('truetype'); |
||||||
|
} |
||||||
|
.dinProSemiBold{ |
||||||
|
font-family: 'dinProSemiBold'; |
||||||
|
} |
||||||
|
.dinProRegular{ |
||||||
|
font-family: 'dinProRegular'; |
||||||
|
} |
||||||
|
.alimama{ |
||||||
|
font-family: 'alimama'; |
||||||
|
} |
||||||
|
.oppoSans-M{ |
||||||
|
font-family: 'oppoSans-M'; |
||||||
|
font-weight: 500; |
||||||
|
} |
||||||
|
.oppoSans-R{ |
||||||
|
font-family: 'oppoSans-R'; |
||||||
|
} |
@ -0,0 +1,39 @@ |
|||||||
|
@font-face { |
||||||
|
font-family: "iconfont"; /* Project id 4506189 */ |
||||||
|
src: url('iconfont.woff2?t=1712983929006') format('woff2'), |
||||||
|
url('iconfont.woff?t=1712983929006') format('woff'), |
||||||
|
url('iconfont.ttf?t=1712983929006') format('truetype'); |
||||||
|
} |
||||||
|
|
||||||
|
.iconfont { |
||||||
|
font-family: "iconfont" !important; |
||||||
|
font-size: 16px; |
||||||
|
font-style: normal; |
||||||
|
-webkit-font-smoothing: antialiased; |
||||||
|
-moz-osx-font-smoothing: grayscale; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-wangzhi:before { |
||||||
|
content: "\e658"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-weixin:before { |
||||||
|
content: "\e63d"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-kefuyouxiang:before { |
||||||
|
content: "\e627"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-youxiang:before { |
||||||
|
content: "\e908"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-dizhi:before { |
||||||
|
content: "\e606"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-weixingongzhonghao:before { |
||||||
|
content: "\e612"; |
||||||
|
} |
||||||
|
|
@ -0,0 +1,218 @@ |
|||||||
|
@font-face { |
||||||
|
font-family: "iconfont"; /* Project id 4247807 */ |
||||||
|
src: url('//at.alicdn.com/t/c/font_4247807_9t2habcu5gg.woff2?t=1701833017633') format('woff2'), |
||||||
|
url('//at.alicdn.com/t/c/font_4247807_9t2habcu5gg.woff?t=1701833017633') format('woff'), |
||||||
|
url('//at.alicdn.com/t/c/font_4247807_9t2habcu5gg.ttf?t=1701833017633') format('truetype'); |
||||||
|
} |
||||||
|
|
||||||
|
.iconfont { |
||||||
|
font-family: "iconfont" !important; |
||||||
|
font-size: 16px; |
||||||
|
font-style: normal; |
||||||
|
-webkit-font-smoothing: antialiased; |
||||||
|
-moz-osx-font-smoothing: grayscale; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-lianxikefu:before { |
||||||
|
content: "\e6f6"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-yishoucang:before { |
||||||
|
content: "\e6f4"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-zhiding:before { |
||||||
|
content: "\e6f5"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shenqingjilu:before { |
||||||
|
content: "\e6f3"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shijian:before { |
||||||
|
content: "\e6f2"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-di:before { |
||||||
|
content: "\e6db"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-gao:before { |
||||||
|
content: "\e6f1"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-weitongguo1:before { |
||||||
|
content: "\e6f0"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-gaodi:before { |
||||||
|
content: "\e6ee"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-baozhang:before { |
||||||
|
content: "\e6ef"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shenhezhong:before { |
||||||
|
content: "\e6df"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shangchuan:before { |
||||||
|
content: "\e6e0"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-sousuo:before { |
||||||
|
content: "\e6e1"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shanchu:before { |
||||||
|
content: "\e6cd"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shoujishangcheng:before { |
||||||
|
content: "\e6e2"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shangchengshouye:before { |
||||||
|
content: "\e6ce"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-kuaidi:before { |
||||||
|
content: "\e6e3"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shangpinfenlei:before { |
||||||
|
content: "\e6e4"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-guanzhudianpu:before { |
||||||
|
content: "\e6cc"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-liulan:before { |
||||||
|
content: "\e6e5"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-jia:before { |
||||||
|
content: "\e6e6"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-jian:before { |
||||||
|
content: "\e6e7"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-guanzhu:before { |
||||||
|
content: "\e6e8"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-gouwuche:before { |
||||||
|
content: "\e6e9"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-dingdan:before { |
||||||
|
content: "\e6ea"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-baobeishoucang:before { |
||||||
|
content: "\e6eb"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-gengduo:before { |
||||||
|
content: "\e6ec"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-bianji:before { |
||||||
|
content: "\e6ed"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shoucang:before { |
||||||
|
content: "\e6d2"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-zuji:before { |
||||||
|
content: "\e6d3"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-youhuiquan:before { |
||||||
|
content: "\e6d1"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-xiala:before { |
||||||
|
content: "\e6d0"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-zuo1:before { |
||||||
|
content: "\e6d4"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-yitongguo:before { |
||||||
|
content: "\e6d5"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-zhifubaozhifu:before { |
||||||
|
content: "\e6d7"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-xiaoxi:before { |
||||||
|
content: "\e6d8"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-yuezhifu:before { |
||||||
|
content: "\e6d9"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-you1:before { |
||||||
|
content: "\e6da"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-wode:before { |
||||||
|
content: "\e6dc"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-xingji:before { |
||||||
|
content: "\e6dd"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-weixinzhifu:before { |
||||||
|
content: "\e6de"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-xuanzhong:before { |
||||||
|
content: "\e6ca"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-weixuanzhong:before { |
||||||
|
content: "\e6cb"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-zuo:before { |
||||||
|
content: "\e6c9"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-you:before { |
||||||
|
content: "\e6c8"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-yanzhengma:before { |
||||||
|
content: "\e6c5"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-shoujihao:before { |
||||||
|
content: "\e6c6"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-mima:before { |
||||||
|
content: "\e6c7"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-danchuangguanbi:before { |
||||||
|
content: "\e6c1"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-erweima:before { |
||||||
|
content: "\e6c3"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-zhanghaodenglu:before { |
||||||
|
content: "\e6c4"; |
||||||
|
} |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 67 KiB |
After Width: | Height: | Size: 225 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 357 KiB |
After Width: | Height: | Size: 668 B |
After Width: | Height: | Size: 153 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 134 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 675 KiB |
After Width: | Height: | Size: 1.9 MiB |
After Width: | Height: | Size: 581 KiB |
After Width: | Height: | Size: 228 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 322 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 681 KiB |
After Width: | Height: | Size: 191 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 301 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 676 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 375 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 676 KiB |
After Width: | Height: | Size: 312 KiB |
After Width: | Height: | Size: 409 KiB |
After Width: | Height: | Size: 586 B |
After Width: | Height: | Size: 502 B |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 248 KiB |
After Width: | Height: | Size: 236 KiB |
After Width: | Height: | Size: 235 KiB |
After Width: | Height: | Size: 145 KiB |
After Width: | Height: | Size: 248 KiB |
After Width: | Height: | Size: 231 KiB |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 141 KiB |
After Width: | Height: | Size: 140 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 89 KiB |
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 635 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 783 B |
After Width: | Height: | Size: 882 B |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 440 B |
After Width: | Height: | Size: 448 B |
After Width: | Height: | Size: 9.4 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 747 B |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 838 B |
After Width: | Height: | Size: 705 B |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 1.2 KiB |