Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1f5a6f10
authored
Oct 10, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
禁掉分享,加字段,样式调整
1 parent
91362e84
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
8 deletions
packageEquity/pages/freecard/freecard.js
packageEquity/pages/freecard/freecard.scss
packageEquity/pages/freecard/freecard.wxml
packageEquity/pages/receiveRed/receiveRed.js
packageEquity/pages/freecard/freecard.js
View file @
1f5a6f1
...
...
@@ -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---'
)
...
...
packageEquity/pages/freecard/freecard.scss
View file @
1f5a6f1
...
...
@@ -16,17 +16,18 @@
bottom
:
0
;
left
:
4%
;
width
:
630rpx
;
height
:
288rpx
;
// height: 288rpx;
height
:
80%
;
}
}
.box
{
padding-top
:
32rp
x
;
box-sizing
:
border-bo
x
;
.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
packageEquity/pages/freecard/freecard.wxml
View file @
1f5a6f1
...
...
@@ -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
packageEquity/pages/receiveRed/receiveRed.js
View file @
1f5a6f1
...
...
@@ -51,6 +51,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
wx
.
hideShareMenu
()
wx
.
p
.
router
.
getData
(
obj
=>
{
this
.
setData
({
isMember
:
obj
.
isOpenMember
?
'member'
:
'noMember'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment