From c24e49083d4419300bcee0f0ca926c084037d665 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 08 一月 2025 09:04:48 +0800
Subject: [PATCH] 1.订单支付倒计时配置 2.服务热线配置
---
sub_pages/customer/shopping/shopping.vue | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/sub_pages/customer/shopping/shopping.vue b/sub_pages/customer/shopping/shopping.vue
index 88fa17c..4bb2f3d 100644
--- a/sub_pages/customer/shopping/shopping.vue
+++ b/sub_pages/customer/shopping/shopping.vue
@@ -103,11 +103,12 @@
list: []
}
},
- onShow() {
+ async onShow() {
// if (this.sign['shopping']) {
// }
this.init()
+ await this.getHotLineConfig()
},
mounted() {
// this.init()
@@ -135,6 +136,24 @@
},
methods: {
+ async getHotLineConfig() {
+ this.$message.showLoading()
+ const {
+ code,
+ data
+ } = await this.$http.request('get', `/v2/config-param/base/getBaseString`, {
+ params: {
+ paramGroup: "servicehotline",
+ paramKey: "hotline_tel"
+
+ }
+ })
+ this.$message.hideLoading()
+
+ if (code === 0) {
+ this.tel =data
+ }
+ },
async callTel() {
await this.$message.confirm('是否拨打客服电话')
uni.makePhoneCall({
--
Gitblit v1.9.3