From f65a9bdd58e7441bcfdf6758463fbc14bed0790e Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Tue, 4 Mar 2025 11:25:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/coupon/index/index.vue | 3 --- pages/plugins/coupon/shop/shop.vue | 15 --------------- pages/plugins/coupon/user/user.vue | 16 ---------------- 3 files changed, 34 deletions(-) diff --git a/pages/plugins/coupon/index/index.vue b/pages/plugins/coupon/index/index.vue index 0215178c..c19a5b19 100644 --- a/pages/plugins/coupon/index/index.vue +++ b/pages/plugins/coupon/index/index.vue @@ -84,9 +84,6 @@ // 数据加载 this.init(); - // 初始化配置 - this.init_config(); - // 公共onshow事件 if ((this.$refs.common || null) != null) { this.$refs.common.on_show(); diff --git a/pages/plugins/coupon/shop/shop.vue b/pages/plugins/coupon/shop/shop.vue index fa153ad3..3b643cff 100644 --- a/pages/plugins/coupon/shop/shop.vue +++ b/pages/plugins/coupon/shop/shop.vue @@ -41,7 +41,6 @@ data_bottom_line_status: false, data_list_loding_status: 1, data_list_loding_msg: '', - currency_symbol: app.globalData.currency_symbol(), params: null, data_list: [], data_base: null, @@ -78,9 +77,6 @@ // 数据加载 this.init(); - // 初始化配置 - this.init_config(); - // 公共onshow事件 if ((this.$refs.common || null) != null) { this.$refs.common.on_show(); @@ -93,17 +89,6 @@ }, methods: { - // 初始化配置 - init_config(status) { - if ((status || false) == true) { - this.setData({ - currency_symbol: app.globalData.get_config('currency_symbol'), - }); - } else { - app.globalData.is_config(this, 'init_config'); - } - }, - // 获取数据 init() { this.get_data_list(); diff --git a/pages/plugins/coupon/user/user.vue b/pages/plugins/coupon/user/user.vue index 9a889c84..d007753f 100644 --- a/pages/plugins/coupon/user/user.vue +++ b/pages/plugins/coupon/user/user.vue @@ -74,8 +74,6 @@ }, ], nav_tabs_value: 'not_use', - // 基础配置 - currency_symbol: app.globalData.currency_symbol(), // 首页地址 home_page_url: app.globalData.app_tabbar_pages()[0], }; @@ -100,9 +98,6 @@ // 数据加载 this.init(); - // 初始化配置 - this.init_config(); - // 公共onshow事件 if ((this.$refs.common || null) != null) { this.$refs.common.on_show(); @@ -118,17 +113,6 @@ }, methods: { - // 初始化配置 - init_config(status) { - if ((status || false) == true) { - this.setData({ - currency_symbol: app.globalData.get_config('currency_symbol'), - }); - } else { - app.globalData.is_config(this, 'init_config'); - } - }, - // 获取数据 init() { var user = app.globalData.get_user_info(this, 'init');