多商户店铺详情顶部返回按钮处理

master
gongfuxiang 2025-08-11 23:46:41 +08:00
parent 0ef6eb76b6
commit 4669c71eee
2 changed files with 15 additions and 6 deletions

13
App.vue
View File

@ -7,10 +7,10 @@
data: {
//
//
request_url:'http://shopxo.com/',
request_url:'https://new.shopxo.vip/',
// publicpublichttps://d1.shopxo.vip/public/
static_url:'http://shopxo.com/',
static_url:'https://new.shopxo.vip/',
// default
system_type: 'default',
@ -121,13 +121,16 @@
// 0, 1logo
is_home_location_choice: 0,
// 0, 1
// - 0, 1
is_shop_top_nav_back: 1,
// - 0, 1
is_realstore_top_nav_back: 1,
// 0, 1
// - 0, 1
is_realstore_top_search_scan: 1,
// 0, 1
// - 0, 1
is_realstore_forbid_to_goods_detail: 0,
// 使 currency_symbol 0, 1

View File

@ -2,7 +2,7 @@
<view :class="theme_view">
<!-- 搜索 -->
<view class="flex-row jc-sb align-c padding-main bg-white oh bs-bb z-i search-content" :style="'padding-top:' + (status_bar_height > 0 ? status_bar_height + 5 : 0)+'px;'">
<view @tap="top_nav_left_back_event" class="dis-inline-block padding-right-sm">
<view v-if="top_nav_left_back_status == 1" @tap="top_nav_left_back_event" class="dis-inline-block padding-right-sm">
<iconfont name="icon-arrow-left" size="40rpx" propClass="pr top-xs z-i"></iconfont>
</view>
<view class="flex-1 wh-auto">
@ -219,6 +219,12 @@
"status": 0,
"count": 0
},
//
top_nav_left_back_status: app.globalData.data.is_shop_top_nav_back || 0,
// #ifdef MP-TOUTIAO
top_nav_left_back_status : 0,
// #endif
//
status_bar_height: 0,
// #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || MP-ALIPAY || APP
status_bar_height: parseInt(app.globalData.get_system_info('statusBarHeight', 0, true)),