diff --git a/babel.config.js b/babel.config.js index eb83259..b5639a8 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,4 +1,3 @@ -// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md module.exports = { presets: [ [ diff --git a/components.d.ts b/components.d.ts index a2592ba..14a87fa 100644 --- a/components.d.ts +++ b/components.d.ts @@ -3,7 +3,7 @@ // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 // biome-ignore lint: disable -export {} +export {}; /* prettier-ignore */ declare module 'vue' { @@ -42,8 +42,6 @@ declare module 'vue' { NutSwiper: typeof import('@nutui/nutui-taro')['Swiper'] NutSwiperItem: typeof import('@nutui/nutui-taro')['SwiperItem'] NutSwitch: typeof import('@nutui/nutui-taro')['Switch'] - NutTabbar: typeof import('@nutui/nutui-taro')['Tabbar'] - NutTabbarItem: typeof import('@nutui/nutui-taro')['TabbarItem'] NutTable: typeof import('@nutui/nutui-taro')['Table'] NutTabPane: typeof import('@nutui/nutui-taro')['TabPane'] NutTabs: typeof import('@nutui/nutui-taro')['Tabs'] diff --git a/package.json b/package.json index 77f6752..0ba8a99 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "jdt-user", - "version": "4.0.12", + "version": "4.0.13", "taroConfig": { - "version": "4.0.12" + "version": "4.0.13" }, "scripts": { "build:weapp": "taro build --type weapp", @@ -16,7 +16,7 @@ "build:jd": "taro build --type jd", "build:quickapp": "taro build --type quickapp", "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 reserve", "dev:swan": "npm run build:swan -- --watch", "dev:alipay": "npm run build:alipay -- --watch", "dev:tt": "npm run build:tt -- --watch", @@ -40,7 +40,7 @@ "Android >= 4.1", "ios >= 8" ], - "author": "", + "author": "JDT", "lint-staged": { "*.{ts,vue}": [ "eslint --ext .ts,.vue .", diff --git a/src/app.config.ts b/src/app.config.ts index cb22172..e9a9306 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -97,12 +97,12 @@ export default defineAppConfig({ selectedIconPath: 'static/tabbar/1-1.png', text: '首页', }, - { - pagePath: 'pages/game/gamehome/index', - iconPath: 'static/tabbar/2-0.png', - selectedIconPath: 'static/tabbar/2-1.png', - text: '游戏', - }, + // { + // pagePath: 'pages/game/gamehome/index', + // iconPath: 'static/tabbar/2-0.png', + // selectedIconPath: 'static/tabbar/2-1.png', + // text: '游戏', + // }, { pagePath: 'pages/cart/index', iconPath: 'static/tabbar/3-0.png', diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 4ffbc16..f33a650 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -14,8 +14,8 @@ - - + --> diff --git a/src/utils/request.ts b/src/utils/request.ts index 8a64731..9d14547 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -43,7 +43,7 @@ const request = ( title: '提示', content: '你当前未登录,是否前往登录?', confirmText: '去登录', - cancelText: '先逛逛', + cancelText: '暂不登录', success: ({ confirm }) => { if (confirm) { Taro.reLaunch({