From dd1b18124f9b140376f2c4fd0cfc3361bda2f0b6 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sat, 12 Feb 2022 18:17:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=9C=B0=E5=9D=80=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/activity-list/activity-list.vue | 36 +-- pages/buy/buy.vue | 2 +- pages/cart/cart.vue | 28 +- pages/goods-detail/goods-detail.vue | 260 +++++++++--------- pages/goods-search/goods-search.vue | 2 +- pages/index/index.vue | 62 ++--- pages/plugins/activity/detail/detail.vue | 8 +- pages/plugins/blog/detail/detail.vue | 44 +-- pages/plugins/blog/index/index.vue | 2 +- pages/plugins/label/detail/detail.vue | 2 +- pages/plugins/points/index/index.vue | 8 +- pages/plugins/realstore/detail/detail.css | 24 +- pages/plugins/realstore/detail/detail.vue | 121 ++++---- .../orderallot-detail/orderallot-detail.vue | 4 +- pages/plugins/seckill/index/index.vue | 8 +- pages/plugins/shop/detail/detail.vue | 8 +- pages/plugins/shop/search/search.vue | 2 +- .../signin/index-detail/index-detail.vue | 8 +- pages/user-favor/user-favor.vue | 2 +- pages/user-goods-browse/user-goods-browse.vue | 2 +- .../user-order-comments.vue | 18 +- pages/user-order-detail/user-order-detail.vue | 2 +- .../user-orderaftersale-detail.vue | 8 +- 23 files changed, 325 insertions(+), 336 deletions(-) diff --git a/components/activity-list/activity-list.vue b/components/activity-list/activity-list.vue index f5cfe18c..6f54a198 100644 --- a/components/activity-list/activity-list.vue +++ b/components/activity-list/activity-list.vue @@ -1,5 +1,5 @@ + + - \ No newline at end of file diff --git a/pages/buy/buy.vue b/pages/buy/buy.vue index 4c1d52c8..e1e3f076 100644 --- a/pages/buy/buy.vue +++ b/pages/buy/buy.vue @@ -108,7 +108,7 @@ {{buy_datetime_info.title}} - + {{buy_datetime_info.placeholder}} {{buy_datetime_info.value}} diff --git a/pages/cart/cart.vue b/pages/cart/cart.vue index 2bda6ab6..de98bc18 100644 --- a/pages/cart/cart.vue +++ b/pages/cart/cart.vue @@ -14,7 +14,7 @@ - + @@ -26,7 +26,7 @@ - + {{item.title}} @@ -184,7 +184,7 @@ var user = app.globalData.get_user_info(this, "init"); if (user != false) { // 用户未绑定用户则转到登录页面 - if (app.globalData.user_is_need_login(user)) { + if (app.globalData.user_is_need_login(user)) { uni.stopPullDownRefresh(); uni.showModal({ title: '温馨提示', @@ -204,9 +204,9 @@ }); } } - }); - - // 显示分享菜单 + }); + + // 显示分享菜单 app.globalData.show_share_menu(); } else { this.get_data(); @@ -217,9 +217,9 @@ data_list_loding_status: 0, data_bottom_line_status: false, data_list_loding_msg: '请先授权用户信息' - }); - - // 显示分享菜单 + }); + + // 显示分享菜单 app.globalData.show_share_menu(); } }, @@ -264,11 +264,11 @@ if (app.globalData.is_login_check(res.data, this, 'get_data')) { app.globalData.showToast(res.data.msg); } - } - - // 显示分享菜单、延时执行,确保基础数据已加载完成 - setTimeout(function() { - app.globalData.show_share_menu(); + } + + // 显示分享菜单、延时执行,确保基础数据已加载完成 + setTimeout(function() { + app.globalData.show_share_menu(); }, 1000); }, fail: () => { diff --git a/pages/goods-detail/goods-detail.vue b/pages/goods-detail/goods-detail.vue index b151ce83..48cf26e4 100644 --- a/pages/goods-detail/goods-detail.vue +++ b/pages/goods-detail/goods-detail.vue @@ -509,7 +509,7 @@ - + @@ -744,132 +744,120 @@ // 获取数据 init() { - // 参数校验 - if ((this.params.goods_id || null) == null) { - uni.stopPullDownRefresh(); - this.setData({ - data_bottom_line_status: false, - data_list_loding_status: 2, - data_list_loding_msg: '商品ID有误' - }); - } else { - uni.showLoading({ - title: '加载中...' - }); - this.setData({ - data_list_loding_status: 1 - }); - uni.request({ - url: app.globalData.get_request_url("detail", "goods"), - method: "POST", - data: { - goods_id: this.params.goods_id - }, - dataType: "json", - success: res => { - uni.stopPullDownRefresh(); - uni.hideLoading(); - if (res.data.code == 0) { - var data = res.data.data; - var goods = data.goods; - this.setData({ - data_bottom_line_status: true, - data_list_loding_status: 3, - goods: goods, - indicator_dots: goods.photo.length > 1, - autoplay: goods.photo.length > 1, - goods_photo: goods.photo, - nav_more_list: data.nav_more_list || [], - goods_specifications_choose: goods.specifications.choose || [], - goods_content_app: goods.content_app || [], - buy_number: goods.buy_min_number || 1, - nav_favor_button_info: { - "text": (goods.is_favor == 1 ? '已' : '') + '收藏', - "status": goods.is_favor - }, - buy_button: data.buy_button || null, - top_nav_title_data: data.middle_tabs_nav || [], - goods_spec_base_price: goods.price, - goods_spec_base_original_price: goods.original_price, - goods_spec_base_inventory: goods.inventory, - goods_spec_base_images: goods.images, - show_field_price_text: goods.show_field_price_text == '价格' ? null : goods.show_field_price_text.replace(/<[^>]+>/g, "") || null, - plugins_seckill_data: data.plugins_seckill_data || null, - plugins_seckill_is_valid: (data.plugins_seckill_data || null) != null && (data.plugins_seckill_data.is_valid || 0) == 1 ? 1 : 0, - plugins_coupon_data: data.plugins_coupon_data || null, - quick_nav_cart_count: data.common_cart_total || 0, - plugins_salerecords_data: (data.plugins_salerecords_data || null) == null || data.plugins_salerecords_data.length <= 0 ? null : data.plugins_salerecords_data, - plugins_shop_data: (data.plugins_shop_data || null) == null || data.plugins_shop_data.length <= 0 ? null : data.plugins_shop_data, - plugins_wholesale_data: ((data.plugins_wholesale_data || null) == null) ? null : data.plugins_wholesale_data, - plugins_label_data: (data.plugins_label_data || null) == null || (data.plugins_label_data.base || null) == null || (data.plugins_label_data.data || null) == null || data.plugins_label_data.data.length <= 0 ? null : data.plugins_label_data - }); + uni.showLoading({ + title: '加载中...' + }); + this.setData({ + data_list_loding_status: 1 + }); + uni.request({ + url: app.globalData.get_request_url("detail", "goods"), + method: "POST", + data: this.params, + dataType: "json", + success: res => { + uni.stopPullDownRefresh(); + uni.hideLoading(); + if (res.data.code == 0) { + var data = res.data.data; + var goods = data.goods; + this.setData({ + data_bottom_line_status: true, + data_list_loding_status: 3, + goods: goods, + indicator_dots: goods.photo.length > 1, + autoplay: goods.photo.length > 1, + goods_photo: goods.photo, + nav_more_list: data.nav_more_list || [], + goods_specifications_choose: goods.specifications.choose || [], + goods_content_app: goods.content_app || [], + buy_number: goods.buy_min_number || 1, + nav_favor_button_info: { + "text": (goods.is_favor == 1 ? '已' : '') + '收藏', + "status": goods.is_favor + }, + buy_button: data.buy_button || null, + top_nav_title_data: data.middle_tabs_nav || [], + goods_spec_base_price: goods.price, + goods_spec_base_original_price: goods.original_price, + goods_spec_base_inventory: goods.inventory, + goods_spec_base_images: goods.images, + show_field_price_text: goods.show_field_price_text == '价格' ? null : goods.show_field_price_text.replace(/<[^>]+>/g, "") || null, + plugins_seckill_data: data.plugins_seckill_data || null, + plugins_seckill_is_valid: (data.plugins_seckill_data || null) != null && (data.plugins_seckill_data.is_valid || 0) == 1 ? 1 : 0, + plugins_coupon_data: data.plugins_coupon_data || null, + quick_nav_cart_count: data.common_cart_total || 0, + plugins_salerecords_data: (data.plugins_salerecords_data || null) == null || data.plugins_salerecords_data.length <= 0 ? null : data.plugins_salerecords_data, + plugins_shop_data: (data.plugins_shop_data || null) == null || data.plugins_shop_data.length <= 0 ? null : data.plugins_shop_data, + plugins_wholesale_data: ((data.plugins_wholesale_data || null) == null) ? null : data.plugins_wholesale_data, + plugins_label_data: (data.plugins_label_data || null) == null || (data.plugins_label_data.base || null) == null || (data.plugins_label_data.data || null) == null || data.plugins_label_data.data.length <= 0 ? null : data.plugins_label_data + }); - // 分享配置 - this.setData({ - // 基础自定义分享 - share_info: { - title: goods.title, - desc: goods.simple_desc || goods.seo_desc, - path: '/pages/goods-detail/goods-detail', - query: 'goods_id=' + goods.id, - img: goods.images - }, - // 好物分享 - share_product: { - item_code: goods.id.toString(), - title: goods.title, - image_list: goods.photo.map(function(v) { - return v.images; - }), - desc: goods.simple_desc || goods.seo_desc, - category_list: goods.category_names || [], - src_mini_program_path: '/pages/goods-detail/goods-detail?goods_id=' + goods.id, - brand_info: { - name: goods.brand_name || '' - } + // 分享配置 + this.setData({ + // 基础自定义分享 + share_info: { + title: goods.title, + desc: goods.simple_desc || goods.seo_desc, + path: '/pages/goods-detail/goods-detail', + query: 'id=' + goods.id, + img: goods.images + }, + // 好物分享 + share_product: { + item_code: goods.id.toString(), + title: goods.title, + image_list: goods.photo.map(function(v) { + return v.images; + }), + desc: goods.simple_desc || goods.seo_desc, + category_list: goods.category_names || [], + src_mini_program_path: '/pages/goods-detail/goods-detail?id=' + goods.id, + brand_info: { + name: goods.brand_name || '' } - }); - - // 导航首页按钮、多商户 - if (this.plugins_shop_data != null) { - this.setData({ - nav_home_button_info: { - "text": "店铺", - "icon": this.plugins_shop_data.shop_icon, - "value": "/pages/plugins/shop/detail/detail?id=" + this - .plugins_shop_data.id - } - }); } - - // 不能选择规格处理 - this.goods_specifications_choose_handle_dont(0); - - // 购买记录提示 - this.plugins_salerecords_tips_handle(); - } else { + }); + + // 导航首页按钮、多商户 + if (this.plugins_shop_data != null) { this.setData({ - data_bottom_line_status: false, - data_list_loding_status: 0, - data_list_loding_msg: res.data.msg + nav_home_button_info: { + "text": "店铺", + "icon": this.plugins_shop_data.shop_icon, + "value": "/pages/plugins/shop/detail/detail?id=" + this + .plugins_shop_data.id + } }); } - // 显示分享菜单 - app.globalData.show_share_menu(); - }, - fail: () => { - uni.stopPullDownRefresh(); - uni.hideLoading(); + // 不能选择规格处理 + this.goods_specifications_choose_handle_dont(0); + + // 购买记录提示 + this.plugins_salerecords_tips_handle(); + } else { this.setData({ data_bottom_line_status: false, - data_list_loding_status: 2, - data_list_loding_msg: '服务器请求出错' + data_list_loding_status: 0, + data_list_loding_msg: res.data.msg }); - app.globalData.showToast("服务器请求出错"); } - }); - } + + // 显示分享菜单 + app.globalData.show_share_menu(); + }, + fail: () => { + uni.stopPullDownRefresh(); + uni.hideLoading(); + this.setData({ + data_bottom_line_status: false, + data_list_loding_status: 2, + data_list_loding_msg: '服务器请求出错' + }); + app.globalData.showToast("服务器请求出错"); + } + }); }, // 返回事件 @@ -1078,17 +1066,17 @@ }); return false; } else { + var data = this.params; + data['goods_id'] = this.goods.id; + data['spec'] = JSON.stringify(spec); + data['stock'] = this.buy_number; uni.showLoading({ title: '处理中...' }); uni.request({ url: app.globalData.get_request_url('save', 'cart'), method: 'POST', - data: { - "goods_id": this.goods.id, - "stock": this.buy_number, - "spec": JSON.stringify(spec) - }, + data: data, dataType: 'json', success: res => { uni.hideLoading(); @@ -1195,15 +1183,15 @@ if (spec.length <= 0) { return false; } - var self = this; + // 获取数据 + var data = this.params; + data['id'] = this.goods.id; + data['spec'] = JSON.stringify(spec); uni.request({ url: app.globalData.get_request_url('spectype', 'goods'), method: 'POST', - data: { - "id": this.goods.id, - "spec": JSON.stringify(spec) - }, + data: data, dataType: 'json', success: (res) => { if (res.data.code == 0) { @@ -1263,14 +1251,14 @@ } // 获取数据 + var data = this.params; + data['id'] = this.goods.id; + data['spec'] = JSON.stringify(spec); + data['stock'] = this.buy_number; uni.request({ url: app.globalData.get_request_url('specdetail', 'goods'), method: 'POST', - data: { - "id": this.goods.id, - "spec": JSON.stringify(spec), - "stock": this.buy_number, - }, + data: data, dataType: 'json', success: res => { if (res.data.code == 0) { @@ -1375,14 +1363,14 @@ } // 获取数据 + var data = this.params; + data['id'] = this.goods.id; + data['spec'] = spec; + data['stock'] = this.buy_number; uni.request({ url: app.globalData.get_request_url('stock', 'goods'), method: 'POST', - data: { - "id": this.goods.id, - "spec": spec, - "stock": this.buy_number, - }, + data: data, dataType: 'json', success: res => { if (res.data.code == 0) { diff --git a/pages/goods-search/goods-search.vue b/pages/goods-search/goods-search.vue index 7d5e4b1b..626f9e5c 100644 --- a/pages/goods-search/goods-search.vue +++ b/pages/goods-search/goods-search.vue @@ -18,7 +18,7 @@ - + {{item.title}} diff --git a/pages/index/index.vue b/pages/index/index.vue index 9637148c..7da93728 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -83,7 +83,7 @@ - + {{item.title}} @@ -108,16 +108,16 @@ - - - - - - - - - - + + + + + + + + + + @@ -146,7 +146,7 @@ - + {{goods.title}} @@ -169,14 +169,14 @@ - - - - - - - - + + + + + + + + @@ -196,7 +196,7 @@ -{{item.user.province}} - + {{item.title}} @@ -218,7 +218,7 @@ - + @@ -259,8 +259,8 @@ import componentNoData from "../../components/no-data/no-data"; import componentBottomLine from "../../components/bottom-line/bottom-line"; import componentCopyright from "../../components/copyright/copyright"; - import componentOnlineService from "../../components/online-service/online-service"; - import componentActivityList from "../../components/activity-list/activity-list"; + import componentOnlineService from "../../components/online-service/online-service"; + import componentActivityList from "../../components/activity-list/activity-list"; import componentBlogList from "../../components/blog-list/blog-list"; var common_static_url = app.globalData.get_static_url('common'); @@ -295,8 +295,8 @@ // 顶部+搜索样式配置 top_content_style: 'background-image: url("'+static_url+'nav-top.png");'+'padding-top:'+(bar_height+8)+'px;', search_style: '', - search_is_fixed: 0, - // 是否单页预览 + search_is_fixed: 0, + // 是否单页预览 is_single_page: app.globalData.is_current_single_page() || 0, // 限时秒杀插件 plugins_seckill_is_valid: 0, @@ -315,8 +315,8 @@ plugins_popupscreen_cache_key: 'plugins_popupscreen_cache_key', plugins_popupscreen_timer: null, // 哀悼灰度插件 - plugins_mourning_data: 0, - // 标签插件 + plugins_mourning_data: 0, + // 标签插件 plugins_blog_data: null }; }, @@ -332,8 +332,8 @@ componentNoData, componentBottomLine, componentCopyright, - componentOnlineService, - componentActivityList, + componentOnlineService, + componentActivityList, componentBlogList }, props: {}, @@ -410,7 +410,7 @@ plugins_label_data: (data.plugins_label_data || null) == null || (data.plugins_label_data.base || null) == null || (data.plugins_label_data.data || null) == null || data.plugins_label_data.data.length <= 0 ? null : data.plugins_label_data, plugins_homemiddleadv_data: (data.plugins_homemiddleadv_data || null) == null || data.plugins_homemiddleadv_data.length <= 0 ? null : data.plugins_homemiddleadv_data, plugins_popupscreen_data: data.plugins_popupscreen_data || null, - plugins_mourning_data: data.plugins_mourning_data || 0, + plugins_mourning_data: data.plugins_mourning_data || 0, plugins_blog_data: data.plugins_blog_data || null }); diff --git a/pages/plugins/activity/detail/detail.vue b/pages/plugins/activity/detail/detail.vue index edc012ca..193288eb 100644 --- a/pages/plugins/activity/detail/detail.vue +++ b/pages/plugins/activity/detail/detail.vue @@ -26,7 +26,7 @@ - + {{item.title}} @@ -159,9 +159,9 @@ data_list_loding_status: 2, data_list_loding_msg: res.data.msg }); - } - - // 显示分享菜单 + } + + // 显示分享菜单 app.globalData.show_share_menu(); }, fail: () => { diff --git a/pages/plugins/blog/detail/detail.vue b/pages/plugins/blog/detail/detail.vue index d847b319..763114d0 100644 --- a/pages/plugins/blog/detail/detail.vue +++ b/pages/plugins/blog/detail/detail.vue @@ -14,23 +14,23 @@ - - - - + + + + - - - - - - 上一篇: - {{last_next.last.title}} - - - 下一篇: - {{last_next.next.title}} - + + + + + + 上一篇: + {{last_next.last.title}} + + + 下一篇: + {{last_next.next.title}} + @@ -59,7 +59,7 @@ - + {{item.title}} @@ -96,7 +96,7 @@ params: null, data_base: null, data: null, - right_list: [], + right_list: [], last_next: null, // 自定义分享信息 share_info: {} @@ -161,7 +161,7 @@ data_list_loding_status: 3, data_base: data.base || null, data: blog, - right_list: data.right_list || [], + right_list: data.right_list || [], last_next: data.last_next || null }); @@ -184,9 +184,9 @@ data_list_loding_msg: res.data.msg }); app.globalData.showToast(res.data.msg); - } - - // 显示分享菜单 + } + + // 显示分享菜单 app.globalData.show_share_menu(); }, fail: () => { diff --git a/pages/plugins/blog/index/index.vue b/pages/plugins/blog/index/index.vue index fc284d13..16c34300 100644 --- a/pages/plugins/blog/index/index.vue +++ b/pages/plugins/blog/index/index.vue @@ -83,7 +83,7 @@ - + {{item.title}} diff --git a/pages/plugins/label/detail/detail.vue b/pages/plugins/label/detail/detail.vue index 6b560b30..a2e2a68d 100644 --- a/pages/plugins/label/detail/detail.vue +++ b/pages/plugins/label/detail/detail.vue @@ -23,7 +23,7 @@ - + {{item.title}} diff --git a/pages/plugins/points/index/index.vue b/pages/plugins/points/index/index.vue index b3b4390f..fa0d6e2a 100644 --- a/pages/plugins/points/index/index.vue +++ b/pages/plugins/points/index/index.vue @@ -39,7 +39,7 @@ - + {{item.goods.title}} @@ -167,9 +167,9 @@ data_list_loding_status: 2, data_list_loding_msg: res.data.msg }); - } - - // 显示分享菜单 + } + + // 显示分享菜单 app.globalData.show_share_menu(); }, fail: () => { diff --git a/pages/plugins/realstore/detail/detail.css b/pages/plugins/realstore/detail/detail.css index eb767ac4..2049cc31 100644 --- a/pages/plugins/realstore/detail/detail.css +++ b/pages/plugins/realstore/detail/detail.css @@ -105,13 +105,12 @@ /** * 左侧导航 -*/ -.left-content { - width: 180rpx; - height: calc(100% - 120rpx); +*/ +.left-content-actual { padding-bottom: 120rpx; - overflow-x: hidden; - overflow-y: auto; +} +.left-content { + width: 180rpx; } .left-content .item { height: 80rpx; @@ -136,13 +135,12 @@ /** * 右侧内容 -*/ +*/ +.right-content-actual { + padding-bottom: 105rpx; +} .right-content { - width: calc(100% - 220rpx); - height: calc(100% - 110rpx); - padding-bottom: 110rpx; - overflow-x: hidden; - overflow-y: auto; + width: calc(100% - 220rpx); } .goods-list .goods-img { width: 160rpx; @@ -205,8 +203,6 @@ z-index: 2; } .cart-content .cart-list { - overflow-x: hidden; - overflow-y: auto; max-height: 60vh; } .cart-content .cart-list .goods-img { diff --git a/pages/plugins/realstore/detail/detail.vue b/pages/plugins/realstore/detail/detail.vue index 50fe3d62..524cc730 100644 --- a/pages/plugins/realstore/detail/detail.vue +++ b/pages/plugins/realstore/detail/detail.vue @@ -13,10 +13,10 @@ - + - + @@ -75,62 +75,66 @@ - - 全部 - - - {{item.name}} - - + + + 全部 + + + {{item.name}} + + + - - - - - - - - - {{item.name}} - - - - - - {{goods.title}} - {{goods.simple_desc}} - - - {{currency_symbol}}{{goods.min_price}} - - - - - - {{goods.buy_number}} - - - - - - {{goods.is_alone_buy_msg}} - + + + + + + + + + + {{item.name}} + + + + + + {{goods.title}} + {{goods.simple_desc}} + + + {{currency_symbol}}{{goods.min_price}} + + + + + + {{goods.buy_number}} + + + + + + {{goods.is_error_msg}} + + - - - - - - + + + + + + - - - - - + + + + + @@ -138,6 +142,7 @@ + @@ -153,9 +158,9 @@ 清空 - + - + @@ -182,7 +187,7 @@ - + @@ -493,7 +498,7 @@ } else { // 进入商品详情选择规格操作 uni.navigateTo({ - url: '/pages/goods-detail/goods-detail?is_opt_back=1&is_opt_buy_status=1&opt_buy_event_type=cart&goods_id='+temp_goods.id + url: '/pages/goods-detail/goods-detail?id='+temp_goods.id+'&is_opt_back=1&is_opt_buy_status=1&opt_buy_event_type=cart&buy_use_type_index='+this.buy_use_type_index }); return false; } @@ -802,8 +807,8 @@ for(var k in temp_data[i]['goods_list']) { if(temp_data[i]['goods_list'][k]['id'] == value) { // 是否仅单独购买 - if((temp_data[i]['goods_list'][k]['is_alone_buy'] || 0) != 0) { - app.globalData.showToast(temp_data[i]['goods_list'][k]['is_alone_buy_msg']); + if((temp_data[i]['goods_list'][k]['is_error'] || 0) != 0) { + app.globalData.showToast(temp_data[i]['goods_list'][k]['is_error_msg']); return false; } goods_id = value; diff --git a/pages/plugins/realstore/orderallot-detail/orderallot-detail.vue b/pages/plugins/realstore/orderallot-detail/orderallot-detail.vue index f9706857..0cfb4c45 100644 --- a/pages/plugins/realstore/orderallot-detail/orderallot-detail.vue +++ b/pages/plugins/realstore/orderallot-detail/orderallot-detail.vue @@ -23,7 +23,7 @@ 商品信息 - + {{item.title}} @@ -173,7 +173,7 @@ {name: "创建时间", value: data.data.add_time || ''}, {name: "添加时间", value: data.data.add_time || ''}, {name: "接收时间", value: data.data.receive_time || ''}, - {name: "服务时间", value: data.data.service_time || ''}, + {name: "服务时间", value: data.data.service_time || ''}, {name: "完成时间", value: data.data.success_time || ''}, {name: "取消时间", value: data.data.cancel_time || ''}, ], diff --git a/pages/plugins/seckill/index/index.vue b/pages/plugins/seckill/index/index.vue index ef1dd01a..d69d4cde 100644 --- a/pages/plugins/seckill/index/index.vue +++ b/pages/plugins/seckill/index/index.vue @@ -26,7 +26,7 @@ - + {{item.title}} @@ -159,9 +159,9 @@ data_list_loding_status: 2, data_list_loding_msg: res.data.msg }); - } - - // 显示分享菜单 + } + + // 显示分享菜单 app.globalData.show_share_menu(); }, fail: () => { diff --git a/pages/plugins/shop/detail/detail.vue b/pages/plugins/shop/detail/detail.vue index 73bd9dab..68eb80d1 100644 --- a/pages/plugins/shop/detail/detail.vue +++ b/pages/plugins/shop/detail/detail.vue @@ -93,7 +93,7 @@ - + {{item.title}} @@ -261,9 +261,9 @@ data_list_loding_status: 2, data_list_loding_msg: res.data.msg }); - } - - // 显示分享菜单 + } + + // 显示分享菜单 app.globalData.show_share_menu(); }, fail: () => { diff --git a/pages/plugins/shop/search/search.vue b/pages/plugins/shop/search/search.vue index 6aa673e6..0de6ff52 100644 --- a/pages/plugins/shop/search/search.vue +++ b/pages/plugins/shop/search/search.vue @@ -17,7 +17,7 @@ - + {{item.title}} diff --git a/pages/plugins/signin/index-detail/index-detail.vue b/pages/plugins/signin/index-detail/index-detail.vue index 3b66d862..cd4b765f 100644 --- a/pages/plugins/signin/index-detail/index-detail.vue +++ b/pages/plugins/signin/index-detail/index-detail.vue @@ -56,7 +56,7 @@ - + {{item.title}} @@ -185,9 +185,9 @@ data_list_loding_status: 2, data_list_loding_msg: res.data.msg }); - } - - // 显示分享菜单 + } + + // 显示分享菜单 app.globalData.show_share_menu(); }, fail: () => { diff --git a/pages/user-favor/user-favor.vue b/pages/user-favor/user-favor.vue index c272fecb..551ed06a 100644 --- a/pages/user-favor/user-favor.vue +++ b/pages/user-favor/user-favor.vue @@ -3,7 +3,7 @@ - + {{item.title}} diff --git a/pages/user-goods-browse/user-goods-browse.vue b/pages/user-goods-browse/user-goods-browse.vue index 79512f03..09e02667 100644 --- a/pages/user-goods-browse/user-goods-browse.vue +++ b/pages/user-goods-browse/user-goods-browse.vue @@ -3,7 +3,7 @@ - + {{item.title}} diff --git a/pages/user-order-comments/user-order-comments.vue b/pages/user-order-comments/user-order-comments.vue index 6e41c05a..ce231de5 100644 --- a/pages/user-order-comments/user-order-comments.vue +++ b/pages/user-order-comments/user-order-comments.vue @@ -5,7 +5,7 @@
- + @@ -84,14 +84,14 @@ this.setData({ params: params }); - }, - - onShow() { - // 数据加载 - this.init(); - - // 显示分享菜单 - app.globalData.show_share_menu(); + }, + + onShow() { + // 数据加载 + this.init(); + + // 显示分享菜单 + app.globalData.show_share_menu(); }, // 下拉刷新 diff --git a/pages/user-order-detail/user-order-detail.vue b/pages/user-order-detail/user-order-detail.vue index f648fd4e..2f7b638b 100644 --- a/pages/user-order-detail/user-order-detail.vue +++ b/pages/user-order-detail/user-order-detail.vue @@ -23,7 +23,7 @@ 商品信息 - + {{item.title}} diff --git a/pages/user-orderaftersale-detail/user-orderaftersale-detail.vue b/pages/user-orderaftersale-detail/user-orderaftersale-detail.vue index 188a566f..fef6ca9a 100644 --- a/pages/user-orderaftersale-detail/user-orderaftersale-detail.vue +++ b/pages/user-orderaftersale-detail/user-orderaftersale-detail.vue @@ -4,7 +4,7 @@ - + {{order_data.items.title}} @@ -291,9 +291,9 @@ onShow() { // 数据加载 - this.init(); - - // 显示分享菜单 + this.init(); + + // 显示分享菜单 app.globalData.show_share_menu(); },