优惠券优化
parent
64ba69e09b
commit
f65a9bdd58
|
|
@ -84,9 +84,6 @@
|
||||||
// 数据加载
|
// 数据加载
|
||||||
this.init();
|
this.init();
|
||||||
|
|
||||||
// 初始化配置
|
|
||||||
this.init_config();
|
|
||||||
|
|
||||||
// 公共onshow事件
|
// 公共onshow事件
|
||||||
if ((this.$refs.common || null) != null) {
|
if ((this.$refs.common || null) != null) {
|
||||||
this.$refs.common.on_show();
|
this.$refs.common.on_show();
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@
|
||||||
data_bottom_line_status: false,
|
data_bottom_line_status: false,
|
||||||
data_list_loding_status: 1,
|
data_list_loding_status: 1,
|
||||||
data_list_loding_msg: '',
|
data_list_loding_msg: '',
|
||||||
currency_symbol: app.globalData.currency_symbol(),
|
|
||||||
params: null,
|
params: null,
|
||||||
data_list: [],
|
data_list: [],
|
||||||
data_base: null,
|
data_base: null,
|
||||||
|
|
@ -78,9 +77,6 @@
|
||||||
// 数据加载
|
// 数据加载
|
||||||
this.init();
|
this.init();
|
||||||
|
|
||||||
// 初始化配置
|
|
||||||
this.init_config();
|
|
||||||
|
|
||||||
// 公共onshow事件
|
// 公共onshow事件
|
||||||
if ((this.$refs.common || null) != null) {
|
if ((this.$refs.common || null) != null) {
|
||||||
this.$refs.common.on_show();
|
this.$refs.common.on_show();
|
||||||
|
|
@ -93,17 +89,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
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() {
|
init() {
|
||||||
this.get_data_list();
|
this.get_data_list();
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,6 @@
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
nav_tabs_value: 'not_use',
|
nav_tabs_value: 'not_use',
|
||||||
// 基础配置
|
|
||||||
currency_symbol: app.globalData.currency_symbol(),
|
|
||||||
// 首页地址
|
// 首页地址
|
||||||
home_page_url: app.globalData.app_tabbar_pages()[0],
|
home_page_url: app.globalData.app_tabbar_pages()[0],
|
||||||
};
|
};
|
||||||
|
|
@ -100,9 +98,6 @@
|
||||||
// 数据加载
|
// 数据加载
|
||||||
this.init();
|
this.init();
|
||||||
|
|
||||||
// 初始化配置
|
|
||||||
this.init_config();
|
|
||||||
|
|
||||||
// 公共onshow事件
|
// 公共onshow事件
|
||||||
if ((this.$refs.common || null) != null) {
|
if ((this.$refs.common || null) != null) {
|
||||||
this.$refs.common.on_show();
|
this.$refs.common.on_show();
|
||||||
|
|
@ -118,17 +113,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
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() {
|
init() {
|
||||||
var user = app.globalData.get_user_info(this, 'init');
|
var user = app.globalData.get_user_info(this, 'init');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue