Files
wxapp_escort/pages/mine/contact.wxml
T
2026-10-06 21:19:20 +08:00

41 lines
1.7 KiB
Plaintext

<!--pages/mine/contact.wxml-->
<view class="page-bg">
<view class="container">
<!-- 头部:小色带 + 白底(内页规范,不做整块主色面板) -->
<view class="page-header">
<view class="header-accent"></view>
<text class="header-title">联系我们</text>
<text class="header-subtitle">人工客服在线,有问题随时找我们</text>
</view>
<!-- 联系方式:action 决定点击行为(call 拨号 / copy 复制) -->
<view class="card">
<view class="contact-item" wx:for="{{ contactItems }}" wx:key="label"
data-action="{{ item.action }}" data-value="{{ item.value }}" bindtap="onItemTap">
<view class="contact-icon">
<t-icon name="{{ item.icon }}" size="32rpx" color="#9A3412" />
</view>
<view class="contact-info">
<text class="contact-label">{{ item.label }}</text>
<text class="contact-value">{{ item.value }}</text>
</view>
<text class="contact-action" wx:if="{{ item.action === 'call' }}">拨打</text>
<text class="contact-action" wx:elif="{{ item.action === 'copy' }}">复制</text>
</view>
</view>
<!-- 提示条:承接下方二维码,把海报里的「扫二维码」拉正为小程序内可行的「长按」 -->
<view class="tips-card">
<text class="tips-text">也可以长按下方二维码,加陪诊师微信</text>
</view>
<!-- 客服微信二维码:整图展示,长按唤起微信「识别图中二维码」菜单加微信 -->
<view class="card qr-card">
<image class="qr-image" src="/images/wechat_code.jpg" mode="widthFix" show-menu-by-longpress="{{ true }}" />
</view>
<view class="footer-space"></view>
</view>
</view>