Commit 722d2573 authored by Zhang Xiaojie's avatar Zhang Xiaojie

Merge branch 'dev' of gitlab.33.cn:chenqikuai/fns_front_2 into dev

parents 50cc4cb2 689cb4ae
......@@ -521,5 +521,15 @@ jsBridge.prototype.bridge_getGps = function (params, success) {
}
}
/* 去直播 */
jsBridge.prototype.bridge_live = function (params, success) {
if (this.curApp == ANDROID) {
dsBridge.call('bridge_live', params, success)
}
else if (this.curApp == IOS) {
this.callHandler('bridge_live', params, success)
}
}
export default jsBridge;
......@@ -4,20 +4,9 @@
v-for="app in appList"
:key="app.name"
class="w-1/4 mb-5 text-center"
@click="$router.push({ name: app.routerName })"
@click="app.cb && app.cb() || $router.push({ name: app.routerName })"
>
<div
class="
w-16
h-16
bg-white
app-container
mx-auto
flex
items-center
justify-center
"
>
<div class="w-16 h-16 bg-white app-container mx-auto flex items-center justify-center">
<Icon :name="app.icon" :color="app.color" size="25" />
</div>
<div class="mt-2.5 app-name">{{ app.name }}</div>
......
import Bridge from "@/utils/jsBridge2"
export default [
{
name: '贷款服务',
......@@ -38,6 +40,9 @@ export default [
name: '精彩直播',
icon: 'icon-jingcaizhibo',
color: '#0FCBA5',
cb(){
new Bridge().bridge_live()
},
},
{
name: '消息中心',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment