From b920f9813d247e5c18677395c58281b00bef89cc Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 08 一月 2025 09:07:11 +0800 Subject: [PATCH] 1.订单支付倒计时配置 2.服务热线配置 --- sub_pages/customer/setup/account-self.vue | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/sub_pages/customer/setup/account-self.vue b/sub_pages/customer/setup/account-self.vue index 74da144..5bfc6e1 100644 --- a/sub_pages/customer/setup/account-self.vue +++ b/sub_pages/customer/setup/account-self.vue @@ -10,13 +10,13 @@ </view> </view> - <view class="user-util m-t-12 flex" v-if="currentInfo&¤tInfo.id" + <!-- <view class="user-util m-t-12 flex" v-if="currentInfo&¤tInfo.id" @click="goto('/pages/user/user-bind-wx/user-bind-wx',true)"> <view class="title">绑定当前微信</view> <view class="right-icon"> <uni-icons type="right"></uni-icons> </view> - </view> + </view> --> </view> @@ -94,7 +94,7 @@ onShow() { this.cacheUserId = '' this.getTj() - + this.getOrderConfig() }, onLoad(options) { @@ -117,6 +117,26 @@ uni.stopPullDownRefresh() }, methods: { + + async getOrderConfig() { + this.$message.showLoading() + const { + code, + data + } = await this.$http.request('get', `/v2/config-param/base/getBaseString`, { + params: { + paramGroup: "order", + paramKey: "order_cancel_time" + + } + }) + this.$message.hideLoading() + + if (code === 0) { + console.log(data) + this.orderCancelTime =data + } + }, async bindPartnerUser(userId, name) { // await this.$message.confirm(`确定要绑定${name}合伙人吗?`) //调用接口绑定 -- Gitblit v1.9.3