This commit is contained in:
aihe 2024-07-19 01:07:19 +08:00
parent 01cad72ebe
commit ccf04c7a0c

View File

@ -44,12 +44,17 @@
</u-row>
</view>
</view>
<view class="pfoot" >
<u-row justify="between">
<!-- #ifdef MP-WEIXIN -->
<view class="pfoot">
<u-row v-if="showFollow" justify="between">
<u-text size="24" color="#fff" text="关注探路者官方公众号,实时接收物流信息"></u-text>
<u-button type="primary" custom-style="width: 120rpx;border-radius: 30rpx;margin: 0;font-size: 26rpx;" size="mini">去登录</u-button>
<u-button type="primary" custom-style="width: 120rpx;border-radius: 30rpx;margin: 0;font-size: 26rpx;" size="mini">去关注</u-button>
</u-row>
<official-account style="" class="pos-abt-all" @load="officialOnload" @error="officialOnError"></official-account>
</view>
<!-- #endif -->
</view>
</view>
</tpx-page>
@ -82,7 +87,8 @@
// { title: 'RECP', subTitle: "优惠税率安排查询", icon: getCdnUrl(`sdg/t-RE.png`), url: '' },
{ title: '扫码寄件', subTitle: "扫描条码发货", icon: getCdnUrl(`sdg/t-saoma.png`), url: 'action:smjj' },
{ title: '快递查询', subTitle: "快递单跟踪查询", icon: getCdnUrl(`sdg/t-yundan.png`), url: 'post/query' },
]
],
showFollow: true // TODO!
}
},
onShareAppMessage() {
@ -100,6 +106,12 @@
} else {
goto(item.url)
}
},
officialOnload(e) {
console.log('公众号组件加载成功===', e.detail.status)
},
officialOnError(e) {
console.log('公众号组件加载失败===', e.detail.status)
}
}
}