Merge branch 'main' into i18n

This commit is contained in:
feige996 2025-06-21 15:46:05 +08:00
commit 00443050be
2 changed files with 7 additions and 19 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "unibest", "name": "unibest",
"type": "commonjs", "type": "commonjs",
"version": "2.14.0", "version": "2.15.0",
"description": "unibest - 最好的 uniapp 开发模板", "description": "unibest - 最好的 uniapp 开发模板",
"update-time": "2025-06-17", "update-time": "2025-06-17",
"author": { "author": {

View File

@ -8,20 +8,13 @@
</route> </route>
<template> <template>
<view class="py-3"> <view>
<view <view class="text-center text-3xl mt-8">
class="bg-white overflow-hidden pt-2 px-4" 鸽友们好我是
:style="{ marginTop: safeAreaInsets?.top + 'px' }" <text class="text-red-500">菲鸽</text>
>
<view class="text-center text-3xl mt-8">
鸽友们好我是
<text class="text-red-500">菲鸽</text>
</view>
<!-- <button @click="toSubPage()">去分包</button> -->
<view class="test-css">测试 scss 样式</view>
<RequestComp />
<UploadComp />
</view> </view>
<RequestComp />
<UploadComp />
<view class="text-center"> <view class="text-center">
<wd-button @click="gotoI18nPage()">去I18n页面</wd-button> <wd-button @click="gotoI18nPage()">去I18n页面</wd-button>
</view> </view>
@ -34,11 +27,6 @@ import UploadComp from './components/upload.vue'
// //
const { safeAreaInsets } = uni.getSystemInfoSync() const { safeAreaInsets } = uni.getSystemInfoSync()
const toSubPage = () => {
uni.navigateTo({
url: '/pages-sub/demo/index',
})
}
const gotoI18nPage = () => { const gotoI18nPage = () => {
uni.navigateTo({ uni.navigateTo({