当前位置: 首页 > news >正文

辽阳网站建设辽阳网络营销论文范文

辽阳网站建设辽阳,网络营销论文范文,湖北省建设厅网站资质,网页游戏网络游戏微信小程序input自带数字输入键盘#xff0c;不过是直接调用的系统键盘#xff0c;无法个性化。 代码中使用使用了Vant WeappVant UI小程序版#xff0c;这里就不介绍相关安装说明了#xff0c;大家自行安装Vant Weapp。 json 用到的组件 {usingComponents: …微信小程序input自带数字输入键盘不过是直接调用的系统键盘无法个性化。 代码中使用使用了Vant WeappVant UI小程序版这里就不介绍相关安装说明了大家自行安装Vant Weapp。 json 用到的组件 {usingComponents: {van-cell: vant/weapp/cell/index,van-button: vant/weapp/button/index,van-popup: vant/weapp/popup/index,van-field: vant/weapp/field/index,van-row: vant/weapp/row/index,van-col: vant/weapp/col/index} }wxml 结构 van-cell title分数 value{{score || 点击打分}} bindtaptapScore /!-- 打分键盘 -- van-popupshow{{ keyboardShow }}positionbottomcustom-styleheight: 508rpx;bind:closeonClose view classkeyboradview classinputvan-fieldvalue{{ value }}custom-styleborder: 2prx solid #dcdee0placeholder请选择分数disabled//viewview classnumber-keyboardvan-row classnumber gutter10van-colwx:for{{number}}wx:keyindexdata-key{{item}}custom-classnumber-itemspan{{item 0 ? 16 : 8}}bindtaptapNumberview classnumber-item__key tap-key{{item}}/view/van-col/van-rowview classoperationview classdel tap-key bindtaptapBkspimage classdel-icon src/assets/backspace.png/image/viewview classconfirm tap-key bindtapconfirm确定/view/view/view/view /van-popupjs 内容 Page({data: {score: ,keyboardShow: false,value: ,number: [1, 2, 3, 4, 5, 6, 7, 8, 9, 0, .]},tapScore() {this.setData({keyboardShow: true})},onClose() {this.setData({keyboardShow: false})},// number点击tapNumber(e) {const { key } e.currentTarget.datasetlet { value } this.datavalue key/*** 限制输入* 开头不能是小数点* 只能有一位小数点* 0开头只能跟小数点* 小数点后限制一位*/value String(value).replace(/^\./g, ).replace(., $#$).replace(/\./g, ).replace($#$, .).replace(/^00$/, 0).replace(/^0(\d)/g, $1).replace(/^(-)*(\d)\.(\d{1}).*$/, $1$2.$3)this.setData({value})},// 退格tapBksp() {let { value } this.datavalue String(value)value value.substr(0, value.length - 1)this.setData({value})},// 确定confirm() {let { value } this.datathis.setData({score: value,keyboardShow: false})}, })wxss 样式 .keyborad .number-keyboard {display: flex;background-color: #ebedf0;padding: 20rpx 20rpx 0 20rpx; } .keyborad .number-keyboard .tap-key:active {opacity: 0.8; } .keyborad .number-keyboard .number {flex: 1; } .keyborad .number-keyboard .number .number-item {margin-bottom: 20rpx; } .keyborad .number-keyboard .number .number-item .number-item__key {background-color: #fff;text-align: center;height: 80rpx;line-height: 80rpx;border-radius: 8rpx;font-size: 32rpx;font-weight: 700; } .keyborad .number-keyboard .operation {width: 200rpx;display: flex;flex-direction: column;margin: 0 0 20rpx 20rpx; } .keyborad .number-keyboard .operation .del {height: 80rpx;text-align: center;margin-bottom: 20rpx;background-color: #fff;border-radius: 8rpx;display: flex;align-items: center;justify-content: center; } .keyborad .number-keyboard .operation .del .del-icon {width: 40rpx;height: 40rpx; } .keyborad .number-keyboard .operation .confirm {flex: 1;display: flex;align-items: center;justify-content: center;background-color: #04943f;border-radius: 8rpx;color: #fff;font-size: 36rpx; } .keyborad .van-field__control--disabled {color: #666 !important; }
http://www.hkea.cn/news/14262966/

相关文章:

  • 网站关键词seo优化公司网站建设有那些软件
  • 别人冒用我们公司做的网站怎么关掉数字尾巴 wordpress
  • 在哪个网站上做蓝思测评中国建设部网站查询网
  • 网络平台怎么制作潍坊优化网站排名
  • 重庆哪家做网站好移动网站建设动态
  • 快速进入网站wordpress后台相应慢
  • 门户建设网站多少钱wordpress添加商品画廊
  • 网站建设一年能收入多少钱公司注册查重名
  • 怎么做收费网站雅安市建设网站
  • 好看的网站在哪里好找河南省建设厅网网站首页
  • 网站关键字布局美食网站建设策划书
  • 网上做图赚钱的网站怎么做品牌的官方网站
  • 网站建设服务费怎么写分录网站建设后台 手工上传
  • 湖北专业网站制作公司手机网站广告
  • 淘宝网中国站电脑版登录河南住房和城乡建设厅门户网站
  • 有关建筑的网站大庆北京网站建设
  • 网站建设栏目管理天津建设网站c2成绩查询
  • 东营建设网站网站建设栏目这一块怎么写
  • 手机网站 微信支付小型外包公司在哪找项目
  • 免费网站如何被百度收录优惠网站怎么做
  • 用.net做购物网站一个外国人做的汉子 网站
  • 广州营销型网站建设费用龙岗同乐社区网站建设
  • 网站模版制作教程佛山seo
  • 广州营销型网站建设哪家好网站前置审批 公司名称
  • 老薛主机做电影网站网页设计要学所有软件吗
  • 贵阳网站开发公司网址转短链接
  • 品牌网站首页设计dw网站开发环境搭建
  • 自己做网站php好做吗wordpress 帮助 主题
  • 资讯网站源码wordpress extra script
  • 曹县住房和城乡建设部网站芜湖县建设局网站