feat: 店铺头部支撑动态切换,只有默认模板才显示,装修时不显示

This commit is contained in:
mixtan 2025-07-24 22:07:09 +08:00
parent 86f3712098
commit 7d6ef1a603
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template name="commonTPL"> <template name="commonTPL">
<view class="page"> <view class="page">
<view> <view>
<view class="m-banner" v-if="loadStoreInfoComplete"> <view class="m-banner" v-if="loadStoreInfoComplete && commonTPL.TemplateKey != 'shopdiy'">
<image :src="store_info.BackGroundPath" v-if="false" /> <image :src="store_info.BackGroundPath" v-if="false" />
<view class="m-content-box"> </view> <view class="m-content-box"> </view>
<view class="m-logo"> <view class="m-logo">

View File

@ -313,7 +313,7 @@
'padding-right': item.eltm9.paddingRight + 'px', 'padding-right': item.eltm9.paddingRight + 'px',
}"> }">
<view class="u-search-cont"> <view class="u-search-cont">
<uni-icons type="search" size="22" color="#666666" /> <uni-icons type="search" size="18" color="#666666" />
<text>{{ item.eltm9.tipText }}</text> <text>{{ item.eltm9.tipText }}</text>
</view> </view>
</navigator> </navigator>

View File

@ -1,7 +1,7 @@
<template name="commonTPL"> <template name="commonTPL">
<view class="page inddex-store-container"> <view class="page inddex-store-container">
<view> <view>
<view class="m-banner" v-if="loadStoreInfoComplete"> <view class="m-banner" v-if="loadStoreInfoComplete && commonTPL.TemplateKey != 'shopdiy'">
<image :src="store_info.BackGroundPath" /> <image :src="store_info.BackGroundPath" />
<view class="m-content-box"> </view> <view class="m-content-box"> </view>
<view :class="['m-logo', {'is-rest': store_info.base.store_biz_state == 2}]"> <view :class="['m-logo', {'is-rest': store_info.base.store_biz_state == 2}]">