<uni-popupref="popup"> <viewclass="login_phone_box"> <viewclass="check_box"> </view> <viewclass="title">为了验证用户登录信息,小程序将获取您的手机号</view> <viewclass="operate"> 登录 </view> </view> </uni-popup>
.tabbar-box-item { // position: relative; width: 100%; z-index: 3; margin: 10upx; color: $uni-color-subtitle; text-align: center; font-size: $uni-font-size-base; .box-image { width: 100%; height: $uni-img-size-lg; } } } } /deep/ .u-popup__content{ border-radius: 30rp...
# Popup 弹出层 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义。 # 平台差异说明 App(vue)App(nvue)H5小程序 √ √ √ √ # 基本使用 弹出层的内容通过slot传入,由用户自定义 通过show绑定一个布尔值的变量控制弹出层的打开和收起 <template...
<NutPopUp v-model:visible="innerVisible" position="bottom" :z-index="zIndex" pop-class="nut-cascader__popup" round :closeable="closeable" Expand All@@ -65,7 +66,7 @@ export default defineComponent({ :lock-scroll="lockScroll" >
uniPopup, }, data() { return { barHeight:25, } }, methods: { //获取系统状态栏高度 getSystemStatusBarHeight:function(){ // #ifdef APP-PLUS var height = plus.navigator.getStatusbarHeight(); _self.barHeight = height; // #endif ...
uniPopup, }, data() { return { barHeight:25, } }, methods: { //获取系统状态栏高度 getSystemStatusBarHeight:function(){ // #ifdef APP-PLUS var height = plus.navigator.getStatusbarHeight(); _self.barHeight = height; // #endif ...
'已选择疾病':'未选择疾病'}}</view> </view> <view :class="[btnShow===true?'footerBtn':'footerBtnDisabled']" @click="submit()">开始评估</view> </view> <view style="margin-top: 36rpx;margin-left: 28rpx;color: #333333;font-size: 32rpx;font-weight: 500;">已选疾病</view> ...
基于uni-easyinput uni-popup 封装的下拉选择器 <!-- 下拉选择组件 --> 创建components/myPicker/index.vue 文件 <template> <view> <view class="boxClick"> <uni-easyinput :placeholderStyle="placeholderStyle" :clearable="false" v-model="inputValue" placeholder="请选择"> ...
| z-index `1.7.11` | 设置所有弹窗类组件的 z-index,该属性对全局生效 | number | 2000 | 68 changes: 34 additions & 34 deletions 68 docs/components/basic/popup.md Original file line numberDiff line numberDiff line change @@ -143,47 +143,47 @@ ## API > 当前组件内部透传了 [Icon...
--msg提示--><ua-popup v-model="showMsg"anim="fadeIn"content="上善若水,水利万物而不争"shadeClose="false"time="3"/><!--自定义多按钮--><ua-popup v-model="showMulityBtns"anim="fadeInDown"title="Title":z-index="6666"content="Lately did you ever feel the pain In the morning as it...