feat-新增支付宝小程序支持、测试

This commit is contained in:
Huang 2022-12-28 15:56:45 +08:00
parent 8ade0dbe5a
commit 774b8800d8
4 changed files with 2 additions and 6 deletions

View File

@ -7,7 +7,7 @@
### 说明 ### 说明
- 框架完全基于Vue3 SFC `<script setup>` 写法,不支持Vue2; - 框架完全基于Vue3 SFC `<script setup>` 写法,不支持Vue2;
- 可用于学习与交流; - 可用于学习与交流;
- 目前测试H5、微信小程序通过,APP(Android); - 目前测试H5、微信小程序通过,APP(Android),支付宝小程序;
- 其他平台暂未测试,后续会增加; - 其他平台暂未测试,后续会增加;
- 如发现问题或建议可在评论区留言, 或提[Issues](https://gitee.com/h_mo/uniapp-vue3-vite3-ts-template/issues),会及时处理; - 如发现问题或建议可在评论区留言, 或提[Issues](https://gitee.com/h_mo/uniapp-vue3-vite3-ts-template/issues),会及时处理;
- 如有需求亦可在评论区留言,或在此项目基础上增加; - 如有需求亦可在评论区留言,或在此项目基础上增加;

View File

@ -88,7 +88,7 @@
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app", "navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#262833",
"backgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8",
"navigationStyle": "default", "navigationStyle": "default",
"renderingMode": "seperated", "renderingMode": "seperated",

View File

@ -6,7 +6,6 @@
import { CURRENT_PLATFORM, PLATFORMS } from '@/enums/platformEnum'; import { CURRENT_PLATFORM, PLATFORMS } from '@/enums/platformEnum';
import { judgePlatform } from '@/utils/platform'; import { judgePlatform } from '@/utils/platform';
import Iconify from '@/components/Iconify/index.vue'; import Iconify from '@/components/Iconify/index.vue';
import Navbar from '@/components/Navbar/index.vue';
const title = ref('uni-app vue3 ts --Vite'); const title = ref('uni-app vue3 ts --Vite');
@ -22,7 +21,6 @@
</script> </script>
<template> <template>
<AppProvider> <AppProvider>
<Navbar />
<view class="content"> <view class="content">
<image class="logo" src="/static/svg/LOGO.svg" /> <image class="logo" src="/static/svg/LOGO.svg" />
<view class="text-area"> <view class="text-area">

View File

@ -1,7 +1,6 @@
<script lang="ts" setup> <script lang="ts" setup>
import BasicButton from '@/components/BasicButton/index.vue'; import BasicButton from '@/components/BasicButton/index.vue';
import { useRouter } from '@/hooks/router'; import { useRouter } from '@/hooks/router';
import Navbar from '@/components/Navbar/index.vue';
const router = useRouter(); const router = useRouter();
const jumpDetail = () => { const jumpDetail = () => {
@ -10,7 +9,6 @@
</script> </script>
<template> <template>
<view> <view>
<Navbar />
<view> Test2 </view> <view> Test2 </view>
<BasicButton @click="jumpDetail">Detail </BasicButton> <BasicButton @click="jumpDetail">Detail </BasicButton>
</view> </view>