Compare commits

..
4 Commits
2 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
**发布流程**:本地 HBuilderX 构建 → 覆盖上传产物到 `/home/hh/html/` → 静态文件即时生效,**无需重启 Nginx**。改过 Nginx 配置才需要 `nginx -t && nginx -s reload`。
**关键注意**:
- 前端 API 基地址指向 `https://dscp-dev.hn12301.net`(= 120.26.254.65,数字化测试环境),**后端不在部署机上**。出现"页面能打开但数据不通"时优先排查 120.26.254.65 的接口
- 前端 API 基地址指向 `https://dscp-uat.hn12301.net`(UAT 测试环境),**后端不在部署机上**。出现"页面能打开但数据不通"时优先排查 dscp-uat.hn12301.net 的接口
- 页面图片走 OSS:`aliyunoss.hn12301.net/hhrs/`
- SSH 凭据及全部运维细节见 Obsidian 工作资料《121.43.239.220(H5站点服务器)运维手册_2026-08-04.md》
- 数据录入(商铺/资源/中奖等)操作指南见仓库根 docs 的 `hhrs-ops-guide.md`(运营向)
+24 -2
View File
@@ -20,10 +20,22 @@
</view>
</view>
<!-- 原价(内容取商铺门票信息字段) -->
<!-- 商户电话(取商铺客服电话字段,点击拨号) -->
<view class="discount-section" v-if="store.servicePhone">
<view class="section-title">
<u-icon name="phone-fill" color="#0088ff" size="34"></u-icon>
<text class="discount-title">商户电话</text>
</view>
<view class="discount-list">
<text class="discount-item phone-link" @click="callPhone">{{ store.servicePhone }}</text>
</view>
</view>
<!-- 商品信息(内容取商铺门票信息字段) -->
<view class="discount-section" v-if="ticketInfoList.length">
<view class="section-title">
<text class="discount-title">原价</text>
<image src="https://aliyunoss.hn12301.net/hhrs/hhrs_qysm.png" style="width: 30rpx;height: 30rpx;"></image>
<text class="discount-title">商品信息</text>
</view>
<view class="discount-list">
<text class="discount-item" v-for="(item, index) in ticketInfoList" :key="index">{{ item }}</text>
@@ -72,6 +84,11 @@ export default {
}
},
methods: {
// xuchao: 点击商户电话唤起拨号
callPhone() {
if (!this.store || !this.store.servicePhone) return
uni.makePhoneCall({ phoneNumber: String(this.store.servicePhone) })
},
loadDetail(shopId) {
const loc = uni.getStorageSync('lng') && uni.getStorageSync('lat')
? { lng: uni.getStorageSync('lng'), lat: uni.getStorageSync('lat') }
@@ -221,6 +238,11 @@ export default {
line-height: 1.6;
}
/* xuchao: 可点击拨号的电话样式 */
.phone-link {
color: #0088ff;
}
/* 返回按钮 */
.back-btn {
position: fixed;