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