当前位置:网站首页>WeChat Mini Program-Recent Dynamic Scrolling Implementation
WeChat Mini Program-Recent Dynamic Scrolling Implementation
2022-08-02 14:01:00 【kenick】
1.Interface
2. Code implementation
page/test/test.wxml
Recent activity {{item.province}} {{item.addressee}} just placed an order
page/test/test.js
Page({/*** Initial data of the page*/data: {latestData: [{ "province": "Hunan Province", "addressee": "Zhang**" },{ "province": "Guangxi Province", "addressee": "Li**" }], //Today's dynamic}})
page/test/test.wxss
.latest-box {width: calc(100% - 56rpx);height: 68rpx;line-height: 88rpx;margin: 0 auto;position: relative;}.latest-box .cate-name {width: 200rpx;height: 68rpx;overflow: hidden;position: absolute;top: 0;left: 0;z-index: 1;font-size: 30rpx;font-weight: 650;}.latest-box .slide-box {width: 100%;height: 68rpx;overflow: hidden;}.latest-box .swiper {height: 68rpx;}.latest-box .title {width: 100%;height: 68rpx;font-size: 24rpx;text-align: right;}
边栏推荐
- 【C语言】手撕循环结构 —— for语句
- 苹果,与Web3 “八字不合”
- 【C语言】手撕循环结构 ——do...while语句及循环练习题(1)
- requestparam注解接的收的是什么格式(玄机赋注解)
- 【ONE·Data || Getting Started with Sorting】
- static修饰的函数有什么特点(static可以修饰所有的变量吗)
- 劲爆!阿里巴巴面试参考指南(嵩山版)开源分享,程序员面试必刷
- How to create short images and short videos from the media?How to make the click volume reach 10W?
- Detailed explanation of ORACLE expdp/impdp
- 二进制中1的个数
猜你喜欢
【C语言】手撕循环结构 —— for语句
配置zabbix自动发现和自动注册。
Enterprise Network Planning Based on Huawei eNSP
How to create short images and short videos from the media?How to make the click volume reach 10W?
C语言提高篇(三)
RKMPP 在FFmpeg上实现硬编解码
【C语言】函数哪些事儿,你真的get到了吗?(2)
Awesome!Alibaba interview reference guide (Songshan version) open source sharing, programmer interview must brush
【C语言】虐打循环结构练习题
第二届中国Rust开发者大会(RustChinaConf 2021~2022)线上大会正式开启报名
随机推荐
为什么四个字节的float表示的范围比八个字节的long要广
面试SQL语句,学会这些就够了!!!
【ONE·Data || Getting Started with Sorting】
【C语言】函数哪些事儿,你真的get到了吗?(1)
SQL函数 USER
[C language] Analysis of function recursion (1)
音频处理:浮点型数据流转PCM文件
腾讯安全发布Tencent Cloud EdgeOne,为企业出海打造安全加速一体化服务
面试官:可以谈谈乐观锁和悲观锁吗
Diodes and their applications
关于市场后市的发展预测? 2021-05-23
web测试和app测试的区别?
uview 2.x版本 tabbar在uniapp小程序里头点击两次才能选中图标
C# 编译错误:Compiler Error CS1044
目前想通过提取本地excel文件创建数据表,在sql语句这出了一些问题
你真的懂单例模式么
ttl电平与rs232电平转换电路(232电平定义)
腾讯安全游戏行业研讨会:生态共建,护航游戏产业健康发展
How to do short video food from the media?5 steps to teach you to get started quickly
FreeBSD bnxt以太网驱动源码阅读记录三: