2025年3月3日

uni-popup、uni-rate

摘要: <template> <button @click="open">打开弹窗组件</button> <uni-popup ref="popup" type="bottom" background-color="#fff"> <view style="height: 300rpx;"> 评分组件 <un 阅读全文

posted @ 2025-03-03 23:18 ChoZ 阅读(56) 评论(0) 推荐(0)

条件编译#ifdef

摘要: <template> MP是指代所有小程序 ifdef 只在MP设备会编译代码块里面的代码 <!-- #ifdef MP --> <button open-type="contact">点击会直接打开微信小程序后台配置的客服聊天,h5不生效</button> <!-- #endif --> ifnd 阅读全文

posted @ 2025-03-03 15:56 ChoZ 阅读(9) 评论(0) 推荐(0)

磨砂效果、fit-content

摘要: backdrop-filter: blur(10px); width:fit-content // 自适应内容的宽度 阅读全文

posted @ 2025-03-03 14:09 ChoZ 阅读(5) 评论(0) 推荐(0)

uni-扩展组件

摘要: 官方提供的组件包,直接下载安装按需导入即可 loading示例 <template> <view class="" v-for="item in 50">{{item}}</view> <text>当前页面无数据时显示loading</text> <text>把数据下划到最下,下划时显示loadin 阅读全文

posted @ 2025-03-03 00:36 ChoZ 阅读(9) 评论(0) 推荐(0)

导航