细节优化

master
gongfuxiang 2024-01-16 18:50:07 +08:00
parent ce8e1b1785
commit c4330d8dba
3 changed files with 13 additions and 13 deletions

View File

@ -301,8 +301,8 @@
fr: 'fra',
es: 'spa',
};
var lang = this.get_language_value();
if ((lang_list[lang] || null) == null) {
var lang = lang_list[this.get_language_value()] || null;
if (lang == null) {
lang = 'zh';
}
//
@ -2188,7 +2188,7 @@
temp_network[page]['timer'] = setInterval(function () {
uni.getNetworkType({
success: function (res) {
if (res.networkType != 'none') {
if (res.networkType != 'none' && (temp_network[page] || null) != null) {
//
if ((temp_network[page]['timer'] || null) != null) {
clearInterval(temp_network[page]['timer']);

View File

@ -10,16 +10,16 @@
"category":"Category",
"cart":"Cart",
"my":"My",
"confirm": "confirm",
"cancel": "cancel",
"confirm": "Confirm",
"cancel": "Cancel",
"not_yet": "Not yet",
"save": "preserve",
"save": "Preserve",
"add": "Add",
"del": "Delete",
"edit": "Edit",
"more": "more",
"more": "More",
"more_null": "",
"search": "search",
"search": "Search",
"num": "quantity",
"order": "order form",
"service": "service",
@ -28,8 +28,8 @@
"confirm_sub": "Confirm submission",
"clear": "empty",
"all": "All",
"share": "share",
"return": "return",
"share": "Share",
"return": "Return",
"processing_in_text": "Processing",
"loading_in_text": "Loading",
"upload_in_text": "Uploading",
@ -337,10 +337,10 @@
"775ppk": "Limited time flash sale",
"35f378": "Suspend sales",
"6brk57": "Please select a specification",
"dco1sc": "favor",
"dco1sc": "Favor",
"bogx42": "price",
"3kdgjl": "Sales price",
"by7052": "already",
"by7052": "Already",
"tq1976": "URL event is empty",
"98v424": "Store data is incorrect",
"721e2h": "Event not processed"

View File

@ -903,7 +903,7 @@
nav_more_list: data.nav_more_list || [],
goods_content_app: goods.content_app || [],
nav_favor_button_info: {
text: (goods.is_favor == 1 ? this.$t('goods-detail.goods-detail.by7052') : '') + this.$t('goods-detail.goods-detail.dco1sc'),
text: (goods.is_favor == 1 ? this.$t('goods-detail.goods-detail.by7052')+ ' ' : '') + this.$t('goods-detail.goods-detail.dco1sc'),
status: goods.is_favor,
},
buy_button: data.buy_button || null,