build(deps): taro依赖升级
This commit is contained in:
6
.env.prod
Normal file
6
.env.prod
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
TARO_APP_API = 'https://betting2.wanzhuanyongcheng.com/dice'
|
||||
|
||||
TARO_APP_WS = 'wss://betting2.wanzhuanyongcheng.com/dice/home'
|
||||
|
||||
TARO_APP_HOME = 'https://betting2.wanzhuanyongcheng.com/app/game'
|
||||
@@ -1,11 +0,0 @@
|
||||
# TARO_APP_ID="生产环境下的小程序appid"
|
||||
|
||||
TARO_APP_API = 'https://www.jdt168.com/dice'
|
||||
|
||||
TARO_APP_WS = 'wss://www.jdt168.com/dice/home'
|
||||
|
||||
TARO_APP_HOME = 'https://www.wanzhuanyongcheng.cn/app/game'
|
||||
|
||||
TARO_APP_BALLOON_WS = 'wss://balloon.wanzhuanyongcheng.cn/balloon/home'
|
||||
|
||||
TARO_APP_BALLOON_API = 'https://balloon.wanzhuanyongcheng.cn/balloon'
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,4 +4,4 @@ deploy_versions/
|
||||
.rn_temp/
|
||||
node_modules/
|
||||
.DS_Store
|
||||
.swc
|
||||
.swc
|
||||
|
||||
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY dist/ /usr/share/nginx/html
|
||||
|
||||
COPY default.conf /etc/nginx/conf.d/default.conf
|
||||
18
default.conf
Normal file
18
default.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
server {
|
||||
# 监听ipv4
|
||||
listen 80;
|
||||
# 监听ipv6
|
||||
listen [::]:80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
}
|
||||
43
package.json
43
package.json
@@ -15,7 +15,7 @@
|
||||
"build:tt": "taro build --type tt",
|
||||
"build:h5": "taro build --type h5",
|
||||
"build:h5:test": "taro build --type h5 --mode test",
|
||||
"dev": "npm run build:h5 -- --watch --mode production",
|
||||
"build:tow": "taro build --type h5 --mode prod",
|
||||
"build:rn": "taro build --type rn",
|
||||
"build:qq": "taro build --type qq",
|
||||
"build:jd": "taro build --type jd",
|
||||
@@ -44,7 +44,7 @@
|
||||
"ios >= 8"
|
||||
],
|
||||
"lint-staged": {
|
||||
"*.{js,vue}": [
|
||||
"*.{ts,vue}": [
|
||||
"eslint --ext .ts,.vue .",
|
||||
"npx prettier --write --end-of-line lf ."
|
||||
]
|
||||
@@ -57,29 +57,32 @@
|
||||
"author": "",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.22.11",
|
||||
"@tarojs/components": "3.6.18",
|
||||
"@tarojs/helper": "3.6.18",
|
||||
"@tarojs/plugin-framework-vue3": "3.6.18",
|
||||
"@tarojs/plugin-platform-alipay": "3.6.18",
|
||||
"@tarojs/plugin-platform-h5": "3.6.18",
|
||||
"@tarojs/plugin-platform-jd": "3.6.18",
|
||||
"@tarojs/plugin-platform-qq": "3.6.18",
|
||||
"@tarojs/plugin-platform-swan": "3.6.18",
|
||||
"@tarojs/plugin-platform-tt": "3.6.18",
|
||||
"@tarojs/plugin-platform-weapp": "3.6.18",
|
||||
"@tarojs/runtime": "3.6.18",
|
||||
"@tarojs/shared": "3.6.18",
|
||||
"@tarojs/taro": "3.6.18",
|
||||
"@sentry/browser": "^7.81.0",
|
||||
"@sentry/vue": "^7.81.0",
|
||||
"@sentry/webpack-plugin": "^2.10.1",
|
||||
"@tarojs/components": "3.6.19",
|
||||
"@tarojs/helper": "3.6.19",
|
||||
"@tarojs/plugin-framework-vue3": "3.6.19",
|
||||
"@tarojs/plugin-platform-alipay": "3.6.19",
|
||||
"@tarojs/plugin-platform-h5": "3.6.19",
|
||||
"@tarojs/plugin-platform-jd": "3.6.19",
|
||||
"@tarojs/plugin-platform-qq": "3.6.19",
|
||||
"@tarojs/plugin-platform-swan": "3.6.19",
|
||||
"@tarojs/plugin-platform-tt": "3.6.19",
|
||||
"@tarojs/plugin-platform-weapp": "3.6.19",
|
||||
"@tarojs/runtime": "3.6.19",
|
||||
"@tarojs/shared": "3.6.19",
|
||||
"@tarojs/taro": "3.6.19",
|
||||
"vue": "^3.3.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.11",
|
||||
"@commitlint/cli": "^18.2.0",
|
||||
"@commitlint/config-conventional": "^18.1.0",
|
||||
"@tarojs/cli": "3.6.18",
|
||||
"@tarojs/taro-loader": "3.6.18",
|
||||
"@tarojs/cli": "3.6.19",
|
||||
"@tarojs/taro-loader": "3.6.19",
|
||||
"@tarojs/test-utils-vue3": "^0.1.1",
|
||||
"@tarojs/webpack5-runner": "3.6.18",
|
||||
"@tarojs/webpack5-runner": "3.6.19",
|
||||
"@types/jest": "^29.5.4",
|
||||
"@types/node": "^20.5.7",
|
||||
"@types/webpack-env": "^1.18.1",
|
||||
@@ -87,12 +90,12 @@
|
||||
"@typescript-eslint/parser": "^6.5.0",
|
||||
"@vue/babel-plugin-jsx": "^1.1.5",
|
||||
"@vue/compiler-sfc": "^3.3.4",
|
||||
"babel-preset-taro": "3.6.18",
|
||||
"babel-preset-taro": "3.6.19",
|
||||
"commitizen": "^4.3.0",
|
||||
"css-loader": "6.8.1",
|
||||
"cz-customizable": "^7.0.0",
|
||||
"eslint": "^8.48.0",
|
||||
"eslint-config-taro": "3.6.18",
|
||||
"eslint-config-taro": "3.6.19",
|
||||
"eslint-plugin-vue": "^9.17.0",
|
||||
"husky": "^8.0.0",
|
||||
"jest": "^29.6.4",
|
||||
|
||||
645
pnpm-lock.yaml
generated
645
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@ export default defineAppConfig({
|
||||
'pages/game_detail/index',
|
||||
'pages/yaotouzi/records/index',
|
||||
'pages/balloon/index/index',
|
||||
'/pages/balloon/records/index',
|
||||
'pages/balloon/records/index',
|
||||
],
|
||||
window: {
|
||||
backgroundTextStyle: 'light',
|
||||
|
||||
@@ -2,8 +2,8 @@ import { createApp } from 'vue'
|
||||
import './app.scss'
|
||||
|
||||
const App = createApp({
|
||||
onLaunch() {},
|
||||
onShow() {},
|
||||
// 入口组件不需要实现 render 方法,即使实现了也会被 taro 所覆盖
|
||||
})
|
||||
|
||||
export default App
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<text>{{ item.DrawTime }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="text-align: right">
|
||||
<view style="text-align: right" v-if="item.State === 1">
|
||||
<view style="color: red">+{{ item.DrawNum }}积分</view>
|
||||
<view style="color: green">-{{ item.Number }}豆子</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user