Merge branch 'feat-scene' into test

This commit is contained in:
2026-08-20 18:09:06 +08:00
+13
View File
@@ -88,6 +88,10 @@ const handleLoginSuccess = async () => {
await bindOrg();
};
const goHome = () => {
uni.reLaunch({ url: "/pages/index" });
};
onLoad((options) => {
try {
const value = decodeURIComponent(String(options?.scene || ""));
@@ -160,6 +164,11 @@ onLoad((options) => {
温馨提示离开门店时候记得在Pad退出登录哦
</text>
</view>
<view class="success-action">
<SButton width="600rpx" :rounded="22" :onClick="goHome">
<text>回到首页</text>
</SButton>
</view>
</view>
<view v-else-if="status === 'failed'" class="state message-state">
@@ -275,6 +284,10 @@ onLoad((options) => {
line-height: 40rpx;
}
.success-action {
margin-top: 64rpx;
}
.state-title {
font-size: 38rpx;
font-weight: 600;