build(deps): 依赖升级

This commit is contained in:
2025-09-13 03:26:33 +08:00
parent e1c00d6bb1
commit f567cf7c94
8 changed files with 132 additions and 130 deletions

View File

@@ -18,7 +18,7 @@ TARO_APP_FISH_GAME='https://jdt-test-fish.wanzhuanyongcheng.cn/?uid='
TARO_APP_HALL_API='https://game.wanzhuanyongcheng.cn' TARO_APP_HALL_API='https://game.wanzhuanyongcheng.cn'
# 游戏大厅 # 游戏大厅
TARO_APP_HOME= 'https://test.wanzhuanyongcheng.cn/app/game' TARO_APP_HOME='https://test.wanzhuanyongcheng.cn/app/game'
# 游戏ws链接 # 游戏ws链接
TARO_APP_WS='wss://game.wanzhuanyongcheng.cn/dice/home' TARO_APP_WS='wss://game.wanzhuanyongcheng.cn/dice/home'

View File

@@ -13,4 +13,4 @@ TARO_APP_GAME='https://jdt-prod-tz.wanzhuanyongcheng.cn/pages/index/index?uid='
TARO_APP_FISH_GAME='https://jdt-prod-fish.wanzhuanyongcheng.cn/?uid=' TARO_APP_FISH_GAME='https://jdt-prod-fish.wanzhuanyongcheng.cn/?uid='
# 游戏大厅 # 游戏大厅
TARO_APP_HOME= 'https://www.wanzhuanyongcheng.cn/app/game' TARO_APP_HOME='https://www.wanzhuanyongcheng.cn/app/game'

View File

@@ -17,7 +17,7 @@ TARO_APP_FISH_GAME='https://jdt-test-fish.wanzhuanyongcheng.cn/?uid='
TARO_APP_HALL_API='https://game.wanzhuanyongcheng.cn' TARO_APP_HALL_API='https://game.wanzhuanyongcheng.cn'
# 游戏大厅 # 游戏大厅
TARO_APP_HOME= 'https://test.wanzhuanyongcheng.cn/app/game' TARO_APP_HOME='https://test.wanzhuanyongcheng.cn/app/game'
# 游戏ws链接 # 游戏ws链接
TARO_APP_WS='wss://game.wanzhuanyongcheng.cn/dice/home' TARO_APP_WS='wss://game.wanzhuanyongcheng.cn/dice/home'

View File

