当前位置:网站首页>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语言】虐打循环结构练习题
微信小程序-最近动态滚动实现
[C language] Analysis of function recursion (1)
如何解决mysql服务无法启动1069
tinymce-plugins
配置zabbix自动发现和自动注册。
网络安全第二次作业
MySQL - ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
网络安全第三次作业
A number of embassies and consulates abroad have issued reminders about travel to China, personal and property safety
随机推荐
Geoffery Hinton:深度学习的下一个大事件
SQL函数 UCASE
二极管及其应用
FFmpeg 的AVCodecContext结构体详解
How to create short images and short videos from the media?How to make the click volume reach 10W?
C# using 使用方法
监管再次重拳出击,后市如何?2021-05-22
RowBounds[通俗易懂]
第二届中国Rust开发者大会(RustChinaConf 2021~2022)线上大会正式开启报名
Flutter 实现光影变换的立体旋转效果
基于深度学习的图像检索方法!
SQL函数 USER
Configure zabbix auto-discovery and auto-registration.
鲲鹏devkit & boostkit
目标检测场景SSD-Mobilenetv1-FPN
好用的php空间,推荐国内三个优质的免费PHP空间[通俗易懂]
els strip collision deformation judgment
static修饰的函数有什么特点(static可以修饰所有的变量吗)
How to improve the originality of self-media creation and create popular works?
C language improvement (3)