随笔分类 -  小程序

摘要:小程序数字类型加小数点两位 <input type="digit" placeholder="请输入自定义金额" bindblur='price_no_focus' bindfocus="price_focus" value="{{price}}" bindinput="handleInput"/> 阅读全文
posted @ 2024-07-05 15:19 LALAYU 阅读(32) 评论(0) 推荐(0) 编辑
摘要:<view wx:for="{{projectList}}" wx:key="index" class="list" bindtap="detail" data-id="{{item.project_id}}"> <view class="flow_status_name_list" wx:for= 阅读全文
posted @ 2023-07-05 20:14 LALAYU 阅读(121) 评论(0) 推荐(0) 编辑
摘要:小程序 · image标签:图片宽度100%,高度自适应 image { width: 100%; } <image mode='widthFix'></image> 阅读全文
posted @ 2023-07-05 17:24 LALAYU 阅读(12) 评论(0) 推荐(0) 编辑
摘要:<view class="box"> <view wx:for="{{list}}" wx:key="index" class="one"> <view class="onedot"></view> <view wx:if="{{index!=list.length-1}}" class="onel 阅读全文
posted @ 2023-05-08 15:32 LALAYU 阅读(187) 评论(0) 推荐(0) 编辑
摘要:微信小程序:冒泡事件及其阻止 但是也可以阻止冒泡事件的发生,其实很简单,直接把bindtap改为catchtap即可。 <view class='redview' bindtap='redclick'> 红色 <view class='yellowview' bindtap='yellowclick 阅读全文
posted @ 2021-06-18 15:48 LALAYU 阅读(543) 评论(0) 推荐(0) 编辑