您现在的位置是:网站首页> 编程资料编程资料
微信小程序实现弹出框提交信息_javascript技巧_
2023-05-24
456人已围观
简介 微信小程序实现弹出框提交信息_javascript技巧_
本文实例为大家分享了微信小程序实现弹出框提交信息的具体代码,供大家参考,具体内容如下
出租信息 该功能尚未开发,请留下您的需求,我们会尽快处理 确认
data: { showModalStatus: false, }, toolNo: utils.throttle(function () { this.setData({ showModalStatus: true }) }), // 关闭弹窗 colse() { this.setData({ showModalStatus: false, }) },.mask { width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 1000; background: #fff; opacity: 0.8; overflow: hidden; } .drawerBox { width: 630rpx; height: auto; line-height: 40rpx; border-radius: 20rpx; text-align: center; box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4); padding: 40rpx; box-sizing: border-box; margin-left: 60rpx; position: fixed; top: 28%; left: 0; z-index: 1001; background-color: #fff; } .close { width: 42rpx; height: 42rpx; float: right; overflow: hidden; } .tits { font-size: 16px; text-align: center; font-weight: bold; width: 100%; overflow: hidden; margin: 60rpx 0 40rpx 0; line-height: 50rpx; } .phonebox { margin-bottom: 40rpx; display: flex; align-items: center; } .inputA { width: 550rpx; height: 92rpx; line-height: 92rpx; border-radius: 60rpx; background-color: rgba(255, 255, 255, 100); text-align: left; border: 1px solid rgba(230, 230, 230, 100); } .getphone { width: 200rpx; height: 68rpx; line-height: 68rpx; border-radius: 60rpx; background-color: rgba(156, 148, 171, 100); color: rgba(255, 255, 255, 100); font-size: 14px; text-align: center; margin-left: -220rpx; margin-top: 20rpx; z-index: 999; } .area { width: 550rpx; line-height: 40rpx; border-radius: 40rpx; height: 320rpx; border: 1px solid rgba(230, 230, 230, 100); text-align: left; padding: 30rpx; box-sizing: border-box; margin-bottom: 40rpx; } textarea { width: 100%; text-align: left; line-height: 40rpx; font-size: 14px; } .btn { width: 550rpx; margin-bottom: 0; height: 80rpx; line-height: 80rpx; border-radius: 30rpx; background-color: #200E32; color: rgba(255, 255, 255, 100); font-size: 14px; text-align: center; border: 1px solid rgba(255, 255, 255, 100); margin-top: 20rpx; }
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。
您可能感兴趣的文章:
相关内容
- Vue3 计算属性的用法详解_vue.js_
- 微信小程序实现弹出层禁止页面滚动_javascript技巧_
- vue+elementUI实现分页效果_vue.js_
- 微信小程序canvas实现手写签名_javascript技巧_
- 前端使用JSON.stringify实现深拷贝的巨坑详解_javascript技巧_
- 微信小程序自定义可滚动的弹出框_javascript技巧_
- Vue3.2 setup语法糖及Hook函数基本使用_vue.js_
- JavaScript实现导入导出excel的示例代码_javascript技巧_
- webpack打包的3种hash值详解_javascript技巧_
- 小程序animate动画实现直播间点赞_javascript技巧_
