Commit e4fee4c9 by 前端

fixed

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