diff --git a/app.json b/app.json index 882dddc..e2d5679 100644 --- a/app.json +++ b/app.json @@ -24,7 +24,6 @@ "pages/user/return_goods_info/return_goods_info", "pages/user/return_goods/return_goods", "pages/user/withdrawals/withdrawals", - "pages/user/recharge/recharge", "pages/user/express/express", "pages/user/binding_info/binding_info", "pages/user/get_user_info/get_user_info", @@ -83,9 +82,20 @@ "pages/user/assistance/friend_assistance", "pages/user/assistance/assistance_success", "pages/user/assistance/assistance" - ], + "subPackages": [ + { + "root": "packageA/", + "pages": [], + "plugins": { + "live-player-plugin": { + "version": "1.0.2", + "provider": "wx2b03c6e691cd7370" + } + } + } + ], "permission": { "scope.userLocation": { "desc": "获取你的位置信息" diff --git a/pages/activity/pind_list/pind_list.js b/pages/activity/pind_list/pind_list.js index f6e3289..a3e37d2 100644 --- a/pages/activity/pind_list/pind_list.js +++ b/pages/activity/pind_list/pind_list.js @@ -126,6 +126,13 @@ Page({ this.reloadGoodList(); }, + //---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "限时团购", + } + }, + //图片失败,默认图片 bind_bnerr2: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/activity/seckill_list/seckill_list.js b/pages/activity/seckill_list/seckill_list.js index 469bc0b..a669049 100644 --- a/pages/activity/seckill_list/seckill_list.js +++ b/pages/activity/seckill_list/seckill_list.js @@ -123,6 +123,12 @@ Page({ this.setData({type:a,goodlist:null}); this.reloadGoodList(); }, + //---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "疯狂秒杀", + } + }, //图片失败,默认图片 bind_bnerr2: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/goods/categoryList/categoryList.js b/pages/goods/categoryList/categoryList.js index 6035320..04fba8c 100644 --- a/pages/goods/categoryList/categoryList.js +++ b/pages/goods/categoryList/categoryList.js @@ -417,7 +417,12 @@ Page({ } }); }, - + //---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "商品分类", + } + }, //图片失败,默认图片 bind_bnerr: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/goods/goodsList/goodsList.js b/pages/goods/goodsList/goodsList.js index 53b794b..da8135b 100644 --- a/pages/goods/goodsList/goodsList.js +++ b/pages/goods/goodsList/goodsList.js @@ -137,7 +137,12 @@ Page({ }); this.data.currentPage = 2; }, - +//---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "商品列表", + } + }, //---图片失败,默认图片--- bind_bnerr2: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/goods/search/search.js b/pages/goods/search/search.js index 069dda7..f062bca 100644 --- a/pages/goods/search/search.js +++ b/pages/goods/search/search.js @@ -175,6 +175,12 @@ Page({ if ("string" != typeof t || "" == t) return a.showWarning("请输入搜索关键词"); this.resetData(), this.requestSearch(this.data.baseUrl + "&key_str=" + encodeURIComponent(t)); }, + //---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "商品分类", + } + }, //---------图片失败,默认图片-------- bind_bnerr: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/user/recharge/recharge.js b/pages/user/recharge/recharge.js deleted file mode 100644 index 85ce571..0000000 --- a/pages/user/recharge/recharge.js +++ /dev/null @@ -1,20 +0,0 @@ -var e = getApp(), a = require("../../../utils/pay.js"); - -Page({ - data: { - userMoney: 0, - iurl:e.globalData.setting.imghost, - }, - onLoad: function(e) { - this.setData({ - userMoney: e.money - }); - }, - submitRechange: function(n) { - var t = parseFloat(n.detail.value.money); - if (console.log(t), isNaN(t) || t < .01) return e.showWarning("请输入有效的金额"); - a.rechange(t, function() { - wx.navigateBack(); - }); - } -}); \ No newline at end of file diff --git a/pages/user/recharge/recharge.json b/pages/user/recharge/recharge.json deleted file mode 100644 index ca0536f..0000000 --- a/pages/user/recharge/recharge.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "navigationBarTitleText": "充值" -} \ No newline at end of file diff --git a/pages/user/recharge/recharge.wxml b/pages/user/recharge/recharge.wxml deleted file mode 100644 index 79361d5..0000000 --- a/pages/user/recharge/recharge.wxml +++ /dev/null @@ -1,18 +0,0 @@ -
- - - 您的当前余额 : {{userMoney}} 元 - - - 充值金额 : - - - - 充值方式 : - - - - - - -
diff --git a/pages/user/recharge/recharge.wxss b/pages/user/recharge/recharge.wxss deleted file mode 100644 index 31002df..0000000 --- a/pages/user/recharge/recharge.wxss +++ /dev/null @@ -1,43 +0,0 @@ -.balance { - font-size: 28rpx; - line-height: 64rpx; - color: #444; - border-bottom: 1px solid #ddd; -} - -.recharge { - display: flex; - align-items: center; - height: 120rpx; - font-size: 28rpx; - color: #444; - border-bottom: 1px solid #ddd; -} - -.recharge .title { - word-break: keep-all; - white-space: nowrap; -} - -.recharge input { - height: 120rpx; - margin-left: 30rpx; -} - -.pic-wrap { - margin-left: 30rpx; - width: 240rpx; - height: 72rpx; -} - -.recharge-btns { - margin: 60rpx auto 0; - width: 580rpx; - height: 88rpx; - font-size: 28rpx; - line-height: 88rpx; - text-align: center; - color: #fff; - background-color: #e30000; - border-radius: 8rpx; -} \ No newline at end of file