【微信小程序】日历打卡之打卡功能开发

2025-08-20 14:03:40
相关文章 【微信小程序】开发者工具以及小程序框架介绍https://blog.csdn.net/qq_17470165/article/details/80200857 【微信小程序】日历打卡之小程序发现页h...

相关文章

【微信小程序】开发者工具以及小程序框架介绍https://blog.csdn.net/qq_17470165/article/details/80200857

【微信小程序】日历打卡之小程序发现页https://blog.csdn.net/qq_17470165/article/details/80202743

【微信小程序】日历打卡之创建打卡活动https://blog.csdn.net/qq_17470165/article/details/80215111

前言

本篇文章将介绍打卡小程序打卡页面相关功能的开发,涉及到的知识点有小程序分享功能、动画实现、setData修改数组值等问题。

需求

打卡页面部门功能需求图。

1、小程序分享功能

小程序中分享的入口有两处,第一处是menu:右上角转发菜单,第二处是页面内通过

.share-layout {

position: relative;

width: 100%;

}

.detail-cover {

width: 100%;

height: 312rpx;

}

.share-icon{

position: absolute;

right: 30rpx;

top: 30rpx;

width: 70rpx;

height: 70rpx;

}

.share-button {

z-index: 100;

border: 0;

opacity: 0;

position: absolute;

right: 30rpx;

top: 30rpx;

width: 70rpx;

height: 70rpx;

}

实现方式很简单,上面说到小程序在页面内分享只能通过