diff --git a/app.js b/app.js
index f8d4bc5..534f3f5 100644
--- a/app.js
+++ b/app.js
@@ -6,11 +6,15 @@ App({
newArr:[],//存放分享二维进入消息信息
},
onLaunch: function(options) {
+
+ },
+
+ onShow:function(options){
var that = this;
- if(options.query.scene){
+ if (options.query.scene) {
that.globalData.newArr = decodeURIComponent(options.query.scene).split(":");
}
- console.log(that.globalData.newArr,"我是app.js")
+ console.log(that.globalData.newArr, "我是app.js")
that.globalData.sceneAddress = options.scene;
/**
diff --git a/pages/radetail/index.wxml b/pages/radetail/index.wxml
index 1a0f00a..fc6166f 100644
--- a/pages/radetail/index.wxml
+++ b/pages/radetail/index.wxml
@@ -22,7 +22,7 @@
{{data.subTitle}}
活动说明
- {{data.detail}}
+ {{data.detail}}
1、活动人数:{{data.personLimit}}人
diff --git a/pages/shareFriend/shareFriend.js b/pages/shareFriend/shareFriend.js
index 909bed9..46db3df 100644
--- a/pages/shareFriend/shareFriend.js
+++ b/pages/shareFriend/shareFriend.js
@@ -64,6 +64,8 @@ Page({
this.getQrcodeFx(ctx, scale)
this.getMallInfo(ctx, scale)
this.getUserInfo(ctx, scale)
+ ctx.setFillStyle("#fff");
+ ctx.fillRect(0, 0, this.data.windowWidth, this.data.windowHeight);
this.drawNormalText(ctx, " 向您推荐", 70 * scale, 35 * scale, 16 * scale, "#848484", "left", "middle", scale);
this.drawNormalText(ctx, "长按二维码识别", 180 * scale, 360 * scale, 16 * scale, "#000", "left", "middle")
this.drawNormalText(ctx, "尽享更多优惠活动!", 170 * scale, 390 * scale, 16 * scale, "#000", "left", "middle")
diff --git a/pages/shareFriend/shareFriend.json b/pages/shareFriend/shareFriend.json
index da7b5c8..5f9c941 100644
--- a/pages/shareFriend/shareFriend.json
+++ b/pages/shareFriend/shareFriend.json
@@ -1,5 +1,6 @@
{
+ "navigationBarTitleText": "分享好友",
"usingComponents": {
- "navbar": "../../../../components/navbar/navbar"
+ "navbar": "../../components/navbar/navbar"
}
}
\ No newline at end of file
diff --git a/pages/shareFriend/shareFriend.wxss b/pages/shareFriend/shareFriend.wxss
index 75f4844..9fe482a 100644
--- a/pages/shareFriend/shareFriend.wxss
+++ b/pages/shareFriend/shareFriend.wxss
@@ -39,4 +39,3 @@ button::after{ border: none; }
margin-top: 30rpx;
font-size: 32rpx;
}
-/* pages/shareFriend/shareFriend.wxss */
\ No newline at end of file