feat: 优化 index,可以直接点击跳转 a 标签

This commit is contained in:
菲鸽 2024-01-29 10:23:07 +08:00
parent 0cd158b3fc
commit 5cf8302436
2 changed files with 13 additions and 1 deletions

View File

@ -22,7 +22,7 @@
</div> </div>
<div align="center"><b>unibest 是由 uniapp + Vue3 + Ts + Vite4 + UnoCss + UniUI 驱动的跨端快速启动模板,使用 VS Code 开发,具有代码提示、自动格式化、统一配置、代码片段等功能,同时内置了大量平时开发常用的基本组件,开箱即用,让你编写 uniapp 拥有 best 体验。</b></div> <div align="center"><b>unibest 是由 uniapp + Vue3 + Ts + Vite4 + UnoCss + UniUI + VSCode 驱动的跨端快速启动模板,具有代码提示、自动格式化、统一配置、代码片段等功能,内置了许多常用的基本组件和基本功能,开箱即用,让你编写 uniapp 拥有 best 体验。</b></div>
![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png) ![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

View File

@ -23,13 +23,25 @@
uniapp 拥有 best 体验</view uniapp 拥有 best 体验</view
> >
<view class="text-blue mt-8 text-center"> 详细示例 参考 hello-unibest 项目 </view> <view class="text-blue mt-8 text-center"> 详细示例 参考 hello-unibest 项目 </view>
<!-- #ifdef H5 -->
<view class="my-2 text-center">
<a class="my-2 text-center" href="https://github.com/codercup/hello-unibest" target="_blank">
https://github.com/codercup/hello-unibest
</a>
</view>
<!-- #endif -->
<!-- #ifndef H5 -->
<view class="my-2 text-center">https://github.com/codercup/hello-unibest</view> <view class="my-2 text-center">https://github.com/codercup/hello-unibest</view>
<!-- #endif -->
</view> </view>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
// //
const { safeAreaInsets } = uni.getSystemInfoSync() const { safeAreaInsets } = uni.getSystemInfoSync()
const author = ref('菲鸽')
console.log(author)
</script> </script>
<style> <style>