@@ -1,4 +1,3 @@
// babel-preset-taro 更多选项和默认值:
// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md // https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
module.exports = { module.exports = {
presets: [ presets: [

View File

@@ -1,126 +1,126 @@
{ {
"name": "jdt-user", "name": "jdt-user",
"version": "4.0.11", "version": "4.0.11",
"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": "4.0.11" "version": "4.0.11"
}, },
"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:weapp:prview": "taro build --type weapp --watch --mode production", "dev:weapp:prview": "taro build --type weapp --watch --mode production",
"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",
"cz": "cz", "cz": "cz",
"lf": "npx prettier --write", "lf": "npx prettier --write",
"postinstall": "weapp-tw patch", "postinstall": "weapp-tw patch",
"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.26.7", "@babel/runtime": "^7.28.4",
"@nutui/icons-vue-taro": "^0.0.9", "@nutui/icons-vue-taro": "^0.0.9",
"@nutui/nutui-taro": "^4.3.13", "@nutui/nutui-taro": "^4.3.14",
"@qiun/vue-ucharts": "2.5.0-20230101", "@qiun/vue-ucharts": "2.5.0-20230101",
"@tarojs/components": "3.6.35", "@tarojs/components": "4.1.6",
"@tarojs/helper": "3.6.35", "@tarojs/helper": "4.1.6",
"@tarojs/plugin-framework-vue3": "3.6.35", "@tarojs/plugin-framework-vue3": "4.1.6",
"@tarojs/plugin-html": "3.6.35", "@tarojs/plugin-html": "4.1.6",
"@tarojs/plugin-platform-alipay": "3.6.35", "@tarojs/plugin-platform-alipay": "4.1.6",
"@tarojs/plugin-platform-h5": "3.6.35", "@tarojs/plugin-platform-h5": "4.1.6",
"@tarojs/plugin-platform-jd": "3.6.35", "@tarojs/plugin-platform-jd": "4.1.6",
"@tarojs/plugin-platform-qq": "3.6.35", "@tarojs/plugin-platform-qq": "4.1.6",
"@tarojs/plugin-platform-swan": "3.6.35", "@tarojs/plugin-platform-swan": "4.1.6",
"@tarojs/plugin-platform-tt": "3.6.35", "@tarojs/plugin-platform-tt": "4.1.6",
"@tarojs/plugin-platform-weapp": "3.6.35", "@tarojs/plugin-platform-weapp": "4.1.6",
"@tarojs/runtime": "3.6.35", "@tarojs/runtime": "4.1.6",
"@tarojs/shared": "3.6.35", "@tarojs/shared": "4.1.6",
"@tarojs/taro": "3.6.35", "@tarojs/taro": "4.1.6",
"dayjs": "^1.11.13", "dayjs": "^1.11.18",
"pinia": "^2.3.1", "pinia": "^2.3.1",
"uqrcodejs": "^4.0.7", "uqrcodejs": "^4.0.7",
"vue": "^3.5.13" "vue": "^3.5.21"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.26.8", "@babel/core": "^7.28.4",
"@commitlint/cli": "^18.6.1", "@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3", "@commitlint/config-conventional": "^18.6.3",
"@tarojs/cli": "3.6.35", "@tarojs/cli": "4.1.6",
"@tarojs/plugin-mini-ci": "3.6.35", "@tarojs/plugin-mini-ci": "4.1.6",
"@tarojs/taro-loader": "3.6.35", "@tarojs/taro-loader": "4.1.6",
"@tarojs/webpack5-runner": "3.6.35", "@tarojs/webpack5-runner": "4.1.6",
"@types/node": "^18.19.75", "@types/node": "^18.19.124",
"@types/webpack-env": "^1.18.8", "@types/webpack-env": "^1.18.8",
"@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0", "@typescript-eslint/parser": "^6.21.0",
"@unocss/webpack": "^0.60.4", "@unocss/webpack": "^0.60.4",
"@vue/babel-plugin-jsx": "^1.2.5", "@vue/babel-plugin-jsx": "^1.5.0",
"@vue/compiler-sfc": "^3.5.13", "@vue/compiler-sfc": "^3.5.21",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.21",
"babel-preset-taro": "3.6.35", "babel-preset-taro": "4.1.6",
"commitizen": "^4.3.1", "commitizen": "^4.3.1",
"css-loader": "3.4.2", "css-loader": "3.4.2",
"cz-customizable": "^7.4.0", "cz-customizable": "^7.5.1",
"eslint": "^8.57.1", "eslint": "^8.57.1",
"eslint-config-taro": "3.6.35", "eslint-config-taro": "4.1.6",
"eslint-plugin-vue": "^9.32.0", "eslint-plugin-vue": "^9.33.0",
"husky": "^8.0.3", "husky": "^8.0.3",
"lint-staged": "^15.4.3", "lint-staged": "^15.5.2",
"miniprogram-ci": "^2.0.10", "miniprogram-ci": "^2.1.26",
"postcss": "8.4.29", "postcss": "8.4.29",
"postcss-rem-to-responsive-pixel": "^6.0.2", "postcss-rem-to-responsive-pixel": "^6.1.0",
"prettier": "^3.5.3", "prettier": "^3.6.2",
"style-loader": "1.3.0", "style-loader": "1.3.0",
"stylelint": "9.3.0", "stylelint": "9.3.0",
"tailwindcss": "^3.4.17", "tailwindcss": "^3.4.17",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.8.2", "typescript": "^5.9.2",
"unplugin-vue-components": "^28.4.1", "unplugin-vue-components": "^28.8.0",
"vue-loader": "^17.4.2", "vue-loader": "^17.4.2",
"weapp-tailwindcss": "^3.7.0", "weapp-tailwindcss": "^3.7.0",
"webpack": "^5.97.1", "webpack": "^5.101.3",
"yargs": "^17.7.2" "yargs": "^17.7.2"
} }
} }

View File

@@ -2,6 +2,7 @@ onlyBuiltDependencies:
- '@parcel/watcher' - '@parcel/watcher'
- '@swc/core' - '@swc/core'
- '@tarojs/binding' - '@tarojs/binding'
- '@tarojs/cli'
- core-js - core-js
- core-js-pure - core-js-pure
- esbuild - esbuild

View File

@@ -15,6 +15,7 @@
}}</view> }}</view>
<nut-rate <nut-rate
spacing="1" spacing="1"
disabled
active-color="rgba(252, 207, 10, 1)" active-color="rgba(252, 207, 10, 1)"
v-model="item.rate" /> v-model="item.rate" />
<view class="text-[#9E9E9E] text-[25px]">销量10000</view> <view class="text-[#9E9E9E] text-[25px]">销量10000</view>
@@ -51,9 +52,10 @@ const getList = async () => {
}; };
const goDetail = item => { const goDetail = item => {
console.log(item);
Taro.setStorageSync('mer_info', item); Taro.setStorageSync('mer_info', item);
Taro.navigateTo({ Taro.navigateTo({
url: `/pages/mer/mer_detail/index`, url: `/pages/mer/mer_detail/index?bid=${item.bid}`,
}); });
}; };
</script> </script>

View File

@@ -129,7 +129,7 @@ const get_mer_list = async () => {
const toMerDetails = (item: any) => { const toMerDetails = (item: any) => {
Taro.setStorageSync('mer_info', item); Taro.setStorageSync('mer_info', item);
Taro.navigateTo({ Taro.navigateTo({
url: `/pages/mer/mer_detail/index`, url: `/pages/mer/mer_detail/index?bid=${item.bid}`,
}); });
}; };
</script> </script>