diff --git a/App.vue b/App.vue index 51526d2..09a834b 100644 --- a/App.vue +++ b/App.vue @@ -1,8 +1,35 @@ - + + + + + + diff --git a/components/Menu.vue b/components/Menu.vue index e64690d..52d3c07 100644 --- a/components/Menu.vue +++ b/components/Menu.vue @@ -1,155 +1,155 @@ - - - - - + + + + + diff --git a/components/ShopLiveCard.vue b/components/ShopLiveCard.vue index 457c05d..16726a7 100644 --- a/components/ShopLiveCard.vue +++ b/components/ShopLiveCard.vue @@ -1,327 +1,327 @@ - - - - - + + + + + diff --git a/components/sh-activity-goods.vue b/components/sh-activity-goods.vue index 17b9227..c596810 100644 --- a/components/sh-activity-goods.vue +++ b/components/sh-activity-goods.vue @@ -1,40 +1,40 @@ - - - - - + + + + + diff --git a/components/sh-adv.vue b/components/sh-adv.vue index 1b8bc14..f848c2a 100644 --- a/components/sh-adv.vue +++ b/components/sh-adv.vue @@ -1,256 +1,256 @@ - - - - - + + + + + diff --git a/components/sh-groupon.vue b/components/sh-groupon.vue index a53f5d5..59ae764 100644 --- a/components/sh-groupon.vue +++ b/components/sh-groupon.vue @@ -1,197 +1,197 @@ - - - - - + + + + + diff --git a/libs/wechat.js b/libs/wechat.js index c91baad..569983d 100644 --- a/libs/wechat.js +++ b/libs/wechat.js @@ -124,6 +124,7 @@ export function clearAuthStatus() { export function oAuth() { console.log('处理微信授权') + console.log('处理微信授权cookie',cookie.get("spread")) console.log(store) console.log(store.state) return new Promise((resolve, reject) => { diff --git a/manifest.json b/manifest.json index 37a8309..c647f3d 100644 --- a/manifest.json +++ b/manifest.json @@ -143,7 +143,7 @@ "plugins" : { "live-player-plugin" : { // 注意填写该直播组件最新版本号,微信开发者工具调试时可获取最新版本号(复制时请去掉注释) - "version" : "1.1.9", + "version" : "1.1.10", // 必须填该直播组件appid,该示例值即为直播组件appid(复制时请去掉注释) "provider" : "wx2b03c6e691cd7370" } diff --git a/pages.json b/pages.json index 08295bb..2bebce3 100644 --- a/pages.json +++ b/pages.json @@ -431,9 +431,9 @@ "borderStyle": "black", "backgroundColor": "#ffffff", "height": "50px", - "fontSize": "10px", - "iconWidth": "24px", - "spacing": "3px", + "fontSize": "8px", + "iconWidth": "16px", + "spacing": "-3px", "list": [{ "pagePath": "pages/home/index", "iconPath": "static/icon-home.png", diff --git a/pages/Loading/index.vue b/pages/Loading/index.vue index 4d90a5b..8d72662 100644 --- a/pages/Loading/index.vue +++ b/pages/Loading/index.vue @@ -7,42 +7,33 @@ - - + + + + + diff --git a/pages/shop/Live/LiveList/index.vue b/pages/shop/Live/LiveList/index.vue index a55d47d..287f01a 100644 --- a/pages/shop/Live/LiveList/index.vue +++ b/pages/shop/Live/LiveList/index.vue @@ -1,182 +1,182 @@ - - - - - + + + + + diff --git a/pages/user/UserAccount/index.vue b/pages/user/UserAccount/index.vue index 17852a7..0b6cfbc 100644 --- a/pages/user/UserAccount/index.vue +++ b/pages/user/UserAccount/index.vue @@ -8,7 +8,7 @@ 总资产(元) {{ now_money }} - 充值 + 充值 @@ -31,7 +31,7 @@ 消费记录 - + @@ -54,6 +54,7 @@ export default { props: {}, data: function() { return { + is_hide: "1", now_money: 0, orderStatusSum: 0, recharge: 0, @@ -82,6 +83,7 @@ export default { that.now_money = res.data.now_money; that.orderStatusSum = res.data.orderStatusSum; that.recharge = res.data.recharge; + this.is_hide = res.data.is_hide; }, err => { uni.showToast({ diff --git a/uni.css b/uni.css index 2a8a96b..46acb08 100644 --- a/uni.css +++ b/uni.css @@ -1,15 +1,15 @@ @charset "UTF-8"; -/** - * 这里是uni-app内置的常用样式变量 - * - * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 - * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App - * +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * */ -/** - * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 - * - * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ @@ -24,8 +24,8 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -/* ================== - 自定义变量 +/* ================== + 自定义变量 ==================== */ /*盒子模型*/ .mt2 { diff --git a/utils/index.js b/utils/index.js index d7384e0..e23556a 100644 --- a/utils/index.js +++ b/utils/index.js @@ -718,13 +718,14 @@ export function handleQrCode() { } export function handleUrlParam(path) { - console.log(path) var url = path.split("?")[1]; //获取url中"?"符后的字串 - console.log(url) var theRequest = new Object(); - let strs = url.split("&"); - for (var i = 0; i < strs.length; i++) { - theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); + if(path.includes("?")){ + var url = path.split("?")[1]; //获取url中"?"符后的字串 + let strs = url.split("&"); + for (var i = 0; i < strs.length; i++) { + theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); + } } return theRequest; } @@ -856,7 +857,6 @@ export const handleLoginFailure = () => { console.log('————————') store.commit("updateAuthorizationPage", true); let path = '/' + getCurrentPageUrlWithArgs() - console.log("getCurrentPageUrl", getCurrentPageUrl()); //判断小程序转发分享商品详情进来的 if (getCurrentPageUrl() == 'pages/shop/GoodsCon/index' && handleUrlParam(path) && !handleQrCode()) { console.log('————————') @@ -954,13 +954,15 @@ export const handleLoginFailure = () => { } } // 判断是不是拼团进来的 - if (getCurrentPageUrl() == 'pages/activity/GroupRule/index' && handleQrCode()) { + if (getCurrentPageUrl() == 'pages/activity/GroupRule/index' ) { console.log('————————') console.log('是拼团进来的') console.log('————————') let url = handleQrCode(); - console.log(url) + if(!url){ + url = handleUrlParam(path); + } if (url) { path = parseUrl({ path: `/${getCurrentPageUrl()}`, @@ -1003,6 +1005,7 @@ export const handleLoginFailure = () => { } if (getCurrentPageUrl() == 'pages/shop/GoodsCon/index' && handleQrCode()) { + debugger; console.log('————————') console.log('是扫描的商品详情') console.log('————————')