Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
points-mall
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 f7cb28d8
authored
Aug 20, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分优化
1 parent
0b5ce1c9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
27 deletions
packageIndex/pages/integral/index/index.js
packageIndex/pages/integral/withdrawalNote/withdrawalNote.scss
packageIndex/pages/integral/withdrawalNote/withdrawalNote.wxml
packageIndex/pages/integral/index/index.js
View file @
f7cb28d
...
...
@@ -40,7 +40,7 @@ Page({
* 生命周期函数--监听页面加载
*/
async
onLoad
(
options
)
{
console
.
log
(
wx
.
p
)
//是否开通
await
this
.
openPointsWallet
()
this
.
searchScoreSummaryData
()
this
.
getScoreProfitListData
()
...
...
@@ -50,10 +50,9 @@ Page({
staffPhone
,
channelSource
}
=
wx
.
p
.
storage
.
get
(
'userInfo'
);
wx
.
p
.
api
.
withdrawalApi
.
openPointsWallet
({
phone
:
staffPhone
,
source
:
channelSource
//1.阳光激励 2.续保用户 3.管理层
phone
:
18925261040
,
source
:
1
//1.阳光激励 2.续保用户 3.管理层
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
setData
({
...
...
packageIndex/pages/integral/withdrawalNote/withdrawalNote.scss
View file @
f7cb28d
...
...
@@ -55,25 +55,30 @@ page {
font-weight
:
400
;
border-radius
:
18rpx
;
position
:
absolute
;
right
:
32rpx
;
top
:
32rpx
;
right
:
32rpx
;
top
:
32rpx
;
}
.waiteing
{
color
:
#FA9E14
;
border
:
1
.6rpx
solid
#FDB757
;
}
.comlpete
{
color
:
#28C792
;
border
:
1
.6rpx
solid
#28C792
;
}
.fail
{
color
:
#F75454
;
border
:
1
.6rpx
solid
#F75454
;
}
.ht
{
color
:
#FA9E14
;
border
:
1
.6rpx
solid
#FDB757
;
}
.waiteing
{
color
:
#FA9E14
;
border
:
1
.6rpx
solid
#FDB757
;
}
.comlpete
{
color
:
#28C792
;
border
:
1
.6rpx
solid
#28C792
;
}
.fail
{
color
:
#F75454
;
border
:
1
.6rpx
solid
#F75454
;
}
.ht
{
color
:
#FA9E14
;
border
:
1
.6rpx
solid
#FDB757
;
}
.countText
{
font-weight
:
500
;
font-size
:
48rpx
;
...
...
@@ -126,8 +131,19 @@ page {
}
}
.error-icon
{
width
:
24rpx
;
height
:
56rpx
;
margin-left
:
4rpx
;
.empty
{
margin
:
64rpx
175rpx
;
.empty-icon
{
width
:
400rpx
;
height
:
400rpx
;
}
.info
{
font-weight
:
400
;
font-size
:
28rpx
;
color
:
#7A8299
;
text-align
:
center
;
}
}
\ No newline at end of file
packageIndex/pages/integral/withdrawalNote/withdrawalNote.wxml
View file @
f7cb28d
...
...
@@ -38,5 +38,10 @@
</view>
</block>
</view>
<!-- <van-empty wx:if="{{isNoResult}}" description="暂无兑换记录" /> -->
<!-- <van-empty wx:if="{{isNoResult}}" description="暂无兑换记录" />
-->
<view wx:if="{{isNoResult}}" class="empty">
<glsx-image webp src="/integral/empty-image-default.png" class="empty-icon"></glsx-image>
<view class="info">暂无兑换记录</view>
</view>
</view>
\ No newline at end of file
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