Merge branch 'Branch_1' of https://git.u8t.cn/tangxinyue/alipay-emulator into Branch_1
This commit is contained in:
commit
bbfe66093e
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<NavBar :title="data.navBar.title" :bgColor="data.navBar.bgColor" />
|
<NavBar :title="data.navBar.title" :bgColor="data.navBar.bgColor" />
|
||||||
<view class="list-container">
|
<view class="list-container">
|
||||||
<view class="item" v-for="item in source" :key="item.id" @click="goPage(item.callUrl)"
|
<view class="item" v-for="item in source" :key="item.id" @click="goPage(item.callUrl,item.name)"
|
||||||
:style="{ background: ` #FFFFFF` }">
|
:style="{ background: ` #FFFFFF` }">
|
||||||
<view class="content flex flex-align-center">
|
<view class="content flex flex-align-center">
|
||||||
<image class="logo" :src="`/static/image/other/bank/${item.icon}.png`" mode=""></image>
|
<image class="logo" :src="`/static/image/other/bank/${item.icon}.png`" mode=""></image>
|
||||||
|
|
@ -98,8 +98,14 @@
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
function goPage(url) {
|
function goPage(url,name) {
|
||||||
if (url) {
|
if (url) {
|
||||||
|
proxy.$apiUserEvent('all', {
|
||||||
|
type: 'event',
|
||||||
|
key: 'bank',
|
||||||
|
prefix: '.uni.other.',
|
||||||
|
value:name+'银行'
|
||||||
|
})
|
||||||
util.goPage(url)
|
util.goPage(url)
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue