会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小米商城
MIUI
IoT
云服务
金融
有品
企业团购
资质证照
协议规则
下载app
小米商城
智能生活
登录
注册
消息通知
购物车(0)
购物车中没有商品,赶紧选购吧
阳菜
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2022年3月21日
vue滚动条事件(获取滚动条距离底部距离)
摘要: <div class="main" @scroll.passive="getScroll($event)" style="height:100px;overflow:auto;"> <ul> <li>内容</li> </ul> </div> .main{ width: calc(1125vw / 1
阅读全文
posted @ 2022-03-21 15:34 阳菜
阅读(913)
评论(0)
推荐(0)
2022年3月17日
vue 手写下拉框
摘要: <select class="labars" v-model="formData.field"> <option :value="item.label" v-for="item in fieldList" :key="item.label" > {{ item.label }} </option>
阅读全文
posted @ 2022-03-17 14:33 阳菜
阅读(307)
评论(0)
推荐(0)
2022年3月15日
动态下拉小箭头
摘要: <div class="pull"> <img class="pull1" :src="ossPath + 'img/index/pull.png?v2'" alt="" /> <img class="pull2" :src="ossPath + 'img/index/pull.png?v2'" a
阅读全文
posted @ 2022-03-15 15:15 阳菜
阅读(51)
评论(0)
推荐(0)
2022年3月11日
vue 获取单选框的值
摘要: html <div class="privacy"> <input v-model="box" @change="getBox" class="checkbox" type="checkbox" /> <span>用户协议及隐私保护指引</span> </div> css .privacy { fo
阅读全文
posted @ 2022-03-11 11:46 阳菜
阅读(800)
评论(0)
推荐(0)
2022年2月22日
vue 购物车实例2
摘要: <template> <div class="home"> <div class="main"> <div class="item" v-for="(item, index) in list" :key="item.id"> <div class="item_left"> <img :src="it
阅读全文
posted @ 2022-02-22 11:25 阳菜
阅读(34)
评论(0)
推荐(0)
2022年2月18日
vue 购物车实例
摘要: <template> <div class="about"> <div class="main"> <div class="item" v-for="item in list" :key="item.id"> <div class="item_left"> <img :src="item.img"
阅读全文
posted @ 2022-02-18 16:15 阳菜
阅读(121)
评论(0)
推荐(0)
2022年2月17日
vue 获取本地实时时间
摘要: `${new Date(item.giftDate).getFullYear()}.${ new Date(item.giftDate).getMonth() + 1 }.${new Date(item.giftDate).getDate()}`
阅读全文
posted @ 2022-02-17 12:07 阳菜
阅读(75)
评论(0)
推荐(0)
2022年2月10日
小程序表单提交
摘要: wxml <!-- form表单 --> <view class="form"> <input class="name " bindinput="getInputName" maxlength="10" placeholder="收件人" placeholder-class="" /> <input
阅读全文
posted @ 2022-02-10 11:24 阳菜
阅读(410)
评论(0)
推荐(0)
2022年1月7日
vue禁止右键 禁止F12 代码
摘要: created() { this.$nextTick(() => { // 禁止右键 document.oncontextmenu = new Function("event.returnValue=false"); // 禁止F12 document.onkeydown = new Functio
阅读全文
posted @ 2022-01-07 19:41 阳菜
阅读(1054)
评论(0)
推荐(0)
2021年12月31日
微信小程序获取滚动标签位置高度
摘要: wxml <scroll-view bindscroll="scroll"> 123 </scroll-view> <view wx:if="{{(list+systemInfo.screenHeight)/systemInfo.screenWidth - 6500/1125 < -0.2}}"><
阅读全文
posted @ 2021-12-31 11:11 阳菜
阅读(814)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告