index.wxml 1.6 KB

1
  1. <form data-event-opts="{{[['submit',[['checkForm',['$event']]]]]}}" class="form data-v-5c7ed044" bindsubmit="__e"><view class="input-section data-v-5c7ed044"><view class="section-hd data-v-5c7ed044">支付金额</view><view class="section-bd data-v-5c7ed044"><view class="input-group data-v-5c7ed044">¥<input class="input data-v-5c7ed044" name="money" type="digit" placeholder="0.00" data-event-opts="{{[['input',[['__set_model',['','money','$event',['number']]]]],['blur',[['$forceUpdate']]]]}}" value="{{money}}" bindinput="__e" bindblur="__e"/></view><block wx:if="{{payPrice}}"><view class="discount data-v-5c7ed044">{{"会员优惠价:¥"+payPrice}}</view></block></view></view><view class="radio-section data-v-5c7ed044"><view class="section-hd data-v-5c7ed044">支付方式</view><radio-group class="section-bd data-v-5c7ed044" name="method"><block wx:if="{{yuePay}}"><label class="item data-v-5c7ed044"><text class="iconfont icon-yue data-v-5c7ed044"></text><text class="name data-v-5c7ed044">余额支付<text class="money data-v-5c7ed044">{{"可用余额:"+(now_money||0)+"¥"}}</text></text><radio value="yue" checked="{{payType==='yue'}}" class="data-v-5c7ed044"></radio></label></block><block wx:if="{{wxpay}}"><label class="item data-v-5c7ed044"><text class="iconfont icon-weixinzhifu data-v-5c7ed044"></text><text class="name data-v-5c7ed044">微信支付</text><radio value="weixin" checked="{{payType==='weixin'}}" class="data-v-5c7ed044"></radio></label></block></radio-group></view><button class="button data-v-5c7ed044" form-type="submit">确认</button><view class="alipay data-v-5c7ed044"><rich-text nodes="{{alipayHtml}}"></rich-text></view></form>