最近使用WEUI的一些小结

weui 时间控件含全天 上午 下午 选择 立即下载

最近使用WEUI的一些小结

最近我在搞企业微信里的东西,在这里记录我遇到的问题,小结下一些实用的方法.

1.weui的日期控件

html

<div class="referRow">
        <div class="referl">
          <label for="" class="weui-label"><span class="space"></span>转入日期</label>
        </div>
        <div class="weui-cell__bd">
           <input type="text" id='appointAcceptDate'/>
        </div>
</div>

js

    //获取当天的日期
    var oDate = new Date();
    var year = oDate.getFullYear();
    var month = oDate.getMonth()+1;
    var day= oDate.getDate();
    var jinTian=year+"/"+month+"/"+day;
    var jinTianArr=[];
    jinTianArr.push(jinTian);
    //设置默认值(页面初始化值)
    $("#appointAcceptDate").val(jinTian);
    //初始化日历控件
    $("#appointAcceptDate").calendar({
        multiple:false,//   是否多选
        inputReadOnly:true,//  是否自动在 input 元素上加上只读属性
        dateFormat:'yyyy/mm/dd',//日期格式
        minDate:jinTian,//最小值
        dayNames:['周日', '周一', '周二', '周三', '周四', '周五', '周六'] ,
        monthNames:['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
    });
    //这里$("#appointAcceptDate").calendar("setValue", ["2012/12/12"]);似乎设不到值所以我在前面用了jquery的写法设值...

WEUI的官网api网址:http://jqweui.com/extends#calendar

2 一些验证方法

2.1 验证名字

//判断名字是否含特殊字数
checkName=function(name){     
    if(!name.match(/^[A-Za-z]+$/) && !name.match(/^[\u4e00-\u9fa5]{0,}$/)){           
        return false;   
    }else{
        return true;
    } 
}

2.2 身份证号验证

//验证身份证
checkCardID=function(sId){
    var iSum=0 ;
    var info="" ;
    if(!/^\d{17}(\d|x)$/i.test(sId)) return false;
    sId=sId.replace(/x$/i,"a");
    if(parseInt(sId.substr(0,2))==null) return false;
    var sBirthday=sId.substr(6,4)+"-"+Number(sId.substr(10,2))+"-"+Number(sId.substr(12,2));
    var d=new Date(sBirthday.replace(/-/g,"/")) ;
    if(sBirthday!=(d.getFullYear()+"-"+ (d.getMonth()+1) + "-" + d.getDate()))return false;
    for(var i = 17;i>=0;i --) iSum += (Math.pow(2,i) % 11) * parseInt(sId.charAt(17 - i),11) ;
    if(iSum%11!=1) false;
    return true;
}

2.3 验证手机号码

//验证手机号码
checkPhone=function (phone){ 
    if(/^1[34578]\d{9}$/.test(phone)){ 
        return true; 
    }else{
        return false;
    }
}

2.4 weui里增加与移除表单错误提示

我这的html结构:

<div class="weui-cell">
  <div class="weui-cell__hd"><label for="" class="weui-label">
    <span class="red space">*</span>联系电话</label></div>
  <div class="weui-cell__bd">
    <input class="weui-input"  name="contact" id="contact" type="text" pattern="[0-9]*" value="" placeholder="请输入患者联系电话">
  </div>
</div>
//增加错误提示
addError=function(e){
    $(e).parent().parent().addClass("weui-cell_warn");
    $(e).parent().after(errorDiv);
    $(e).css({"color":"red"});
}
//移除错误提示
removeError=function(e){
    $(e).parent().nextAll('div').remove();
    var divArr=$(e).parent().nextAll('div'); 
    if(divArr.length>0){
        $(e).parent().parent().removeClass();
        $(e).parent().parent().addClass("weui-cell");
        $(e).parent().nextAll('div').remove();
    }
    $(e).css({"color":"#333"});
}

效果图:

这里写图片描述

2.5 弹出提示,延时后续操作

$.toast("操作成功!");
setTimeout(function () {
    //后续操作
},1000);
weui 日期选择器- 生日自选或根据身份证号动态获取生日 weui 日期选择器- 生日自选或根据身份证号动态获取生日 默认点选 生日 为当前日期 输入身份证号码后blur,生日文本框自动获取生日,并且点击弹出生日已选中 立即下载

相关推荐

macOS Monterey官方镜像高速下载指南(附迅雷链接+兼容性清单)

本文提供macOS Monterey官方镜像的高速下载指南,重点介绍利用迅雷等工具加速下载官方安装包的有效方法。同时,详细列出了系统兼容性清单,帮助用户在下载前确认设备支持,并分享了从下载、验证到安全安装的完整流程与常见问题解决方案。

j7k8l的博客 2194

【WeUI】日历控件Calendar动态修改最小日期和最大日期

有这样一种需求,选择[开始时间]和[结束时间],接待时间自动设置起始时间和终止时间。 使用的日历控件是WeUI官方的Calendar。 <!--出差时间--> <div class="weui-cell"> <div class="weui-cell__hd"><label class="weui-label">出差时间</label></div> <div class="weui-cell__bd"&...

coralime的博客 4602

创意视觉项目实战:用ESP32-S3+OV5640构建智能图像流系统

本文详细介绍了如何使用ESP32-S3开发板与OV5640摄像头模块构建智能图像流系统。从硬件连接到软件配置,涵盖Arduino环境搭建、图像采集优化、WiFi视频流传输及外设集成,为开发者提供完整的实战指南,助力智能家居和机器人视觉项目开发。

tech5的博客 1294

WeUI

1.按钮(Butten) 可以使用a或者button标签 class: weui_btn (写在类的最前面) weui_btn_primary (绿色按钮) weui_btn_default (白色按钮) weui_btn_warn (红色按钮) weui_btn_disabled (置灰态,即字体呈灰色,此时无法按这个按钮) weui_btn_plain_xxx

500.13 Server too busy 7622

七星棋牌顶级运营产品全开源修复版源码教程:6端支持,200+子游戏玩法,完整搭建指南(含代码解析)

让您从源码下载到本地运行一步到位!此外,文中还将附带详细代码解析与操作步骤,即便没有开发经验,也能轻松完成二开与定制。数据库是棋牌游戏中极为关键的组成部分,用于存储用户信息、乐豆余额、游戏记录、提现申请等数据。以下是部分核心数据表结构示例,便于存储用户信息与游戏记录。AI模块能够控制游戏中的胜率,常用于调节玩家体验。防沉迷功能旨在限制未成年人游戏时间。的完整搭建流程,特别适合。首先,获取七星棋牌源码。本教程将为您详细讲解。

aa2031171的博客 7798

告别卡顿!在RK3588上优化Gstreamer推拉流与RKNN推理的完整Pipeline实战

本文详细介绍了在RK3588平台上优化Gstreamer推拉流与RKNN推理的全链路Pipeline实战。通过解码环节参数调优、RKNN线程管理、内存预分配策略以及编码输出优化,实现60FPS流畅处理与亚秒级延迟。特别针对实时视频分析场景,提供了从rtspsrc到appsink的毫秒级优化方案,助力开发者构建零卡顿的智能视觉系统。

weixin_30698527的博客 485

weui 日期控件使用

     &lt;div class="weui-cell"&gt;              &lt;div class="weui-cell__hd"&gt;                  &lt;label for="name" class="weui-label"&gt;&lt;span style="color:red"&gt;开始

强哥的博客 1万+

别再手动敲代码了!用STM32CubeMX+FreeRTOS图形化配置,5分钟搞定多任务通信框架

本文详细介绍了如何利用STM32CubeMX和FreeRTOS快速搭建多任务通信框架,大幅提升嵌入式开发效率。通过图形化配置工具,开发者可在5分钟内完成任务调度、时钟配置和内核对象生成,特别适合物联网设备开发。文章还提供了代码优化和调试技巧,帮助开发者轻松应对复杂应用场景。

weixin_30363285的博客 292

【微信小程序】日历弹窗选择器

应公司需求,写了一个弹窗日历选择器,感觉用着还不错,封装了一下,分享给大家,希望大家有什么意见可以指出来相互交流共同改进!先上一个效果图:(当天日期为2018-4-18)时间改为5月份的效果图:直接上代码:wxml:&lt;view class="weui-cells weui-cells_after-title" style='margin-top:100rpx;'&gt; &lt;view...

NAMECZ的博客 8237

实测对比:DINOv2、CLIP、ResNet在图像相似度任务上谁更强?(含Python代码与避坑指南)

本文通过实测对比DINOv2、CLIP和ResNet在图像相似度任务中的表现,提供Python代码实现与避坑指南。实验结果显示,DINOv2在精度上表现最佳,CLIP在多模态场景中优势明显,而ResNet则在计算效率上更优。文章还针对不同业务场景给出了具体选型建议,帮助开发者在图像搜索和版权检测等项目中做出更明智的技术决策。

weixin_30588381的博客 286

多思计组实验实验六 微程序控制器实验

实验六 微程序控制器实验

qq_53089329的博客 3789

weui 搜索框的使用

weui 搜索框的使用,输入搜索内容自动出现搜索提示...

砷碲 - Shendi 2682

生信分析进阶14 - 从GTF文件提取基因、转录本、TSS和TSE

从GTF文件提取基因、转录本、TSS和TSE

LittleComputerRobot的博客 679

【WeUI】关于jQuery WeUI和WeUI版本兼容的问题

最近做的一个小demo,在添加Dialog的时候出现了对话框显示的问题,如下左图所示。 一开始以为自己的写的CSS文件影响了,注释掉还是这个问题,所以问题指向很明确了,是官方weui.css的问题。但是官方demo里的运行是正常显示的。 index.jsp页面引入了weui.css还有jquery-weui.css 一般使用jQuery WeUI时也需要依赖weui.css的,所以在jQuery WeUI解压后的dist/lib还会提供对应的weui.css 我的demo里用的 w...

coralime的博客 1745

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

微信小程序使用weui扩展组件踩坑

https://www.cnblogs.com/panda-programmer/p/13138588.html 最近在做微信小程序,引入weui的时候踩坑了好久,这里记录一下遇到的问题。 微信官方文档给了两种weui引入方式: 通过useExtendedLib 扩展库的方式引入,这种方式引入的组件将不会计入代码包大小。 可以通过npm方式下载构建,npm包名为weui-miniprogram 但是注意!!!如果使用扩展组件的话必须使用npm的安装方式安装weui 以使用tabs选项卡组件为例..

wjy397的专栏 1346

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

WePY WeUI Demo 项目推荐

WePY WeUI Demo 项目推荐 项目基础介绍和主要编程语言 WePY WeUI Demo 是一个基于 WePY 框架的开源项目,旨在展示如何在 WePY 中使用 WeUI 组件库。WePY 是一个类 Vue.js 的小程序开发框架,而 WeUI 是一套同微信原生视觉体验一致的基础样式库,由微信官方设计团队为微信内网页和微信小程序量身设计。该项目的主要编程语言包括 JavaScript、CS...

gitblog_00334的博客 431

小程序weui的使用指南

最近在开发小程序,使用到weui,在此记录一下weui的使用流程。 WEUI 是什么 WeUI 是一套同微信原生视觉体验一致的基础样式库。 由微信官方设计团队为微信内网页和微信小程序量身设计,令用户的使用感知更加统一。 它最初是为了给在微信端页面提供一致的视觉体验而开发开源的一个样式库, 后续随着小程序、企业微信等等的开放能力出现,WeUI也提供了小程序、企业微信等等的版本。 我们将要介绍的,就是WeUI的小程序版本。 预览 weui的基础组件有很多,具体可以到 WEUI的官方,..

Be myself 1417

【亲测免费】 Vue-WeUI:Vue.js 与 WeUI 的完美融合

Vue-WeUI:Vue.js 与 WeUI 的完美融合 Vue-WeUI 是一个开源项目,旨在使用 Vue.js 封装 WeUI 组件,为微信 Web 服务提供量身设计的 UI 解决方案。该项目主要使用 Vue.js 和 JavaScript 编程语言。 项目基础介绍 Vue-WeUI 项目的目的是将 WeUI 的 UI 组件与 Vue.js 的响应式和组件化特性结合起来,使得开发者能够轻松地在...

gitblog_00673的博客 443

使用weui.css后scrollTop不起作用的解决方法

最近开发一个微信服务号对应的移动端应用,发现在使用了weui框架后scrollTop失效,页面不能自动向上滚动,经过一番实验,找到了个解决方法。 解决方法: 页面结构如下: <div class="weui-tab__panel" id="page"> ...... <div class="weui-cells"> ..... <div class="weui-panel weui-panel_access" id="logInfoDetail"&

weixin_46130307的博客 338

Vue-WeUI 项目推荐

Vue-WeUI 项目推荐 1. 项目基础介绍和主要编程语言 Vue-WeUI 是一个针对 Vue 框架移植的 WeUI 框架适配项目。WeUI 是一套基于样式库的 UI 组件库,专为微信网页设计,而 Vue-WeUI 则是将这些组件适配到 Vue 框架中,使得开发者能够更方便地在 Vue 项目中使用 WeUI 的组件。 该项目主要使用以下编程语言和框架: Vue.js: 作为前端框架,用于构建...

gitblog_01297的博客 464

weui实现时间选择器

weui --github文档 最近一个项目中要用到 日期时间选择器, 采用了weui, 但是在其文档中 所提供的选择器中,并没有时间选择器,但是有日期选择器以及普通选择器,所以实现思路为,使用普通选择器制作一个时间选择器, 在选择日期后,点击确定,马上弹出这个普通选择器,有点踩坑的是 在选择完 日期后,想调用普通选择器发现不会弹出,解决方案如下: function dateMypick(...

weixin_42060658的博客 4574

我的第一个WeUi组件实现

WeUi使用教程 最近在写可以更具人脸识别签到的微信小程序,准备用WeUi作为框架写前端,从零开始遇到的问题都会在上面实时更新哦,大家可以关注互相一起探讨学习。 首先我们应该以官方文档为蓝本: WeUi组件库简介文档 (收集了很多其他人的回答有两种答案:1.全局导入weui.css样式文件,再去寻找源代码出处复制粘贴2.根据文档使用组件化开发,直接使用组件) 因为组件化开发时vue的核心思想之一加上官方文档,推荐大家使用第二种比较规范的写法,现在开始具体步骤: ···1.引入组件: 1) 通过 us

也城 456

【亲测免费】 VUWE:基于Vue2的WeUI组件库

VUWE:基于Vue2的WeUI组件库 项目基础介绍 VUWE 是一款专门为 Vue2 开发的组件库,它基于微信的 WeUI 设计,实现了与 WeUI 的完全解耦。用户可以通过自定义 WeUI 的样式文件,轻松地对 VUWE 进行定制化。该项目的主要编程语言包括 Vue(JavaScript)、CSS 和 HTML。 核心功能 VUWE 的核心功能是为 Vue2 提供一套符合微信设计规范的 UI ...

gitblog_00253的博客 513

WeUI实例(官方)

博主最近想用小程序画几个页面,于是想试试WeUI的样式。但是没找到WeUI的文档,只找到了在线的实例演示。还有的例子是在div上显示的,当时比较疑惑。后来发现,可能是公众号的页面。 实例演示的链接:传送门 其实这些实例的代码我们在github下载WeUI的时候已经clone到本地了。在这个位置: example文件夹存放了实例的源码,你可以参考这个来使用WeUI,还是很有意思的。 不过不要忘记引...

mirror6的博客 5236

weui.js slider的使用笔记

1、写在前面的废话 最近接触在开发企业微信应用的时候,接触到了weui。用到了其中的slider功能。不知道是不是我用法有误,发现slider存在一定的兼容问题---在pc端和移动端不能很好的兼容。所以在此写个文档,做个小笔记,以后备用。 2、slider的使用 在weui.js中slider的一种用法如下: [options.step] number   slide

木槿昔年 3511

时隔一年,微信发布WeUI2.0.0,各种buff加身

最近看到腾讯GitHub开源社区更新了WeUI 2.0.0(Star已2.2w+) ,上个版本是18年6月发布的1.1.3,已经近一年没有更新了。 WeUI是什么? WeUI 是一套同微信原生视觉体验一致的基础样式库,由微信官方设计团队为微信 Web 开发量身设计,可以令用户的使用感知更加统一。包含button、cell、dialog、 progress、 toast、article、act...

zhenghhgz的博客 1539
上一篇: java获取路径问题
下一篇: 一个项目多建一个tmocat(用于图片的存取)
java_trainee
博客等级 码龄10年 12粉丝 22原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值