build(deps): 依赖更新
This commit is contained in:
@@ -6,17 +6,19 @@ import { argv } from "yargs";
|
|||||||
|
|
||||||
const { robot = 1, desc } = argv;
|
const { robot = 1, desc } = argv;
|
||||||
|
|
||||||
/**
|
const CIPluginOptFn = async () => {
|
||||||
* @typedef { import("@tarojs/plugin-mini-ci").CIOptions } CIOptions
|
/**
|
||||||
* @type {CIOptions}
|
* @typedef { import("@tarojs/plugin-mini-ci").CIOptions } CIOptions
|
||||||
*/
|
* @type {CIOptions}
|
||||||
const CIPluginOpt = {
|
*/
|
||||||
weapp: {
|
return {
|
||||||
appid: process.env.TARO_APP_ID,
|
weapp: {
|
||||||
privateKeyPath: process.env.TARO_APP_KEY,
|
appid: process.env.TARO_APP_ID,
|
||||||
robot,
|
privateKeyPath: process.env.TARO_APP_KEY,
|
||||||
},
|
robot,
|
||||||
desc,
|
},
|
||||||
|
desc,
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
@@ -36,7 +38,7 @@ const config = {
|
|||||||
},
|
},
|
||||||
sourceRoot: "src",
|
sourceRoot: "src",
|
||||||
outputRoot: "dist",
|
outputRoot: "dist",
|
||||||
plugins: ["@tarojs/plugin-html", ["@tarojs/plugin-mini-ci", CIPluginOpt]],
|
plugins: ["@tarojs/plugin-html", ["@tarojs/plugin-mini-ci", CIPluginOptFn]],
|
||||||
defineConstants: {},
|
defineConstants: {},
|
||||||
copy: {
|
copy: {
|
||||||
patterns: [],
|
patterns: [],
|
||||||
|
|||||||
226
package.json
226
package.json
@@ -1,115 +1,115 @@
|
|||||||
{
|
{
|
||||||
"name": "jdt-user",
|
"name": "jdt-user",
|
||||||
"version": "3.0.5",
|
"version": "3.0.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "",
|
"description": "",
|
||||||
"templateInfo": {
|
"templateInfo": {
|
||||||
"name": "jdt-user",
|
"name": "jdt-user",
|
||||||
"typescript": true,
|
"typescript": true,
|
||||||
"css": "sass"
|
"css": "sass"
|
||||||
},
|
},
|
||||||
"taroConfig": {
|
"taroConfig": {
|
||||||
"version": "3.0.5"
|
"version": "3.0.6"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:weapp": "taro build --type weapp",
|
"build:weapp": "taro build --type weapp",
|
||||||
"build:test": "taro build --type weapp --mode test",
|
"build:test": "taro build --type weapp --mode test",
|
||||||
"build:swan": "taro build --type swan",
|
"build:swan": "taro build --type swan",
|
||||||
"build:alipay": "taro build --type alipay",
|
"build:alipay": "taro build --type alipay",
|
||||||
"build:tt": "taro build --type tt",
|
"build:tt": "taro build --type tt",
|
||||||
"build:h5": "taro build --type h5",
|
"build:h5": "taro build --type h5",
|
||||||
"build:rn": "taro build --type rn",
|
"build:rn": "taro build --type rn",
|
||||||
"build:qq": "taro build --type qq",
|
"build:qq": "taro build --type qq",
|
||||||
"build:jd": "taro build --type jd",
|
"build:jd": "taro build --type jd",
|
||||||
"build:quickapp": "taro build --type quickapp",
|
"build:quickapp": "taro build --type quickapp",
|
||||||
"dev:weapp": "taro build --type weapp --watch",
|
"dev:weapp": "taro build --type weapp --watch",
|
||||||
"dev:swan": "npm run build:swan -- --watch",
|
"dev:swan": "npm run build:swan -- --watch",
|
||||||
"dev:alipay": "npm run build:alipay -- --watch",
|
"dev:alipay": "npm run build:alipay -- --watch",
|
||||||
"dev:tt": "npm run build:tt -- --watch",
|
"dev:tt": "npm run build:tt -- --watch",
|
||||||
"dev:h5": "npm run build:h5 -- --watch",
|
"dev:h5": "npm run build:h5 -- --watch",
|
||||||
"dev:rn": "npm run build:rn -- --watch",
|
"dev:rn": "npm run build:rn -- --watch",
|
||||||
"dev:qq": "npm run build:qq -- --watch",
|
"dev:qq": "npm run build:qq -- --watch",
|
||||||
"dev:jd": "npm run build:jd -- --watch",
|
"dev:jd": "npm run build:jd -- --watch",
|
||||||
"dev:quickapp": "npm run build:quickapp -- --watch",
|
"dev:quickapp": "npm run build:quickapp -- --watch",
|
||||||
"lint": "eslint --ext .ts,.vue .",
|
"lint": "eslint --ext .ts,.vue .",
|
||||||
"lint:fix": "eslint --fix --ext .ts,.vue .",
|
"lint:fix": "eslint --fix --ext .ts,.vue .",
|
||||||
"lint:staged": "lint-staged",
|
"lint:staged": "lint-staged",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"cz": "cz",
|
"cz": "cz",
|
||||||
"lf": "npx prettier --write --end-of-line lf .",
|
"lf": "npx prettier --write --end-of-line lf .",
|
||||||
"build:weapp:prod:upload": "taro build --type weapp --upload --robot=1 --desc='正式环境'",
|
"build:weapp:prod:upload": "taro build --type weapp --upload --robot=1 --desc='正式环境'",
|
||||||
"build:weapp:test:upload": "taro build --type weapp --upload --robot=2 --desc='测试环境' --mode test"
|
"build:weapp:test:upload": "taro build --type weapp --upload --robot=2 --desc='测试环境' --mode test"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"last 3 versions",
|
"last 3 versions",
|
||||||
"Android >= 4.1",
|
"Android >= 4.1",
|
||||||
"ios >= 8"
|
"ios >= 8"
|
||||||
],
|
],
|
||||||
"author": "",
|
"author": "",
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{ts,vue}": [
|
"*.{ts,vue}": [
|
||||||
"eslint --ext .ts,.vue .",
|
"eslint --ext .ts,.vue .",
|
||||||
"npx prettier --write --end-of-line lf ."
|
"npx prettier --write --end-of-line lf ."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"commitizen": {
|
"commitizen": {
|
||||||
"path": "node_modules/cz-customizable"
|
"path": "node_modules/cz-customizable"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.23.5",
|
"@babel/runtime": "^7.23.5",
|
||||||
"@nutui/icons-vue-taro": "^0.0.9",
|
"@nutui/icons-vue-taro": "^0.0.9",
|
||||||
"@nutui/nutui-taro": "^4.2.3",
|
"@nutui/nutui-taro": "^4.2.4",
|
||||||
"@qiun/vue-ucharts": "2.5.0-20230101",
|
"@qiun/vue-ucharts": "2.5.0-20230101",
|
||||||
"@tarojs/components": "3.6.19",
|
"@tarojs/components": "3.6.20",
|
||||||
"@tarojs/helper": "3.6.19",
|
"@tarojs/helper": "3.6.20",
|
||||||
"@tarojs/plugin-framework-vue3": "3.6.19",
|
"@tarojs/plugin-framework-vue3": "3.6.20",
|
||||||
"@tarojs/plugin-html": "3.6.19",
|
"@tarojs/plugin-html": "3.6.20",
|
||||||
"@tarojs/plugin-platform-alipay": "3.6.19",
|
"@tarojs/plugin-platform-alipay": "3.6.20",
|
||||||
"@tarojs/plugin-platform-h5": "3.6.19",
|
"@tarojs/plugin-platform-h5": "3.6.20",
|
||||||
"@tarojs/plugin-platform-jd": "3.6.19",
|
"@tarojs/plugin-platform-jd": "3.6.20",
|
||||||
"@tarojs/plugin-platform-qq": "3.6.19",
|
"@tarojs/plugin-platform-qq": "3.6.20",
|
||||||
"@tarojs/plugin-platform-swan": "3.6.19",
|
"@tarojs/plugin-platform-swan": "3.6.20",
|
||||||
"@tarojs/plugin-platform-tt": "3.6.19",
|
"@tarojs/plugin-platform-tt": "3.6.20",
|
||||||
"@tarojs/plugin-platform-weapp": "3.6.19",
|
"@tarojs/plugin-platform-weapp": "3.6.20",
|
||||||
"@tarojs/runtime": "3.6.19",
|
"@tarojs/runtime": "3.6.20",
|
||||||
"@tarojs/shared": "3.6.19",
|
"@tarojs/shared": "3.6.20",
|
||||||
"@tarojs/taro": "3.6.19",
|
"@tarojs/taro": "3.6.20",
|
||||||
"dayjs": "^1.11.10",
|
"dayjs": "^1.11.10",
|
||||||
"pinia": "^2.1.7",
|
"pinia": "^2.1.7",
|
||||||
"vue": "^3.3.9"
|
"vue": "^3.3.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.23.5",
|
"@babel/core": "^7.23.5",
|
||||||
"@commitlint/cli": "^18.4.3",
|
"@commitlint/cli": "^18.4.3",
|
||||||
"@commitlint/config-conventional": "^18.4.3",
|
"@commitlint/config-conventional": "^18.4.3",
|
||||||
"@tarojs/cli": "3.6.19",
|
"@tarojs/cli": "3.6.20",
|
||||||
"@tarojs/plugin-mini-ci": "^3.6.20",
|
"@tarojs/plugin-mini-ci": "3.6.20",
|
||||||
"@tarojs/taro-loader": "3.6.19",
|
"@tarojs/taro-loader": "3.6.20",
|
||||||
"@tarojs/webpack5-runner": "3.6.19",
|
"@tarojs/webpack5-runner": "3.6.20",
|
||||||
"@types/node": "^18.19.1",
|
"@types/node": "^18.19.1",
|
||||||
"@types/webpack-env": "^1.18.4",
|
"@types/webpack-env": "^1.18.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
||||||
"@typescript-eslint/parser": "^6.13.1",
|
"@typescript-eslint/parser": "^6.13.1",
|
||||||
"@vue/babel-plugin-jsx": "^1.1.5",
|
"@vue/babel-plugin-jsx": "^1.1.5",
|
||||||
"@vue/compiler-sfc": "^3.3.9",
|
"@vue/compiler-sfc": "^3.3.9",
|
||||||
"babel-preset-taro": "3.6.19",
|
"babel-preset-taro": "3.6.20",
|
||||||
"commitizen": "^4.3.0",
|
"commitizen": "^4.3.0",
|
||||||
"css-loader": "3.4.2",
|
"css-loader": "3.4.2",
|
||||||
"cz-customizable": "^7.0.0",
|
"cz-customizable": "^7.0.0",
|
||||||
"eslint": "^8.55.0",
|
"eslint": "^8.55.0",
|
||||||
"eslint-config-taro": "3.6.19",
|
"eslint-config-taro": "3.6.20",
|
||||||
"eslint-plugin-vue": "^9.19.2",
|
"eslint-plugin-vue": "^9.19.2",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"lint-staged": "^15.1.0",
|
"lint-staged": "^15.1.0",
|
||||||
"style-loader": "1.3.0",
|
"style-loader": "1.3.0",
|
||||||
"stylelint": "9.3.0",
|
"stylelint": "9.3.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^4.9.5",
|
||||||
"unplugin-vue-components": "^0.23.0",
|
"unplugin-vue-components": "^0.23.0",
|
||||||
"vue-loader": "^17.3.1",
|
"vue-loader": "^17.3.1",
|
||||||
"webpack": "^5.89.0"
|
"webpack": "^5.89.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
747
pnpm-lock.yaml
generated
747
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -143,8 +143,8 @@ const changeBox = (label: string[], item: any) => {
|
|||||||
label.forEach((id: string) => {
|
label.forEach((id: string) => {
|
||||||
item.Goods.forEach((itm: any) => {
|
item.Goods.forEach((itm: any) => {
|
||||||
if (itm.gid === id) {
|
if (itm.gid === id) {
|
||||||
item["Count"].priceCount += itm.price * itm.number;
|
item["Count"].priceCount += itm.price;
|
||||||
item["Count"].exchangeCount += itm.exchange * itm.number;
|
item["Count"].exchangeCount += itm.exchange;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -49,6 +49,7 @@
|
|||||||
<nut-tabs
|
<nut-tabs
|
||||||
v-model="value"
|
v-model="value"
|
||||||
title-scroll
|
title-scroll
|
||||||
|
size="large"
|
||||||
direction="vertical"
|
direction="vertical"
|
||||||
title-gutter="5"
|
title-gutter="5"
|
||||||
animated-time="0"
|
animated-time="0"
|
||||||
|
|||||||
Reference in New Issue
Block a user