index.wxml
2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!--packageIndex/pages/integral/index/open/index.wxml-->
<view class="integral-have-container">
<!-- 导航栏 -->
<view class="navigation">
<navigation-bar bindnavbarReady="navbarReady" custom="{{true}}" navStyle="{{navStyle}}" page-title="积分中心">
<view class="nav-wrap">
<view class="back" bindtap="back">
<glsx-image webp src="/integral/back.png" class="icon"></glsx-image>
</view>
<view class="bar-text">积分中心</view>
</view>
</navigation-bar>
</view>
<block wx:if="{{navHeight}}">
<view class="layout" style="top:{{navHeight}}px;margin-top:-674rpx">
<!-- 已开通 -->
<view class="have-open">
<view class="my-integral">
<view class="title --fontColor flex">
<glsx-image webp src="/integral/logo.png" class="gold"></glsx-image>{{userInfo.nickName}}的总积分
</view>
<view class="integral">
{{scoreSummary.currentScore}}
</view>
</view>
<view class="flex withdraw" bind:tap="toCash">
<glsx-image webp src="/integral/withdraw.png" class="withdraw-icon"></glsx-image>
我要提现
</view>
<view class="guide-wrap flex">
<view wx:for="{{guideList}}" class="guide flex" wx:for-item="g" wx:key="index" bind:tap="go" data-index="{{index}}">
<view class="value" wx:if="{{g.key}}">{{scoreSummary[g.key]}}</view>
<glsx-image webp src="/integral/{{g.leftIcon}}.png" class="left" wx:if="{{g.leftIcon}}"></glsx-image>
<view class="text">{{g.text}}</view>
<glsx-image webp src="/integral/{{g.rightIcon}}.png" class="right" wx:if="{{g.rightIcon}}"></glsx-image>
<view class="line" wx-if="{{index!=2}}"></view>
</view>
</view>
<view class="accumulative-content flex">
<view wx:for="{{havoData}}" wx:key="index" wx:for-item="i" class="c-item">
<view class="value">{{scoreSummary[i.key]||'-'}}</view>
<view class="text">{{i.text}}</view>
</view>
</view>
</view>
<slot></slot>
</view>
</block>
</view>