weui中的sideview为什么会在dialog的上层?
代码如下
<view class="page" data-weui-theme="{{theme}}">
<view class="page__bd">
<view class="weui-media-box weui-media-box_small-appmsg">
<view class="weui-cells" wx:for="{{list}}" wx:key="key">
<mp-slideview buttons="{{slideButtons}}" bindbuttontap="slideButtonTap" id="{{item.index}}">
<mp-cell value="{{item.listName}}" footer="{{item.enableInd===1?selectArray[0].text:selectArray[1].text}}"></mp-cell>
</mp-slideview>
</view>
<view class="weui-cells">
<view class="weui-cell weui-cell_active weui-cell_access weui-cell_link">
<view class="weui-cell__bd" bindtap="inserData">添加</view>
<view class="weui-cell__ft"></view>
</view>
</view>
</view>
</view>
<view class="fadeIn" wx:if="{{halfScreenDialogShow}}">
<view class="weui-mask " bindtap="close "></view>
<view class="weui-half-screen-dialog ">
<view class="weui-half-screen-dialog__hd ">
<view class="weui-half-screen-dialog__hd__side " bindtap="halfScreenDialogClose">
<a class="weui-icon-btn ">返回
<i class="weui-icon-back-arrow-thin "></i>
</a>
</view>
</view>
<view class="weui-half-screen-dialog__bd ">
<view class="weui-cell weui-cell_active ">
<view class="weui-cell__hd ">
<label class="weui-label ">名称</label>
</view>
<view class="weui-cell__bd ">
<input class="weui-input" disabled="{{modifyInd}}" placeholder="输入名称 " placeholder-class="weui-input__placeholder" bindblur="checkName" value="{{dialogFirstField}}"></input>
</view>
</view>
<view class="weui-cell weui-cell_active ">
<view class="weui-cell__hd ">
<label class="weui-label ">状态</label>
</view>
<view class="weui-cell__bd ">
<Select prop-array='{{selectArray}}' bind:getListData="getListData"></Select>
</view>
</view>
</view>
<view class="weui-half-screen-dialog__ft ">
<a class="weui-btn weui-btn_default " bindtap="halfScreenDialogClose">取消</a>
<a class="weui-btn weui-btn_primary " bindtap="halfScreenDialogConfirm">确定</a>
</view>
</view>
</view>
<view class="fadeIn" wx:if="{{dialogShow}}">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__hd">
<strong class="weui-dialog__title">提示</strong>
</view>
<view class="weui-dialog__bd">确认删除{{list[index].listName}}吗?</view>
<view class="weui-dialog__ft">
<a class="weui-dialog__btn weui-dialog__btn_default" bindtap="dialogClose">取消</a>
<a class="weui-dialog__btn weui-dialog__btn_primary" bindtap="deleteConfirm">确认</a>
</view>
</view>
</view>
</view>
1 回复