收藏
回答

weui 的dialog为什么不是弹出在中间,什么问题?

<!--pages/authorization/index.wxml-->
<import src="../../templates/navigation/navigation.wxml" />
<template is="navigationStyle" data="{{...navigation}}"></template>

<view class="page">
    <mp-dialog title="提示" show="{{showOneButtonDialog}}" buttons="{{oneButton}}" bindbuttontap="tapDialogButton">
        <view>需要通过授权才能继续,请重新点击的授权</view>
    </mp-dialog>

    <view class="page__hd">
    </view>
    <view class="page__bd">
        <view class="page__logo">
            <view class="logo">
                <image src=""></image>
            </view>
        </view>
        <text class="tip">请完成微信授权以继续使用</text>
        <view class="btn-area">
            <button class="btn" style="  width:90%;" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">微信授权用户信息</button>
        </view>
    </view>
</view>

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签