经营品牌: 强力巨彩 海佳彩亮 飞利浦 利亚德 创维 京东方 海康威视 仰邦 诺瓦 卡莱特 小鸟羽控
027-89992224
LED显示屏专业解决方案服务商
Professional solution service provider
首页 › 自言自语 › shopxo修改

shopxo修改

附件需要登录后才能下载

请先登录或注册后刷新本页。

×

问答和博文插件头部
改三个文件:
app\plugins\view\blog\index\index\index.html
app\plugins\view\blog\index\index\detail.html
app\plugins\view\blog\index\index\search.html

{{:ModuleInclude('public/header')}}

<!-- header top nav -->
{{:ModuleInclude('public/header_top_nav')}}

头部替换为

{{include file="public/header" /}}

<!-- header top nav -->
{{include file="public/header_top_nav" /}}

<!-- search -->
{{include file="public/nav_search" /}}

<!-- header nav -->
{{include file="public/header_nav" /}}

<!-- goods category -->
{{include file="public/goods_category" /}}

附件:LED改博客问答头部统一的方法.docx (54.1 KB)

评论 (7 条)

王铭 2024-5-7

问答、博文搜索框样式改变

文件位置/app/plugins/view/ask/index/public/head.html

删除LOGO部份代码

        <a href="{{:PluginsHomeUrl('ask', 'index', 'index')}}" class="logo">
            <img src="{{if empty($header_data['header_logo'])}}{{:AttachmentPathViewHandle(MyC('home_site_logo'))}}{{else /}}{{$header_data.header_logo}}{{/if}}" alt="{{:MyC('home_seo_site_title')}}" />
        </a>

搜索框代码

<button class="btn btn-default am-border-0" type="submit">搜索问题</button>

王铭 2024-5-8

列表显示品牌、型号、参数
pages/goods-category/goods-category.vue

实现分类页,第一行展示品牌+型号

搜索页横排,给你说方法就行:pages/goods-search/goods-search.vue文件中,搜索236行data_show_type_value,改为0

uniapp有改动就必然要重新打包发布

附件:goods-category.vue (77.9 KB)

王铭 2024-5-8

搜索列表页显示样式
components\goods-list\goods-list.vue

<view class="multi-text">品牌:<text style="font-weight: bold;">{{ item.brand_name }}</text>型号:<text style="margin-left:25rpx;">{{ item.model }}</text></view>

附件:goods-list.vue (25.3 KB)

王铭 2024-5-17

列表显示修改,components\goods-list\goods-list.vue,20行左右

<view class="multi-text"><text style="font-weight: bold;">【{{ item.brand_name }}】</text>  <text style="margin-left:25rpx;">{{ item.model }}</text></view>

修改后需要重新发布。

王铭 2024-5-17

还有那个搜索页,你要的横排,给你说方法就行:pages/goods-search/goods-search.vue文件中,搜索236行data_show_type_value,改为0

pages/goods-category/goods-category.vue

王铭 2024-5-17

小程序列表显示多规格的价格

components\goods-list\goods-list.vue

找到约254行

// 展示价格字段
propPriceField:{
type: string,

给default改为 price

            // 展示价格字段
            propPriceField: {
                type: String,
                default: 'price',
            },

王铭 2024-5-17

1、默认使用的文件缓存、使用Redis缓存PHP需要先安装Redis扩展
2、请确保Redis服务稳定性(Session使用缓存后、服务不稳定可能导致后台也无法登录)
3、如遇到Redis服务异常无法登录管理后台、修改配置文件[ config ]目录下[ session.php,cache.php ]文件

PHP版本设置里面,Session配置选择Redis
附件为备用文件

附件:cache.php (2.2 KB)

网站首页
网站首页
案例展示
案例展示
在线客服
在线客服
一键拨号
一键拨号
返回顶部