<view id="_toast" wx:if="{{_toast}}">
    <view class="{{_toast.hide?'hide':''}}" id="_toast_title">
        <text>{{_toast.title}}</text>
    </view>
</view>
<view class=" flex-row flex-x-center flex-y-center" id="_loading" wx:if="{{_loading}}">
    <view class="{{_loading?'hide':''}}">
        <image src="{{__wxapp_img.system.loading2.url}}"></image>
    </view>
</view>
<view class="new-modal" wx:if="{{user_info_show}}">
    <view class="new-modal-content" style="width: 650rpx">
        <view class="new-modal-body" style="min-height:0;margin-bottom:0;max-height:none;padding: 0;position:relative;">
            <image src="/images/icon-login-index.png" style="width:650rpx;height:700rpx;"></image>
            <view style="position: absolute;width: 224rpx;height: 80rpx;top: 566rpx;left: 340rpx;">
                <button bindgetuserinfo="getUserInfo" bindtap="myLogin" class="btn new-modal-btn" openType="getUserInfo" style="width:100%;height:100%;" wx:if="{{__platform=='wx'}}"></button>
                <button class="btn new-modal-btn" onGetAuthorize="myLogin" openType="getAuthorize" scope="userInfo" style="width:100%;height:100%;" wx:if="{{__platform=='my'}}"></button>
            </view>
            <view bindtap="cancelLogin" style="position: absolute;width: 224rpx;height: 80rpx;top: 566rpx;left: 84rpx;"></view>
        </view>
    </view>
</view>
<block wx:if="{{user_bind_show}}">
    <view class="new-modal" wx:if="{{!__user_info.binding&&store.option.phone_auth==1}}">
        <view class="new-modal-content">
            <view class="new-modal-header" style="padding:30rpx 0;line-height:60rpx;font-size:11pt;border-bottom: 1rpx solid #eee;">授权获取手机号</view>
            <view class="new-modal-body" style="min-height:0;margin-bottom:0;">
                <view style="padding:32rpx 0 40rpx 0;text-align: center">
                    <image src="{{__wxapp_img.system.wechatapp.url}}" style="width: 88rpx;height: 88rpx;" wx:if="{{__platform=='wx'}}"></image>
                    <image src="{{__wxapp_img.system.alipay.url}}" style="width: 88rpx;height: 88rpx;" wx:else></image>
                </view>
                <view style="padding:0 41rpx;">
                    <view class="flex-x-center" style="margin-bottom:40rpx;">申请获取您微信绑定的手机号</view>
                </view>
                <view class="flex-x-center">
                    <view>
                        <button bindgetphonenumber="getPhoneNumber" class="btn new-modal-btn" hoverClass="none" openType="getPhoneNumber" style="background-color:#04be01;width:500rpx;height:80rpx;border-radius:80rpx;color:#fff;margin-bottom:40rpx;">确认</button>
                    </view>
                </view>
            </view>
        </view>
    </view>
</block>
