Files
jacobxu666 0cf11a4163 feat: 参加指南改整图展示,联系客服唤起拨号
1. 参加指南页由占位文字改为整图(hhrs_zhinan.jpg,图片待运营上传),加载失败时显示文字兜底,不再白屏

2. 我的-联系客服接入 uni.makePhoneCall,号码取 common/config.js.servicePhone(0731-88912301),与协议页公示一致

3. 站内图片域名统一为 aliyunoss.hn12301.net/hhrs(已逐个核实资源存在)
2026-09-14 23:39:00 +08:00

45 lines
1.1 KiB
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<view class="page">
<!-- xuchao: 参加指南改为整图展示,与使用指南一致;图片资源尚未上传 OSS,加载失败时给文字兜底避免白屏 -->
<image v-if="!imgFailed" class="join-img" :src="imgUrl" mode="widthFix" @error="imgFailed = true"></image>
<view class="empty-tip" v-else>
<text class="empty-text">参加指南内容整理中,请稍后再来查看</text>
</view>
</view>
</template>
<script>
export default {
data() {
return {
// 运营指定图片地址(OSS 上传后可与全站统一为 aliyunoss.hn12301.net/hhrs)
imgUrl: 'https://zhihuiyou.oss-cn-shenzhen.aliyuncs.com/hhrs/hhrs_zhinan.jpg',
imgFailed: false
}
},
onLoad() {},
methods: {}
}
</script>
<style scoped>
.page {
min-height: 100vh;
background-color: #f5f5f5;
}
/* xuchao: 整图展示,widthFix 随页面向下滚动 */
.join-img {
display: block;
width: 100%;
}
.empty-tip {
padding: 80px 24px 0;
text-align: center;
}
.empty-text {
font-size: 14px;
color: #999999;
line-height: 1.6;
}
</style>