restore: 恢复橙色逍遥梦UI版本(2ea2860)到主分支
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
14
pages/guanshiduan/guanshiduan.js
Normal file
14
pages/guanshiduan/guanshiduan.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/** 旧二维码兼容:guanshiduan → 打手中心管事注册,逻辑不变 */
|
||||
import { parseSceneOptions } from '../../utils/base-page.js';
|
||||
|
||||
Page({
|
||||
onLoad(options) {
|
||||
const parsed = parseSceneOptions(options || {});
|
||||
const inviteCode = parsed.inviteCode || options.inviteCode || '';
|
||||
let url = '/pages/fighter/fighter?registerType=guanshi';
|
||||
if (inviteCode) {
|
||||
url += `&inviteCode=${encodeURIComponent(inviteCode)}`;
|
||||
}
|
||||
wx.reLaunch({ url });
|
||||
},
|
||||
});
|
||||
1
pages/guanshiduan/guanshiduan.json
Normal file
1
pages/guanshiduan/guanshiduan.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "navigationBarTitleText": "加载中", "usingComponents": {} }
|
||||
1
pages/guanshiduan/guanshiduan.wxml
Normal file
1
pages/guanshiduan/guanshiduan.wxml
Normal file
@@ -0,0 +1 @@
|
||||
<view class="tip">正在进入管事注册…</view>
|
||||
1
pages/guanshiduan/guanshiduan.wxss
Normal file
1
pages/guanshiduan/guanshiduan.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.tip { display:flex; align-items:center; justify-content:center; min-height:100vh; color:#999; font-size:28rpx; }
|
||||
Reference in New Issue
Block a user