chargeDetail.wxml 6.58 KB
<!-- pages/changeDetail/changeDetail.wxml -->
<view class="detail_container">
    <view class="account_area">
        <image webp src="{{query.icon}}"></image>
        <view class="account_input">
            <text class="title">充值账号</text>
            <input placeholder-style="color:#B1B1B3;" bind:input="bindInput" placeholder="请输入要充值的账号" type="number" />
            <view class="line"></view>
        </view>
    </view>
    <!-- 充值会员选择 -->
        <view class="member_area">
            <text style="margin-left: 20rpx;" class="title">充值类型</text>
            <scroll-view scroll-x="true" class="member_type">
                <view class="member-box">
                    <view wx:for="{{listData}}" wx:key="index" bind:tap="changeMumberType" data-index="{{index}}" class="member_type_item {{index===curIndex ? 'activeNav' : ''}}">
                        <text class="type_name">{{item.productName}}</text>
                    </view>
                </view>
            </scroll-view>
            <view class="sale_area">
                <view wx:for="{{listData[curIndex].denominationList}}" wx:key="index" class="sale_item {{index===checkedItem ? 'selected_sale_item' : ''}}" bind:tap="checkedMumberType" data-item="{{item}}" data-index="{{index}}">
                    <text wx:if="{{!item.noMemberPrice&&!isGameUse}}" class="isMember">会员专属</text>
                    <view class="month">{{item.denomination}}</view>
                    <block wx:if="{{!isGameUse}}">
                        <text class="price"><text style="font-size: 22rpx;">¥</text>{{isOpen ||!item.noMemberPrice?item.salesPrice:item.noMemberPrice}}</text>
                        <text wx:if="{{!isOpen && item.noMemberPrice}}" class="discount">会员立减{{item.diffPraice}}元</text>
                        <view wx:else style="height:34rpx"></view>
                        <text class="authority_price">官方价<text style="text-decoration:line-through">¥{{item.lineationPrice}}</text></text>
                    </block>
                    <view wx:if="{{isGameUse}}" style="height:42rpx"></view>
                    <block wx:if="{{isGameUse}}">
                        <text class="price"><text style="font-size: 22rpx;">¥</text>{{item.lineationPrice}}</text>
                    </block>
                </view>
            </view>
        </view>
    <!-- 优惠券 -->
    <!-- <view wx:if="{{isGameUse}}" class="coupons_widget" catch:tap="toSelectCoupons">
        <view class="left_wrap">
            <glsx-image class="logo" webp src="glsx/equity/comodity_use_logo.png"></glsx-image>
            <view class="text">优惠券</view>
        </view>
        <view class="right_Wrap">
            <view wx:if="{{coupons.denomination}}" class="price_text">¥{{coupons.denomination}}</view>
             <glsx-image wx:if="{{!isGH}}" class="right_Wrap_icon" webp src="glsx/mine/arrow.png"></glsx-image>
        </view>
    </view> -->
    <!-- 温馨提示 -->
    <view class="tip">
        <text class="title">温馨提示</text>
        <view wx:if="{{richText}}" class="rich_wrapper">
            <rich-text nodes="{{richText}}"></rich-text>
        </view>
    </view>
    <!-- 购买按钮 -->
    <view style="{{isGH?'padding:0 32rpx':''}}" class="buy_bar isFullSucreen">
        <view  class="coupon" bind:tap="toCoupons">
            <glsx-image webp src="equity/card-icon.png"></glsx-image>
            <text>我的订单</text>
        </view>
        <button style="width:468rpx" bind:tap="toRecharge" class="buy_btn">
            立即购买(¥{{isOpen ||!selectedItem.noMemberPrice?selectedItem.salesPrice:selectedItem.noMemberPrice}})
        </button>
        <!-- <button wx:if="{{isGameUse}}" style="{{isGH?'width:100%;border-radius: 8rpx;':'width:468rpx'}}" bind:tap="toRecharge" class="buy_btn">
            立即购买(¥{{selectedItem.payCouponsPrice}})
        </button> -->
        <!-- <button wx:if="{{isGH}}" style="width:100%;border-radius: 8rpx;" bind:tap="toRecharge" class="buy_btn">
            立即充值
        </button> -->
    </view>
    <!-- 弹框 -->
    <view wx:if="{{showModal}}" class="overlay">
        <view class="overlay_boxs">
            <view class="box_body">
                <!-- <glsx-image webp class="boxs_icon" webp src="equity/scrm_modal_top_icon.png" /> -->
                <view class="boxs_content" style="height:{{!isOpen?'612':'438'}}rpx">
                    <view class="box_title">
                        <text class="box_title_text">温馨提示</text>
                    </view>
                    <view class="box_container" style="height:{{!isOpen?'536':'410'}}rpx">
                        <view class="box_content_text">
                            <view>请您核对账号,确保无误</view>
                            <view class="info_tip">充值账号</view>
                            <view class="info_num">{{rechageNum}}</view>
                        </view>
                        <block wx:if="{{!isOpen}}">
                            <view class="info_line"></view>
                            <view class="info_diff">
                                开通会员本商品可再减
                                <text class="spc_text">{{diffPrice}}元</text>
                            </view>
                            <view class="info_open_btn" catchtap="toOpenPage">点我开通</view>
                        </block>
                        <!-- <view wx:if="{{!isOpen&&!curentGoodsItem.noMemberPrice}}" class="box_content_text">
                            卡券<text class="spc_text">【{{curentGoodsItem.productName}}】</text>为会员专属商品,您可在成为会员后发起购买
                        </view> -->
                        <view class="box_btn_groups">
                            <view class="btn_wrap" catchtap="modalOnCancel">取消</view>
                            <view wx:if="{{!isOpen&&!selectedItem.noMemberPrice}}" class="btn_wrap spc_text" catchtap="toMemberPage">
                                开通会员
                            </view>
                            <view wx:else class="btn_wrap spc_text" catchtap="comfirmBuyItem">
                                确定购买
                            </view>
                            <view class="dr_line"></view>
                        </view>
                    </view>
                </view>
            </view>
        </view>
    </view>
</view>
<!-- <block wx:if="{{showComponent&&!isGH}}">
 <coupons-list goodsId="{{selectedItem.id}}" couponsId="{{query.couponsId}}" bind:getCoupons="getCouponsItem" show="{{showCoupons}}"></coupons-list>
</block> -->