Merge branch 'base' into i18n

This commit is contained in:
菲鸽 2024-05-02 16:55:03 +08:00
commit 037abd8f09
2 changed files with 13 additions and 5 deletions

View File

@ -11,7 +11,7 @@
class="bg-white overflow-hidden pt-2 px-4" class="bg-white overflow-hidden pt-2 px-4"
:style="{ marginTop: safeAreaInsets?.top + 'px' }" :style="{ marginTop: safeAreaInsets?.top + 'px' }"
> >
<view class="text-center text-3xl mt-4">关于页面</view> <view class="text-center text-3xl mt-4 test-css">关于页面</view>
<view class="text-center text-3xl mt-8"> <view class="text-center text-3xl mt-8">
鸽友们好我是 鸽友们好我是
<text class="text-red-500">菲鸽</text> <text class="text-red-500">菲鸽</text>
@ -35,7 +35,8 @@ const gotoPage = (page: string) => {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.desc { .test-css {
height: 80rpx; // mt-4=>1rem=>16px;
margin-top: 16px;
} }
</style> </style>

View File

@ -80,6 +80,13 @@ export default defineConfig({
/** /**
* *
* mp mt-4 => margin-top: 32rpx * mp mt-4 => margin-top: 32rpx == 16px
* h5 mt-4 => margin-top: 1rem * h5 mt-4 => margin-top: 1rem == 16px
*
* UnoCSS 稿4
* 375 * 4 = 1500稿1500稿pxunocss就写多少述职
* 稿100pxw-100
*
* 稿 750稿1px1rpx
* rpx是响应式的
*/ */