This commit is contained in:
ctw committed 2025-12-10 09:48:21 +08:00
1 parent 24202cd2f1
commit 384b190d8f
3 files changed
+22 -21

No files matched your search

+1 -1
View File
@@ -581,8 +581,8 @@
uni-page-head {
display: none; // h5浏览器本身就有标题
}
// #endif
.tab-page {
position: relative;
display: flex;
+5 -5
View File
@@ -1,6 +1,6 @@
<template>
<view class="relative h-screen w-screen overflow-hidden">
<image class="absolute inset-0 h-full w-full" src="/static/login-bg.png" mode="aspectFill" />
<!-- <image class="absolute inset-0 h-full w-full" src="@/static/login-bg.png" mode="aspectFill" /> -->
<view class="relative z-10 flex flex-col items-center px-40rpx">
<view class="mt-300rpx mb-200rpx text-center">
<view class="mb-30rpx text-40px font-bold text-color-theme-dark">荷塘月色</view>
@@ -59,11 +59,11 @@
</text>
》并同意授权
</view>
</view>
<wd-config-provider theme="dark">
<wd-message-box></wd-message-box>
</wd-config-provider>
<wd-config-provider theme="dark">
<wd-message-box></wd-message-box>
</wd-config-provider>
</view>
</template>
<script setup>
+16 -15
View File
@@ -1,9 +1,10 @@
import { defineConfig } from 'unocss';
import { presetWeapp } from 'unocss-preset-weapp';
import { extractorAttributify, transformerClass } from 'unocss-preset-weapp/transformer';
const { presetWeappAttributify, transformerAttributify } = extractorAttributify();
export default {
export default defineConfig({
content: {
filesystem: ['src/**/*.{vue,js,ts,jsx,tsx}'],
},
@@ -21,19 +22,19 @@ export default {
'flex-row': 'flex flex-row',
},
],
// theme: {
// colors: {
// blue: {
// DEFAULT: '#0094ff',
// },
// red: {
// DEFAULT: '#f63a36',
// },
// yellow: {
// DEFAULT: '#F2A817',
// },
// },
// },
theme: {
colors: {
blue: {
DEFAULT: '#0094ff',
},
red: {
DEFAULT: '#f63a36',
},
yellow: {
DEFAULT: '#F2A817',
},
},
},
rules: [
[
'bg-color-theme',
@@ -108,4 +109,4 @@ export default {
],
transformers: [transformerAttributify(), transformerClass()],
};
});