行业知识
uniapp
2026-11-11 09:45:43
来源:互联网转载
index.php/tags-41973.html" >���接上代码
switchOn: false,.switch {display: flex;align-items: center;width: 102rpx;height: 62rpx;background: rgba(120, 120, 128, 0.16);border-radius: 62rpx;}.active {transform: translateX(40rpx);}.active1 {background-color: #5448FF;}.cicle {width: 54rpx;height: 55rpx;margin-left: 5rpx;background: #FFFFFF;box-shadow: 0rpx 6rpx 2rpx 0rpx rgba(0, 0, 0, 0.06), 0rpx 6rpx 16rpx 0rpx rgba(0, 0, 0, 0.15);border-radius: 54rpx;box-sizing: border-box;border: 1rpx solid rgba(0, 0, 0, 0.04);transition: transform 0.3s;}trunon() {this.switchOn = !this.switchOn;this.calendar = !this.calendar},