Commit f7cb28d8 by wangzhihui

积分优化

1 parent 0b5ce1c9
......@@ -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({
......
......@@ -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
......@@ -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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!