79 lines
3.9 KiB
Plaintext
79 lines
3.9 KiB
Plaintext
<view class="page-container">
|
|
<swiper indicator-dots style="height: 120rpx;" autoplay indicator-active-color="#fff">
|
|
<swiper-item>
|
|
<image src="{{imgAssets}}/banner_1.png" style="width: 100vw;height: 120rpx;"></image>
|
|
</swiper-item>
|
|
<swiper-item>
|
|
<image src="{{imgAssets}}/banner_2.png" style="width: 100vw;height: 120rpx;"></image>
|
|
</swiper-item>
|
|
</swiper>
|
|
<!-- 充值金额输入 -->
|
|
<view class="card-box sum-input-box">
|
|
<view class="mt-20">充值金额</view>
|
|
<view class="sum-input mt-20">
|
|
<text style="font-size: 12px;margin-bottom: 6px;">¥</text>
|
|
<input class="input-money" type="digit" placeholder-style="font-size:23px;" placeholder="请输入金额" bindinput="obMoney" value="{{payMoney}}" />
|
|
</view>
|
|
<scroll-view scroll-x="{{true}}" class="mt-20">
|
|
<view class="list-tabs">
|
|
<block wx:for="{{paySumOptions}}" wx:key="index">
|
|
<view class="{{currentTab==index? 'tab-select' :'tab-normal'}} item-margin" bind:tap="doChangePayMoney" data-value="{{item}}" data-index="{{index}}">
|
|
<text>{{item}}</text>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
<!-- 付款方式 -->
|
|
<view class="card-box">
|
|
<view>付款方式</view>
|
|
<radio-group class="form-radio_wrap">
|
|
<view class="pay-option-item mt-20" bind:tap="doChangePayWay" data-value="1">
|
|
<view class="option-type">
|
|
<view class="icon icon-wechat"></view>
|
|
<view>微信支付</view>
|
|
</view>
|
|
<radio class="radio" checked="{{payWay==1}}" value="1"></radio>
|
|
</view>
|
|
<view class="pay-option-item" bind:tap="doChangePayWay" data-value="2">
|
|
<view class="option-type">
|
|
<view class="icon icon-card"></view>
|
|
<view>对公转账</view>
|
|
</view>
|
|
<radio class="radio" checked="{{payWay==2}}" value="2"></radio>
|
|
</view>
|
|
</radio-group>
|
|
</view>
|
|
<!-- 套餐包 -->
|
|
<view class="card-box">
|
|
<view class="bag-box">
|
|
<view class="{{currentBagTab=='MATERIAL'?'bag-select':'bag-normal'}} border-left" bind:tap="doChangeBagTab" data-value="MATERIAL">写材料套餐包</view>
|
|
<view class="{{currentBagTab=='ALL'?'bag-select':'bag-normal'}} border-right" bind:tap="doChangeBagTab" data-value="ALL">全托管套餐包</view>
|
|
</view>
|
|
<container-loading style="min-height: 40vh;" loadingState="{{listLoading}}" bindrefresh="doRefreshList">
|
|
<view class="bag-list" style="min-height: 40vh;">
|
|
<!-- 列表 -->
|
|
<block wx:for="{{bagList}}" wx:key="index">
|
|
<view class="bag-item">
|
|
<view class="bag-item-title-box">
|
|
<view class="p-title">{{item.packageName}}</view>
|
|
<view class="desc">{{item.packageDescription}}</view>
|
|
|
|
</view>
|
|
<view class="bag-item-desc-box">
|
|
<rich-text class="num" nodes="{{tools.moneyTxt(10,item.packageMoney/100)}}"></rich-text>
|
|
<view class="btn" bind:tap="chooseBag" data-value="{{item}}">选购</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</container-loading>
|
|
</view>
|
|
<view class="bottom-btn-box">
|
|
<view class="green-bottom-btn" bind:tap="doPay">确认充值</view>
|
|
</view>
|
|
</view>
|
|
|
|
<mp-toptips msg="{{errorHint}}" type="error" show="{{showError}}"></mp-toptips>
|
|
<mp-toptips msg="{{successHint}}" type="success" show="{{showSuccess}}"></mp-toptips>
|
|
<wxs src="../../../utils/comm.wxs" module="tools"></wxs> |