为您找到相关结果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
小程序实现简单验证码倒计时_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
微信小程序自定义导航栏效果_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
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