当前位置:网站首页>Applet swiper height
Applet swiper height
2022-07-19 01:34:00 【Think of a name for a long time】
Applet swiper Height
Solve the problem that the height cannot be adaptive
// An highlighted block
<swiper class="swipers" :style="swiperheight" @change="change_swiper" :circular="true" :current="chos_menu">
data() {
return {
swiperheight:'height:50vh'
}
}
Events change swiperheight Value for example :
this.swiperheight = 'height:' + this.scroll_menu[this.chos_menu].list.length*130 + 'rpx'
边栏推荐
- 07_事件的基本使用
- tp-watermark.js网页添加水印插件
- 缤纷彩色文字广告代码,文字广告代码美化版,给网站添加文字广告教程
- Uni app wechat official account (4) - address management page
- Redis简单使用
- wget 警告: 无法验证
- 使用leaflet仿原神提瓦特大地图制作日记
- (四)运算符
- Supplementary knowledge of attributes and methods of regular, JWT token, ronglianyun, celery, channel group, SKU, SPU, request object
- MoveIt2——4.机器人模型和机器人状态
猜你喜欢
随机推荐
Uni app wechat applet - Mall (8) - order details
微信推送-模版消息参数配置
TCP与UDP,TCP服务器与客户端,UDP服务器与客户端
02_数据绑定
uniapp调用地图,进行位置查询,标记定位
JS replaces a character in the string, and JS modifies the specified character in the string
Uni app wechat applet - Mall (4) - merchants
使用redis - zset做排行榜
03_el与data的两种写法
let和const、let、const和var的区别
JS get the suffix format of a file name
js截取字符串前几位或者截取字符串后几位
Use bat to automatically execute CMD commands (multiple commands or a single command)
computed和watch、watchEffect
Record buuctf [netding Cup 2018] unfinish1 problem solving ideas
js获取一个文件名的后缀格式
替换URL中的特殊字符(%E2%80%8B)
Replace special characters in URL (%e2%80%8b)
今天的码农女孩学习了关于事件操作和ref属性的笔记并做了表单双向绑定的练习
(五)printf(代替echo)




![Stack injection [strong net cup 2019] random note](/img/94/9069ed79e994e3c2e96c3cd1f816ee.png)




