增加:汇付微信支付相关设置获取并且处理

This commit is contained in:
wuhui_zzw 2024-06-26 10:41:17 +08:00
parent d68baef0d0
commit e268d5be4d
4 changed files with 13 additions and 8 deletions

View File

@ -193,6 +193,9 @@
this.globalData.first_avatar_switch = res.data.first_avatar_switch
this.globalData.wechat_phone_switch = res.data.wechat_phone_switch
this.globalData.margin_ico = res.data.margin_ico
this.globalData.pay_routine_switch = res.data.pay_routine_switch || 0
this.globalData.hftx_switch = res.data.hftx_switch || 0
this.$store.commit("VIEW_COLOR", res.data.global_theme.theme)
this.$store.commit("KEY_COLOR",'_' + res.data.global_theme.type)
try {

View File

@ -61,7 +61,7 @@ export default {
icon: "icon-weixin2",
value: 'weixin',
title: '微信快捷支付',
payStatus: 1
payStatus: this.$store.getters.globalData.pay_routine_switch
},
// #ifdef H5 || APP-PLUS
alipay: {
@ -86,15 +86,15 @@ export default {
icon: "icon-yuezhifu",
value: 'balance',
title: '可用余额:',
payStatus: this.$store.getters.globalData.yue_pay_status && this.isBalance,
payStatus: this.$store.getters.globalData.yue_pay_status == 1 && this.$store.getters.globalData.balance_func_status == 1 && this.isBalance,
number: 0
},
hftx_weixin: {
name: "微信支付",
icon: "icon-yuezhifu",
name: this.$store.getters.globalData.hftx_wechat_name || "微信支付",
icon: "icon-weixin2",
value: 'hftx_weixin',
title: '第三方微信支付(汇付)',
payStatus: 1
payStatus: this.$store.getters.globalData.hftx_switch
},
}
@ -114,6 +114,8 @@ export default {
},
},
mounted() {
console.log(this.$store.getters.globalData)
this.getUserBalance();
},
methods: {

View File

@ -147,7 +147,7 @@ export default {
icon: 'icon-dingdanguanli',
});
menuList.push({
title: '我的商户',
title: '我的酒道馆',
type: 'link',
url: '/pages/agent/delivery/mer_list',
icon: 'icon-ziti',

View File

@ -3,7 +3,7 @@
<view class="main-content">
<!--顶部内容-->
<view class="search">
<input class="search-text" v-model="search_text" placeholder="商户名称/联系电话" placeholder-style="color: #ffffff!important;" />
<input class="search-text" v-model="search_text" placeholder="酒道馆名称/联系电话" placeholder-style="color: #ffffff!important;" />
</view>
<!--信息列表-->
<view class="list-content" v-if="Object.values(list).length > 0">