Commit 1f5a6f10 by chenwq

禁掉分享,加字段,样式调整

1 parent 91362e84
...@@ -42,7 +42,6 @@ Page({ ...@@ -42,7 +42,6 @@ Page({
if (code == '0') this.customerLoginCallBack(data) if (code == '0') this.customerLoginCallBack(data)
else throw message else throw message
} catch (error) { } catch (error) {
console.log(error)
this.showTips(error || '服务不可用') this.showTips(error || '服务不可用')
setTimeout(() => { setTimeout(() => {
this.onLoad() this.onLoad()
...@@ -61,6 +60,8 @@ Page({ ...@@ -61,6 +60,8 @@ Page({
let { nickName, headImgUrl, phone } = data let { nickName, headImgUrl, phone } = data
this.setData({ this.setData({
userInfo: data, userInfo: data,
nickName: nickName,
headImgUrl: headImgUrl,
authStatus: false authStatus: false
}) })
console.log(data, 'data--') console.log(data, 'data--')
...@@ -143,9 +144,10 @@ Page({ ...@@ -143,9 +144,10 @@ Page({
}) })
}, },
receiveRed(equityFreeCardId) { receiveRed(equityFreeCardId) {
let { isOpenMember } = this.data let { isOpenMember, nickName } = this.data
let params = { let params = {
equityFreeCardId equityFreeCardId,
nickName: nickName
} }
wx.p.api.equityApi.checkReceiveRed(params).then(res => { wx.p.api.equityApi.checkReceiveRed(params).then(res => {
console.log(res, 'checkReceiveRed---') console.log(res, 'checkReceiveRed---')
......
...@@ -16,17 +16,18 @@ ...@@ -16,17 +16,18 @@
bottom: 0; bottom: 0;
left: 4%; left: 4%;
width: 630rpx; width: 630rpx;
height: 288rpx; // height: 288rpx;
height: 80%;
} }
} }
.box { .box {
padding-top: 32rpx; box-sizing: border-box;
.card-free { .card-free {
width: 100vw; width: 100vw;
height: 654rpx; height: 654rpx;
margin-bottom: 32rpx; margin: 32rpx 0;
} }
.equity-box { .equity-box {
...@@ -43,7 +44,7 @@ ...@@ -43,7 +44,7 @@
position: relative; position: relative;
box-sizing: border-box; box-sizing: border-box;
width: 100vw; width: 100vw;
padding: 20rpx 32rpx 40rpx; padding: 20rpx 32rpx;
color: #fff; color: #fff;
.tips { .tips {
...@@ -70,4 +71,8 @@ ...@@ -70,4 +71,8 @@
border-radius: 48rpx; border-radius: 48rpx;
color: #fff; color: #fff;
} }
.h-20 {
width: 100%;
height: 20rpx;
}
} }
\ No newline at end of file \ No newline at end of file
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
<view wx:else> <view wx:else>
<view class="btn-defalut" bindtap="toCheckMember">免费领取</view> <view class="btn-defalut" bindtap="toCheckMember">免费领取</view>
</view> </view>
<view class="h-20"></view>
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<!-- <glsx-privacy appletName="业主甄选"></glsx-privacy> -->
\ No newline at end of file \ No newline at end of file
<glsx-privacy appletName="业主甄选"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -51,6 +51,7 @@ Page({ ...@@ -51,6 +51,7 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad(options) {
wx.hideShareMenu()
wx.p.router.getData(obj => { wx.p.router.getData(obj => {
this.setData({ this.setData({
isMember: obj.isOpenMember ? 'member' : 'noMember', isMember: obj.isOpenMember ? 'member' : 'noMember',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!