当前位置: 首页 > news >正文

cv弹窗,退款确认弹窗

效果

<!-- 退款 --><uni-popup ref="popup2" type="center" border-radius="24rpx"><view class="modalDialog"><view class="miniTitle">退款申请</view><view class="miniWhether"><view class="miniWhether-box"><view class="miniWhether-box-lss"><view class="content-inp-text">备注</view><input class="content-inp-input" type="text"v-model="refundInfo.refundReason" placeholder="请填写退款原因" /></view></view></view><!-- 取消确定按钮 --><view class="miniBtn"><button class="cancel" @tap="close">取消</button><button class="confirm" @tap="approveRefund">提交</button></view></view></uni-popup>

css

.modalDialog {width: 80%;position: fixed;top: 22%;left: 50%;z-index: 9;margin-left: -40%;background: #f9f9f9;border-radius: 20rpx;// transform: translateY(-48rpx);
}.miniTitle {font-size: 32rpx;font-weight: 600;color: #252525;padding: 24rpx 0rpx;border-bottom: 2rpx solid #EEEEEE;display: flex;justify-content: center;
}.miniBtn {display: flex;justify-content: center;padding: 10px 0rpx 30rpx 0rpx;
}
.miniWhether {// height: 260rpx;height: 160rpx;font-size: 28rpx;color: #252525;// background-color: #096;padding: 24rpx;.miniWhether-box {// margin-top: 30rpx;height: 92rpx;// line-height: 80rpx;border: 1rpx solid #ffffff;.miniWhether-box-l {box-sizing: border-box;// background-color: #555;line-height: 80rpx;padding-top: 12rpx;// border-bottom: 1rpx solid #ffffff;margin-left: 12rpx;}}}.miniWhether-box-lss{height: 92rpx;line-height: 92rpx;padding-top: 8rpx;padding-left: 10rpx;// line-height: 80rpx;border-radius: 24rpx;// background-color: #096;border: 1rpx solid #ffffff;}.content-inp-text {display: inline-block;width: 120rpx;height: 34rpx;vertical-align: 8rpx;margin-right: -20rpx;font-family: PingFang SC, PingFang SC;font-weight: bold;font-size: 30rpx;color: #333333;line-height: 33rpx;text-align: left;font-style: normal;text-transform: none;// background-color: #0000FF;}.content-inp-input {display: inline-block;font-family: PingFang SC, PingFang SC;font-weight: 500;font-size: 28rpx;color: #ADB1BB;line-height: 34rpx;text-align: left;font-style: normal;text-transform: none;}
.miniBtn button {padding: 0rpx 100rpx;border-radius: 36rpx;font-size: 28rpx;
}.miniBtn button:first-child {border: 2rpx solid #979797;color: #5e5e5e;
}.miniBtn button:last-child {background: #FED10A;
}

打开弹窗

this.$refs.popup2.open("center");

关闭弹窗

this.$refs.popup.close()

绑定事件,监听关闭打开

@change="fun"

http://www.xdnf.cn/news/1229095.html

相关文章:

  • Java中Lambda 表达式的解释
  • 【AI】AIService(基本使用与指令定制)
  • 操作系统:远程过程调用( Remote Procedure Call,RPC)
  • 公网服务器上Nginx或者Openresty如何屏蔽IP直接扫描
  • java中的synchronized关键字​
  • 福彩双色球第2025088期篮球号码分析
  • PyTorch 张量核心操作——比较、排序与数据校验
  • 利用DeepSeek将Rust程序的缓冲输出改写为C语言实现提高输出效率
  • 深入 Go 底层原理(十五):cgo 的工作机制与性能开销
  • 探索:Uniapp 安卓热更新
  • 【Android】RecyclerView实现新闻列表布局(1)适配器使用相关问题
  • 原生JS使用svg-pan-zoom库平移和缩放svg
  • 八股取士--docker
  • 【C++】第二十一节—一文详解 | 红黑树实现(规则+效率+结构+插入+查找+验证)
  • Day18--二叉树--530. 二叉搜索树的最小绝对差,501. 二叉搜索树中的众数,236. 二叉树的最近公共祖先
  • 【MQ】kafka同步和异步的区别
  • 函数指针——回调函数
  • MybatisPlus-逻辑删除
  • Redis核心机制与实践深度解析:从持久化到分布式锁
  • 江协科技STM32 13-1 PWR电源控制
  • AG32mcu通过寄存器方式操作cpld
  • 3 使用 Jenkins 构建镜像:将你的应用打包成镜像
  • sqli-labs:Less-18关卡详细解析
  • 【隧道篇 / IPsec】(7.6) ❀ 02. 如何删除向导创建的IPsec安全隧道 (点对点) ❀ FortiGate 防火墙
  • K8S部署ELK(三):部署Elasticsearch搜索引擎
  • Java基础——实现图书管理系统交互功能
  • java实现运行SQL脚本完成数据迁移
  • String boot 接入 azure云TTS
  • 【深度学习②】| DNN篇
  • Python 字典为什么查询高效