Merge branch 'Branch_1' of https://git.u8t.cn/tangxinyue/alipay-emulator into Branch_1

This commit is contained in:
tangxinyue 2026-06-05 14:39:33 +08:00
commit bbfe66093e
1 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<view>
<NavBar :title="data.navBar.title" :bgColor="data.navBar.bgColor" />
<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` }">
<view class="content flex flex-align-center">
<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) {
proxy.$apiUserEvent('all', {
type: 'event',
key: 'bank',
prefix: '.uni.other.',
value:name+'银行'
})
util.goPage(url)
} else {
uni.showToast({