feat(客服功能): 优化客服联系按钮显示和交互逻辑

修改客服电话模板为更明显的按钮样式
在页面列表和跳转逻辑中增加客服联系判断条件
This commit is contained in:
2026-01-03 23:56:32 +08:00
parent 230491996a
commit 350bb5a86b
3 changed files with 11 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
<template name="pageList">
<view class="index-href-box">
<block wx:for="{{urlList}}" wx:key="index">
<button wx:if="{{item.phone}}" class="item" open-type="contact" show-message-card="true">
<button wx:if="{{item.phone || item.name=='联系客服'}}" class="item" open-type="contact" show-message-card="true">
<view class="item_b" style="background-image:url('{{item.img}}')">
<view class="name">{{item.name}}</view>
</view>