更新最新版
parent
2e43ad19c1
commit
b689a06e5d
3
app.json
3
app.json
|
@ -4,6 +4,7 @@
|
|||
"pages/login/login",
|
||||
"pages/login/bind/bind",
|
||||
"pages/login/verification/verification",
|
||||
"pages/home/home"
|
||||
"pages/home/home",
|
||||
"pages/newpage/newpage"
|
||||
]
|
||||
}
|
|
@ -29,7 +29,8 @@ Page({
|
|||
dd.$toolAll.removeCache('isInFirst');
|
||||
// 钉钉跳转
|
||||
dd.redirectTo({url: '/pages/login/login'});
|
||||
}else if(e.detail.name == 'downImg'){
|
||||
}
|
||||
if(e.detail.name == 'downImg'){
|
||||
dd.downloadFile({
|
||||
url: e.detail.url,
|
||||
success({ filePath }) {
|
||||
|
@ -44,5 +45,12 @@ Page({
|
|||
},
|
||||
});
|
||||
}
|
||||
if(e.detail.name == 'newsPage'){
|
||||
let url = e.detail.url;
|
||||
console.log(url,'h5传过来的跳转链接')
|
||||
dd.navigateTo({
|
||||
url: '/pages/newpage/newpage?url='+url
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -167,6 +167,13 @@ Page({
|
|||
})
|
||||
},
|
||||
|
||||
// 手机登录
|
||||
modePhone(){
|
||||
// 跳转页面
|
||||
dd.redirectTo ({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
},
|
||||
// 跳过绑定
|
||||
passBind(){
|
||||
// 跳转页面
|
||||
|
@ -174,4 +181,5 @@ Page({
|
|||
url: '/pages/home/home'
|
||||
})
|
||||
},
|
||||
|
||||
});
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<image mode="widthFix" src="/static/login/logo.png" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="company">有谱志愿</view>
|
||||
<view class="company">有谱志愿</view>
|
||||
<view class="phone-number" a:if="{{!isMode}}">
|
||||
<view>手机号</view>
|
||||
<input type="input" onInput="bindKeyInput" onBlur="myBlur" onFocus="myFocus" placeholder="请输入手机号"/>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<view>
|
||||
<web-view src="{{url}}" onMessage="onmessage"></web-view>
|
||||
</view>
|
|
@ -0,0 +1,9 @@
|
|||
Page({
|
||||
data: {},
|
||||
onLoad(query) {
|
||||
console.log(query.url,'接收到的跳转链接')
|
||||
this.setData({
|
||||
url: query.url
|
||||
})
|
||||
},
|
||||
});
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"usingComponents": {}
|
||||
}
|
Loading…
Reference in New Issue