Commit 5f18fb82 by zhangxw

Merge branch 'SAAS+V4.56.0-0908' of http://192.168.3.233:8090/saas/mini-program/…

…points-mall into SAAS+V4.56.0-0908
2 parents d8af7165 f7cb28d8
...@@ -40,7 +40,7 @@ Page({ ...@@ -40,7 +40,7 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
async onLoad(options) { async onLoad(options) {
console.log(wx.p) //是否开通
await this.openPointsWallet() await this.openPointsWallet()
this.searchScoreSummaryData() this.searchScoreSummaryData()
this.getScoreProfitListData() this.getScoreProfitListData()
...@@ -50,10 +50,9 @@ Page({ ...@@ -50,10 +50,9 @@ Page({
staffPhone, staffPhone,
channelSource channelSource
} = wx.p.storage.get('userInfo'); } = wx.p.storage.get('userInfo');
wx.p.api.withdrawalApi.openPointsWallet({ wx.p.api.withdrawalApi.openPointsWallet({
phone:staffPhone, phone:18925261040,
source:channelSource //1.阳光激励 2.续保用户 3.管理层 source:1 //1.阳光激励 2.续保用户 3.管理层
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.setData({ this.setData({
......
...@@ -55,25 +55,30 @@ page { ...@@ -55,25 +55,30 @@ page {
font-weight: 400; font-weight: 400;
border-radius: 18rpx; border-radius: 18rpx;
position: absolute; position: absolute;
right:32rpx; right: 32rpx;
top:32rpx; top: 32rpx;
} }
.waiteing{
.waiteing {
color: #FA9E14; color: #FA9E14;
border: 1.6rpx solid #FDB757; border: 1.6rpx solid #FDB757;
} }
.comlpete{
.comlpete {
color: #28C792; color: #28C792;
border: 1.6rpx solid #28C792; border: 1.6rpx solid #28C792;
} }
.fail{
.fail {
color: #F75454; color: #F75454;
border: 1.6rpx solid #F75454; border: 1.6rpx solid #F75454;
} }
.ht{
.ht {
color: #FA9E14; color: #FA9E14;
border: 1.6rpx solid #FDB757; border: 1.6rpx solid #FDB757;
} }
.countText { .countText {
font-weight: 500; font-weight: 500;
font-size: 48rpx; font-size: 48rpx;
...@@ -126,8 +131,19 @@ page { ...@@ -126,8 +131,19 @@ page {
} }
} }
.error-icon { .empty {
width: 24rpx;
height: 56rpx; margin: 64rpx 175rpx;
margin-left: 4rpx;
.empty-icon {
width: 400rpx;
height: 400rpx;
}
.info {
font-weight: 400;
font-size: 28rpx;
color: #7A8299;
text-align: center;
}
} }
\ No newline at end of file \ No newline at end of file
...@@ -38,5 +38,10 @@ ...@@ -38,5 +38,10 @@
</view> </view>
</block> </block>
</view> </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> </view>
\ No newline at end of file \ 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!