新增虚拟商品充值账户验证

This commit is contained in:
gyq
2025-05-07 17:47:44 +08:00
parent 6ac44f6a63
commit 078c7c8e55
3 changed files with 163 additions and 6 deletions

View File

@@ -10,8 +10,8 @@
<block v-if="is_single_page == 0">
<view class="nav-search padding-horizontal-main pr" :style="'padding-top:' + (status_bar_height + 5) + 'px;'">
<view class="logo" style="height: 30px; display: flex; align-items: center; position: relative; z-index: 9; margin-right: 10px">
<image src="/static/images/common/user.png" mode="aspectFit" style="width: 30px; height: 30px"></image>
<text style="margin-left: 4px">银收客</text>
<image :src="application_logo || '/static/images/common/user.png'" mode="aspectFit" style="width: 30px; height: 30px; border-radius: 4px"></image>
<text style="margin-left: 4px">{{ application_title }}</text>
</view>
<view style="flex: 1">
<view class="goods-top-search-bg pa top-0 left-0 right-0 bottom-0 wh-auto oh">
@@ -398,6 +398,8 @@
export default {
data() {
return {
application_title: app.globalData.get_application_title(),
application_logo: app.globalData.get_application_logo_square(),
theme_view: app.globalData.get_theme_value_view(),
theme_static_url: theme_static_url,
common_static_url: common_static_url,
@@ -548,6 +550,7 @@
wx.ready(() => {
console.log('微信 JS-SDK 初始化成功');
let web_openid = localStorage.getItem('web_openid');
console.log('web_openid===', web_openid);
if (!web_openid) {
const code = this.getCodeFromUrl();
console.log('code===', code);