@@ -6,23 +6,28 @@ | |||||
</view> | </view> | ||||
<view class=''> | <view class=''> | ||||
<text class='title'>成长值明细</text> | <text class='title'>成长值明细</text> | ||||
<view class='content clearfix' wx:for="{{list}}" wx:key="{{index}}"> | |||||
<view class='le'> | |||||
<text wx:if="{{item.scoreType==1}}">每日登录</text> | |||||
<text wx:if="{{item.scoreType==2}}">消费</text> | |||||
<text wx:if="{{item.scoreType==3}}">绑车牌</text> | |||||
<text wx:if="{{item.scoreType==4}}">连接WIFI</text> | |||||
<text wx:if="{{item.scoreType==5}}">微信用户昵称授权</text> | |||||
<text wx:if="{{item.scoreType==6}}">微信用户手机授权</text> | |||||
<text wx:if="{{item.scoreType==7}}">完善个人信息</text> | |||||
<text wx:if="{{item.scoreType==8}}">会员导入</text> | |||||
<text wx:if="{{item.scoreType==9}}">{{item.reason}}</text> | |||||
<text>{{item.createDate}}</text> | |||||
</view> | |||||
<view class='fr'> | |||||
<text wx:if="{{item.scoreAmount>0&&item.scoreType==8}}">重置为{{item.scoreAmount}}分</text> | |||||
<text wx:if="{{item.scoreAmount>0&&item.scoreType!=8}}">+{{item.scoreAmount}}分</text> | |||||
<text wx:if="{{0>=item.scoreAmount}}">{{item.scoreAmount}}分</text> | |||||
<view wx:if="{{list.length>0}}"> | |||||
<view class='content clearfix' wx:for="{{list}}" wx:key="{{index}}"> | |||||
<view class='le'> | |||||
<text wx:if="{{item.scoreType==1}}">每日登录</text> | |||||
<text wx:if="{{item.scoreType==2}}">消费</text> | |||||
<text wx:if="{{item.scoreType==3}}">绑车牌</text> | |||||
<text wx:if="{{item.scoreType==4}}">连接WIFI</text> | |||||
<text wx:if="{{item.scoreType==5}}">微信用户昵称授权</text> | |||||
<text wx:if="{{item.scoreType==6}}">微信用户手机授权</text> | |||||
<text wx:if="{{item.scoreType==7}}">完善个人信息</text> | |||||
<text wx:if="{{item.scoreType==8}}">会员导入</text> | |||||
<text wx:if="{{item.scoreType==9}}">{{item.reason}}</text> | |||||
<text>{{item.createDate}}</text> | |||||
</view> | |||||
<view class='fr'> | |||||
<text wx:if="{{item.scoreAmount>0&&item.scoreType==8}}">重置为{{item.scoreAmount}}分</text> | |||||
<text wx:if="{{item.scoreAmount>0&&item.scoreType!=8}}">+{{item.scoreAmount}}分</text> | |||||
<text wx:if="{{0>=item.scoreAmount}}">{{item.scoreAmount}}分</text> | |||||
</view> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class='nonecontent' wx:if="{{list.length==0}}"> | |||||
暂无数据 | |||||
</view> | |||||
</view> | </view> |
@@ -116,4 +116,10 @@ | |||||
height: 60rpx; | height: 60rpx; | ||||
vertical-align: middle; | vertical-align: middle; | ||||
margin-right: 10rpx; | margin-right: 10rpx; | ||||
} | |||||
.nonecontent{ | |||||
text-align: center; | |||||
font-size: 30rpx; | |||||
color: #999; | |||||
margin-top: 30rpx; | |||||
} | } |
@@ -8,6 +8,7 @@ | |||||
width: 100%; | width: 100%; | ||||
height: 533rpx; | height: 533rpx; | ||||
} | } | ||||
button::after{ border: none; } | |||||
.goback { | .goback { | ||||
float:left; | float:left; | ||||
width:122rpx!important; | width:122rpx!important; | ||||
@@ -17,7 +18,7 @@ | |||||
border:1rpx solid rgba(227,227,227,1); | border:1rpx solid rgba(227,227,227,1); | ||||
/* box-shadow:0px 8px 8px 1px rgba(189,189,189,0.32); */ | /* box-shadow:0px 8px 8px 1px rgba(189,189,189,0.32); */ | ||||
border-radius:48rpx; | border-radius:48rpx; | ||||
margin-right:25rpx; | |||||
margin-right:20rpx; | |||||
} | } | ||||
.goback image{ | .goback image{ | ||||
position:absolute; | position:absolute; | ||||
@@ -331,6 +332,7 @@ | |||||
font-size: 32rpx; | font-size: 32rpx; | ||||
color: #333; | color: #333; | ||||
letter-spacing: 0; | letter-spacing: 0; | ||||
line-height: 40rpx; | |||||
} | } | ||||
.posi_logo view:nth-child(2) text:nth-child(2) { | .posi_logo view:nth-child(2) text:nth-child(2) { | ||||
@@ -6,14 +6,19 @@ | |||||
</view> | </view> | ||||
<view class=''> | <view class=''> | ||||
<text class='title'>积分明细</text> | <text class='title'>积分明细</text> | ||||
<view class='content clearfix' wx:for="{{list}}" wx:key="{{index}}"> | |||||
<view class='le'> | |||||
<text>{{item.creditTypeName}}</text> | |||||
<text>{{item.createDate}}</text> | |||||
</view> | |||||
<view class='fr'> | |||||
<text wx:if="{{item.creditNum>0}}" style="color:#fc5b24;">+{{item.creditNum}}分</text> | |||||
<text wx:if="{{item.creditNum<0}}">{{item.creditNum}}分</text> | |||||
<view wx:if="{{list.length>0}}"> | |||||
<view class='content clearfix' wx:for="{{list}}" wx:key="{{index}}"> | |||||
<view class='le'> | |||||
<text>{{item.creditTypeName}}</text> | |||||
<text>{{item.createDate}}</text> | |||||
</view> | |||||
<view class='fr'> | |||||
<text wx:if="{{item.creditNum>0}}" style="color:#fc5b24;">+{{item.creditNum}}分</text> | |||||
<text wx:if="{{item.creditNum<0}}">{{item.creditNum}}分</text> | |||||
</view> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class='nonecontent' wx:if="{{list.length==0}}"> | |||||
暂无数据 | |||||
</view> | |||||
</view> | </view> |
@@ -117,4 +117,10 @@ | |||||
height: 60rpx; | height: 60rpx; | ||||
vertical-align: middle; | vertical-align: middle; | ||||
margin-right: 10rpx; | margin-right: 10rpx; | ||||
} | |||||
.nonecontent{ | |||||
text-align: center; | |||||
font-size: 30rpx; | |||||
color: #999; | |||||
margin-top: 30rpx; | |||||
} | } |
@@ -1,7 +1,7 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "积分兑换结果", | "navigationBarTitleText": "积分兑换结果", | ||||
"navigationBarTextStyle": "white", | "navigationBarTextStyle": "white", | ||||
"navigationBarBackgroundColor":"#52A0FD", | |||||
"navigationBarBackgroundColor": "#F13C42", | |||||
"enablePullDownRefresh": true, | "enablePullDownRefresh": true, | ||||
"usingComponents": {} | "usingComponents": {} | ||||
} | } |
@@ -1,5 +1,6 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "积分换礼", | "navigationBarTitleText": "积分换礼", | ||||
"navigationBarBackgroundColor": "#F13C42", | "navigationBarBackgroundColor": "#F13C42", | ||||
"navigationBarTextStyle": "white", | |||||
"enablePullDownRefresh": true | "enablePullDownRefresh": true | ||||
} | } |
@@ -490,6 +490,10 @@ Page({ | |||||
id: res.data.id, | id: res.data.id, | ||||
showTopic: true | showTopic: true | ||||
}) | }) | ||||
}else{ | |||||
that.setData({ | |||||
showTopic: false | |||||
}) | |||||
} | } | ||||
}) | }) | ||||
.catch(err => { | .catch(err => { | ||||
@@ -51,13 +51,6 @@ | |||||
<c-coupons id="lists" bind:myevent="onGetCode" class="business" loadingtext="{{loadingtext}}" loading="{{loading}}" /> | <c-coupons id="lists" bind:myevent="onGetCode" class="business" loadingtext="{{loadingtext}}" loading="{{loading}}" /> | ||||
<g-entry id="listss" wx:if="{{showGame&&!played&&!havePlayEd}}" gamedata="{{gamedata}}" bind:myevent="" /> | <g-entry id="listss" wx:if="{{showGame&&!played&&!havePlayEd}}" gamedata="{{gamedata}}" bind:myevent="" /> | ||||
</view> | </view> | ||||
<!-- <view class='showQrcode' bindtap='hideQrcode' wx:if="{{showQrcode}}"> | |||||
<view class="canvas-box"> | |||||
<text class='memberIds' wx:if="{{levelName!='无'}}">{{levelName}}</text> | |||||
<canvas canvas-id="mycanvas2" id='mycanvas2' /> | |||||
<button class='button' bindtap='mySpecial'>特享礼遇</button> | |||||
</view> | |||||
</view> --> | |||||
<!-- 顶部签到成长值 --> | <!-- 顶部签到成长值 --> | ||||
<view class='signin' wx:if="{{fistLogin}}" animation="{{alphaData}}"> | <view class='signin' wx:if="{{fistLogin}}" animation="{{alphaData}}"> | ||||
<open-data class="open" type="userAvatarUrl"></open-data> | <open-data class="open" type="userAvatarUrl"></open-data> | ||||
@@ -6,8 +6,8 @@ | |||||
<view class="user-phone" bindtap='gotograde'> | <view class="user-phone" bindtap='gotograde'> | ||||
<open-data type="userNickName"></open-data> | <open-data type="userNickName"></open-data> | ||||
<text class='chengzhang'>{{levelName}}</text> | <text class='chengzhang'>{{levelName}}</text> | ||||
<view class="view">成长值{{score}} | |||||
<image src='{{redirectUrl}}' mode='widthFix'></image> | |||||
<view class="view">成长值{{score}}> | |||||
<!-- <image src='{{redirectUrl}}' mode='widthFix'></image> --> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class='chengzhang1'> | <view class='chengzhang1'> | ||||