From 2b3715f1610b4176d7abe33e34542389cef61853 Mon Sep 17 00:00:00 2001 From: zhuguifei <zhuguifei@zhuguifeideiMac.local> Date: 星期六, 12 四月 2025 17:12:22 +0800 Subject: [PATCH] Merge branch 'main' of http://lanpucloud.cn:1111/r/eims-master --- eims-ui-mobile/src/pages/home/index.vue | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/eims-ui-mobile/src/pages/home/index.vue b/eims-ui-mobile/src/pages/home/index.vue new file mode 100644 index 0000000..2c10cbb --- /dev/null +++ b/eims-ui-mobile/src/pages/home/index.vue @@ -0,0 +1,59 @@ +<!-- 浣跨敤 type="home" 灞炴�ц缃椤碉紝鍏朵粬椤甸潰涓嶉渶瑕佽缃紝榛樿涓簆age锛涙帹鑽愪娇鐢╦son5锛屾洿寮哄ぇ锛屼笖鍏佽娉ㄩ噴 --> +<route lang="json5" type="home"> +{ + layout: 'tabbar', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '棣栭〉', + }, +} +</route> +<template> + <view + class="bg-white overflow-hidden pt-2 px-4" + :style="{ marginTop: safeAreaInsets?.top + 'px' }" + > + <view class="mt-12"> + <image src="/static/logo.svg" alt="" class="w-28 h-28 block mx-auto" /> + </view> + <view class="text-center text-4xl main-title-color mt-4">unibest</view> + <view class="text-center text-2xl mt-2 mb-8">鏈�濂界敤鐨� uniapp 寮�鍙戞ā鏉�</view> + + <view class="text-justify max-w-100 m-auto text-4 indent mb-2">{{ description }}</view> + <view class="text-center mt-8"> + 褰撳墠骞冲彴鏄細 + <text class="text-green-500">{{ PLATFORM.platform }}</text> + </view> + <view class="text-center mt-4"> + 妯℃澘鍒嗘敮鏄細 + <text class="text-green-500">tabbar</text> + </view> + </view> +</template> + +<script lang="ts" setup> +import { TestEnum } from '@/typings' +import PLATFORM from '@/utils/platform' + +defineOptions({ + name: 'Home', +}) + +// 鑾峰彇灞忓箷杈圭晫鍒板畨鍏ㄥ尯鍩熻窛绂� +const { safeAreaInsets } = uni.getSystemInfoSync() +const author = ref('鑿查附') +const description = ref( + 'unibest 鏄竴涓泦鎴愪簡澶氱宸ュ叿鍜屾妧鏈殑 uniapp 寮�鍙戞ā鏉匡紝鐢� uniapp + Vue3 + Ts + Vite4 + UnoCss + UniUI + VSCode 鏋勫缓锛屾ā鏉垮叿鏈変唬鐮佹彁绀恒�佽嚜鍔ㄦ牸寮忓寲銆佺粺涓�閰嶇疆銆佷唬鐮佺墖娈电瓑鍔熻兘锛屽苟鍐呯疆浜嗚澶氬父鐢ㄧ殑鍩烘湰缁勪欢鍜屽熀鏈姛鑳斤紝璁╀綘缂栧啓 uniapp 鎷ユ湁 best 浣撻獙銆�', +) +// 娴嬭瘯 uni API 鑷姩寮曞叆 +onLoad(() => { + console.log(author) + console.log(TestEnum.A) +}) +</script> + +<style lang="scss" scoped> +.main-title-color { + color: $uni-color-primary; +} +</style> -- Gitblit v1.9.3