Commit 1f5a6f10 by chenwq

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

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