sync:订单结果页添加支付询问对话框,版本获取方法修改,更新README https://gitee.com/sheepjs/shopro-uniapp/commit/024f311235266334063d25b7fec604b22e613ea9

This commit is contained in:
YunaiV
2025-04-28 00:01:33 +08:00
parent 9e96df4651
commit e9ebe236e6
8 changed files with 123 additions and 96 deletions
+8 -3
View File
@@ -8,7 +8,11 @@
:navbarStyle="template.navigationBar"
onShareAppMessage
>
<s-block v-for="(item, index) in template.components" :key="index" :styles="item.property.style">
<s-block
v-for="(item, index) in template.components"
:key="index"
:styles="item.property.style"
>
<s-block-item :type="item.id" :data="item.property" :styles="item.property.style" />
</s-block>
</s-layout>
@@ -20,10 +24,11 @@
import sheep from '@/sheep';
// 隐藏原生tabBar
uni.hideTabBar();
uni.hideTabBar({
fail: () => {},
});
const template = computed(() => sheep.$store('app').template.user);
const isLogin = computed(() => sheep.$store('user').isLogin);
onShow(() => {
sheep.$store('user').updateUserData();