Commit e4fee4c9 by 前端

fixed

1 parent 48e877e5
/* login/index/components/LoginBox.wxss */
.wx {
height: 922rpx;
height: 62vh;
.title {
font-weight: 600;
font-size: 60rpx;
color: #333333;
padding: 216rpx 0 24rpx;
padding: 15vh 0 24rpx;
}
.subtitle {
......@@ -30,7 +30,6 @@
.box {
z-index: 100;
// height: 800rpx;
height: 750rpx;
.input-box {
width: 540rpx;
......
......@@ -30,11 +30,11 @@ Component({
// 点击菜单按钮切换到对应的tab
getCurrentMenu(e) {
let { tab } = this.data
const TEMP = tab[e.detail]
const index = tab.findIndex(item=>item.serviceType == e.detail)
this.setData({
tabIndex: e.detail,
to: `to-${e.detail}`,
currentServiceType: TEMP.serviceType || 0,
tabIndex: index,
to: `to-${index}`,
currentServiceType: e.detail || 0,
})
},
// 展示菜单列表
......
......@@ -31,6 +31,7 @@ let index = 2
// console.log(accountInfo.miniProgram.envVersion);
// 对比一下appkey
// console.log();
if (systemInfo.platform == 'devtools') {
// 判断预发布的appid 是强制锁定为4(预发布的地址)
if (accountInfo.miniProgram.appId == preReleaseAppId) {
index = 4
......@@ -49,6 +50,7 @@ let index = 2
break
}
}
}
const secretKey = {
ip: {},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!