全文搜索
标题搜索
全部时间
1小时内
1天内
1周内
1个月内
默认排序
按时间排序
为您找到相关结果60,550个

微信小程序实现发送短信验证码倒计时_javascript技巧_脚本之家

wx.showToast({ title: "请输入手机号", icon: "none", duration: 1500 }) } }, /** * 验证码倒计时 */ countDown: function () { var _this = this var countDownNum = _this.data.countDownNum // 获取倒计时初始值 var timer = setInterval
www.jb51.net/article/2196...htm 2025-5-30

微信小程序使用uni-app开发小程序及部分功能实现详解_javascript技巧_脚 ...

在uni-app 中可以使用 uni.xxx 来调用 wx.xxx 的 api; 2、实战 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 //home data() { return { swiperList:[] }; }, onLoad() { this.getSwiperList(); }, methods:{ async getSwiperList(){ let { data:res } = awai...
www.jb51.net/article/2577...htm 2025-6-7

小程序实现简单验证码倒计时_javascript技巧_脚本之家

wx.showToast({ title: '发送成功' }); } }, })timer.js :1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 var length = 5; function countdown(that) { console.log('count down'); var seconds = that.data.seconds; console.log(seconds); var captcha...
www.jb51.net/article/2570...htm 2025-6-17

微信小程序下拉菜单效果的实例代码_javascript技巧_脚本之家

<block wx:for="{{reportData}}" wx:key="idMenu" wx:for-item="menuItem" wx:for-index="idMenu"> {{menuItem.reportType}} {{chilItem.Name}} <picker class="timePicker" mode="date"
www.jb51.net/article/1612...htm 2025-5-25

JS实现课程表小程序(仿超级课程表)加入自定义背景功能_javascript技巧...

<text style="font-size:24px;color:#92979D" class="cuIcon-triangledownfill padding-lr-sm"></text> </view> </dateTimePicker> </view> <view class="padding-top"> <view class="title">设置背景展示时长</view> {{item.label}} </view> ...
www.jb51.net/article/2333...htm 2025-5-29

微信小程序自定义导航栏效果_javascript技巧_脚本之家

let custom = wx.getMenuButtonBoundingClientRect() this.globalData.statusBarHeight = res.statusBarHeight this.globalData.navBarHeight = custom.height + (custom.top - res.statusBarHeight) * 2 } }) }, globalData: { statusBarHeight: 0, navBarHeight: 0, } })第三步 自定义组件nav...
www.jb51.net/article/2489...htm 2025-5-28

微信小程序实现购物车功能_javascript技巧_脚本之家

<view class="cart-list" wx:for="{{carts}}" wx:key="{{index}}"> <icon wx:if="{{item.selected}}" type="success" color="red" data-index="{{index}}" class="cart-pro-select" bindtap="selectList"/> <icon wx:else type="circle" class="cart-pro-select" data-index="{{index}}...
www.jb51.net/article/2000...htm 2025-6-8

使用Python 实现微信消息的一键已读的思路代码_python_脚本之家

root.title('wx') # 窗口大小 root.geometry('200x50+300+300') def read(): hwnd = win32gui.FindWindow('WeChatMainWndForPC', "微信") if hwnd == 0: [print('微信未启动,请启动微信再试') for i in range(5)] return print('请勿移动鼠标或者操作键盘') sleep(1) print('开始激活微信窗口...
www.jb51.net/article/2143...htm 2025-5-26

SpringBoot 实现CAS Server统一登录认证的详细步骤_java_脚本之家

import com.wxxssf.CasAuthLogin.Vo.CasUserInfo; import lombok.extern.slf4j.Slf4j; import org.jasig.cas.client.authentication.AttributePrincipal; import org.jasig.cas.client.validation.Assertion; import javax.servlet.http.HttpServletRequest; import java.security.Principal; import java.util.Map; /** ...
www.jb51.net/program/315428x...htm 2025-6-17

微信小程序实现字母索引菜单_javascript技巧_脚本之家

<view wx:for="{{foodList}}" wx:key="{{index}}" id="{{'food'+index}}" data-title="{{item.title}}"> <view class="nav-text"> <text>{{item.title}}</text> </view> <view class="show-food"> <text wx:for="{{item.lists}}" wx:key="{{index}}">{{item}}</text> </vie...
www.jb51.net/article/2557...htm 2025-6-16