|
|
@@ -51,24 +51,6 @@ onLoad(() => {
|
|
|
phonenumber.value = storedPhone;
|
|
|
isAgreement.value = true;
|
|
|
}
|
|
|
-
|
|
|
- if (wx.getStorageSync('userMsg').token) {
|
|
|
- $Http.basic({
|
|
|
- "classname": "common.adspace.adspace",
|
|
|
- "method": "query_adspacelist", //查询轮播图
|
|
|
- content: {
|
|
|
- nocache: true
|
|
|
- }
|
|
|
- }).then(res => {
|
|
|
- if (res.code !== 0) {
|
|
|
- uni.removeStorageSync('banner')
|
|
|
- uni.setStorageSync('banner', res.data);
|
|
|
- uni.redirectTo({
|
|
|
- url: '/pages/index/index',
|
|
|
- });
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
});
|
|
|
|
|
|
// 登陆按钮相关
|