1 line
4.1 KiB
Plaintext
1 line
4.1 KiB
Plaintext
<view class="index home-bg" style="{{$root.s0}}"><u-sticky vue-id="52e688b9-1" offset-top="0" h5-nav-height="0" bg-color="transparent" enable="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><u-navbar vue-id="{{('52e688b9-2')+','+('52e688b9-1')}}" border-bottom="{{false}}" is-fixed="{{false}}" custom-class="home-bg" background="{{navBackground}}" is-back="{{true}}" backText=" " title="{{title}}" title-color="#fff" backIconColor="#fff" bind:__l="__l"></u-navbar></u-sticky><view class="row-center balance" style="{{'padding-top:'+(topSpace+'px')+';'}}"><view class="u-text-center w-full"><view class="text-fff" style="font-size:96rpx;">{{userInfo.user_money}}</view><view class="text-fff nr">充值余额</view></view></view><view class="content u-relative u-m-l-32 u-m-r-32" style="margin-top:132rpx;"><view class="input row-center br16"><view class="input-money"><u-input bind:input="__e" vue-id="52e688b9-3" placeholder="输入金额: 0" placeholder-style="color: #254062;" custom-style="{{({backgroundColor:'transparent'})}}" input-align="center" value="{{number}}" data-event-opts="{{[['^input',[['__set_model',['','number','$event',[]]]]]]}}" bind:__l="__l"></u-input></view></view><block wx:if="{{$root.g0>0}}"><view class="u-m-t-38"><view class="sm u-m-b-20 bold-400">选择充值套餐</view><view class="grid-container"><block wx:for="{{rechargeTemplate}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['rechargeFun',[['o',['id',item.id]]]]]]]}}" class="item active" bindtap="__e"><view class="xs text-666">充值</view><view class="text-333 md u-m-t-4">{{"¥"+item.money}}</view><view class="text-666 xxs u-m-t-2">{{"赠送"+item.give_money+"元"}}</view></view></block></view></view></block><view class="u-m-t-56"><view class="sm u-m-b-20 bold-400">加赠券 价值10元</view><view class="grid-container u-m-t-18"><view class="coupon u-text-center"><view class="sm text-666">赠券1张</view><view class="text-333 md u-m-t-28"><price-format vue-id="52e688b9-4" color="#FF0000" price="{{10}}" subscriptSize="{{22}}" firstSize="{{52}}" bind:__l="__l"></price-format></view><view class="text-666 sm u-m-t-30">满10元可用</view></view></view></view><view class="u-m-t-70 u-p-10"><view class="sm u-m-b-20 bold-400">充值说明</view><view class="text-999">1. 账户充值仅限在线方式支付,充值金额实时到账;</view><view class="text-999">2. 有问题请联系客服;</view></view><view class="u-m-t-42 u-p-b-20"><u-button vue-id="52e688b9-5" hover-class="none" customStyle="{{({height:'76rpx',backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'100rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['rechargeNow']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">立即充值</u-button></view></view><u-popup bind:input="__e" class="pay-popup" vue-id="52e688b9-6" closeable="{{true}}" round="{{true}}" mode="center" value="{{showPopup}}" data-event-opts="{{[['^input',[['__set_model',['','showPopup','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="content bg-white"><image class="img-icon" src="{{cloudPath+'img/icon_paySuccess.png'}}"></image><view class="xxl bold mt10">充值成功</view><block wx:if="{{rechargeInfo.give_integral||rechargeInfo.give_growth}}"><view class="lg u-mt-50">恭喜您获得<text><block wx:if="{{rechargeInfo.give_integral}}"><text class="primary">{{rechargeInfo.give_integral}}</text></block>积分</text><block wx:if="{{rechargeInfo.give_growth}}"><text>+<text class="primary">{{rechargeInfo.give_growth}}</text>成长值</text></block></view></block><u-button class="btn" vue-id="{{('52e688b9-7')+','+('52e688b9-6')}}" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'60rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^tap',[['onShowPopup']]]]}}" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}">好的</u-button></view></u-popup><block wx:if="{{showLoading}}"><loading-view vue-id="52e688b9-8" id="van-toast" backgroundColor="rgba(0, 0, 0, 0)" bind:__l="__l"></loading-view></block></view> |