1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
<view><view class="top-main-box"><block wx:if="{{merch.merchname}}"><view><navigator data-event-opts="{{[['tap',[['go2MerchIndex',['$0'],['merchid']]]]]}}" class="fukuan-top" bindtap="__e"><view><view class="fukuan-title">{{"付款给["+merch.merchname+"]"}}</view><view class="fukuan-shanghu"><text>(点击前往商家店铺)</text></view></view><image style="border-radius:12rpx;" src="{{merch.logo}}" data-event-opts="{{[['error',[['e0',['$event']]]]]}}" binderror="__e"></image></navigator><view class="fui-cell-group fukuan-jin-e"><view data-event-opts="{{[['tap',[['toggleKeyboard',[1]]]]]}}" class="top-money-remark" bindtap="__e"><text data-event-opts="{{[['longpress',[['showSpreadRemark',['$event']]]]]}}" bindlongpress="__e">金额</text><text data-event-opts="{{[['tap',[['showRemarkClick',['$event']]]]]}}" class="reamrk-btn" bindtap="__e">备注</text></view><view data-event-opts="{{[['tap',[['toggleKeyboard',[1]]]]]}}" class="fui-cell" bindtap="__e"><view class="fui-cell-labelf">¥</view><view class="fui-cell-remark noremark" style="margin-left:25rpx;text-align:left;font-size:58rpx;"><block wx:if="{{!list.realprice}}"><text style="{{('opacity:'+mockInputFocusText+';')}}">|</text></block><block wx:if="{{list.realprice}}"><text class="fui-input textl" id="price">{{list.realprice?list.realprice:''}}</text></block><block wx:else><text style="opacity:0.5;">在此输入金额</text></block></view></view><view class="remark-money"><block wx:if="{{showRemarkInput}}"><input class="fui-input textl" id="remark" placeholder="请输入备注" type="text" data-event-opts="{{[['input',[['listChange',['$event']]]]]}}" bindinput="__e"/></block></view></view></view></block><block wx:if="{{recharge>0}}"><block><block wx:if="{{!hideRechargeDeduct}}"><view class="fui-cell-group"><block wx:if="{{list.realprice}}"><view class="fui-cell"><block wx:if="{{recharge>0}}"><block><view><checkbox-group data-event-opts="{{[['change',[['useRechargeCheckBox',['$event']]]]]}}" style="transform:scale(0.75);" bindchange="__e"><checkbox color="#ed6d00" checked="{{use_deduct_recharge}}"></checkbox></checkbox-group></view><view class="fui-cell-info" style="color:#666;flex:inherit;margin-right:15rpx;"><block wx:if="{{merch.third_company_credit_order=='yes'}}"><text>{{"使用"+merch.third_company_credit_merchname+"积分抵扣"}}</text></block><block wx:else><text>使用储值卡抵扣</text></block></view><view class="flex"><block wx:if="{{list.deduct_recharge&&list.deduct_recharge!=undefined}}"><view class="badge badge-danger" style="font-size:30rpx;">{{''+list.deduct_recharge+'元'}}</view></block></view></block></block></view></block></view></block></block></block><block wx:if="{{credit1_hot_set>0&&credit1_hot_set_jine>=20}}"><view class="fui-cell-group"><block wx:if="{{ismobile}}"><block><block wx:if="{{list.realprice}}"><view class="fui-cell"><view><button class="mini-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber_hot',['$event']]]]]}}" bindgetphonenumber="__e"></button></view><view class="fui-cell-info" style="color:#666;flex:inherit;margin-right:15rpx;">{{activity_platform+"赠送"+credit1_hot_rang+"金豆"}}</view><view class="flex"><view style="font-size:30rpx;color:red;">{{"可抵扣约"+$root.f0+'元'}}</view></view></view></block></block></block><block wx:else><block><block wx:if="{{list.realprice}}"><view class="fui-cell"><view><checkbox-group data-event-opts="{{[['change',[['useCreditCheckBox_hot',['$event']]]]]}}" style="transform:scale(0.75);" bindchange="__e"><checkbox color="#ed6d00" value="1" checked="{{use_deductprice_hot}}"></checkbox></checkbox-group></view><view class="fui-cell-info" style="color:#666;flex:inherit;margin-right:15rpx;">{{activity_platform+"赠送"+credit1_hot_rang+"金豆"}}</view><view class="flex"><view style="font-size:30rpx;color:red;">{{"可抵扣约"+$root.f1+'元'}}</view></view></view></block></block></block></view></block><block wx:if="{{!hideCreditDeduct}}"><view class="fui-cell-group"><block wx:if="{{list.realprice}}"><view class="fui-cell" style="flex-wrap:wrap;"><block wx:if="{{credit1>0}}"><block><block wx:if="{{ismobile}}"><block><view><button class="mini-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e"></button></view><view class="fui-cell-info" style="color:#666;flex:inherit;margin-right:15rpx;">金豆会员享更多优惠</view><view class="flex"><view style="font-size:30rpx;margin-left:60rpx;color:red;">{{"本次消费可用金豆抵扣约"+use_max_credit_money+'元'}}</view></view></block></block><block wx:else><block><view><checkbox-group data-event-opts="{{[['change',[['useCreditCheckBox',['$event']]]]]}}" style="transform:scale(0.75);" bindchange="__e"><checkbox color="#ed6d00" checked="{{use_deductprice}}"></checkbox></checkbox-group></view><view class="fui-cell-info" style="color:#666;flex:inherit;margin-right:10rpx;">金豆会员享更多优惠</view><view class="flex"><view style="font-size:30rpx;margin-left:60rpx;color:red;">{{"本次消费可用金豆抵扣约"+use_max_credit_money+'元'}}</view></view></block></block></block></block><block wx:else><text class="text tip-txt">暂无可抵扣金豆</text></block></view></block></view></block><view class="fui-cell-group"><view class="fui-cell"><block wx:if="{{list.money_sub>0}}"><view class="fui-cell-info credit-title-txt">随机立减:<text style="color:#1aac19;">{{list.money_sub+"元"}}</text><text class="tip-txt hide"><text style="margin-left:5rpx;">(消费越多 优惠越多)</text></text></view></block><view class="fui-cell-info credit-title-txt"><block wx:if="{{merch.third_company_credit_order=='yes'}}"><text>{{merch.third_company_credit_merchname+" "+merch.third_company_credit_name}}</text></block><block wx:else><text>储值余额</text></block><text>:</text><text style="color:#0099CC;">{{(recharge?recharge:0.00)+"元"}}</text><view class="tip-txt"><text class="hide">(消费所得金豆可用于抵扣现金)</text></view></view></view><navigator class="fui-cell" openType="navigate"><block wx:if="{{list.credit}}"><view class="fui-cell-info credit-title-txt">金豆奖励:<text class="text-danger" style="color:#FF9933;">{{list.credit+"豆"}}</text><view class="tip-txt hide"><text>(所得金豆可以再次抵现)</text></view></view></block><view class="fui-cell-info credit-title-txt">金豆余额:<text style="color:#FF9933;">{{(credit1?credit1:0.00)+"豆"}}</text><text data-event-opts="{{[['tap',[['showMiniCreditdeductTips',['$event']]]]]}}" class="icox icox-bangzhuzhongxin" style="margin-left:5rpx;" bindtap="__e"></text><view class="tip-txt"><text class="hide">(消费所得金豆可用于抵扣现金)</text></view></view></navigator><block wx:if="{{merch.third_company_credit_order=='yes'&&merch.third_company_credit_miniappid}}"><navigator class="fui-cell" target="miniProgram" app-id="{{merch.third_company_credit_miniappid}}" path="/pages/index/index"><block wx:if="{{merch.third_company_credit_merchlogo!=''}}"><image class="icon" style="width:90rpx;height:90rpx;" src="{{merch.third_company_credit_merchlogo}}"></image></block><view class="fui-cell-info credit-title-txt"><view class="text"><text>{{merch.third_company_credit_miniappid_click_tips}}</text></view></view></navigator></block><block wx:if="{{list.realprice>0}}"><view class="fui-cell" openType="navigate"><view class="fui-cell-info credit-title-txt">最终应付:<text class="realprice">{{list.needpay+"元"}}</text><view class="tip-txt hide"><text>(所得金豆可以再次抵现)</text></view></view></view></block></view><view class="fui-cell-group"><block wx:if="{{list.couponcount>0}}"><navigator class="fui-cell" openType="navigate" url="/pages/public/coupon/index?type=0"><view class="fui-cell-info" style="color:#666;">{{!data.couponname?'选择优惠券':'已选择优惠券:'+data.couponname}}</view><view class="fui-cell-remark"><view class="badge badge-danger">{{list.couponcount}}</view></view><block wx:if="{{list.couponcount<=0}}"><text class="text">无可用</text></block></navigator></block></view><block wx:if="{{list.realprice}}"><view class="{{['hide','fui-footer ']}}"><view class="tool nopadding"><view class="text"><view class="title text-right">需付:<text class="text-danger" style="font-size:32rpx;">{{list.needpay+"元"}}</text></view></view><view class="text"><view class="title text-right" style="font-size:26rpx;color:gray;">获得金豆奖励<text class="text-danger" style="color:#FF9933;">{{list.credit}}</text></view></view><view class="btns"><block wx:if="{{!on_paying}}"><text data-event-opts="{{[['tap',[['submitFun',['$event']]]]]}}" class="btn btn-danger" bindtap="__e">立即支付</text></block><block wx:if="{{on_paying}}"><text class="btn btn-danger">支付中...</text></block></view></view></view></block></view><block wx:if="{{merch.e_cny_qrurl_psbc}}"><button data-event-opts="{{[['tap',[['useEcnyPay',['$event']]]]]}}" class="e-cny-button" bindtap="__e">点我使用数字人民币支付</button></block><view class="yuledui-biaoyu"><text>要省钱 就用2</text><text class="yld-txt">余乐兑</text><text class="shangbiao-txt">®</text></view><view style="text-align:center;"><image class="hide-btn _img" src="http://yuledui.oss-cn-qingdao.aliyuncs.com/wx_miniapp/order/offlinepay/down-hide.png" data-event-opts="{{[['tap',[['toggleKeyboard',['$event']]]]]}}" bindtap="__e"></image></view><view class="{{['bottom-key',showKeyBoard?'':'hide']}}"><block wx:if="{{option.cashierid&&option.cashierid!=''&&option.total>0}}"><cwx-keyboard class="vue-ref" vue-id="68ffc978-1" hideInputNumber="{{true}}" btn-color="#08c163" title="点我付款" data-ref="clearMoney" data-event-opts="{{[['^confirmEvent',[['submitFun']]]]}}" bind:confirmEvent="__e" bind:__l="__l"></cwx-keyboard></block><block wx:else><cwx-keyboard class="vue-ref" vue-id="68ffc978-2" money="{{list.realprice}}" btn-color="#08c163" title="付款" data-ref="clearMoney" data-event-opts="{{[['^oninputBind',[['onMoneyInput']]],['^confirmEvent',[['submitFun']]],['^updateMoney',[['__set_sync',['$0','realprice','$event'],['list']]]]]}}" bind:oninputBind="__e" bind:confirmEvent="__e" bind:updateMoney="__e" bind:__l="__l"></cwx-keyboard></block></view></view> |